diff options
author | Hans-Christoph Steiner <hans@eds.org> | 2014-10-16 22:51:35 -0400 |
---|---|---|
committer | Hans-Christoph Steiner <hans@eds.org> | 2014-10-16 22:51:35 -0400 |
commit | 569c6676a6ddb0ff73821d7693b5e18ddef809b9 (patch) | |
tree | 833538da7bba39105daff45e265aef386a200acd /test/rdonly.test | |
parent | 08119c361d1181b3e8f1abb429236e488a664753 (diff) |
Imported Upstream version 3.2.0upstream
Diffstat (limited to 'test/rdonly.test')
-rw-r--r-- | test/rdonly.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/rdonly.test b/test/rdonly.test index bf19597..938cc78 100644 --- a/test/rdonly.test +++ b/test/rdonly.test @@ -32,6 +32,9 @@ do_test rdonly-1.1 { SELECT * FROM t1; } } {1} +do_test rdonly-1.1.1 { + sqlite3_db_readonly db main +} {0} # Changes the write version from 1 to 3. Verify that the database # can be read but not written. @@ -47,6 +50,9 @@ do_test rdonly-1.3 { SELECT * FROM t1; } } {1} +do_test rdonly-1.3.1 { + sqlite3_db_readonly db main +} {1} do_test rdonly-1.4 { catchsql { INSERT INTO t1 VALUES(2) |