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

Unified Diff: third_party/sqlite/src/test/jrnlmode.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/join5.test ('k') | third_party/sqlite/src/test/json101.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/jrnlmode.test
diff --git a/third_party/sqlite/src/test/jrnlmode.test b/third_party/sqlite/src/test/jrnlmode.test
index b1007c490819e00546d7b5db8ceb2273842ec0b1..2ba56f2b00a95d821cfae2d704dc4c1291fdaac6 100644
--- a/third_party/sqlite/src/test/jrnlmode.test
+++ b/third_party/sqlite/src/test/jrnlmode.test
@@ -555,4 +555,18 @@ do_execsql_test jrnlmode-8.28 { PRAGMA journal_mode=DELETE } {delete}
do_execsql_test jrnlmode-8.29 { COMMIT } {}
do_execsql_test jrnlmode-8.30 { PRAGMA journal_mode=DELETE } {delete}
+# Assertion fault on 2015-05-01
+do_test jrnlmode-9.1 {
+ forcedelete test2.db
+ sqlite3 db2 test2.db
+ db2 eval {CREATE TEMP TABLE t(l); PRAGMA journal_mode=off;}
+ db2 close
+} {}
+do_execsql_test jrnlmode-9.2 {
+ PRAGMA locking_mode = exclusive;
+ CREATE TABLE tx(a);
+ PRAGMA journal_mode = off;
+} {exclusive off}
+
+
finish_test
« no previous file with comments | « third_party/sqlite/src/test/join5.test ('k') | third_party/sqlite/src/test/json101.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698