mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Improved error message formatting in the shell. Distinguish between
"Parse errors" and "Runtime errors". FossilOrigin-Name: ae3e322a029952f575e49c73fb50b46bbea55be6792cc225cb94f5e0cbd046d9
This commit is contained in:
@@ -63,7 +63,7 @@ do_test shell2-1.3 {
|
||||
|
||||
UPDATE OR REPLACE t5 SET a = 4 WHERE a = 1;
|
||||
}
|
||||
} {1 {Error: near line 9: stepping, too many levels of trigger recursion (1)}}
|
||||
} {1 {Runtime error near line 9: too many levels of trigger recursion (1)}}
|
||||
|
||||
|
||||
|
||||
|
@@ -98,7 +98,7 @@ do_test shell3-2.6 {
|
||||
} {0 {}}
|
||||
do_test shell3-2.7 {
|
||||
catchcmd "foo.db" "CREATE TABLE"
|
||||
} {1 {Error: near line 1: in prepare, incomplete input (1)}}
|
||||
} {1 {Parse error near line 1: incomplete input (1)}}
|
||||
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user