diff options
author | danielk1977 <danielk1977@noemail.net> | 2008-03-28 15:44:09 +0000 |
---|---|---|
committer | danielk1977 <danielk1977@noemail.net> | 2008-03-28 15:44:09 +0000 |
commit | 5f0961354589bc9a6241a92dc9dd4e11364d2d4d (patch) | |
tree | 5da3523e004580f2521fbceb175bfa5c1ee22a21 /src/test_malloc.c | |
parent | b940492e4ab2d1f7ac3138c51700593d9dc4bead (diff) | |
download | sqlite-5f0961354589bc9a6241a92dc9dd4e11364d2d4d.tar.gz sqlite-5f0961354589bc9a6241a92dc9dd4e11364d2d4d.zip |
Changes to the Mem structure to reduce the frequency of freeing and reallocating the dynamic buffer. (CVS 4928)
FossilOrigin-Name: d0bf73d81453da1d8e602e0445064d9f5e348063
Diffstat (limited to 'src/test_malloc.c')
-rw-r--r-- | src/test_malloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test_malloc.c b/src/test_malloc.c index 33d24bdda..43bbfc2c9 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.21 2008/03/28 12:53:38 drh Exp $ +** $Id: test_malloc.c,v 1.22 2008/03/28 15:44:10 danielk1977 Exp $ */ #include "sqliteInt.h" #include "tcl.h" @@ -546,7 +546,7 @@ static void test_memdebug_callback(int nByte, int nFrame, void **aFrame){ } } -static int test_memdebug_log_clear(){ +static void test_memdebug_log_clear(){ Tcl_HashSearch search; Tcl_HashEntry *pEntry; for( |