mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
Standardize the error messages generated by constraint failures to a format
of "$TYPE constraint failed: $DETAIL". This involves many changes to the expected output of test cases. FossilOrigin-Name: 54b221929744b1bcdbcc2030fef2e510618afd41
This commit is contained in:
@ -235,7 +235,7 @@ do_test misc1-7.4 {
|
||||
catchsql {
|
||||
INSERT INTO t5 VALUES(1,2,4);
|
||||
}
|
||||
} {1 {PRIMARY KEY must be unique}}
|
||||
} {1 {UNIQUE constraint failed: t5.a, t5.b}}
|
||||
do_test misc1-7.5 {
|
||||
catchsql {
|
||||
INSERT INTO t5 VALUES(0,2,4);
|
||||
|
Reference in New Issue
Block a user