From 99655beecf8aaceef5a4122e8cd63e32c565dc26 Mon Sep 17 00:00:00 2001 From: drh Date: Sat, 11 Oct 2008 15:20:04 +0000 Subject: Fix an assertion fault that occurs with SQLITE_THREADSAFE=0. (CVS 5799) FossilOrigin-Name: 28bba42b338afd63e1dad9f431d631f6f3027275 --- src/main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/main.c b/src/main.c index 5c20b1750..97d5475c7 100644 --- a/src/main.c +++ b/src/main.c @@ -14,7 +14,7 @@ ** other files are for internal use by SQLite and should not be ** accessed by users of the library. ** -** $Id: main.c,v 1.505 2008/10/10 17:41:29 drh Exp $ +** $Id: main.c,v 1.506 2008/10/11 15:20:05 drh Exp $ */ #include "sqliteInt.h" #include @@ -216,9 +216,7 @@ int sqlite3_shutdown(void){ if( sqlite3GlobalConfig.isInit ){ sqlite3_os_end(); } - assert( sqlite3GlobalConfig.m.xShutdown!=0 ); sqlite3MallocEnd(); - assert( sqlite3GlobalConfig.mutex.xMutexEnd!=0 ); sqlite3MutexEnd(); sqlite3GlobalConfig.isInit = 0; return SQLITE_OK; -- cgit v1.2.3