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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user