mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Change the -init option to the command-line shell to honor the -bail option.
Also change it to report an error if the filename mentioned cannot be opened. FossilOrigin-Name: a29f54bd2c032374d7235bb1f9d4c04c094611bbc7d274b7b92722b5b802050c
This commit is contained in:
@ -64,6 +64,10 @@ do_test shell1-1.2.1 {
|
||||
} {1 1 1 1}
|
||||
|
||||
# -init filename read/process named file
|
||||
forcedelete FOO
|
||||
set out [open FOO w]
|
||||
puts $out ""
|
||||
close $out
|
||||
do_test shell1-1.3.1 {
|
||||
catchcmd "-init FOO test.db" ""
|
||||
} {0 {}}
|
||||
|
Reference in New Issue
Block a user