aboutsummaryrefslogtreecommitdiff
path: root/src/tokenize.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2009-07-03 22:54:36 +0000
committerdrh <drh@noemail.net>2009-07-03 22:54:36 +0000
commite7f3f3eec188730a42d92daa57f66492fa5de5fd (patch)
treea3994181f1fd80354d48ef9d4d3e43bd8ea6abf2 /src/tokenize.c
parent1adecdf8140801e889c7a96240520dd3addd4550 (diff)
downloadsqlite-e7f3f3eec188730a42d92daa57f66492fa5de5fd.tar.gz
sqlite-e7f3f3eec188730a42d92daa57f66492fa5de5fd.zip
Remove two unused fields from the Parse structure. The TCL interface now
removes leading whitespace from SQL statements before parsing them. (CVS 6846) FossilOrigin-Name: 983cb6924b8a7d3057718b9228c0cb2fbe7f0dc4
Diffstat (limited to 'src/tokenize.c')
-rw-r--r--src/tokenize.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tokenize.c b/src/tokenize.c
index 3fdb38ede..97c4b7b59 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.162 2009/06/23 20:28:54 drh Exp $
+** $Id: tokenize.c,v 1.163 2009/07/03 22:54:37 drh Exp $
*/
#include "sqliteInt.h"
#include <stdlib.h>
@@ -410,7 +410,7 @@ int sqlite3RunParser(Parse *pParse, const char *zSql, char **pzErrMsg){
db->u1.isInterrupted = 0;
}
pParse->rc = SQLITE_OK;
- pParse->zTail = pParse->zSql = zSql;
+ pParse->zTail = zSql;
i = 0;
assert( pzErrMsg!=0 );
pEngine = sqlite3ParserAlloc((void*(*)(size_t))sqlite3Malloc);