Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Unified Diff: third_party/sqlite/src/test/rdonly.test

Issue 901033002: Import SQLite 3.8.7.4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Chromium changes to support SQLite 3.8.7.4. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/sqlite/src/test/rdonly.test
diff --git a/third_party/sqlite/src/test/rdonly.test b/third_party/sqlite/src/test/rdonly.test
index bf19597871ac4dc07dd9d21bb3746f6e9ca14447..938cc7884c6e584a7157da77f2155b496862a4fc 100644
--- a/third_party/sqlite/src/test/rdonly.test
+++ b/third_party/sqlite/src/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)

Powered by Google App Engine
This is Rietveld 408576698