diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/malloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/malloc.c b/src/malloc.c index b8d47ad85..85ba9468c 100644 --- a/src/malloc.c +++ b/src/malloc.c @@ -127,7 +127,7 @@ int sqlite3MallocInit(void){ mem0.mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MEM); } if( sqlite3GlobalConfig.pScratch && sqlite3GlobalConfig.szScratch>=100 - && sqlite3GlobalConfig.nScratch>=0 ){ + && sqlite3GlobalConfig.nScratch>0 ){ int i, n, sz; ScratchFreeslot *pSlot; sz = ROUNDDOWN8(sqlite3GlobalConfig.szScratch); |