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

Add phase and error number to CLI error messages.

FossilOrigin-Name: 7f87a298688c37bbad8fd2e1cf0e8fbcc36f0c211dcfa3685298525648dbe21b
This commit is contained in:
larrybr
2021-10-26 16:57:09 +00:00
parent 629c2eaf46
commit f9a49b0cad
6 changed files with 28 additions and 26 deletions

View File

@ -68,7 +68,7 @@ do_test shell3-1.6 {
} {0 {}}
do_test shell3-1.7 {
catchcmd "foo.db \"CREATE TABLE\""
} {1 {Error: incomplete input}}
} {1 {Error: in prepare, incomplete input (1)}}
#----------------------------------------------------------------------------
# shell3-2.*: Basic tests for running SQL file from command line.
@ -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: incomplete input}}
} {1 {Error: near line 1: in prepare, incomplete input (1)}}
#----------------------------------------------------------------------------