Skip to content

Commit 59291eb

Browse files
committed
Upper-case SQL
1 parent 2a065f6 commit 59291eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/duckdb/src/transaction.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ impl Transaction<'_> {
6565
/// compile-time guarantee that transactions are not nested.
6666
#[inline]
6767
fn new_unchecked(conn: &Connection) -> Result<Transaction<'_>> {
68-
let query = "BEGIN Transaction";
68+
let query = "BEGIN TRANSACTION";
6969
conn.execute_batch(query).map(move |_| Transaction {
7070
conn,
7171
drop_behavior: DropBehavior::Rollback,

0 commit comments

Comments
 (0)