aboutsummaryrefslogtreecommitdiff
path: root/src/malloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/malloc.c')
-rw-r--r--src/malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/malloc.c b/src/malloc.c
index f6f75565f..b8d47ad85 100644
--- a/src/malloc.c
+++ b/src/malloc.c
@@ -365,7 +365,7 @@ void *sqlite3ScratchMalloc(int n){
}
sqlite3MemdebugSetType(p, MEMTYPE_SCRATCH);
}
- assert( !sqlite3_mutex_held(mem0.mutex) );
+ assert( sqlite3_mutex_notheld(mem0.mutex) );
#if SQLITE_THREADSAFE==0 && !defined(NDEBUG)