diff options
author | drh <drh@noemail.net> | 2009-09-10 22:30:53 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2009-09-10 22:30:53 +0000 |
commit | d0bc5d2aa6592a69db1fe27ed07b59a4ba92a04b (patch) | |
tree | 06f99b827c3ffadb40401c3947a99ecaa01b05c2 /src/mutex.c | |
parent | 11bb41f8782901ba670c0a392a5cb3f065c8bfac (diff) | |
download | sqlite-d0bc5d2aa6592a69db1fe27ed07b59a4ba92a04b.tar.gz sqlite-d0bc5d2aa6592a69db1fe27ed07b59a4ba92a04b.zip |
Omit the mutexIsInit test variable when mutexes are disabled.
FossilOrigin-Name: 3ea10434434d27a1300ba2b58e2c47c54909f4ff
Diffstat (limited to 'src/mutex.c')
-rw-r--r-- | src/mutex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mutex.c b/src/mutex.c index 6ceb46b07..c7385158b 100644 --- a/src/mutex.c +++ b/src/mutex.c @@ -18,7 +18,7 @@ */ #include "sqliteInt.h" -#ifdef SQLITE_DEBUG +#if defined(SQLITE_DEBUG) && !defined(SQLITE_MUTEX_OMIT) /* ** For debugging purposes, record when the mutex subsystem is initialized ** and uninitialized so that we can assert() if there is an attempt to |