aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorLines
2 daysImprovements to "json" mode in QRF.HEADlocal/sqlitemasterdrh-1/+7
[bugs:/info/2026-11-22T07:30:35Z|Bug 2026-11-22T07:30:35Z] FossilOrigin-Name: ac22af8bd58cb1f6190438cae90f607fe10b96094526b855cafeb84f8855ce05
2 daysIncrease the size of a variable in OP_MakeRecord to u64 to ensure that it doesdrh-2/+5
not overflow even under the most extreme conditions. [bugs:/info/2026-11-20T12:55:10Z|Bug 2026-11-20T12:55:10Z] FossilOrigin-Name: b02c160dba41c608a73e99c1f851d4dda81971fe25807af89afeedf4fc34ee7d
2 daysAvoid optimizations that persist (such as Bloom filters) on correlateddrh-0/+16
subqueries which are part of write operations and hence might have their content changed, making the Bloom filters obsolete. [bugs:/info/2026-11-20T23:56:37Z|Bug 2026-11-20T23:56:37Z] FossilOrigin-Name: af26d82bcc9ff12a297c78cfdbe052381d5096a4894ab9578666acfe6a5944cc
3 daysSmall performance gain and size reduction by changing Vdbe.expired from a bitdrh-1/+1
field to an unsigned character field. FossilOrigin-Name: bc0790cd048d1be849a4f52cded65f352eef8d70107953a8dcd10f9bf2b73c19
3 daysDo not accept "Inf" as a valid float when applying affinity.drh-0/+1
[bugs:/info/2026-11-20T23:57:26Z|Bug 2026-11-20T23:57:26Z] FossilOrigin-Name: 42a2eedaac0e27e6fe6f65d622de2a30a2d7b8fcb1d9170a8af0395f1112ca6d
3 daysRemove a debugging ALWAYS() accidently left in the previous check-in.drh-1/+1
FossilOrigin-Name: 06aaf3199af3ecaaf862c6db2ca8a78a166bcb13a3326a5378617ebbae1bdb6d
3 daysA CAST expression in a generated column is not necessarily a valid substitutedrh-0/+6
for the actual expression in a covering index. [bugs:/info/2026-11-21T03:33:40Z|Bug 2026-11-21T03:33:40Z] FossilOrigin-Name: 76259a1c0c685ec05afac3449823e5e5f390e6d50e7c1b31ebdeb612fdcbbdb0
3 daysFix another code generator defect associated with the changes in thedrh-17/+29
EXISTS-to-JOIN optimization [e33da6d5dc964db8]. [bugs:/info/2026-11-21T15:01:57Z|Bug 2026-11-21T15:01:57Z] FossilOrigin-Name: a3c5b2f4881dd67d134e233ecd42708389ab5d16e96e0d025b4cc9abd785a106
3 daysMinor bug fix with SQLITE_FCNTL_NULL_IO on unix.drh-2/+3
[bugs:/info/2026-11-21T08:10:04Z|Bug 2026-11-21T08:10:04Z] FossilOrigin-Name: d34106ad02a2986c3f7e9df4b3b7cc2c766b2ae7cb0fa28c3fcfc52314364c83
3 daysFix an uninitialized return value in sqlite3_db_config() - a problemdrh-2/+1
introduced by [90ba17da84401f92], I believe. FossilOrigin-Name: bfb850f30f38b8a16328a3e5ef9b15898089f0023a57540cdc6d25fec618d6e7
3 daysImproved accuracy in conversion of oversize JSON integer literals.drh-0/+10
[bugs:/info/2026-11-21T00:00:22Z|Bug 2026-11-21T00:00:22Z item 2]. FossilOrigin-Name: 0d84af4a8c15e50f089bc96d4671647fd903075859caaee36abd7b1283a12ed6
3 daysSlightly simplify how the shell's --quote flag handling is done to address ↵stephan-21/+18
[bugs:68e212780c|bug report 2026-11-21T02:47:14Z]. New test cases. FossilOrigin-Name: 3b86db209d9c5991cf1f1ac36f153ee70745369d9758be3b338e94749b5a142e
3 daysDo not allow PRAGMA temp_store changes during a backup.drh-0/+5
[bugs:/info/2026-11-21T08:23:41Z|Bug 2026-11-21T08:23:41Z] FossilOrigin-Name: d5b66ee77d0ba369a007c8fb9efd721aa5258f661666902d344e39e7a1162c19
3 daysDo not convert -0.0 to +0.0 when storing in a REAL column of a table.drh-0/+2
Requires the signbit() macro from <math.h> which is C99, but seems to be readily available on all platforms. [bugs:/info/2026-11-20T11:09:29Z|Bug 2026-11-20T11:09:29Z] FossilOrigin-Name: 7344f4d1d916d0b243eef18e91831009e412dc3ea8f0413c5716c43c995c9a31
3 daysFix an early return out of a va_start/va_end block in the shell's pickStr().stephan-1/+2
FossilOrigin-Name: 64f067d52976ce85fd2d2eae0bf5650af859bc2e8e81a8ba7927adf9168c77ca
3 daysProperly escape the content of the sqlite_statN tables when doing .fullschemadrh-0/+1
in the CLI. [bugs:/info/2026-11-21T01:05:21Z|Bug 2026-11-21T01:05:21Z] FossilOrigin-Name: f33b248fcea770dd8870959973b33c0da178c5e97f3cca03b33a439aea18e9cf
4 daysPrevent excess recursion on a ridiculous USING clause.drh-0/+1
[bugs:/info/2026-11-20T13:10:07Z|Bug 2026-11-20T13:10:07Z] FossilOrigin-Name: 8bfa34eefb4ee7d59cd84b91bbd393b9e955a94bd5f19b2fe621c95138f2766f
4 daysFix a typo in [5eb1662fbb3af945].drh-1/+1
FossilOrigin-Name: 709506be428627efbe5867a9456ba25d23753f4431cf8e59c81515089162c0c7
4 daysDo not allow incrblob writes to a column that appears in the WHERE clause ofdrh-0/+24
a partial index. [bugs:/info/2026-11-20T00:58:36Z|Bug 2026-11-20T00:58:36Z] FossilOrigin-Name: d8e9029696ee0b32e77c7440c1d8eb2dff6df8ffb577bdb835813e64e9ef841a
4 daysAs demonstrated by multiple bug reports, the SQLITE_DBCONFIG_FP_DIGITSdrh-22/+73
setting from [3f16985dcc47a366] is unsafe if misused, and so it is here changed into a no-op. FossilOrigin-Name: 5b588b3e0ff81920514098dd98307cf64c37cef17c30df028e344cc0b8b0a267
4 daysAdd the -v option to the CLI, which if present causes each successful .checkdrh-0/+10
command to display its identify with "ok" on standard output. FossilOrigin-Name: b36768c4676b5163652c1944ffa7a6a6d398e3003604734e28b10a0fb7c11709
4 daysFix the URI parsing built into the CLI so that it does the same thing withdrh-8/+4
%-escapes as the SQLite core does. [bugs:/info/2026-11-20T03:13:17Z|Bug 2026-11-20T03:13:17Z] FossilOrigin-Name: 102d7b9adb21f8c079993e0d5b76f2d208e074c2a4322dda7682e18b634bf4d1
4 daysFix a subtle problem with the transitive constraint optimization reporteddrh-1/+1
in [bugs:/info/2026-11-19T21:38:21Z|bug 2026-11-19T21:38:21Z]. FossilOrigin-Name: 284441d4d8179de21def99bd241e9e19db88e1ee3c901e3c6077cf3485f0ee2b
4 daysFix a jump destination resolution bug in the code generator that resultsdrh-1/+2
from the findNoMatchContinuation() optimization that was added as part of the tree-tracker optimization that landed on trunk at [e24a8fe9867370bf]. [bugs:/info/2026-11-19T21:24:04Z|Bug 2026-11-19T21:24:04Z] FossilOrigin-Name: 2c5a10583cde769d9247b6b45d2faaa476d84953dad8c010495d012af4e25962
5 daysEnhance both the CLI and the ext/misc/dbdump.c library so that it is moredrh-6/+76
rebust against injection attacks. Inspired by [bugs:/info/2026-11-19T15:45:09Z|bug report 2026-11-19T15:45:09Z] but going well beyond that report. FossilOrigin-Name: 1e84c333e8ea12770d1c377371d8538c753f8f51e9a2570b670e165eec1d76dd
5 daysIn sqlite3_deserialize(), when built with SQLITE_ENABLE_API_ARMOR return ↵stephan-0/+1
SQLITE_MISUSE if the db is larger than the target buffer. No effect in other builds. [bugs:7ad3ef9b1d|Report 2026-11-19T00:48:08Z]. FossilOrigin-Name: 9bb6f7807e81bb5bc35e5c75e87428ccad67875ae7cf93ff3bc9796136f44034
5 daysDo not push-down WHERE clause terms into DISTINCT subqueries or intodrh-0/+60
compound subqueries other than UNION ALL unless those terms apply across all equivalence classes. [bugs:/info/2026-11-19T08:58:28Z|Bug 2026-11-19T08:58:28Z]. This is similar to the having-to-where optimization fix of [096fafb8e19ece22]. FossilOrigin-Name: 3a2cffd44b30049b5a17d4476d90e9a21825434814551800401ffdf002ad0f7b
5 daysImprovements to sqlite3_backup so that it does not corrupt the destinationdrh-0/+5
database if the application breaks the rules and has active transactions going on the destination at the time of the backup. [bugs:/info/2026-11-16T17:39:05Z|Bug 2026-11-16T17:39:05Z] FossilOrigin-Name: 99d8f6a9aca14b222a257cd1d646ac9ae36c02885dac6b404332e2f45f4b5bb2
5 daysFix issues on UPSERT with a UNIQUE index with duplicate columns.drh-3/+19
[bugs:/info/2026-11-16T13:32:44Z|Bug 2026-11-16T13:32:44Z] FossilOrigin-Name: 809f8c15282180a784c20f0702cbf6853ca62d69ee756853162571bb5e947d5e
6 daysFix the modeof= query parameter to URI filenames so that misuse does notdrh-1/+1
cause an assertion fault or memory leak. [bugs:/info/2026-11-18T19:07:34Z|Bug 2026-11-18T19:07:34Z] FossilOrigin-Name: c2b40f017ba5ad6f2e5985874aace3d7ce53b681c40bcb522515dd2edfc2cd4a
6 daysMerge fixes from the bugs-ac23256beb. This completes everything neededdrh-1/+1
to fix all of the issues enumerated by [bugs:/info/2026-11-18T13:50:26Z|bug report 2026-11-18T13:50:26Z]. FossilOrigin-Name: b087f898c948cfa0034e95ae4114b25d295447f3872e98f9927d05bc2627a656
6 daysFix possible btree corruption caused by a multirow INSERT that deletesdrh-0/+1
conflicting rows using ON CONFLICT. [bugs:/info/2026-11-04T20:22:42Z|Bugs 2026-11-04T20:22:42Z] FossilOrigin-Name: 22f08258b603f746d3d08d759130eb63db0c328dfbfc4adb1b5182f40140b99e
6 daysDisable the before-trigger-read optimization if the trigger uses adrh-0/+14
generated column. [bugs:/info/2026-11-06T00:28:57Z|Bug 2026-11-06T00:28:57Z] FossilOrigin-Name: 1d6070c287e3d6fa20aa018279a5014275664070b4dd18b7af164294c26489da
6 daysCLI shell: Fix a NULL deref in .read heredoc parsing which could happen on ↵stephan-2/+7
OOM or an empty heredoc. Add an empty-heredoc test. FossilOrigin-Name: edcd4c4667ae4f654b147525c7282b7d9112e9509f649a7d5cf70650bd429e37
6 daysCLI shell: do not impose the db-configured size limits for error messages ↵stephan-3/+3
unrelated to the current db connection. Add tests ensuring that that truncation doesn't happen to the affected messages. FossilOrigin-Name: 4b68e72715d2fce4bb74318b70adfcd85296af73f4681403e9c17b477fd63810
6 daysCorrect a miscalculation in unixShmPurge(). (Bug 1)stephan-1/+1
FossilOrigin-Name: 1a9ca48f4fdaa4f774a955988d21f0a101af2cb95e28603a3c7ec3a84b0225ca
6 daysFix processing of window function RANGE frames that end at "0.0 PRECEDING".dan-1/+9
FossilOrigin-Name: 7320819bffa5151e7597a161030366287095e7f03ffaf78f440ae6bfe00e48b1
6 daysImproved parsing of options to the .recover command of the CLI.drh-9/+15
[bugs:/info/2026-11-18T16:10:01Z|Bug 2026-11-18T16:10:01Z] FossilOrigin-Name: acc4a0c499c66e08c98e24c8945d619ec255f83d95793651489e098dd4f2f664
6 daysFix the "excluded.*" columns of UPSERT so that they have the same affinitydrh-2/+5
and collating sequence as the columns they represent. [bugs:/info/2026-11-18T08:08:53Z|Bug 2026-11-18T08:08:53Z] FossilOrigin-Name: 7cf52a64dd11b58d1f6394b62dc5d17173db97b71b2493d36d818fb34d709760
6 daysImproved quoting of PATH results coming out of json_tree() and json_each().drh-4/+21
[bugs:/info/2026-11-06T00:28:19Z|Bug 2026-11-06T00:28:19Z] FossilOrigin-Name: 5c10a8e4d5ee48a7d03f7cf2e9ad50ad65725e1913ac9e28fa9fcde4f59b7cd7
6 daysIf a generated column has a different datatype from the expression thatdrh-0/+4
defines it, then do not use that expression from a covering index. Recompute the expression as needed instead, so that the correct datatype comes out. [bugs:/info/2026-11-18T08:15:23Z|Bug 2026-11-18T08:15:23Z]. FossilOrigin-Name: ec0ffcae0b603ac33c8331e636646249a70af5167e3caa49b9b43bd8ad65ca31
6 daysDo not accept U+d7ff as a prefix character for the LIKE optimization sincedrh-2/+5
on UTF16be databases it would increment to a surrogate and become invalid UTF. [bugs:/info/2026-11-18T08:16:43Z|Bug 2026-11-18T08:16:43Z]. FossilOrigin-Name: 5b19e611d57eac1d0275194539239d3023f5c23479f07b9e8a5f8a9b45758019
6 daysFix two dbstat bugs: NOCASE name lookups and pgsize/pgoffset fordrh-2/+5
non-default schemas. Bugs [bug:/info/2026-11-04T00:50:04Z|2026-11-04T00:50:04Z] and [bug:/info/2026-11-04T00:50:51Z|2026-11-04T00:50:51Z], respectively. FossilOrigin-Name: 4b3591c790185d5ce6184b45bde5358dec15e4f21f70c7d455bf7335a9b00428
7 daysRemove a harmless code redundancy and compiler warning left overdrh-1/+1
from [0c67cf34dc85f28e] FossilOrigin-Name: d19604f26492fee6c88facdb4be7bfae11bb396244d665bf444fd0892d163fdb
7 daysMerge all recent trunk changes into this branch.drh-479/+2402
FossilOrigin-Name: cbd0980c410cea6fcf76dbacbe809ccb88289e738a19ebd8a50f79b96a0cf7f2
7 daysRemove excess commentary.drh-14/+11
FossilOrigin-Name: 7560077775c4590b4015b54753e45b6c385334bd912b744919c91f657c872ee5
7 daysFix the format() function (and its related printf() routines) so thatdrh-11/+23
the alternate-form flag ("#") on hexadecimal and octal outputs includes the 0x, 0X, or 0 prefix as part of the total width. [bugs:/info/2026-11-05T22:14:37Z|Bug 2026-11-05T22:14:37Z] FossilOrigin-Name: 0c67cf34dc85f28e414e4a2c5a1417be9f1ad69886b211f65e56b08be45335f3
7 daysUse a statement journal if any trigger program or FK action recursively ↵dan-9/+38
calls itself. Also tighten up the assert() used to check a statement journal is used when required. Report [bugs:/info/2026-11-04T20:32:45Z | 2026-11-04T20:32:45Z]. FossilOrigin-Name: 6c54ed03c1d5ea2a4d9e43efc76b45a4b36dd8d8f1a20e87d33f70e8455c0785
7 daysIn sqlite3FpDecode() with a low rounding precision, add a couple of extradrh-1/+1
digits to the end of the conversion prior to the rounding process for improved rounding accuracy. Bug reports [bugs:/info/2026-11-04T00:53:10Z|2026-11-04T00:53:10Z] and [bugs:/info/2026-11-01T12:02:55Z|2026-11-01T12:02:55Z]. FossilOrigin-Name: ac5e7ddf773d344cae49aafbb52a3cbfd99da6f1acd14f86d1a4d5071ed1bf3c
7 daysFix temptrigfault.test expectations to not rely on values which vary across ↵stephan-1/+2
by builds. Fix an array mis-write in the test_carray_bind() handling of blobs. Clear the test_carray_bind() isMalloc flag when the input size is 0 to avoid passing a string literal to free(). FossilOrigin-Name: 8682901664d7411932ed6254fe4ac8fa6975e3a3a6dac3e4cedff5b6d5ba42d0