mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
Fix tests cases for SQLITE_ENABLE_SHARED_CACHE so that they work on Windows.
FossilOrigin-Name: 60795a30c64dbaa3be16dc35a39262b5487a5d4abcff20ae8973e12b73af5af2
This commit is contained in:
@@ -28,6 +28,7 @@ do_execsql_test 1.0 {
|
||||
faultsim_save_and_close
|
||||
|
||||
do_faultsim_test 1.1 -prep {
|
||||
catch {db close}
|
||||
faultsim_restore
|
||||
sqlite3 db test.db -shared-schema 1
|
||||
} -body {
|
||||
@@ -37,6 +38,8 @@ do_faultsim_test 1.1 -prep {
|
||||
}
|
||||
|
||||
do_faultsim_test 1.2 -prep {
|
||||
catch {db close}
|
||||
catch {db2 close}
|
||||
faultsim_restore
|
||||
sqlite3 db test.db -shared-schema 1
|
||||
execsql { SELECT * FROM t1 }
|
||||
@@ -51,4 +54,3 @@ do_faultsim_test 1.2 -prep {
|
||||
|
||||
|
||||
finish_test
|
||||
|
||||
|
Reference in New Issue
Block a user