1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Unload shared libraries when a database connection closes. (CVS 3208)

FossilOrigin-Name: 327e6909c9d35b651ab6f3a1a270022b354538c6
This commit is contained in:
drh
2006-06-08 15:48:00 +00:00
parent 1e397f8fb4
commit f1952c5d27
5 changed files with 45 additions and 18 deletions

View File

@@ -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.340 2006/05/24 12:43:27 drh Exp $
** $Id: main.c,v 1.341 2006/06/08 15:48:01 drh Exp $
*/
#include "sqliteInt.h"
#include "os.h"
@@ -165,6 +165,7 @@ int sqlite3_close(sqlite3 *db){
if( db->pErr ){
sqlite3ValueFree(db->pErr);
}
sqlite3CloseExtensions(db);
db->magic = SQLITE_MAGIC_ERROR;