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

Unified Diff: third_party/sqlite/sqlite-src-3080704/test/trigger2.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/trigger2.test
diff --git a/third_party/sqlite/sqlite-src-3070603/test/trigger2.test b/third_party/sqlite/sqlite-src-3080704/test/trigger2.test
similarity index 98%
copy from third_party/sqlite/sqlite-src-3070603/test/trigger2.test
copy to third_party/sqlite/sqlite-src-3080704/test/trigger2.test
index b4b922a5ee939f09481f24979a46a255b3efd9e6..7b939bdab7c5105a6b68e925cfb0880991f5ff91 100644
--- a/third_party/sqlite/sqlite-src-3070603/test/trigger2.test
+++ b/third_party/sqlite/sqlite-src-3080704/test/trigger2.test
@@ -497,7 +497,7 @@ ifcapable conflict {
catchsql {
INSERT OR ABORT INTO tbl values (2, 2, 3);
}
- } {1 {column a is not unique}}
+ } {1 {UNIQUE constraint failed: tbl.a}}
do_test trigger2-6.1c {
execsql {
SELECT * from tbl;
@@ -507,7 +507,7 @@ ifcapable conflict {
catchsql {
INSERT OR FAIL INTO tbl values (2, 2, 3);
}
- } {1 {column a is not unique}}
+ } {1 {UNIQUE constraint failed: tbl.a}}
do_test trigger2-6.1e {
execsql {
SELECT * from tbl;
@@ -523,7 +523,7 @@ ifcapable conflict {
catchsql {
INSERT OR ROLLBACK INTO tbl values (3, 2, 3);
}
- } {1 {column a is not unique}}
+ } {1 {UNIQUE constraint failed: tbl.a}}
do_test trigger2-6.1h {
execsql {
SELECT * from tbl;
@@ -551,7 +551,7 @@ ifcapable conflict {
catchsql {
UPDATE OR ABORT tbl SET a = 4 WHERE a = 1;
}
- } {1 {column a is not unique}}
+ } {1 {UNIQUE constraint failed: tbl.a}}
do_test trigger2-6.2c {
execsql {
SELECT * from tbl;
@@ -561,7 +561,7 @@ ifcapable conflict {
catchsql {
UPDATE OR FAIL tbl SET a = 4 WHERE a = 1;
}
- } {1 {column a is not unique}}
+ } {1 {UNIQUE constraint failed: tbl.a}}
do_test trigger2-6.2e {
execsql {
SELECT * from tbl;
@@ -583,7 +583,7 @@ ifcapable conflict {
catchsql {
UPDATE OR ROLLBACK tbl SET a = 4 WHERE a = 1;
}
- } {1 {column a is not unique}}
+ } {1 {UNIQUE constraint failed: tbl.a}}
do_test trigger2-6.2h {
execsql {
SELECT * from tbl;
« no previous file with comments | « third_party/sqlite/sqlite-src-3080704/test/trigger1.test ('k') | third_party/sqlite/sqlite-src-3080704/test/trigger3.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698