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

Unified Diff: third_party/sqlite/src/test/trans3.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/trans2.test ('k') | third_party/sqlite/src/test/transitive1.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/trans3.test
diff --git a/third_party/sqlite/src/test/trans3.test b/third_party/sqlite/src/test/trans3.test
index ab7db6a277af5b6d53f88e3020e0924390a5db2c..e82844241580d83369c210d104af4fa34a2cec55 100644
--- a/third_party/sqlite/src/test/trans3.test
+++ b/third_party/sqlite/src/test/trans3.test
@@ -52,7 +52,7 @@ do_test trans3-1.4 {
db eval {SELECT * FROM t1}
} {1 2 3 4}
do_test trans3-1.5 {
- db eval BEGIN
+ db eval {BEGIN; CREATE TABLE xyzzy(abc);}
db eval {INSERT INTO t1 VALUES(5);}
set ::ecode {}
set x [catch {
@@ -64,14 +64,13 @@ do_test trans3-1.5 {
}
} errmsg]
lappend x $errmsg
-} {1 {cannot rollback transaction - SQL statements in progress}}
+} {1 {abort due to ROLLBACK}}
do_test trans3-1.6 {
set ::ecode
-} {SQLITE_BUSY}
+} {}
do_test trans3-1.7 {
- db eval COMMIT
db eval {SELECT * FROM t1}
-} {1 2 3 4 5}
+} {1 2 3 4}
unset -nocomplain ecode
finish_test
« no previous file with comments | « third_party/sqlite/src/test/trans2.test ('k') | third_party/sqlite/src/test/transitive1.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698