1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Changes to test scripts so that the "inmemory_journal" permutation works with [ef126e775a].

FossilOrigin-Name: f553c8ed04b4b2df8ff4929e0754e3ffd1d01ba4
This commit is contained in:
dan
2010-07-08 09:44:42 +00:00
parent 8700b1e52d
commit cb35460330
18 changed files with 149 additions and 118 deletions

View File

@ -90,12 +90,12 @@ do_test shared3-2.8 {
execsql {
INSERT INTO t1 VALUES(10, randomblob(10000))
} db1
sqlite3 db3 $alternative_name
# If the pager-cache is really still limited to 10 pages, then the INSERT
# statement above should have caused the pager to grab an exclusive lock
# on the database file so that the cache could be spilled.
#
catch { sqlite3 db3 $alternative_name }
catchsql {select count(*) from sqlite_master} db3
} {1 {database is locked}}