/ Check-in [46f4eb54]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

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 | SQL archive
Timelines: family | ancestors | descendants | both | shared-schema
Files: files | file ages | folders
SHA1: 46f4eb5430d7bc9a339cdf7124ff4bd518eaa39b
User & Date: dan 2012-05-15 17:15:34
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: aa0c3493 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: 46f4eb54 user: dan tags: shared-schema
12:49
Add assert()s to verify that Table objects in the schema never use lookaside memory. check-in: 736d6ea6 user: drh tags: trunk
Changes
Unified Diffs Side-by-Side Diffs 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.