1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

The sqlite_complete() function should ignore carriage-return characters.

(Oops - some unrelated edits also made it into this check-in.) (CVS 942)

FossilOrigin-Name: c6bf62e41cf44e8ebf740b103204b00e8b826c90
This commit is contained in:
drh
2003-04-29 16:20:44 +00:00
parent 7d8085a8e4
commit 63eb5f294c
6 changed files with 45 additions and 18 deletions

View File

@@ -14,7 +14,7 @@
** other files are for internal use by SQLite and should not be
** accessed by users of the library.
**
** $Id: main.c,v 1.128 2003/04/26 02:31:54 drh Exp $
** $Id: main.c,v 1.129 2003/04/29 16:20:46 drh Exp $
*/
#include "sqliteInt.h"
#include "os.h"
@@ -574,6 +574,7 @@ int sqlite_complete(const char *zSql){
break;
}
case ' ':
case '\r':
case '\t':
case '\n':
case '\f': {