diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/select.c | 4 | ||||
-rw-r--r-- | src/where.c | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/select.c b/src/select.c index 077c2bb0c..7c89ef009 100644 --- a/src/select.c +++ b/src/select.c @@ -12,7 +12,7 @@ ** This file contains C code routines that are called by the parser ** to handle SELECT statements in SQLite. ** -** $Id: select.c,v 1.332 2007/04/01 23:49:52 drh Exp $ +** $Id: select.c,v 1.333 2007/04/06 01:04:40 drh Exp $ */ #include "sqliteInt.h" @@ -3297,7 +3297,7 @@ select_end: return rc; } -#if defined(SQLITE_TEST) || defined(SQLITE_DEBUG) +#if defined(SQLITE_DEBUG) /* ******************************************************************************* ** The following code is used for testing and debugging only. The code diff --git a/src/where.c b/src/where.c index b5a958176..3327e81c3 100644 --- a/src/where.c +++ b/src/where.c @@ -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.245 2007/03/31 01:34:45 drh Exp $ +** $Id: where.c,v 1.246 2007/04/06 01:04:40 drh Exp $ */ #include "sqliteInt.h" @@ -1138,8 +1138,7 @@ static double estLog(double N){ ** SQLITE_TEST or SQLITE_DEBUG are defined, then these routines ** are no-ops. */ -#if !defined(SQLITE_OMIT_VIRTUALTABLE) && \ - (defined(SQLITE_TEST) || defined(SQLITE_DEBUG)) +#if !defined(SQLITE_OMIT_VIRTUALTABLE) && defined(SQLITE_DEBUG) static void TRACE_IDX_INPUTS(sqlite3_index_info *p){ int i; if( !sqlite3_where_trace ) return; |