Fix the SELECTTRACE_ENABLE macro so that it doesn't cause problems for

testfixture.  Add new SELECTTRACE() calls.

FossilOrigin-Name: f1ba68f131d2f03e4a7bc50cde23a7609d384279
This commit is contained in:
drh
2014-09-20 20:24:49 +00:00
parent abd4c72357
commit 9300adbc79
5 changed files with 15 additions and 11 deletions
+1 -2
View File
@@ -710,8 +710,7 @@ extern const int sqlite3one;
** SELECTTRACE_ENABLED will be either 1 or 0 depending on whether or not
** the Select query generator tracing logic is turned on.
*/
#if defined(SQLITE_DEBUG) \
&& (defined(SQLITE_TEST) || defined(SQLITE_ENABLE_SELECTTRACE))
#if defined(SQLITE_DEBUG) || defined(SQLITE_ENABLE_SELECTTRACE)
# define SELECTTRACE_ENABLED 1
#else
# define SELECTTRACE_ENABLED 0