/ Check-in [89ead801]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Get builds working again when extension loading is not enabled. Ticket #1839. (CVS 3215)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:89ead80129ec934d2cb5f2447598a7253172f704
User & Date: drh 2006-06-12 12:46:21
Context
2006-06-12
12:50
Fixes so that builds work with SQLITE_OMIT_VIRTUALTABLE=1. (CVS 3216) check-in: 54b30fe1 user: drh tags: trunk
12:46
Get builds working again when extension loading is not enabled. Ticket #1839. (CVS 3215) check-in: 89ead801 user: drh tags: trunk
12:08
Add a simple test case (and corresponding bugfix) for the virtual table xConnect and xDisconnect methods. (CVS 3214) check-in: b63dbc79 user: danielk1977 tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/loadext.c.

276
277
278
279
280
281
282

283
284
285
286
287

288
289
290
}

/*
** Call this routine when the database connection is closing in order
** to clean up loaded extensions
*/
void sqlite3CloseExtensions(sqlite3 *db){

  int i;
  for(i=0; i<db->nExtension; i++){
    SQLITE_CLOSE_LIBRARY(((SQLITE_LIBRARY_TYPE*)db->aExtension)[i]);
  }
  sqliteFree(db->aExtension);

}

#endif /* SQLITE_OMIT_LOAD_EXTENSION */







>





>



276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
}

/*
** Call this routine when the database connection is closing in order
** to clean up loaded extensions
*/
void sqlite3CloseExtensions(sqlite3 *db){
#ifdef SQLITE_LIBRARY_TYPE
  int i;
  for(i=0; i<db->nExtension; i++){
    SQLITE_CLOSE_LIBRARY(((SQLITE_LIBRARY_TYPE*)db->aExtension)[i]);
  }
  sqliteFree(db->aExtension);
#endif
}

#endif /* SQLITE_OMIT_LOAD_EXTENSION */