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

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

Issue 1610963002: Import SQLite 3.10.2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/rbu.test ('k') | third_party/sqlite/src/test/releasetest.mk » ('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 938cc7884c6e584a7157da77f2155b496862a4fc..404c613b2117363a2b8503ec3591f8989b163470 100644
--- a/third_party/sqlite/src/test/rdonly.test
+++ b/third_party/sqlite/src/test/rdonly.test
@@ -32,6 +32,11 @@ do_test rdonly-1.1 {
SELECT * FROM t1;
}
} {1}
+
+# EVIDENCE-OF: R-29639-16887 The sqlite3_db_readonly(D,N) interface
+# returns 1 if the database N of connection D is read-only, 0 if it is
+# read/write, or -1 if N is not the name of a database on connection D.
+#
do_test rdonly-1.1.1 {
sqlite3_db_readonly db main
} {0}
« no previous file with comments | « third_party/sqlite/src/test/rbu.test ('k') | third_party/sqlite/src/test/releasetest.mk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698