aboutsummaryrefslogtreecommitdiff
path: root/src/tokenize.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2008-06-15 02:51:47 +0000
committerdrh <drh@noemail.net>2008-06-15 02:51:47 +0000
commite5ae5735c0abbd832e12a9633d1a10e9074bf82a (patch)
treedd8af64eb83c92bd4b226f3ae983d19ad9cb7b42 /src/tokenize.c
parentfec00eabb3c144813164c9f04cc0fffd93c45247 (diff)
downloadsqlite-e5ae5735c0abbd832e12a9633d1a10e9074bf82a.tar.gz
sqlite-e5ae5735c0abbd832e12a9633d1a10e9074bf82a.zip
Continuing work on the new memory allocation subsystem.
Added routines for temporary memory allocation. Right the btree balance mechanism to only do one temporary allocation at a time. (CVS 5220) FossilOrigin-Name: 65fe7b62cfe7d11cd667681a64c96fe7b2fe5685
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 9af0e95ee..4b545a324 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.143 2008/06/02 13:00:33 danielk1977 Exp $
+** $Id: tokenize.c,v 1.144 2008/06/15 02:51:48 drh Exp $
*/
#include "sqliteInt.h"
#include <ctype.h>
@@ -393,7 +393,7 @@ int sqlite3RunParser(Parse *pParse, const char *zSql, char **pzErrMsg){
pParse->rc = SQLITE_OK;
pParse->zTail = pParse->zSql = zSql;
i = 0;
- pEngine = sqlite3ParserAlloc((void*(*)(size_t))sqlite3_malloc);
+ pEngine = sqlite3ParserAlloc((void*(*)(size_t))sqlite3Malloc);
if( pEngine==0 ){
db->mallocFailed = 1;
return SQLITE_NOMEM;