Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
50 most recent check-ins tagged with "trunk"
2025-06-12
| ||
07:35 | Have sqlite3_setlk_timeout() take the database handle mutex. This fixes an assert() failure that could occur if sqlite3_setlk_timeout() were called on a threadsafe handle. (Leaf check-in: a95d126e13 user: dan tags: trunk) | |
2025-06-11
| ||
15:03 | Fix a problem with UPDATEs on fts5 tables that contain blob values. (check-in: badf3014bd user: dan tags: trunk) | |
00:01 | Fix the concat_ws() SQL function so that it includes empty strings in the concatenation. Forum post 52503ac21d. (check-in: 80a78987da user: drh tags: trunk) | |
2025-06-10
| ||
19:52 | Improved selection of the divisor when subdividing nested Bitvec objects. This fixes a potential stack overflow that can occur when the database size is within 60 pages of the maximum allowed by the file format. (check-in: f7ab764ed9 user: drh tags: trunk) | |
18:26 | Minor corrections to the new Bitvec testing logic. (check-in: 77b79ca127 user: drh tags: trunk) | |
17:22 | Enhancements to sqlite3BitvecBuiltinTest() that allow testing code to create very large Bitvec objects that do not use the linear array cross-check. (check-in: c5680672ca user: drh tags: trunk) | |
16:02 | Improved diagnostics for Bitvec: Add the sqlite3ShowBitvec() routine that can be called from a debugger (only available with SQLITE_DEBUG). Add new output opcodes for sqlite3BitvecBuiltinTest(). (check-in: dea1e37fa6 user: drh tags: trunk) | |
2025-06-09
| ||
22:38 | Adjustments to ext/misc/fileio.c in an attempt to get it to build using mingw. (check-in: 96b14a3f11 user: drh tags: trunk) | |
2025-06-06
| ||
23:10 | Remove unnecessary whitespace and otherwise improve comments in the wherecode.c module. No coding changes. (check-in: 2eb4e9bf0f user: drh tags: trunk) | |
23:02 | Update the "msort" function in Lemon so that it works with lists of any length, and also so that the sort is stable. This patch was motivated by forum post 63750d717c but was independently developed, then tested by temporarily setting LISTSIZE to 2. (check-in: aba5c3135e user: drh tags: trunk) | |
2025-06-05
| ||
20:12 | Remove the clunky test_windirent.h and test_windirent.c files from src/ and replace them with a much cleaner and more compact ext/misc/windirent.h. (check-in: acc978df52 user: drh tags: trunk) | |
18:28 | Enhance the FSDIR virtual table with a new "level" column. The query planner knows how to optimize to avoid search deeper than the maximum requested level. (check-in: 1ddc0f9e79 user: drh tags: trunk) | |
2025-06-04
| ||
18:34 | tea build: add an info-exists check after a 'scan' call, as scan does not create its target vars on error. Problem reported at forum post fde857fb8101a4be and triggers when the 'vsatisfies' test for the host's Tcl version fails (so the build would fail anyway, but will fail more informatively with this fix). (check-in: 4f21874d5d user: stephan tags: trunk) | |
2025-06-03
| ||
18:10 | Apply the duplicate 'export default' workaround to the (untested and unsupported) node-specific build rules in mkwasmbuilds.c to resolve a problem reported off-list by Thomas Steiner. (check-in: 2f8a1b7953 user: stephan tags: trunk) | |
10:49 | Enhance sqlite3_rsync so that it works even if the replica database is initially malformed. (check-in: ea1754f7d8 user: drh tags: trunk) | |
10:28 | Fix an off-by-one error in sqlite3_rsync, reported in forum post b6d78f60fc. (check-in: 27d9e8e79b user: drh tags: trunk) | |
10:18 | Fix harmless compiler warning introduced by the setlk-snapshot-fix merge. (check-in: c1f20f89d9 user: drh tags: trunk) | |
2025-06-02
| ||
23:34 | Fix JSONB edit so that when it is trying to reduce the size of an element it understands 0xf0 (8-byte) sizes. (check-in: 5b3de6e8ab user: drh tags: trunk) | |
18:58 | Increase the version number to 3.51.0 (check-in: ed69d44327 user: drh tags: trunk) | |
18:48 | Fixes to ensure SQLITE_ENABLE_SETLK_TIMEOUT builds use a blocking lock and do not call xSleep() when (a) opening a snapshot transaction, and (b) when blocked by another process running recovery. (check-in: 7f9c0cdd06 user: dan tags: trunk) | |
18:34 | Improve the accuracy of affinity and collating sequence analysis for NATURAL JOINs to the left of RIGHT JOINs where source tables are views or subqueries. Initial problem report in forum post 829306db47. (check-in: f184d1d236 user: drh tags: trunk) | |
15:17 | Slight modernization of the TEA README.txt. (check-in: bf7be67e3f user: stephan tags: trunk) | |
15:10 | TEA: remove the stale man page and references to the MSC makefiles from the README.txt. Based on discussion at forum post 87e6660191a472c5. A couple of weeks ago we internally discussed pulling in the MSC makefiles from the 3.49 tree but they are stale and possibly unused, so opted against it for the time being. (check-in: c9888a4095 user: stephan tags: trunk) | |
13:54 | Remove an unnecessary parameter from sqlite3VdbeRecordUnpack(). Improved comments and assert()s on KeyInfo. (check-in: 387f4c4d98 user: drh tags: trunk) | |
09:49 | Fix stale comments related to KeyInfo. Add new assert()s associated with memory management of KeyInfo. (check-in: abd805bc76 user: drh tags: trunk) | |
2025-06-01
| ||
21:38 | Fix an off-by-one error in the size computation of a vdbe-sorter. Forum post c1cc8b057a. Problem introduced by checkin [d4307a0d43f42e96]. (check-in: 8b7a7fcf62 user: drh tags: trunk) | |
16:10 | Fix VACUUM so that it works even when ATTACH_WRITE is disabled. (check-in: 42494f85ac user: drh tags: trunk) | |
2025-05-31
| ||
20:51 | Enhance "box" and "column" mode formatting in the CLI to better deal with double-wide characters. (check-in: b0de22ed0a user: drh tags: trunk) | |
18:26 | New makefile target "xdevtest" works like "releasetest" except that it omits the "verify-source" dependency so that it can be run with uncommitted changes in the source tree. (check-in: 1afb1ac3e9 user: drh tags: trunk) | |
18:16 | Fix an affinity problem caused by a USING or NATURAL JOIN on the LHS of a FULL JOIN. Forum post 5028c785b6. (check-in: 8d393ca07f user: dan tags: trunk) | |
16:17 | Relax query flattener constraint (3b) and thereby allow flattening the RHS of a LEFT JOIN even if the RHS contains a virtual table. This was previously disallowed by [9dbae1df75219e2a] as a performance optimization. It turns out that the constraint causes performance issues, and we do not have a record of any performance issue that it solves. (check-in: 1ddaa92057 user: drh tags: trunk) | |
11:08 | Move a mis-located makefile comment block. (check-in: 7d884386be user: stephan tags: trunk) | |
11:02 | tcl extension: UDFs may now 'break' to return an SQL NULL. Add the (eval -asdict) flag to use a dict, instead of an array, for the eval row data. (check-in: 413a626b5c user: stephan tags: trunk) | |
09:44 | Add some missing UNUSED_PARAMETER() annotations to squelch downstream build warnings when using -Wextra -pedantic. (check-in: a98a2f4935 user: stephan tags: trunk) | |
2025-05-30
| ||
22:58 | Follow-up to the previous: The same optimization suppression needs to happen if the left-hand side is coming from a LEFT JOIN. (check-in: cf5b37b3a3 user: drh tags: trunk) | |
19:55 | When synthesizing an ON constraint from a USING or NATURAL, if the left-hand side is coming from a RIGHT JOIN, be sure to set the EP_CanBeNull flag so that the optimizer knows to check for NULL even if the column has a NOT NULL constraint. Fix for the problem reported by forum post 4fc70203b61 (check-in: 60adc78a22 user: drh tags: trunk) | |
16:08 | Configure-related fixes and additions, most notably integration of self-tests for proj.tcl's APIs. Teaish make-install fixes based on the discussion in forum thread 87e6660191a472c5. (check-in: 2e486f8fd0 user: stephan tags: trunk) | |
15:46 | Random typo fixes in JNI docs. (check-in: f63608a384 user: stephan tags: trunk) | |
15:43 | Use a more robust backup definition for offsetof(). (check-in: 22441955e0 user: drh tags: trunk) | |
11:14 | Add "include <stddef.h>" to fts5 and rtree to ensure that they use the system version of the offsetof() macro when it is available, as the built-in version triggers ubsan errors with clang. (check-in: 838deb7f34 user: dan tags: trunk) | |
10:18 | Squelch an interesting but harmless struct initialization warning emitted after an emsdk update. Fix JS breakage introduced by changes in Emscripten 4.0.7: manually export the HEAPxyz symbols which used to be exposed by default. (check-in: 10d0897cc9 user: stephan tags: trunk) | |
2025-05-29
| ||
20:29 | Fix the missing -lm link flag for the sqlite3 shell when building the autoconf bundle with --disable-static-shell, as reported in forum post 5adf1c932a. (check-in: f6318c4a6b user: stephan tags: trunk) | |
18:44 | Extend the fix for ticket [623eff57e76d45f6] so that it covers RIGHT JOIN in addition to LEFT JOIN. Problem reported by forum post 2025-05-29T15:10:14Z. (check-in: 29b1e1b976 user: drh tags: trunk) | |
17:46 | Fix a goofy hash function in Lemon. No changes to SQLite itself. (check-in: d6cbabe23d user: drh tags: trunk) | |
14:26 | Version 3.50.0 (check-in: dfc790f998 user: drh tags: trunk, release, major-release, version-3.50.0) | |
2025-05-28
| ||
16:56 | Do not use a partial index unless the WHERE clause uses one or more columns from the table being indexed. This resolves the issue reported by forum post 2025-05-28T13:03:40Z. Test cases are in TH3. (check-in: f037ca064d user: drh tags: trunk) | |
2025-05-26
| ||
23:20 | Slight change to tool/split-sqlite3c.tcl to make it compatible with jimsh (check-in: fe670ddda9 user: drh tags: trunk) | |
17:29 | Fix a bug in the speedtest.tcl testing script that was introduced by [7e9845433ff26bdc] (check-in: e4ffa86aa6 user: drh tags: trunk) | |
16:59 | In the TEA build, enable USE_TCL_STUBS on Mac platforms. (check-in: 0b5415151c user: stephan tags: trunk) | |
16:17 | On OpenBSD, do not test fuzzcheck with ubsan as part of "make devtest". (check-in: a3dabd599c user: dan tags: trunk) | |