diff options
author | drh <drh@noemail.net> | 2004-07-24 03:30:47 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2004-07-24 03:30:47 +0000 |
commit | 234c39dff7d87225380cb97fc34c2807ad71ec12 (patch) | |
tree | 698267e920ed5b0eba9debfcf20565d2565bf43c /src/tokenize.c | |
parent | 3e27c02625384c31ee6a79fbc74e995366a285f1 (diff) | |
download | sqlite-234c39dff7d87225380cb97fc34c2807ad71ec12.tar.gz sqlite-234c39dff7d87225380cb97fc34c2807ad71ec12.zip |
Progress towards getting prepared statements and CREATE and DROP to play
nicely together. Work is incomplete. Some tests are known to fail. (CVS 1864)
FossilOrigin-Name: 49b991492496e104f5eca620a5d465a742b7ff3a
Diffstat (limited to 'src/tokenize.c')
-rw-r--r-- | src/tokenize.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/tokenize.c b/src/tokenize.c index 8600cc6fd..dde809146 100644 --- a/src/tokenize.c +++ b/src/tokenize.c @@ -15,7 +15,7 @@ ** individual tokens and sends those tokens one-by-one over to the ** parser for analysis. ** -** $Id: tokenize.c,v 1.78 2004/06/18 06:02:35 danielk1977 Exp $ +** $Id: tokenize.c,v 1.79 2004/07/24 03:30:48 drh Exp $ */ #include "sqliteInt.h" #include "os.h" @@ -431,6 +431,11 @@ int sqlite3RunParser(Parse *pParse, const char *zSql, char **pzErrMsg){ sqlite3SetString(pzErrMsg, "out of memory", (char*)0); return 1; } +#ifndef NDEBUG + if( sqlite3OsFileExists("vdbe_sqltrace") ){ + printf("SQL To Compiler: [%s]\n", zSql); + } +#endif pParse->sLastToken.dyn = 0; pParse->zTail = zSql; while( sqlite3_malloc_failed==0 && zSql[i]!=0 ){ @@ -714,4 +719,3 @@ int sqlite3_complete16(const void *zSql){ sqlite3ValueFree(pVal); return rc; } - |