/ Timeline
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.

About branch reuse-schema

This branch contains the shared-schema patch. This patch allows databases to share in-memory schema objects with other databases in the same process in order to save memory.

96 check-ins related to "reuse-schema"
2019-10-11
11:21
Merge the 3.30.1 changes into reuse-schema. Leaf check-in: eff7cd7f user: drh tags: reuse-schema-3.30
2019-10-04
15:31
Bring the reuse-schema branch up-to-date with version 3.30.0. Leaf check-in: 6e09afec user: drh tags: reuse-schema
15:03
Version 3.30.0 check-in: c20a3533 user: drh tags: trunk, release, version-3.30.0
2019-09-30
16:57
Merge in the 3.30.0 beta 1 changes. check-in: 06796124 user: drh tags: reuse-schema
2019-09-28
18:28
Add missing comment to constant definitions. check-in: 661a3789 user: drh tags: trunk
2019-09-16
12:35
Merge all recent trunk enhancements into the reuse-schema branch. check-in: 27eb2236 user: drh tags: reuse-schema
05:34
Fix a problem with processing CTEs that use a WINDOW clause. check-in: ca564d4b user: dan tags: trunk
2019-08-13
15:22
Merge latest trunk changes with this branch. check-in: 5b4689d8 user: dan tags: reuse-schema
15:11
Fix a problem with RBU function sqlite3rbu_bp_progress() when used during an RBU vacuum. check-in: 8c44b02f user: dan tags: trunk
2019-08-09
14:54
In shared-schema mode, handle the case where a connection has created a virtual-table object, but is later assigned a different shared-schema object for which the virtual-table schema has not yet been initialized. check-in: e30c7414 user: dan tags: reuse-schema
2019-08-08
15:47
Fix spurious "no such table: x1" errors in shared-schema mode that could occur when a query that is a join across two or more databases needs to call the xConnect() methods of a virtual table. check-in: edf45cd7 user: dan tags: reuse-schema
11:44
Fix a bug causing "no such table" and other similar sqlite3_prepare*() errors to return SQLITE_SCHEMA instead of SQLITE_ERROR in shared-schema mode when there is an attached database for which the schema has never been loaded. check-in: 111e2c73 user: dan tags: reuse-schema
2019-08-06
15:02
Add a multi-threaded test to threadtest3.c for the feature on this branch. check-in: 62557fab user: dan tags: reuse-schema
11:45
Add an assert() to the code on this branch. check-in: fdd44bbb user: dan tags: reuse-schema
2019-07-26
20:54
Merge latest changes from trunk into this branch. check-in: 7f1e4e4b user: dan tags: reuse-schema
20:33
Update RBU so that it supports indexes on expressions. check-in: 6bfa44da user: dan tags: trunk
2019-07-18
19:50
Add a ctime.c entry for SQLITE_ENABLE_SHARED_SCHEMA. check-in: 892ac945 user: drh tags: reuse-schema
13:33
Modify the bits used for special flags on this branch to account for the fact that some of them are now used for other purposes. check-in: 5a8d0f50 user: dan tags: reuse-schema
2019-07-10
18:45
Merge the version 3.29.0 release enhancements into the reuse-schema branch. check-in: 9819ead0 user: drh tags: reuse-schema
17:32
Version 3.29.0 check-in: fc82b73e user: drh tags: trunk, release, version-3.29.0
2019-07-08
21:32
Merge recent trunk enhancements into the reuse-schema branch. check-in: fae92fee user: drh tags: reuse-schema
18:35
Fix dbfuzz2 so that it will compile on systems that do not support getrlimit(). check-in: 36295dce user: drh tags: trunk
2019-06-03
14:02
Updates to the shared_schema.md notes document. check-in: 51af2ade user: drh tags: reuse-schema
13:46
In the CLI, add ".help" text for the .shared-schema command. check-in: 3ba6f790 user: drh tags: reuse-schema
2019-05-24
13:15
The ".shared-schema" command in the CLI requires the sqlite_dbpage table, so disable it if the build does not include that extension. check-in: 0913ff4d user: drh tags: reuse-schema
13:04
Merge recent enhancements from trunk. check-in: ff9f3e09 user: drh tags: reuse-schema
11:55
Fix an fts5 segfault that could occur after parsing a corrupt structure record. check-in: 600daa9c user: dan tags: trunk
2019-05-14
22:25
Merge all the latest trunk enhancements into the reuse-schema branch. check-in: 018f3199 user: drh tags: reuse-schema
20:25
Fix a problem with the fix for [9cf6c9bb51] (commit [658b84d7]) that could cause a cursor to be left in an invalid state following a (rowid < text-value) search. check-in: bc7d2c16 user: dan tags: trunk
2019-04-15
15:35
Merge recent changes from trunk into reuse-schema check-in: 5c6c9e7f user: drh tags: reuse-schema
13:59
Fix a test script problem in fts5corrupt3.test. check-in: 734192d8 user: dan tags: trunk
2019-03-26
19:14
Remove a "puts" statement accidentally left in a test script. check-in: 9f591ac0 user: dan tags: reuse-schema
18:40
Add a few extra tests for SQLITE_STATUS_SCHEMA_USED with shared-schema databases. check-in: e399fede user: dan tags: reuse-schema
11:57
Merge recent trunk enhancements. check-in: db4e2cc3 user: drh tags: reuse-schema
2019-03-25
22:05
Fix an obsolete comment in the CLI. No code changes. check-in: fade103c user: drh tags: trunk
2019-03-21
17:22
Merge latest trunk changes with this branch. check-in: 3196f5f4 user: dan tags: reuse-schema
17:13
Disable the feature on this branch in non-SQLITE_ENABLE_SHARED_SCHEMA builds. check-in: b8e53608 user: dan tags: reuse-schema
2019-03-20
20:02
Use the IsReuseSchema() macro more consistently. Also, rename it to IsSharedSchema(). check-in: c1be211c user: dan tags: reuse-schema
19:17
Fix an error message. check-in: a70fdaa3 user: dan tags: reuse-schema
18:22
In the CLI, give better error messages if something goes wrong with the ".dbinfo" command. check-in: 3649a77b user: drh tags: trunk
16:03
Merge latest trunk changes into this branch. check-in: 4cd20ca6 user: dan tags: reuse-schema
12:08
Fix harmless compiler warnings from MSVC. check-in: f0f02d46 user: drh tags: trunk
2019-03-04
07:25
Merge latest trunk changes into this branch. check-in: 97a9604d user: dan tags: reuse-schema
07:15
Fix a problem preventing compilation with SQLITE_OMIT_UTF16. check-in: 906d1fd8 user: dan tags: trunk
2019-02-26
16:36
Update doc/shared_schema.md to describe the shell tool ".shared-schema" dot-command. check-in: 0ce2092a user: dan tags: reuse-schema
16:13
Add new test file reuse5.test. For testing the shell tool ".shared-schema" command. check-in: fa6008d5 user: dan tags: reuse-schema
15:43
Add the ".shared-schema check|fix DB1 DB2..." command to the shell tool. For checking if a database is eligible to share an in-memory with the main database, and for fixing small problems that prevent it from being so. check-in: 7d8e8a95 user: dan tags: reuse-schema
2019-02-25
19:23
Fix a comment in build.c. check-in: d6a9bff6 user: dan tags: reuse-schema
18:07
Merge latest trunk changes into this branch. check-in: 5c1cf308 user: dan tags: reuse-schema
17:54
Where possible, avoid loading all schemas into memory for PRAGMA statements. check-in: 64f97530 user: dan tags: reuse-schema
14:52
Update comments on the fossildelta extension. No changes to code. check-in: 9da4fb59 user: drh tags: trunk
2019-02-22
17:44
Merge latest trunk changes into this branch. check-in: 001771af user: dan tags: reuse-schema
16:18
In sqlite3NestedParse() be sure to detect all SQLITE_NOMEM and SQLITE_TOOBIG errors and to distinguish between them. check-in: 73056b31 user: drh tags: trunk
2019-02-20
18:44
Further test cases and fixes for SQLITE_OPEN_SHARED_SCHEMA. check-in: ba0ab042 user: dan tags: reuse-schema
17:36
Add test and fixes for SQLITE_OPEN_SHARED_SCHEMA mode. check-in: 9a78d89c user: dan tags: reuse-schema
2019-02-19
18:00
Improve error messages caused by corrupt database schemas in OPEN_SHARED_SCHEMA mode. check-in: 8ac75b8a user: dan tags: reuse-schema
2019-02-18
18:16
Ensure that creating temp schema items does not cause an OPEN_SHARABLE_SCHEMA connection to load all schemas into memory. check-in: 88cbf54e user: dan tags: reuse-schema
2019-02-15
19:36
Enhance the virtual table in test_schemapool.c so that it can be used to check that SHARED_SCHEMA connections are not allocating and freeing schemas when they should not be. check-in: cb236cb9 user: dan tags: reuse-schema
19:00
Fix a problem with eponymous virtual tables and SHARED_SCHEMA databases. Also, after preparing statements that require all database schemas (REINDEX, ANALYZE, CREATE, DROP and some PRAGMA statements), do not allow the database connection to return more than one schema to each schema-pool. check-in: ecf6251e user: dan tags: reuse-schema
11:54
Revert the rearrangement of VDBE code in [219b39e14] so that vdbe.c matches trunk. Since the new call to sqlite3Init() in OP_ParseSchema was removed, the rearrangement no longer provides any performance advantage. check-in: 03c4f003 user: dan tags: reuse-schema
2019-02-14
21:04
Fix SQLITE_DBSTATUS_SCHEMA_USED so that it works with SQLITE_OPEN_SHARED_SCHEMA connections. check-in: d43b3c05 user: dan tags: reuse-schema
18:38
Change the name of the SQLITE_OPEN_REUSE_SCHEMA flag to SQLITE_OPEN_SHARED_SCHEMA. check-in: 7257fcc8 user: dan tags: reuse-schema
17:59
Fix a typo in shared_schema.md. check-in: e47a5aea user: dan tags: reuse-schema
17:51
Add documentation file doc/shared_schema.md to describe the change on this branch. check-in: a5f8067d user: dan tags: reuse-schema
15:56
Merge latest trunk into this branch. check-in: 577d1638 user: dan tags: reuse-schema
15:47
Add missing comments and fix other code issues in the new functions in callback.c. check-in: 441cabb6 user: dan tags: reuse-schema
15:27
Improved oversized cell detection when updating ptrmap pages in balance_nonroot(). check-in: aa61435a user: drh tags: trunk
2019-02-13
19:17
Fix for sqlite3_table_column_metadata() on REUSE_SCHEMA databases. check-in: 53220ad7 user: dan tags: reuse-schema
18:29
Avoid crashing after parsing a corrupt schema with a REUSE_SCHEMA connection. check-in: b102148e user: dan tags: reuse-schema
15:51
Fix a problem with the incrblob API and reusable schemas. check-in: 34f0f96f user: dan tags: reuse-schema
14:06
Rearrange the code in the VDBE to help out the C-compiler optimizer. And fix a harmless compiler warning. check-in: 219b39e1 user: drh tags: reuse-schema
13:48
Performance optimization in the VDBE, and a fix for a harmless compiler warning. Closed-Leaf check-in: e002666a user: drh tags: reuse-schema-vdbe-opt
08:40
Fix a problem with OPEN_REUSE_SCHEMA connections reloading the temp schema. check-in: 7c2ec2d4 user: dan tags: reuse-schema
2019-02-12
20:58
Add tests for creating temp schema objects with SQLITE_OPEN_REUSE_SCHEMA connections. check-in: 8c07b609 user: dan tags: reuse-schema
19:20
Share schemas between databases attached to the same database handle. check-in: ea611d7c user: dan tags: reuse-schema
2019-02-11
20:13
Merge latest trunk changes into this branch. check-in: dbedd81b user: dan tags: reuse-schema
19:34
Add eponymous virtual table "schemapool". For inspecting the current contents of the schema-pool. check-in: 2ebeb747 user: dan tags: reuse-schema
16:12
Fix another segfault that could occur in fts5 with a corrupted database. check-in: 09e33738 user: dan tags: trunk
2019-02-09
17:47
Fix virtual table support for SQLITE_OPEN_REUSABLE_SCHEMA connections. check-in: 3ca8856a user: dan tags: reuse-schema
2019-02-08
19:30
Add test cases and fix problems on this branch. check-in: 2b2e9f81 user: dan tags: reuse-schema
2019-02-05
19:51
Merge latest trunk into this branch. check-in: c089cc4f user: dan tags: reuse-schema
19:15
Fix memory leaks on this branch. check-in: e9c5e189 user: dan tags: reuse-schema
16:53
Update the tester.tcl --malloctrace option so that it uses eu-addr2line instead of addr2line. check-in: 79c07387 user: dan tags: trunk
2019-02-04
21:02
Fix a problem with reloading the schema on this branch. check-in: 5dfbef83 user: dan tags: reuse-schema
2019-02-02
21:02
Try new approach ensuring that each Schema object is only used by one connection/database at any one time. check-in: 9e8e5f52 user: dan tags: reuse-schema
2018-11-15
21:20
Fix some problems with the feature on this branch. Many problems remain. check-in: 31b6aee7 user: dan tags: reuse-schema1
2018-11-09
18:44
Merge latest trunk changes with this branch. check-in: ae88f8e1 user: dan tags: reuse-schema
14:17
Fix for ticket [787fa716be3a7f650cac] check-in: 531eca61 user: drh tags: trunk
2018-10-08
23:29
Add the ability to open a database connection in -reuseschema mode in the CLI. Adjust memory allocation accounting so that a shared schema is allocated across each database sharing it. check-in: 3869b210 user: drh tags: reuse-schema
20:57
Fix a problem with using virtual tables via reuse-schema connections. check-in: e5897daf user: dan tags: reuse-schema
20:37
Merge fixes from trunk. check-in: 9c8255a1 user: drh tags: reuse-schema
20:04
Fix an issue with the new memstat.c extension. check-in: ce6e80b1 user: drh tags: trunk
18:58
Merge latest trunk changes into this branch. check-in: 2ac72114 user: dan tags: reuse-schema
12:58
Add the geopoly_reverse() function to the GeoPoly extension. check-in: 690dd18a user: drh tags: trunk
2017-08-09
20:35
Add experimental sqlite3_open_v2() flag SQLITE_OPEN_REUSE_SCHEMA. For sharing identical in-memory schema objects between connections. check-in: a6256980 user: dan tags: reuse-schema
19:27
Various bug fixes for the new LSM1 virtual table design. check-in: 94434a25 user: drh tags: trunk