Back out the "--raw" option on ".read" in the command-line shell. Instead,

fix the command-line shell so that if EOF is reached without seeing a
final semicolon, it goes ahead and passes the accumulated SQL text to
SQLite.

FossilOrigin-Name: f98c8ac8c485098f163400d3a92d6afb4008adbe
This commit is contained in:
drh
2016-11-11 14:54:22 +00:00
parent b47ebe6128
commit 4e8142c726
4 changed files with 57 additions and 82 deletions
+1 -1
View File
@@ -96,6 +96,6 @@ do_test shell3-2.6 {
} {0 {}}
do_test shell3-2.7 {
catchcmd "foo.db" "CREATE TABLE"
} {1 {Error: incomplete SQL: CREATE TABLE}}
} {1 {Error: near line 1: near "TABLE": syntax error}}
finish_test