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

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

Issue 949043002: Add //third_party/sqlite to dirs_to_snapshot, remove net_sql.patch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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
« no previous file with comments | « third_party/sqlite/src/test/randexpr1.test ('k') | third_party/sqlite/src/test/regexp1.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « third_party/sqlite/src/test/randexpr1.test ('k') | third_party/sqlite/src/test/regexp1.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698