1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-27 20:41:58 +03:00

Improved error message formatting in the shell. Distinguish between

"Parse errors" and "Runtime errors".

FossilOrigin-Name: ae3e322a029952f575e49c73fb50b46bbea55be6792cc225cb94f5e0cbd046d9
This commit is contained in:
drh
2022-02-08 11:52:45 +00:00
parent e1c4743121
commit 3e46db21d4
5 changed files with 31 additions and 20 deletions

View File

@ -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)}}
#----------------------------------------------------------------------------