Minor changes to test cases to account for the fact that databases with read/write versions of 2 are now understood.

FossilOrigin-Name: 278ed41e1d4bbff9544cb2cf4cf52dbbcf0c17df
This commit is contained in:
dan
2010-04-21 06:19:12 +00:00
parent e04dc88be5
commit 28e5386f79
5 changed files with 15 additions and 14 deletions
+3 -3
View File
@@ -29,7 +29,7 @@ do_test rdonly-1.1 {
}
} {1}
# Changes the write version from 1 to 2. Verify that the database
# Changes the write version from 1 to 3. Verify that the database
# can be read but not written.
#
do_test rdonly-1.2 {
@@ -37,7 +37,7 @@ do_test rdonly-1.2 {
hexio_get_int [hexio_read test.db 18 1]
} 1
do_test rdonly-1.3 {
hexio_write test.db 18 02
hexio_write test.db 18 03
sqlite3 db test.db
execsql {
SELECT * FROM t1;
@@ -68,7 +68,7 @@ do_test rdonly-1.5 {
# the database is read-only until after it is locked.
#
do_test rdonly-1.6 {
hexio_write test.db 18 02 ; # write-version
hexio_write test.db 18 03 ; # write-version
hexio_write test.db 24 11223344 ; # change-counter
catchsql {
INSERT INTO t1 VALUES(2);