SQLite

Check-in [46f4eb5430]
Login

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

Overview
Comment:When a connection disconnects from a shared-cache database, only delete the in-memory schema if there are no other connections.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | shared-schema
Files: files | file ages | folders
SHA1: 46f4eb5430d7bc9a339cdf7124ff4bd518eaa39b
User & Date: dan 2012-05-15 17:15:34.812
Context
2012-05-15
18:28
The former sqlite3ResetInternalSchema() routine was really two different routines, selected by parameter, each with a confused mission. So split this routine up into three separate smaller routines, calling each separately as needed. Hopefully this will make further refactoring and schema reset collateral damage containment easier. (check-in: aa0c3493d3 user: drh tags: shared-schema)
17:15
When a connection disconnects from a shared-cache database, only delete the in-memory schema if there are no other connections. (check-in: 46f4eb5430 user: dan tags: shared-schema)
12:49
Add assert()s to verify that Table objects in the schema never use lookaside memory. (check-in: 736d6ea677 user: drh tags: trunk)
Changes
Unified Diff Side-by-Side Diff Patch
Changes to src/main.c.
Changes to src/sqliteInt.h.
Changes to src/vtab.c.
Changes to test/capi3.test.
Added test/shared8.test.