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

Unified Diff: third_party/sqlite/src/test/tkt35xx.test

Issue 901033002: Import SQLite 3.8.7.4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Chromium changes to support SQLite 3.8.7.4. 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
Index: third_party/sqlite/src/test/tkt35xx.test
diff --git a/third_party/sqlite/src/test/tkt35xx.test b/third_party/sqlite/src/test/tkt35xx.test
index d2a83cdefdfae7e763f8fb5283716a90887e3969..3b911c12472a68f44d1cfb601ec0db142e16f94a 100644
--- a/third_party/sqlite/src/test/tkt35xx.test
+++ b/third_party/sqlite/src/test/tkt35xx.test
@@ -50,7 +50,7 @@ do_test tkt35xx-1.1 {
# Trigger the problem using statement rollback.
#
db close
-file delete test.db
+delete_file test.db
sqlite3 db test.db
set big [string repeat abcdefghij 22] ;# 220 byte string
do_test tkt35xx-1.2.1 {
@@ -74,7 +74,7 @@ do_test tkt35xx-1.2.2 {
DROP TABLE t5;
INSERT INTO t3(a, b) SELECT c, d FROM t4;
}
-} {1 {PRIMARY KEY must be unique}}
+} {1 {UNIQUE constraint failed: t3.a}}
do_test tkt35xx-1.2.3 {
# Show that the transaction has not been rolled back.
catchsql BEGIN

Powered by Google App Engine
This is Rietveld 408576698