mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-27 20:41:58 +03:00
Enhance the command-line shell so that adding a non-zero numeric argument
to the ".exit" command causes an immediate exit without cleaning up. This can be used (for example) to cause journal files to be left behind. FossilOrigin-Name: 8ba951d1b76a0fb0ffd9bc6cec1be3ddba80538a
This commit is contained in:
@ -326,10 +326,6 @@ do_test shell1-3.5.4 {
|
||||
do_test shell1-3.6.1 {
|
||||
catchcmd "test.db" ".exit"
|
||||
} {0 {}}
|
||||
do_test shell1-3.6.2 {
|
||||
# too many arguments
|
||||
catchcmd "test.db" ".exit BAD"
|
||||
} {1 {Error: unknown command or invalid arguments: "exit". Enter ".help" for help}}
|
||||
|
||||
# .explain ON|OFF Turn output mode suitable for EXPLAIN on or off.
|
||||
do_test shell1-3.7.1 {
|
||||
|
Reference in New Issue
Block a user