mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Patch to the new memory tracing logic that allows it to build even if
memory debugging is turned off. (CVS 4927) FossilOrigin-Name: 0a9c63b227b9c6d2bd0e7b491245947ffc83c828
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
** This file contains code used to implement test interfaces to the
|
||||
** memory allocation subsystem.
|
||||
**
|
||||
** $Id: test_malloc.c,v 1.20 2008/03/28 07:42:54 danielk1977 Exp $
|
||||
** $Id: test_malloc.c,v 1.21 2008/03/28 12:53:38 drh Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
#include "tcl.h"
|
||||
@@ -636,10 +636,12 @@ static int test_memdebug_log(
|
||||
}
|
||||
|
||||
case MB_LOG_SYNC: {
|
||||
#ifdef SQLITE_MEMDEBUG
|
||||
extern void sqlite3MemdebugSync();
|
||||
test_memdebug_log_clear();
|
||||
mallocLogEnabled = 1;
|
||||
sqlite3MemdebugSync();
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user