aboutsummaryrefslogtreecommitdiff
path: root/test/without_rowid4.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/without_rowid4.test')
-rw-r--r--test/without_rowid4.test12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/without_rowid4.test b/test/without_rowid4.test
index be2a0f473..d8c2d69fe 100644
--- a/test/without_rowid4.test
+++ b/test/without_rowid4.test
@@ -502,7 +502,7 @@ ifcapable conflict {
catchsql {
INSERT OR ABORT INTO tbl values (2, 2, 3);
}
- } {1 {PRIMARY KEY must be unique}}
+ } {1 {UNIQUE constraint failed: tbl.a}}
do_test without_rowid4-6.1c {
execsql {
SELECT * from tbl;
@@ -512,7 +512,7 @@ ifcapable conflict {
catchsql {
INSERT OR FAIL INTO tbl values (2, 2, 3);
}
- } {1 {PRIMARY KEY must be unique}}
+ } {1 {UNIQUE constraint failed: tbl.a}}
do_test without_rowid4-6.1e {
execsql {
SELECT * from tbl;
@@ -528,7 +528,7 @@ ifcapable conflict {
catchsql {
INSERT OR ROLLBACK INTO tbl values (3, 2, 3);
}
- } {1 {PRIMARY KEY must be unique}}
+ } {1 {UNIQUE constraint failed: tbl.a}}
do_test without_rowid4-6.1h {
execsql {
SELECT * from tbl;
@@ -556,7 +556,7 @@ ifcapable conflict {
catchsql {
UPDATE OR ABORT tbl SET a = 4 WHERE a = 1;
}
- } {1 {PRIMARY KEY must be unique}}
+ } {1 {UNIQUE constraint failed: tbl.a}}
do_test without_rowid4-6.2c {
execsql {
SELECT * from tbl;
@@ -566,7 +566,7 @@ ifcapable conflict {
catchsql {
UPDATE OR FAIL tbl SET a = 4 WHERE a = 1;
}
- } {1 {PRIMARY KEY must be unique}}
+ } {1 {UNIQUE constraint failed: tbl.a}}
do_test without_rowid4-6.2e {
execsql {
SELECT * from tbl;
@@ -588,7 +588,7 @@ ifcapable conflict {
catchsql {
UPDATE OR ROLLBACK tbl SET a = 4 WHERE a = 1;
}
- } {1 {PRIMARY KEY must be unique}}
+ } {1 {UNIQUE constraint failed: tbl.a}}
do_test without_rowid4-6.2h {
execsql {
SELECT * from tbl;