1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-09 14:21:03 +03:00

Fix compilation errors when building SQLITE_DEBUG defined but without SQLITE_MEMDEBUG. (CVS 2964)

FossilOrigin-Name: 62dd2427784721436737a6e8e11fc05e10f0c44d
This commit is contained in:
danielk1977
2006-01-17 15:36:32 +00:00
parent 771151b67f
commit 08659fee65
5 changed files with 18 additions and 18 deletions

View File

@@ -14,7 +14,7 @@
** This file contains functions for allocating memory, comparing
** strings, and stuff like that.
**
** $Id: util.c,v 1.172 2006/01/16 15:32:23 danielk1977 Exp $
** $Id: util.c,v 1.173 2006/01/17 15:36:32 danielk1977 Exp $
*/
#include "sqliteInt.h"
#include "os.h"
@@ -1347,7 +1347,7 @@ void sqlite3MallocClearFailed(){
}
}
#ifndef NDEBUG
#ifdef SQLITE_MEMDEBUG
/*
** This function sets a flag in the thread-specific-data structure that will
** cause an assert to fail if sqliteMalloc() or sqliteRealloc() is called.