SQLite

Timeline
Login

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

50 most recent check-ins that include changes to files matching 'src/*'

2025-09-15
17:06
Updates to where.c to handle vtabs in joins more similarly to regular tables. (Leaf check-in: 9138223013 user: dan tags: trunk)
16:09
Merge latest trunk with this branch. (Closed-Leaf check-in: 0bb8c42951 user: dan tags: vtab-planner-fixes)
2025-09-13
19:23
Updates to where.c to handle vtabs in joins more similarly to regular tables. (check-in: 991383262b user: dan tags: vtab-planner-fixes)
18:28
Initialize the sqlite3_set_errmsg entry on the loadable extension thunk. Also fix a harmless compiler warning in sqlite_dbpage. (check-in: 031a43ae2b user: drh tags: trunk)
18:15
Add --enable-dbstat and --enable-dbpage options to configure. Fix the ".dbtotxt" command in the CLI so that it uses the correct filename of the database it is rendering as text. (check-in: e04e6e6818 user: drh tags: trunk)
17:53
Enhance the integerValue() routine in the CLI so that when its text input specifies an out-of-range integer, the routine returns the nearest integer that is representable as 64-bit twos-complement. (check-in: 5d50279fcb user: drh tags: trunk)
2025-09-12
17:13
Add sqlite3_set_errmsg(). Use this in sqlite3changeset_apply() to return any error code and error message via the SQLite handle. (check-in: e34eda113c user: dan tags: trunk)
15:31
Typo fixes. Make sqlite3_set_errmsg() accessible to run-time loadable extensions. (Leaf check-in: 93a41e3132 user: drh tags: sqlite3-set-errmsg)
15:20
Add more details to comments in the previous check-in. (check-in: ed36b3aa4b user: drh tags: sqlite3-set-errmsg)
15:02
Add experimental API sqlite3_set_errmsg(). Use this in sqlite3changeset_apply() to return any error code and error message via the SQLite handle. (check-in: 4d5b60a1e5 user: dan tags: sqlite3-set-errmsg)
2025-09-11
10:43
Improved support for VxWorks. (check-in: 5bc6b93522 user: drh tags: trunk)
10:37
Fix a harmless compiler warning in the CLI. Gcc generates identical machine code before and after this change. [forum:/forumpost/8bda0d896f|Forum post 8bda0d896f]. (check-in: dbca4fe344 user: drh tags: trunk)
2025-09-10
18:34
Use a separate mutex (SQLITE_MUTEX_STATIC_VFS2) for the VxWorks file list in os_unix.c. (Closed-Leaf check-in: 8f45f1a9d9 user: drh tags: vxworks)
14:28
The GetSystemTimePreciseAsFileTime() API does not exist on 32-bit windows. Adjust [c5dbe93114d318fe] so that it works with this limitation. (check-in: 61d9e204c5 user: drh tags: trunk)
2025-09-09
19:00
If open files in VxWorks, do not unlink the file unless the file was marked as delete-on-close. (check-in: bb6114dbbf user: drh tags: vxworks)
17:39
Do not allow attempts to open files in VxWorks unless the full pathname is provided. (check-in: 4720205249 user: drh tags: vxworks)
10:28
Do not allow the local_getline() function in the CLI to allocate more memory than can be counted using a 32-bit integer, thus limiting the length of an input line to about one gigabyte. [forum:/forumpost/c83b9affa2|Forum post c83b9affa2]. (check-in: 0f31711591 user: drh tags: trunk)
2025-09-08
19:56
Fix a potential memory leak in the VxWorks VFS that can occur following an OOM or I/O error during xOpen(). (check-in: cb880145d8 user: drh tags: vxworks)
18:45
In VxWorks, temporary filenames must be full absolute pathnames in order for vxworksFindFileId() to work. (check-in: 1fc94becc5 user: drh tags: vxworks)
17:52
Add the ability to compile with -DOS_VXWORKS=1 on Linux systems, in an effort to debug the VxWorks capabilities without actually having to run VxWorks. (check-in: c87e68d791 user: drh tags: vxworks)
15:15
Add "PRAGMA wal_checkpoint = noop" and SQLITE_CHECKPOINT_NOOP. To request a checkpoint that checkpoints zero frames. (check-in: 4384ad8918 user: dan tags: trunk)
14:40
Merge trunk changes into this branch. (Leaf check-in: 3bac76a86b user: dan tags: wal-checkpoint-noop)
14:32
Add documentation comment for SQLITE_CHECKPOINT_NOOP. (check-in: 2b9c495d02 user: dan tags: wal-checkpoint-noop)
2025-09-06
15:27
Improve documentation of SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER. (check-in: d7b2fb5363 user: dan tags: trunk)
2025-09-05
13:26
WAL API doc tweaks based on suggestions from [forum:16e94b4bdcfbdc57|forum post 16e94b4bdcf]. (check-in: 1bb7eaf784 user: stephan tags: trunk)
2025-09-04
19:33
Add "PRAGMA wal_checkpoint = noop" and SQLITE_CHECKPOINT_NOOP. To request a checkpoint that checkpoints zero frames. (check-in: 48be3d020c user: dan tags: wal-checkpoint-noop)
16:26
Merge latest changes from the wal2 branch into the bedrock branch. (Leaf check-in: 21e4744de2 user: stephan tags: bedrock)
16:02
Merge the latest trunk enhancements into the wal2 branch. (Leaf check-in: 8b881fd828 user: stephan tags: wal2)
09:26
Use Pgno instead of int for the pgno field in the DbpageCursor object. The same machine code is generated, but using an unsigned value seems safer in the long run. [forum:/forumpost/ccec20a858|Forum post ccec20a858]. (check-in: 26ecdde06c user: drh tags: trunk)
2025-09-01
00:32
Fix a line-wrap change made in [50234bc9e9fe58da] which broke the docsrc build by splitting a link reference across two lines, which the doc processor does not like. Problem reported in [forum:ea1fe5f421549899 | forum post ea1fe5f4215]. (check-in: 321938063e user: stephan tags: trunk)
2025-08-29
15:56
Ensure POSIX builds work as expected (no extra usleep() calls) if SQLITE_ENABLE_SETLK_TIMEOUT is defined. (check-in: f04a826bac user: dan tags: trunk)
2025-08-28
17:05
Add macros SQLITE_SCM_BRANCH/TAGS/DATETIME to sqlite3.h, pulled from the fossil-generated manifest.tags. (check-in: db6b6240ad user: stephan tags: trunk)
14:21
Get Tcl_Init() working for Tcl9, the major caveat being that for statically-linked builds this only works if the Tcl9 main lib ZIP file (part of its source build but not installed) gets concatenated to the resulting custom shell's binary. Thanks to Jan Nijtmans for his help with this. (Leaf check-in: 404bf0d76c user: stephan tags: tcl-init)
12:04
Merge trunk into tcl-init branch. (check-in: 64c802ca10 user: stephan tags: tcl-init)
2025-08-27
17:37
Add the SQLITE_JSON_MAX_DEPTH compile-time option. Copied from [59446dc0bd009157]. (Leaf check-in: 9f69b28d61 user: drh tags: branch-3.42.0)
2025-08-25
16:41
Fix a typo in a comment. (check-in: d2a74d5c36 user: dan tags: trunk)
14:27
Check that certain ON clauses do not refer to tables to their right as a separate step after parsing a SELECT statement, instead of as part of the planner stage. Fix for [forum:ccfb3b5052 | forum post ccfb3b5052]. (check-in: e0beda7ffe user: dan tags: trunk)
13:04
For the --pagecache option of the CLI, if the SIZE parameter is a power-of-two, automatically round it up to using the PCACHE_HDRSZ. (check-in: e7a2ba842c user: drh tags: trunk)
2025-08-23
18:18
Small simplification to the query flattener logic. (check-in: cbfe3f0c84 user: drh tags: trunk)
16:26
Fix the cases in joinI.test on this branch. (check-in: 23ac237731 user: dan tags: on-clause-fix-3rd-try)
2025-08-22
23:06
Minor tweaks to this option, to make it ready to land on trunk, if we decide to do so. (Closed-Leaf check-in: f01ed7316d user: drh tags: on-clause-option-4)
22:02
Disable the query flattener if the subquery is a join and the subquery is anywhere to the right of a RIGHT JOIN and if there is an ON clause on the subquery. (check-in: 7776ab3f5a user: drh tags: on-clause-option-4)
21:46
Fix the sqlite3SetJoinExpr() routine so that it correctly sets the join flags on CASE expressions. (check-in: a4107c947c user: drh tags: trunk)
19:17
Remember if a SELECT statement contains an ON clause. If it does, then after name resolution, scan the WHERE clause to verify that the ON clause does not reference tables to its right. (check-in: 0ec8a8f644 user: drh tags: on-clause-fix-3rd-try)
19:14
Improve performance of this patch. (Closed-Leaf check-in: 3060b2c447 user: dan tags: on-clause-error-fix)
18:19
Enhance treeview so that it shows the contents of ON clauses while they are still attached to the SrcItem object and before they are moved into the WHERE clause. (check-in: 3e285bc117 user: drh tags: trunk)
16:34
Experimental minor simplification of the query flattener. (Closed-Leaf check-in: 953ea637d5 user: drh tags: simplify-flattener)
16:25
Attempt to detect errors cause by ON clauses that refer to tables to the right of themselves while resolving names, instead of later on after query-flattening and other operations have complicated things. (check-in: 4bb527d337 user: dan tags: on-clause-error-fix)
2025-08-21
18:47
Fix a minor typo in a comment. (check-in: 9ada44eb6d user: drh tags: trunk)
17:59
Add config as an alias for the reconfigure makefile target. Minor makefile doc tweaks. Random typo fixes in shell.c.in and tclsqlite.h pointed out by the misspell makefile target. No code changes. (check-in: 9f15182776 user: stephan tags: trunk)