1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Add support for CREATE TABLE AS. (CVS 377)

FossilOrigin-Name: 78a50971e9adc8739e7888201c79465a40e1a152
This commit is contained in:
drh
2002-02-18 18:30:32 +00:00
parent e64e7b203e
commit 969fa7c128
10 changed files with 213 additions and 41 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.58 2002/02/02 15:01:16 drh Exp $
** $Id: main.c,v 1.59 2002/02/18 18:30:33 drh Exp $
*/
#include "sqliteInt.h"
#include "os.h"
@@ -395,6 +395,13 @@ int sqlite_complete(const char *zSql){
case '\f': {
break;
}
case '[': {
isComplete = 0;
zSql++;
while( *zSql && *zSql!=']' ){ zSql++; }
if( *zSql==0 ) return 0;
break;
}
case '\'': {
isComplete = 0;
zSql++;