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

Unified Diff: third_party/sqlite/src/test/rollback.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/resolver01.test ('k') | third_party/sqlite/src/test/rollback2.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/rollback.test
diff --git a/third_party/sqlite/src/test/rollback.test b/third_party/sqlite/src/test/rollback.test
index d462fc48acb449186eca9c414cae49eee67b0c61..7abafece6176f0f00c88f6b33f7ee453b89a5247 100644
--- a/third_party/sqlite/src/test/rollback.test
+++ b/third_party/sqlite/src/test/rollback.test
@@ -54,17 +54,17 @@ ifcapable conflict {
catchsql {
INSERT INTO t3 SELECT a FROM t1;
}
- } {1 {column a is not unique}}
+ } {1 {UNIQUE constraint failed: t3.a}}
# Try to continue with the SELECT statement
#
do_test rollback-1.5 {
sqlite3_step $STMT
- } {SQLITE_ERROR}
+ } {SQLITE_ROW}
# Restart the SELECT statement
#
- do_test rollback-1.6 { sqlite3_reset $STMT } {SQLITE_ABORT}
+ do_test rollback-1.6 { sqlite3_reset $STMT } {SQLITE_OK}
} else {
do_test rollback-1.6 { sqlite3_reset $STMT } {SQLITE_OK}
}
@@ -88,8 +88,8 @@ if {$tcl_platform(platform) == "unix"
BEGIN;
INSERT INTO t3 VALUES('hello world');
}
- file copy -force test.db testA.db
- file copy -force test.db-journal testA.db-journal
+ forcecopy test.db testA.db
+ forcecopy test.db-journal testA.db-journal
execsql {
COMMIT;
}
« no previous file with comments | « third_party/sqlite/src/test/resolver01.test ('k') | third_party/sqlite/src/test/rollback2.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698