]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
In the command-line shell, allow a dot-command to occur after a
authordrh <drh@noemail.net>
Wed, 17 Apr 2013 17:33:17 +0000 (17:33 +0000)
committerdrh <drh@noemail.net>
Wed, 17 Apr 2013 17:33:17 +0000 (17:33 +0000)
multi-line c-style comment.

FossilOrigin-Name: e2c94ab930f0e5a6dbe8cdd34ebb8cfeeedca56c

manifest
manifest.uuid
src/shell.c

index 7d65c5f89962ef9b65b520e87b9097a74e15a94d..3e8e1903cb130afe7ba7e1f8dd2ddcb196f1e322 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Improvements\sto\ssome\sof\sthe\scomments\sthat\sare\sused\sto\srender\sdocumentation\nconcerning\sloadable\sextensions.\s\sNo\schanges\sto\scode.
-D 2013-04-17T14:04:52.335
+C In\sthe\scommand-line\sshell,\sallow\sa\sdot-command\sto\soccur\safter\sa\nmulti-line\sc-style\scomment.
+D 2013-04-17T17:33:17.457
 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
 F Makefile.in 3dd3fcb87b70c78d99b2c8a03e44ec86d6ca9ce2
 F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@@ -181,7 +181,7 @@ F src/random.c cd4a67b3953b88019f8cd4ccd81394a8ddfaba50
 F src/resolve.c 10a1b332e3eb36e5d561085e18c58a8578cd7d73
 F src/rowset.c 64655f1a627c9c212d9ab497899e7424a34222e0
 F src/select.c 01540bcd3df3c8f1187158e77986028b1c667258
-F src/shell.c a303eb4529ee78a68ee54e8ba6941f76ee5601d2
+F src/shell.c aca9d94653decd4496846dee0c7ba83eaf96a46d
 F src/sqlite.h.in 31442751f3a63a538777188b6dfe70aebed338ac
 F src/sqlite3.rc fea433eb0a59f4c9393c8e6d76a6e2596b1fe0c0
 F src/sqlite3ext.h 7183ab832e23db0f934494f16928da127a571d75
@@ -1051,7 +1051,7 @@ F tool/vdbe-compress.tcl f12c884766bd14277f4fcedcae07078011717381
 F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
 F tool/warnings.sh fbc018d67fd7395f440c28f33ef0f94420226381
 F tool/win/sqlite.vsix 97894c2790eda7b5bce3cc79cb2a8ec2fde9b3ac
-P 467e218120d63d0f34c447f7324bac1364ac0eac
-R 8ddf4f94c02f24d9b9c0c2b780ed2098
+P 76f4e31245fd1676a4520a2f7488bca6eb981e4a
+R 7329574a8fd763912288e6955296b961
 U drh
-Z d6edc377ec44c72133adc32403868eee
+Z d7a8232879b542fa4edbd90644b25d07
index b12409c708abc8fcdcc14591be2c740e49a30907..2d365214d62e956207f863988321b94ebb18dae3 100644 (file)
@@ -1 +1 @@
-76f4e31245fd1676a4520a2f7488bca6eb981e4a
\ No newline at end of file
+e2c94ab930f0e5a6dbe8cdd34ebb8cfeeedca56c
\ No newline at end of file
index 1bb1b377b36610afc064cb4f64e5afdbd0aae14b..13a2f70cbc08d2682004247bf2f1dc7337e59293 100644 (file)
@@ -2784,6 +2784,10 @@ static int process_input(struct callback_data *p, FILE *in){
       free(zSql);
       zSql = 0;
       nSql = 0;
+    }else if( zSql && _all_whitespace(zSql) ){
+      free(zSql);
+      zSql = 0;
+      nSql = 0;
     }
   }
   if( zSql ){