Make sure the schema is loaded before preparing a "PRAGMA journal_mode" command. This helps it return meaningful results when it is the first command executed by a new database connection.

FossilOrigin-Name: ef126e775a02d69a9cab53028513e8799e1b6044
This commit is contained in:
dan
2010-07-07 13:54:28 +00:00
parent 3e8e7ecbc4
commit f6c614715c
6 changed files with 54 additions and 25 deletions
+1 -1
View File
@@ -1440,7 +1440,7 @@ do_test pager1-11.3 {
} {truncate ok}
do_test pager1-11.4 {
db2 close
file size test.db-journal
file exists test.db-journal
} {0}
do_execsql_test pager1-11.5 { SELECT count(*) FROM zz } {32}
db close