aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2008-10-11 15:20:04 +0000
committerdrh <drh@noemail.net>2008-10-11 15:20:04 +0000
commit99655beecf8aaceef5a4122e8cd63e32c565dc26 (patch)
tree554d2452c21e9edf9fd843e1e281e031c78deffe /src
parentf8cecdab84f479e11f2e5e70b4fef58e9b438230 (diff)
downloadsqlite-99655beecf8aaceef5a4122e8cd63e32c565dc26.tar.gz
sqlite-99655beecf8aaceef5a4122e8cd63e32c565dc26.zip
Fix an assertion fault that occurs with SQLITE_THREADSAFE=0. (CVS 5799)
FossilOrigin-Name: 28bba42b338afd63e1dad9f431d631f6f3027275
Diffstat (limited to 'src')
-rw-r--r--src/main.c4
1 files changed, 1 insertions, 3 deletions
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 <ctype.h>
@@ -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;