diff options
author | drh <drh@noemail.net> | 2011-08-31 18:04:54 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2011-08-31 18:04:54 +0000 |
commit | 7730c4457ec47a04184be4756cb1a4751bcc268b (patch) | |
tree | 928b1a9cde273c504cfa8481d44901a37fb2e854 /src | |
parent | 4515a45b8c8dad991941c164603dc310b6c1c48a (diff) | |
download | sqlite-7730c4457ec47a04184be4756cb1a4751bcc268b.tar.gz sqlite-7730c4457ec47a04184be4756cb1a4751bcc268b.zip |
Only create the sqlite3OSTrace global variable if compiling with
SQLITE_TEST.
FossilOrigin-Name: 9e6a4c1473a4cb061a88f6a437a2828368b3ddc8
Diffstat (limited to 'src')
-rw-r--r-- | src/os_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_common.h b/src/os_common.h index aa3e18a8c..f95e6181a 100644 --- a/src/os_common.h +++ b/src/os_common.h @@ -29,7 +29,7 @@ # error "The MEMORY_DEBUG macro is obsolete. Use SQLITE_DEBUG instead." #endif -#ifdef SQLITE_DEBUG +#ifdef SQLITE_TEST # ifndef SQLITE_DEBUG_OS_TRACE # define SQLITE_DEBUG_OS_TRACE 0 # endif |