diff options
author | drh <drh@noemail.net> | 2014-09-08 15:04:24 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2014-09-08 15:04:24 +0000 |
commit | a4a8a3c22e60402ac604b70adc471d37aaae5daa (patch) | |
tree | cb2a6eee3bc9f16956aea78d68b7399e94c10c44 /src/test_malloc.c | |
parent | bf9ed6f9af8db145efb7294b1bb05b35fc70e7fc (diff) | |
parent | 524a733d89355f01eac235d926e97b5cd6836b98 (diff) | |
download | sqlite-a4a8a3c22e60402ac604b70adc471d37aaae5daa.tar.gz sqlite-a4a8a3c22e60402ac604b70adc471d37aaae5daa.zip |
Merge support for large files on Android from trunk.
FossilOrigin-Name: c2885c6bb24cc55178467e57e77bf71df58b3b13
Diffstat (limited to 'src/test_malloc.c')
-rw-r--r-- | src/test_malloc.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/test_malloc.c b/src/test_malloc.c index 900a8ac40..bd0a3d1ff 100644 --- a/src/test_malloc.c +++ b/src/test_malloc.c @@ -696,6 +696,12 @@ static int test_memdebug_pending( return TCL_OK; } +/* +** The following global variable keeps track of the number of tests +** that have run. This variable is only useful when running in the +** debugger. +*/ +static int sqlite3_memdebug_title_count = 0; /* ** Usage: sqlite3_memdebug_settitle TITLE @@ -713,6 +719,7 @@ static int test_memdebug_settitle( int objc, Tcl_Obj *CONST objv[] ){ + sqlite3_memdebug_title_count++; if( objc!=2 ){ Tcl_WrongNumArgs(interp, 1, objv, "TITLE"); return TCL_ERROR; @@ -880,7 +887,7 @@ static int test_memdebug_log( ** ** Set the scratch memory buffer using SQLITE_CONFIG_SCRATCH. ** The buffer is static and is of limited size. N might be -** adjusted downward as needed to accomodate the requested size. +** adjusted downward as needed to accommodate the requested size. ** The revised value of N is returned. ** ** A negative SIZE causes the buffer pointer to be NULL. @@ -920,7 +927,7 @@ static int test_config_scratch( ** ** Set the page-cache memory buffer using SQLITE_CONFIG_PAGECACHE. ** The buffer is static and is of limited size. N might be -** adjusted downward as needed to accomodate the requested size. +** adjusted downward as needed to accommodate the requested size. ** The revised value of N is returned. ** ** A negative SIZE causes the buffer pointer to be NULL. |