aboutsummaryrefslogtreecommitdiff
path: root/src/mem2.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2008-06-13 18:24:27 +0000
committerdrh <drh@noemail.net>2008-06-13 18:24:27 +0000
commit40257ffd0a8fd292cd59769d8a1cd5873ae27fbb (patch)
treef369a8f6577d5768cdf1c22355f5984839e51d4f /src/mem2.c
parent655194d6ae6f8fde6184ce5e9d7b0a1965cb4973 (diff)
downloadsqlite-40257ffd0a8fd292cd59769d8a1cd5873ae27fbb.tar.gz
sqlite-40257ffd0a8fd292cd59769d8a1cd5873ae27fbb.zip
Progress toward implementation of sqlite3_config() and a rework of the
mutex and memory allocation subsystems. This is an incremental check-in. (CVS 5218) FossilOrigin-Name: a03c5af115889f477e17187a198a7d2d40bc76bf
Diffstat (limited to 'src/mem2.c')
-rw-r--r--src/mem2.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mem2.c b/src/mem2.c
index 10d68e27e..ff8c87a1b 100644
--- a/src/mem2.c
+++ b/src/mem2.c
@@ -12,7 +12,7 @@
** This file contains the C functions that implement a memory
** allocation subsystem for use by SQLite.
**
-** $Id: mem2.c,v 1.26 2008/04/10 14:57:25 drh Exp $
+** $Id: mem2.c,v 1.27 2008/06/13 18:24:27 drh Exp $
*/
#include "sqliteInt.h"
@@ -241,6 +241,13 @@ int sqlite3MallocSize(void *p){
}
/*
+** Initialize the memmory allocation subsystem.
+*/
+int sqlite3MallocInit(void){
+ return SQLITE_OK;
+}
+
+/*
** Allocate nByte bytes of memory.
*/
void *sqlite3_malloc(int nByte){