aboutsummaryrefslogtreecommitdiff
path: root/src/mem2.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/mem2.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/mem2.c')
-rw-r--r--src/mem2.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mem2.c b/src/mem2.c
index 3206b25a5..ffc31987c 100644
--- a/src/mem2.c
+++ b/src/mem2.c
@@ -19,7 +19,7 @@
** This file contains implementations of the low-level memory allocation
** routines specified in the sqlite3_mem_methods object.
**
-** $Id: mem2.c,v 1.28 2008/06/14 16:56:22 drh Exp $
+** $Id: mem2.c,v 1.29 2008/06/15 02:51:48 drh Exp $
*/
#include "sqliteInt.h"
@@ -312,6 +312,8 @@ void sqlite3MemSetDefault(void){
sqlite3MemRealloc,
sqlite3MemSize,
sqlite3MemRoundup,
+ sqlite3MemMalloc,
+ sqlite3MemFree,
sqlite3MemInit,
sqlite3MemShutdown,
0