mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-18 09:04:19 +01:00
After reading the fine print, SQLite documentation explains that `BEGIN IMMEDIATE` and `BEGIN EXCLUSIVE` are the same thing in WAL mode: https://www.sqlite.org/lang_transaction.html As that's the only mode we support, let's just add code generation for `BEGIN EXCLUSIVE`. Fixes #1002
13 lines
199 B
Tcl
Executable File
13 lines
199 B
Tcl
Executable File
#!/usr/bin/env tclsh
|
|
|
|
set testdir [file dirname $argv0]
|
|
source $testdir/tester.tcl
|
|
|
|
do_execsql_test basic-tx-1 {
|
|
BEGIN IMMEDIATE; END
|
|
} {}
|
|
|
|
do_execsql_test basic-tx-2 {
|
|
BEGIN EXCLUSIVE; END
|
|
} {}
|