aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | | | | Minor corrections to the new Bitvec testing logic.drh2025-06-10
| | | | | | | | | | | | | | | FossilOrigin-Name: 77b79ca1277419b91589aff2c601d4abdd7107d48019a58f7f7c85d96c2a538e
* | | | | Enhancements to sqlite3BitvecBuiltinTest() that allow testing code todrh2025-06-10
| | | | | | | | | | | | | | | | | | | | | | | | | create very large Bitvec objects that do not use the linear array cross-check. FossilOrigin-Name: c5680672cae23f65637eebf66f3bb983a2864be03ea70378832034f3c89ef728
* | | | | Improved diagnostics for Bitvec: Add the sqlite3ShowBitvec() routine thatdrh2025-06-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | can be called from a debugger (only available with SQLITE_DEBUG). Add new output opcodes for sqlite3BitvecBuiltinTest(). FossilOrigin-Name: dea1e37fa67ada6efc1533b449d9eb22338d9e58eec8f89b48c38319c212c8f4
* | | | | Adjustments to ext/misc/fileio.c in an attempt to get it to build using mingw.drh2025-06-09
| | | | | | | | | | | | | | | FossilOrigin-Name: 96b14a3f1193de8f30e9fa704f87558dab8027a218868d32e47688cd5df497b7
* | | | | Remove unnecessary whitespace and otherwise improve comments in thedrh2025-06-06
| | | | | | | | | | | | | | | | | | | | | | | | | wherecode.c module. No coding changes. FossilOrigin-Name: 2eb4e9bf0f2df50324a62fb272a92bbd931b8b4e4b35bac0c05b676c97b61339
* | | | | Update the "msort" function in Lemon so that it works with lists of anydrh2025-06-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | length, and also so that the sort is stable. This patch was motivated by [forum:/forumpost/63750d717c9ed961|forum post 63750d717c] but was independently developed, then tested by temporarily setting LISTSIZE to 2. FossilOrigin-Name: aba5c3135edf7de2798ad808fa0ff176fdba3f4a9b101f1f4210b441cba8e75d
* | | | | Remove the clunky test_windirent.h and test_windirent.c files from src/drh2025-06-05
| | | | | | | | | | | | | | | | | | | | | | | | | and replace them with a much cleaner and more compact ext/misc/windirent.h. FossilOrigin-Name: acc978df52ec41ffdb5c27764f30d53efa1f25a314b7d98983dc0d211a36b570
* | | | | Enhance the FSDIR virtual table with a new "level" column. The query plannerdrh2025-06-05
| | | | | | | | | | | | | | | | | | | | | | | | | knows how to optimize to avoid search deeper than the maximum requested level. FossilOrigin-Name: 1ddc0f9e79c33957961bc1443ccb74d756a02cbd20850052079782e76aef2706
* | | | | tea build: add an info-exists check after a 'scan' call, as scan does not ↵stephan2025-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | create its target vars on error. Problem reported at [forum:fde857fb8101a4be | 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). FossilOrigin-Name: 4f21874d5d20aef2e2d67a59e4fa03d98aa6514b16e4d956acfc817142cfbdb6
* | | | | Apply the duplicate 'export default' workaround to the (untested and ↵stephan2025-06-03
| | | | | | | | | | | | | | | | | | | | | | | | | unsupported) node-specific build rules in mkwasmbuilds.c to resolve a problem reported off-list by Thomas Steiner. FossilOrigin-Name: 2f8a1b79533879e4975b405c46fea496ba8bffbef065e7dd0ad29fd4aa8f8f92
* | | | | Enhance sqlite3_rsync so that it works even if the replica database isdrh2025-06-03
| | | | | | | | | | | | | | | | | | | | | | | | | initially malformed. FossilOrigin-Name: ea1754f7d8a770477a1b19b606b27724fdc0b733e51fef32c1ef834f972c3cc5
* | | | | Fix an off-by-one error in sqlite3_rsync, reported indrh2025-06-03
| | | | | | | | | | | | | | | | | | | | | | | | | [forum:/forumpost/b6d78f60fc|forum post b6d78f60fc]. FossilOrigin-Name: 27d9e8e79b921c4a86916556f3bf56b94684a7e3d40166c0fdaaf750d4011de0
* | | | | Fix harmless compiler warning introduced by the setlk-snapshot-fix merge.drh2025-06-03
| | | | | | | | | | | | | | | FossilOrigin-Name: c1f20f89d9eb3e1dd1018c0e0efe5d3043a592f078e235ad04b960334c7186c2
* | | | | Fix JSONB edit so that when it is trying to reduce the size of an elementdrh2025-06-02
| | | | | | | | | | | | | | | | | | | | | | | | | it understands 0xf0 (8-byte) sizes. FossilOrigin-Name: 5b3de6e8ab6b228bf6c0e0c31b50ca29d8b7852b460eaaca6c6ecf5a3c083cab
* | | | | Increase the version number to 3.51.0drh2025-06-02
| | | | | | | | | | | | | | | FossilOrigin-Name: ed69d4432712603bea2161e0ca0c99e59480fb000e1cbf1aa1401d924544e351
* | | | | Fixes to ensure SQLITE_ENABLE_SETLK_TIMEOUT builds use a blocking lock and ↵dan2025-06-02
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | do not call xSleep() when (a) opening a snapshot transaction, and (b) when blocked by another process running recovery. FossilOrigin-Name: 7f9c0cdd0630a41db359b188b226a1ad6a3bae1663c27169acfe25edc7fb171b
| * | | | | Fix os_win.c so that SQLITE_ENABLE_SETLK_TIMEOUT=2 builds work on windows.dan2025-06-02
| | | | | | | | | | | | | | | | | | FossilOrigin-Name: 8efb95e0d4670b9c5dbd8cf34512334f47951a8dff8fdadc8645f75076acd91f
| * | | | | Updates to new test cases to run with SQLITE_ENABLE_SETLK_TIMEOUT=2 builds.dan2025-06-02
| | | | | | | | | | | | | | | | | | FossilOrigin-Name: c6d3e3542fdf6a3428d3a2ec20c699c169ed53341dc782d81f7fe5944f769748
| * | | | | Merge trunk changes into this branch.dan2025-06-02
| |\ \ \ \ \ | | | | | | | | | | | | | | FossilOrigin-Name: 7d27451804e525190f8e67da75aaeb3bf2de677021f7566c6681398e60a88c72
| * | | | | | Update a few test scripts so that they run on windows.dan2025-05-31
| | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: 14a18f4e3a3f35e636262a253364ab1e8054ed38c0c7fd482633522cbcf5ffc4
| * | | | | | Fix assert() statements in os_unix.c and os_win.c. Allow ↵dan2025-05-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | walsetlk_recover.test to run in non-SQLITE_ENABLE_SNAPSHOT builds. FossilOrigin-Name: 9f521ecda2b8d2f383cc84e308b3a4adfcf1bd6339eb834c8fa76c8704c861b7
| * | | | | | If blocking locks are enabled, avoid using the busy handler when blocked by ↵dan2025-05-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | another process running recovery. FossilOrigin-Name: a35236757ab57c4c9b34e47c5dbc10d8f1220f8152955f5303cf9c3902ee169b
| * | | | | | Avoid invoking the busy-handler if a blocking lock times out while ↵dan2025-05-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | attempting to open a snapshot transaction. FossilOrigin-Name: fe11f85fd3283bb7002f43bd8b796e9e7b67f6d1a92eb676be06b46d1458fc1d
* | | | | | | Improve the accuracy of affinity and collating sequence analysis fordrh2025-06-02
| |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NATURAL JOINs to the left of RIGHT JOINs where source tables are views or subqueries. Initial problem report in [forum:/forumpost/829306db47|forum post 829306db47]. FossilOrigin-Name: f184d1d236e47962658a4639d9533f67a525b74cfe0f06c93e9b85fdcd02a15f
* | | | | | Slight modernization of the TEA README.txt.stephan2025-06-02
| | | | | | | | | | | | | | | | | | FossilOrigin-Name: bf7be67e3fb7b75fc281997f7bf9aa69eaf4da6bdf2fefe359b12d25ec95f512
* | | | | | TEA: remove the stale man page and references to the MSC makefiles from the ↵stephan2025-06-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | README.txt. Based on discussion at [forum:87e6660191a472c5 | 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. FossilOrigin-Name: c9888a409565e6c8891a3dafa56962df364fb729a61df2701dc0bb282e36fb75
* | | | | | Remove an unnecessary parameter from sqlite3VdbeRecordUnpack(). Improveddrh2025-06-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | comments and assert()s on KeyInfo. FossilOrigin-Name: 387f4c4d98b8fb83f6ae406e4143dabda7766e8752b7f6ca104655e51330c978
* | | | | | Fix stale comments related to KeyInfo. Add new assert()s associated withdrh2025-06-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | memory management of KeyInfo. FossilOrigin-Name: abd805bc76f14ede7359b029908179b7ca57e929c5918acae1403ef73ae0bd47
* | | | | | Fix an off-by-one error in the size computation of a vdbe-sorter.drh2025-06-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [forum:/forumpost/c1cc8b057a|Forum post c1cc8b057a]. Problem introduced by checkin [d4307a0d43f42e96]. FossilOrigin-Name: 8b7a7fcf62e5c2742c243808fa482472954f2b4aae0bc7ae513bc07065c93737
* | | | | | Fix VACUUM so that it works even when ATTACH_WRITE is disabled.drh2025-06-01
| | | | | | | | | | | | | | | | | | FossilOrigin-Name: 42494f85acb303919d3f1f2202f8b95fbd657652da4b8dc00451c10ea6c496e0
* | | | | | Enhance "box" and "column" mode formatting in the CLI to better deal withdrh2025-05-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | double-wide characters. FossilOrigin-Name: b0de22ed0abf2ea5d269f191c884d7b2be167a2ed27018c25aaa0ea238cd621a
* | | | | | New makefile target "xdevtest" works like "releasetest" except that itdrh2025-05-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | omits the "verify-source" dependency so that it can be run with uncommitted changes in the source tree. FossilOrigin-Name: 1afb1ac3e9f0a122f1374799c09b60a0dd5443434d4567d94385096ada91bf12
* | | | | | Fix an affinity problem caused by a USING or NATURAL JOIN on the LHS of a ↵dan2025-05-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FULL JOIN. [forum:/forumpost/5028c785b6|Forum post 5028c785b6]. FossilOrigin-Name: 8d393ca07fe09f48d77adb517e2e4baaa58a9251422de62a0504999205d3ea1d
* | | | | | Relax query flattener constraint (3b) and thereby allow flattening the RHS ofdrh2025-05-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. FossilOrigin-Name: 1ddaa92057e550ea281d45d9860eafe69399224725548a93dd91c47a34e52152
* | | | | | Move a mis-located makefile comment block.stephan2025-05-31
| | | | | | | | | | | | | | | | | | FossilOrigin-Name: 7d884386bec11f47c2c18002dd8c573c9b5cb6f7cdf2307a96cccead05b6abf2
* | | | | | tcl extension: UDFs may now 'break' to return an SQL NULL. Add the (eval ↵stephan2025-05-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -asdict) flag to use a dict, instead of an array, for the eval row data. FossilOrigin-Name: 413a626b5c7902c1810142536c36e4ea8ee7c616ea82dfe1114199f9319091f7
* | | | | | Add some missing UNUSED_PARAMETER() annotations to squelch downstream build ↵stephan2025-05-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | warnings when using -Wextra -pedantic. FossilOrigin-Name: a98a2f49355ec39c56e571c70d377675b1bd99a6d43cf9217b0eb1e081895d8e
* | | | | | Follow-up to the previous: The same optimization suppression needs todrh2025-05-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | happen if the left-hand side is coming from a LEFT JOIN. FossilOrigin-Name: cf5b37b3a39013d8ca9de92da2289346caf52b56daff59e19b140cc586a3421f
* | | | | | When synthesizing an ON constraint from a USING or NATURAL, if the left-handdrh2025-05-30
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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:/forumpost/4fc70203b61c7e12|forum post 4fc70203b61] FossilOrigin-Name: 60adc78a22956429d34ccc4e2c193c5994c11c3b3cff7901d47fad7d92dba935
* | | | | Configure-related fixes and additions, most notably integration of ↵stephan2025-05-30
| | | | | | | | | | | | | | | | | | | | | | | | | self-tests for proj.tcl's APIs. Teaish make-install fixes based on the discussion in [forum:87e6660191a472c5 | forum thread 87e6660191a472c5]. FossilOrigin-Name: 2e486f8fd011d28fdd7e59ff34f7f04374019932eb160a8c4de56a5ce01e5782
* | | | | Random typo fixes in JNI docs.stephan2025-05-30
| | | | | | | | | | | | | | | FossilOrigin-Name: f63608a3847469b130e029cc569fe6f03a9053352ec43c10d69849cbab4f61c5
* | | | | Use a more robust backup definition for offsetof().drh2025-05-30
| | | | | | | | | | | | | | | FossilOrigin-Name: 22441955e03df07903b98832a60c05c53721cd67c667f6c83d5e97fcc62735ee
* | | | | Add "include <stddef.h>" to fts5 and rtree to ensure that they use the ↵dan2025-05-30
| | | | | | | | | | | | | | | | | | | | | | | | | system version of the offsetof() macro when it is available, as the built-in version triggers ubsan errors with clang. FossilOrigin-Name: 838deb7f3423df84061a043928ed34e1d74e2e7d57ef1a9519bb32fea82e4352
* | | | | Squelch an interesting but harmless struct initialization warning emitted ↵stephan2025-05-30
| | | | | | | | | | | | | | | | | | | | | | | | | 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. FossilOrigin-Name: 10d0897cc9a5998fe1344cfbb242a78b59012e29aa3b1993895dfac26721b053
* | | | | Fix the missing -lm link flag for the sqlite3 shell when building the ↵stephan2025-05-29
| | | | | | | | | | | | | | | | | | | | | | | | | autoconf bundle with --disable-static-shell, as reported in [forum:5adf1c932a | forum post 5adf1c932a]. FossilOrigin-Name: f6318c4a6b5a133657741c066ef2c76a71880dbc98cfff1fdd632637daf002dc
* | | | | Extend the fix for ticket [623eff57e76d45f6] so that it covers RIGHT JOINdrh2025-05-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in addition to LEFT JOIN. Problem reported by [forum:/forumpost/7dee41d32506c4ae|forum post 2025-05-29T15:10:14Z]. FossilOrigin-Name: 29b1e1b97619d03a97ef562a5707929e241d019179b4ff1d0bc2a8c008441431
* | | | | Fix a goofy hash function in Lemon. No changes to SQLite itself.drh2025-05-29
| | | | | | | | | | | | | | | FossilOrigin-Name: d6cbabe23d3919d5bde6a83421cdae92125caec09d5c39a648d0305878c6a1dc
* | | | | Version 3.50.0version-3.50.0drh2025-05-29
| | | | | | | | | | | | | | | FossilOrigin-Name: dfc790f998f450d9c35e3ba1c8c89c17466cb559f87b0239e4aab9d34e28f742
* | | | | Do not use a partial index unless the WHERE clause uses one or more columnsdrh2025-05-28
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from the table being indexed. This resolves the issue reported by [forum:/forumpost/a8704b30f3|forum post 2025-05-28T13:03:40Z]. Test cases are in TH3. FossilOrigin-Name: f037ca064daeb81cb386da2a372d8e2d2dce55a3a13bc7bea4968ca51bf2843a
| * | | | | Do not use a partial index if the truth of the WHERE clause does not dependdrh2025-05-28
|/ / / / / | | | | | | | | | | | | | | | | | | | | on at least one column from the table being indexed. FossilOrigin-Name: cbe2a392e45d40778570656d2ef2db43e58ad6453bd9d4b936fecfd963e22736