SQLite

Timeline
Login

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

50 most recent check-ins related to "trunk"

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)
14:11
Diverse internal cleanups in the JS/WASM pieces. A potential fix for a hypothetical db-close-time resource leak of a subset of automated JS-to-WASM function conversions in Safari. That browser exposes WASM-exported functions via nullary wrappers, which causes a handful of them to misbehave (not clean up) at sqlite3_close_v2()-time. (check-in: fabbc8b6d1 user: stephan tags: trunk)
2025-09-14
12:55
Expose sqlite3_set_errmsg() to the JNI bindings. (check-in: 292866a469 user: stephan tags: trunk)
12:14
Expose the new sqlite3_set_errmsg() to wasm. Refactor JS's sqlite3__wasm_db_error() to wrap that instead of the WASM-specific routine which previously did that job. This resolves the TODO added in [ead8a3a94e]. (check-in: e447a50f3a user: stephan tags: trunk)
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:36
Add a TODO regarding replacing the internal sqlite3__wasm_db_error() with the new [/info/34eda113c8819d | sqlite3_set_errmsg()], which serves the same role. (check-in: ead8a3a94e user: stephan tags: trunk)
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: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:58
Fix an off-by-one error in sqlite3_rsync. [forum:/info/46753431d4|Forum post 46753431d4]. (check-in: ef3b7be6f2 user: drh tags: trunk)
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)
10:14
Latest upstream autosetup, with project-local s/--debug/--autodebug-debug/ patch, for HP-UX-specific config bootstrapping code and latest jimsh. (check-in: 1d2352a16c user: stephan tags: trunk)
10:09
Configure script portability improvements for HP-UX builds, with the help of HP-UX sysadmin Michael Osipov. (check-in: 93cf2afa8c user: stephan tags: trunk)
10:08
In mkautoconfamal.sh use $MAKE if it's set so that it can be made to work on platforms where 'make' from the PATH is not usable, e.g. HP-UX's standard make. This means that 'make snapshot-tarball' will inherit that value from the outer makefile and set it appropriate when the in-use make is named gmake. (check-in: a8635cae05 user: stephan tags: trunk)
2025-09-10
20:28
Minor #ifdef changes to the carray.c extension so that the source file can be more easily imported into a larger program (such as TH3). (check-in: f16fd1afbb user: drh tags: trunk)
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)
16:57
Change the order of some paragraphs within documentation comments in sqlite3session.h. (check-in: f0102d7b25 user: dan tags: trunk)
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
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
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)
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)
12:14
Build portability fixes for HP-UX, reported in [forum:d80ecdaddd885149 | forum post d80ecdaddd8]. The full fix also requires a patch to autosetup/cc-shared.tcl, but that's pending because it's upstream code. (check-in: 5f38c8aa8f user: stephan tags: trunk)
11:20
Add tests to check that SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER is working. (check-in: beb092d810 user: dan 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)
18:00
Generic doc updates in ext/wasm's makefiles. No functional changes. (check-in: 02721457ce user: stephan tags: trunk)
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-03
21:19
Fix a typo in a comment in carray.h. (check-in: a4e137de0e user: dan tags: trunk)
13:39
Random wasm internal doc cleanups. No code changes. (check-in: 70923a00cf user: stephan tags: trunk)
2025-09-02
14:59
Add test case for pushing WHERE constraints into a UNION sub-query that uses virtual tables. (check-in: 13c80e903e user: dan tags: trunk)
13:14
Experimentally add the --compile-commands configure flag to generate compile_commands.json for compilers which support it (clang), to enable Language Server Protocol (LSP) inspection of the sources. This is probably not terribly useful without the --disable-amalgamation flag, as the amalgamation is so large as to make IDE/LSP processing very slow. (Leaf check-in: 37fb15720f user: stephan tags: compile-commands)
2025-09-01
13:01
Latest side-stream autosetup/proj.tcl for improved compile-commands feature detection. (check-in: 55744ca8b8 user: stephan tags: trunk)
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
16:51
Update test script reservebytes.test so that it works with the "prepare" permutation. (check-in: 4ac774364b user: dan tags: trunk)
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)
11:21
Add 'from a check-out' to the mksqlite3h.tcl manifest instructions. (check-in: 7728a74ca8 user: stephan tags: trunk)
11:09
Fix the mksqlite3h.tcl SQLITE_SCM_... changes to work from out-of-tree builds. Problem reported in [forum:812f8d6ff4|forum post 812f8d6ff4]. (check-in: 127f0ab163 user: stephan tags: trunk)
2025-08-28
17:10
Remove some commented-out debugging lines and fix a doc typo. No code changes. (check-in: af32cb3e30 user: stephan tags: trunk)
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)
15:04
Remove sqlite3expert.h from the compiler invocation for that tool, as it (A) doesn't need to be there and (B) it causes some compilers problems (as reported in [forum:a1085109e7db4cf3 | forum post a1085109e7]). This bug was faithfully carried over from the legacy build. (check-in: 9f0a16f6e8 user: stephan tags: trunk)
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)