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

Unified Diff: third_party/sqlite/src/test/tkt-f777251dc7a.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/tkt-f67b41381a.test ('k') | third_party/sqlite/src/test/tkt-f973c7ac31.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/tkt-f777251dc7a.test
diff --git a/third_party/sqlite/src/test/tkt-f777251dc7a.test b/third_party/sqlite/src/test/tkt-f777251dc7a.test
index 6f0b43fa8e6bbdccf1e82fb31948918492cadd27..f814d246bf8e6b9a75381b7eb286b12dd9772433 100644
--- a/third_party/sqlite/src/test/tkt-f777251dc7a.test
+++ b/third_party/sqlite/src/test/tkt-f777251dc7a.test
@@ -17,6 +17,11 @@
set testdir [file dirname $argv0]
source $testdir/tester.tcl
+ifcapable !compound {
+ finish_test
+ return
+}
+
do_test tkt-f7772-1.1 {
execsql {
CREATE TEMP TABLE t1(x UNIQUE);
@@ -33,11 +38,13 @@ proc force_rollback {} {
db function force_rollback force_rollback
do_test tkt-f7772-1.2 {
+breakpoint
catchsql {
BEGIN IMMEDIATE;
+ CREATE TABLE xyzzy(abc);
SELECT x, force_rollback(), EXISTS(SELECT 1 FROM t3 WHERE w=x) FROM t2;
}
-} {1 {callback requested query abort}}
+} {1 {abort due to ROLLBACK}}
do_test tkt-f7772-1.3 {
sqlite3_get_autocommit db
} {1}
@@ -62,7 +69,7 @@ do_test tkt-f7772-2.2 {
catchsql {
SELECT x, force_rollback(), EXISTS(SELECT 1 FROM t3 WHERE w=x) FROM t2
}
-} {1 {callback requested query abort}}
+} {1 {abort due to ROLLBACK}}
do_test tkt-f7772-2.3 {
sqlite3_get_autocommit db
} {1}
« no previous file with comments | « third_party/sqlite/src/test/tkt-f67b41381a.test ('k') | third_party/sqlite/src/test/tkt-f973c7ac31.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698