mirror of
https://github.com/sqlite/sqlite.git
synced 2026-01-06 08:01:16 +03:00
Do not show the error code number of CLI error messages unless the error
is something other than 1 (SQLITE_ERROR). FossilOrigin-Name: b471601892df98c5103bb55132bbdecf3e4dfc428aaecc47bfec1e1d51e583c7
This commit is contained in:
@@ -68,7 +68,7 @@ do_test shell3-1.6 {
|
||||
} {0 {}}
|
||||
do_test shell3-1.7 {
|
||||
catchcmd "foo.db \"CREATE TABLE\""
|
||||
} {1 {Error: in prepare, incomplete input (1)}}
|
||||
} {1 {Error: in prepare, incomplete input}}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# 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 {Parse error near line 1: incomplete input (1)}}
|
||||
} {1 {Parse error near line 1: incomplete input}}
|
||||
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user