1
0
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:
drh
2009-04-07 13:48:11 +00:00
parent 64aca19127
commit 85799a4715
3 changed files with 10 additions and 10 deletions

View File

@@ -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)