SQLite

Timeline
Login

50 most recent check-ins

2026-06-23
20:42
Add preprocessor guards to various JS files working towards the ability to build, e.g., with only one of various VFSes included. The makefile does not yet integrate these - this is an incremental step towards addressing the discussion in the downstream npm project's PR#168. (leaf check-in: f6618a693b ... user: stephan tags: js-omit-pieces)
20:28
Merge the fixes for the use-after-free problem caused by executing an ATTACH when a backup operation was active, and for the OOB read in the unused spellfix1 extension. (leaf check-in: 121a749d0f ... user: dan tags: branch-3.53)
20:12
Merge the fixes for the use-after-free problem caused by executing an ATTACH when a backup operation was active, and for the OOB read in the unused spellfix1 extension. (leaf check-in: e458ed9cc9 ... user: dan tags: trunk)
19:49
Add preprocessor guards to various JS files working towards the ability to build, e.g., with only one of various VFSes included. The makefile does not yet integrate these - this is an incremental step towards addressing the discussion in the downstream npm project's PR#168. (Edit: closing - failed to notice branch switch after an update. Will cherrypick elsewhere.) (closed check-in: 9b9b0b733a ... user: stephan tags: backup-fix)
19:46
Fix sqlite3_backup_init() to correctly handle the case where opening the temp database fails. (check-in: c08bb97f39 ... user: dan tags: backup-fix)
19:28
Fix an OOB read on the unused spellfix1 extension. The OOB read is one byte prior to the start of an allocation, which is almost always harmless. Bug 2026-06-23T18:48:40Z. (check-in: e58d5efc7b ... user: drh tags: backup-fix)
19:14
Avoid a use-after-free problem that could occur if ATTACH statements are executed while a backup operation is active. Bug 2026-06-23T15:46:48Z. (check-in: 9454592878 ... user: dan tags: backup-fix)
19:08
Do not allow internal-use-only functions to be coded, anywhere, unless inside of a nested parse (which is the case for ALTER TABLE) or if the appropriate test-control is activated. Bug 2026-06-23T15:49:27Z. (check-in: a145307e4d ... user: drh tags: trunk)
15:35
Fix a typo in a comment. No code changes. (check-in: 8a535a36a9 ... user: drh tags: trunk)
15:16
Do not use shared locks on SHM files when the filename is a long DOS-device path. Only used shared locks for UNC paths. Do not confuse the long-DOS-device syntax with UNC paths. Bugzilla 2016438. (check-in: 246f46614f ... user: drh tags: branch-3.53)
14:11
Makefile doc tweaks. No functional changes. (check-in: d85204bbd9 ... user: stephan tags: trunk)
13:26
Improve robustness against corrupt kvvfs journal files. Addresses bug report 2026-06-23T06:51:34Z and the first follow-up report in that thread. (check-in: bd24ea4d76 ... user: stephan tags: trunk)
13:26
Fix a NULL pointer dereference that could occur in the unionvtab virtual table if the configuration SQL returned an SQL NULL value in place of a table name. (check-in: 7e8de3ba28 ... user: drh tags: branch-3.53)
11:16
Fix a NULL pointer dereference that can occur when misusing a extension virtual table that was created for testing purposes. (check-in: ee4f5d82a3 ... user: drh tags: branch-3.53)
11:14
Fix a NULL pointer dereference that could occur in the unionvtab virtual table if the configuration SQL returned an SQL NULL value in place of a table name. Bug 2026-06-23T05:32:49Z. (check-in: 3a2163f969 ... user: dan tags: trunk)
11:09
Fix a NULL pointer dereference that can occur when misusing a extension virtual table that was created for testing purposes. Bug 2026-06-23T05:32:49Z (check-in: 256d5cd478 ... user: drh tags: trunk)
10:56
Fixes for three separate AI-discovered bugs in non-deliverable extensions. (check-in: c980094956 ... user: drh tags: branch-3.53)
10:51
Fix an OOB read in the next_char() function of the "spellfix" extension. The spellfix extension is not a deliverable. Bug 2026-06-23T05:41:00Z (check-in: 6ede22e13f ... user: drh tags: trunk)
10:23
Fix dequoting error on the instantiation parameters of the non-deliverable extension virtual table "fuzzer. Bug 2026-06-23T05:51:36Z. (check-in: 410045796b ... user: drh tags: trunk)
10:07
Fix rounding behavior for all-9s decimals in the decimal extension. Bug 2026-06-23T05:07:48Z (check-in: 21b2692c83 ... user: drh tags: trunk)
2026-06-22
21:00
Fix a problem with readonly_shm=1 connections causing SQLITE_PROTOCOL to be returned in some cases. This is the same fix as [0c3a346d65]. (leaf check-in: 5ea14b4f52 ... user: dan tags: bedrock)
20:51
Merge the latest trunk changes into the bedrock branch through wal2 (check-in: 2a75dcd3a8 ... user: drh tags: bedrock)
20:23
Merge the latest trunk enhancements and fixes into the wal2 branch. (leaf check-in: 48bb7da1bf ... user: drh tags: wal2)
16:43
Fix a problem with readonly_shm=1 connections on this branch causing SQLITE_PROTOCOL to be returned in some cases. (check-in: 0c3a346d65 ... user: dan tags: wal2)
14:45
Merge the latest trunk enhancements into the reuse-schema branch. (leaf check-in: 2296020d75 ... user: drh tags: reuse-schema)
14:11
Merge all the latest trunk enhancements into the begin-concurrent branch (leaf check-in: b5f81a95bd ... user: drh tags: begin-concurrent)
11:02
Add the BTREE_HINT_TABLECURSOR cursor-hint. This is not currently used by stock SQLite. (check-in: 35b3ff4007 ... user: dan tags: trunk)
10:38
Fixes for kvvfs journaling. Bug reports 2026-06-20T08:49:41Z and 2026-06-20T18:35:54Z. (check-in: 4c773f5d64 ... user: stephan tags: branch-3.53)
2026-06-21
11:38
Correct test from [96a48a15760a] - that journal was indeed corrupt, but not in the intended manner. Add a verification that the bad journal gets replaced after a write. (check-in: c917122116 ... user: stephan tags: trunk)
11:10
Extend the test from the previous check-in a bit. (check-in: bd6bbd0e84 ... user: stephan tags: trunk)
10:55
Add a JS test demonstrating that [7c4db1cd2d06] recovers gracefully from journal corruption. (check-in: 96a48a1576 ... user: stephan tags: trunk)
08:38
Fix a result value semantics bug which broke application of a journal in kvvfs. Fix a memory-reset bug in hypothetical non-WASM builds of kvvfs. Bug report 2026-06-20T18:22:59Z, and this resolves the journaling issue mentioned in the parent post. (check-in: 7c4db1cd2d ... user: stephan tags: trunk)
08:13
Fix a potential integer overflow when decoding a corrupt kvvfs block. Bug report 2026-06-20T18:35:54Z. (check-in: c36fc5df62 ... user: stephan tags: trunk)
2026-06-20
21:54
Fix an incorrect assert() in check-in [984c9b181801c1de] (check-in: 1d41c93b36 ... user: drh tags: trunk)
11:07
Correct misuse of a loop control variable in writing of a kvvfs journal. Bug report 2026-06-20T08:49:41Z. Remove a snippet of dead code in the JS kvvfs side. (check-in: a396d7c54c ... user: stephan tags: trunk)
2026-06-19
23:53
Add the sqlite3_result_str() interface and use it to simplify the code. (check-in: 8f8361edf8 ... user: drh tags: trunk)
22:57
Use SQLITE_FINISH in a few places in the core, to help ensure that path is well tested. (closed check-in: 7356bf3a81 ... user: drh tags: sqlite3-result-str)
22:17
Put the sqlite3OomStr singleton in "const" space to ensure that it is never modified. Doing so identified a long-standing bug. (check-in: 2fe53e6d68 ... user: drh tags: sqlite3-result-str)
21:43
Additional changes based on Claude analysis. (check-in: d4691a0db1 ... user: drh tags: sqlite3-result-str)
20:01
Further refinements and uses for sqlite3_result_str(). (check-in: 974253a605 ... user: drh tags: sqlite3-result-str)
17:03
Prototype implementation for a new sqlite3_result_str() API. (check-in: cdbc62c36a ... user: drh tags: sqlite3-result-str)
16:55
Fix the format() SQL function so that it returns an empty string not a NULL if the first argument is an empty string. Bug 2026-06-19T16:40:04Z (check-in: ece7af98a8 ... user: drh tags: trunk)
12:14
Fix a cast in fts3_write so that it is applied as intended. (check-in: 6c22c34e9a ... user: drh tags: branch-3.53)
11:46
Fix a cast in fts3_write so that it is applied as intended. Bug 2026-06-19T07:56:23Z. (check-in: d6a3272e55 ... user: dan tags: trunk)
11:18
Fix an fts5 problem causing attempts to create locale=1 tables with more than 115 columns to fail. (check-in: 4d993e8f5f ... user: drh tags: branch-3.53)
11:14
Fix an fts5 problem causing attempts to create locale=1 tables with more than 115 columns to fail. Bug 2026-06-19T05:19:08Z. (check-in: 979229f720 ... user: dan tags: trunk)
2026-06-18
17:09
Fix a memory size computation error on 32-bit platforms caused by check-in [9a2a230464e43140]. (check-in: dc4763b14c ... user: drh tags: trunk)
2026-06-17
20:11
Small parsing performance improvement by reducing the amount of the Parse object that needs to be initialized. (check-in: 0901b7c2df ... user: drh tags: trunk)
19:28
Remove the unnecessary Parse.szOpAlloc field, for small size reduction and performance improvement. (check-in: 9a2a230464 ... user: drh tags: trunk)
18:39
Small performance boost in the sqlite3VdbeResolveLabel() routine of the code generator. (check-in: f786f3643e ... user: drh tags: trunk)
More ↓