diff options
author | drh <drh@noemail.net> | 2008-06-15 02:51:47 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2008-06-15 02:51:47 +0000 |
commit | e5ae5735c0abbd832e12a9633d1a10e9074bf82a (patch) | |
tree | dd8af64eb83c92bd4b226f3ae983d19ad9cb7b42 /src/func.c | |
parent | fec00eabb3c144813164c9f04cc0fffd93c45247 (diff) | |
download | sqlite-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/func.c')
-rw-r--r-- | src/func.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/func.c b/src/func.c index 10c3baa31..bb2ba4900 100644 --- a/src/func.c +++ b/src/func.c @@ -16,7 +16,7 @@ ** sqliteRegisterBuildinFunctions() found at the bottom of the file. ** All other code has file scope. ** -** $Id: func.c,v 1.192 2008/04/27 18:40:12 drh Exp $ +** $Id: func.c,v 1.193 2008/06/15 02:51:47 drh Exp $ */ #include "sqliteInt.h" #include <ctype.h> @@ -249,7 +249,7 @@ static void *contextMalloc(sqlite3_context *context, i64 nByte){ sqlite3_result_error_toobig(context); z = 0; }else{ - z = sqlite3_malloc(nByte); + z = sqlite3Malloc(nByte); if( !z && nByte>0 ){ sqlite3_result_error_nomem(context); } |