diff options
author | drh <drh@noemail.net> | 2008-02-16 16:21:45 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2008-02-16 16:21:45 +0000 |
commit | 2d7636e2121e011100d76b21497dcef157869517 (patch) | |
tree | 2d3b0ce7a6001535f62ce444306203bd571c959b /src/test_malloc.c | |
parent | 66ce4d02fe855feb995b6ae88e3c1bd022d2cd5f (diff) | |
download | sqlite-2d7636e2121e011100d76b21497dcef157869517.tar.gz sqlite-2d7636e2121e011100d76b21497dcef157869517.zip |
The power-of-two first-fit memory allocator is now working. (CVS 4793)
FossilOrigin-Name: d134d29cea971eb01a0e0fd94341ab79e2d5b57a
Diffstat (limited to 'src/test_malloc.c')
-rw-r--r-- | src/test_malloc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test_malloc.c b/src/test_malloc.c index df35b207d..ef7512e64 100644 --- a/src/test_malloc.c +++ b/src/test_malloc.c @@ -13,7 +13,7 @@ ** This file contains code used to implement test interfaces to the ** memory allocation subsystem. ** -** $Id: test_malloc.c,v 1.12 2008/02/13 18:25:27 danielk1977 Exp $ +** $Id: test_malloc.c,v 1.13 2008/02/16 16:21:46 drh Exp $ */ #include "sqliteInt.h" #include "tcl.h" @@ -334,7 +334,8 @@ static int test_memdebug_dump( Tcl_WrongNumArgs(interp, 1, objv, "FILENAME"); return TCL_ERROR; } -#if defined(SQLITE_MEMDEBUG) || defined(SQLITE_MEMORY_SIZE) +#if defined(SQLITE_MEMDEBUG) || defined(SQLITE_MEMORY_SIZE) \ + || defined(SQLITE_POW2_MEMORY_SIZE) { extern void sqlite3_memdebug_dump(const char*); sqlite3_memdebug_dump(Tcl_GetString(objv[1])); |