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

Unified Diff: third_party/sqlite/sqlite-src-3080704/test/rollback.test

Issue 883353008: [sql] Import reference version of SQLite 3.8.7.4. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Hold back encoding change which is messing up patch. Created 5 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
Index: third_party/sqlite/sqlite-src-3080704/test/rollback.test
diff --git a/third_party/sqlite/sqlite-src-3070603/test/rollback.test b/third_party/sqlite/sqlite-src-3080704/test/rollback.test
similarity index 95%
copy from third_party/sqlite/sqlite-src-3070603/test/rollback.test
copy to third_party/sqlite/sqlite-src-3080704/test/rollback.test
index d462fc48acb449186eca9c414cae49eee67b0c61..7abafece6176f0f00c88f6b33f7ee453b89a5247 100644
--- a/third_party/sqlite/sqlite-src-3070603/test/rollback.test
+++ b/third_party/sqlite/sqlite-src-3080704/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/sqlite-src-3080704/test/resolver01.test ('k') | third_party/sqlite/sqlite-src-3080704/test/rollback2.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698