mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-16 23:02:26 +03:00
Only enable WHERE-tracing when both TEST and DEBUG are enabled. (CVS 6463)
FossilOrigin-Name: 55b93649258204797f56a58322cf31b564469633
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
** so is applicable. Because this module is responsible for selecting
|
||||
** indices, you might also think of this module as the "query optimizer".
|
||||
**
|
||||
** $Id: where.c,v 1.381 2009/04/07 00:43:28 drh Exp $
|
||||
** $Id: where.c,v 1.382 2009/04/07 13:48:12 drh Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#if defined(SQLITE_TEST) || defined(SQLITE_DEBUG)
|
||||
int sqlite3WhereTrace = 0;
|
||||
#endif
|
||||
#if defined(SQLITE_TEST)
|
||||
#if defined(SQLITE_TEST) && defined(SQLITE_DEBUG)
|
||||
# define WHERETRACE(X) if(sqlite3WhereTrace) sqlite3DebugPrintf X
|
||||
#else
|
||||
# define WHERETRACE(X)
|
||||
|
||||
Reference in New Issue
Block a user