We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a065f6 commit 59291ebCopy full SHA for 59291eb
crates/duckdb/src/transaction.rs
@@ -65,7 +65,7 @@ impl Transaction<'_> {
65
/// compile-time guarantee that transactions are not nested.
66
#[inline]
67
fn new_unchecked(conn: &Connection) -> Result<Transaction<'_>> {
68
- let query = "BEGIN Transaction";
+ let query = "BEGIN TRANSACTION";
69
conn.execute_batch(query).map(move |_| Transaction {
70
conn,
71
drop_behavior: DropBehavior::Rollback,
0 commit comments