1
0
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:
drh
2024-08-29 19:37:21 +00:00
parent 320b307a67
commit 77c79e9bc1
7 changed files with 21 additions and 17 deletions

View File

@@ -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