drh
0592ffed82
Version 3.47.1
...
FossilOrigin-Name: b95d11e958643b969c47a8e5857f3793b9e69700b8f1469371386369a26e577e
version-3.47.1
2024-11-25 12:07:48 +00:00
drh
d088df5464
Fix a problem handling OOM errors in fts3 that could occur when parsing multi-token strings.
...
FossilOrigin-Name: c8dcac33402daef74b6e55efaa9fcf38a7a5f3e3efcc34111e653ddb33ae944e
2024-11-22 18:50:46 +00:00
drh
5eea255877
Fix two problems with argument expansion in sqlite-tclsh on Windows.
...
FossilOrigin-Name: dcef1992d55de1a8ff183baf355ec4cca23131343c6a6b30bb587aabf431d051
2024-11-22 17:45:37 +00:00
stephan
10f1e4ccd9
Remove a flaky JS test which has a result depending on unrepredictable context. That same feature is more reliably tested at a later point in the same script.
...
FossilOrigin-Name: 540a4a16241d35d2fcaa33ce8c0db74f8cd3f064f8a8a985e64032f58209888f
2024-11-22 16:52:07 +00:00
drh
b423178ea9
Fix some harmless scanbuild warnings in the shell.
...
FossilOrigin-Name: 04d6124d341c637dfbeb280088173ba98fab22955d24a58027f519395f7fae88
2024-11-22 12:12:06 +00:00
drh
993632c3e5
Document that -nofollow does not work on Windows. Fix Windows symlink
...
test cases for when the test suite is run as administrator.
FossilOrigin-Name: 3f76388a47bd4cc181ce2e72c72d5e235edcae251785990dc568665016ec34a5
2024-11-22 11:27:45 +00:00
drh
6eb7764796
Bump the version number to 3.47.1
...
FossilOrigin-Name: b6942a0b2f4a3dc7e09487f1ebf6129211be565283f95ff83823b057f628208f
2024-11-22 11:18:52 +00:00
drh
161de89e7e
Cherrypick a couple of changes requested by Mozilla onto the 3.47 branch.
...
FossilOrigin-Name: b50d20d7951311f1fbf37b228687990f515d2d5189d5c4892b771081298e0af5
2024-11-20 21:45:25 +00:00
drh
73304602e4
If a subquery is copied and then changes are made to the copy, be sure
...
to give the copy a unique Select.selId value so that the original will
not be substituted in place of the modified copy.
FossilOrigin-Name: 16d46e116086948a704c03b7b6aecbb2c66cefca4418e8e5a9ffd05e0036c7d1
2024-11-20 15:02:34 +00:00
drh
cdea0ebac4
Do not report an sqlite3_error_offset() for errors that occur inside of
...
views or triggers, since the text of those elements is not part of the
original query.
FossilOrigin-Name: cb5ddebf79f824672045cbc660ffc896e82a769e1312ab5925d334ce1e7036dd
2024-11-20 11:37:24 +00:00
stephan
46e4155e9f
buildtclext.tcl: add docs explaining the DESTDIR check and break out of the auto_path search loop early if the DESTDIR is not writable, rather than re-checking that repeatedly.
...
FossilOrigin-Name: 322be94569d196a66b3671100e880f32f85777c248a662866b0579a6392a24dc
2024-11-17 09:51:52 +00:00
stephan
375552f224
Handle DESTDIR at an earlier phase in buildtclext.tcl to account for the is-writable-dir check and to filter out //zipfs: dirs as (im)possible installation targets.
...
FossilOrigin-Name: 2f6e5946cf34e0948e177aa12a4a768fcd6dc413909a97566e0abff51230c87c
2024-11-16 17:12:17 +00:00
stephan
b03592c324
Add DESTDIR support to the tclextension-install target, via [67a3ca0c013b] and [d1663cf05f7d].
...
FossilOrigin-Name: 38136b33f9536b63520d3810f397a3b4b5372028b31108806f84fe44bf338425
2024-11-16 14:33:01 +00:00
drh
e2a6feee5e
Fix a case in fts3 where a corrupt database record was not being handled correctly.
...
FossilOrigin-Name: 17bc57fa16096177684ee7246d2996219eeb7178c7687af808b5f56d8decd5fa
2024-11-09 18:17:28 +00:00
drh
b24fc84271
Fix an OOB write that could occur in fts3 when dealing with corrupt database records.
...
FossilOrigin-Name: 521b873be7863b6c009641db1f2636fdbe032d209ca39aa4da6671a72b5791f3
2024-11-07 18:06:19 +00:00
dan
9e36a09d14
Have the xBestIndex method of the generate_series virtual table ignore contraints on the "value" column with usable=0.
...
FossilOrigin-Name: 1333e54422649b886629e6fb6ebc8ff8c6ce104d5ba334cbfb95e6fb84fae8ac
2024-11-05 18:53:13 +00:00
stephan
76b77c63f7
Fix two mismatched uses of malloc() and sqlite3_free() in sqlite3_stdio.c, as reported in [forum:7dd7c70038 | forum post 7dd7c70038].
...
FossilOrigin-Name: 5238959d05bbf3c12f488a55e52f3e9733138993d0365255184dffeb2bf36c03
2024-11-04 13:59:58 +00:00
stephan
a40e6e9273
Replace 3 instances of the == 'test' shell command operator with =, as == is apparently not as portable across shells. Problem reported in [forum:14274389fb2|forum post 14274389fb2].
...
FossilOrigin-Name: 68199c40fedeb07a3f9c5024fac6376a0579a13b0e5690aef6238e3e22b9c1b7
2024-10-30 00:35:08 +00:00
drh
e72a8a4031
Patch sqlite3_rsync.c to disable undesirable automatic line ending
...
conversions on Windows.
FossilOrigin-Name: e3c27c6d8a8610ac4ad8ad95e0958ffad05fd58a086c67709f6ac132acff9b35
2024-10-24 19:31:17 +00:00
stephan
f0e3e5ae3c
Add missing ZERO_ARGUMENT_GENERATE_SERIES checks to ext/misc/series.c.
...
FossilOrigin-Name: 31e104cc40e335108b57afe8184782ad389b1e8ecc526e1e60417f00f94560ad
2024-10-24 16:02:25 +00:00
drh
f5fb820c0f
Version 3.47.0
...
FossilOrigin-Name: 03a9703e27c44437c39363d0baf82db4ebc94538a0f28411c85dda156f82636e
version-3.47.0
2024-10-21 16:30:22 +00:00
dan
e2f294a1e5
Add a case to testrunner.tcl so that mdevtest can run on openbsd.
...
FossilOrigin-Name: e904b37fb2621e6bd5e761f3ecb75adb34350f2d1d7b229e655e74bc6a2f5321
2024-10-21 14:24:27 +00:00
dan
32d255851e
Avoid using LIKE in sqlite3expert.c, in case "PRAGMA case_sensitive_like" has been used or the "like" UDF replaced by something unexpected.
...
FossilOrigin-Name: 9f642b3dbc8febfacad97076030f44e9b40067e27222f2bcb84813c5765d3d2a
2024-10-21 10:47:24 +00:00
dan
b74c7880d6
Fix another problem with ".expert" and virtual tables. [forum:/forumpost/49d6a19ec|Forum post 49d6a19ec].
...
FossilOrigin-Name: 7a7162293c8fdb0078fe56948d697703539dd23273b2072990d4391c761e6ae2
2024-10-20 07:19:38 +00:00
stephan
72c5b9bf0e
Add sqlite3_rsync to the docs at the top of mktoolzip.tcl. No code changes.
...
FossilOrigin-Name: 10f5c4a2fce8a9ea9b1533cabbaf4ca8549e72950d5c460c0f4501a9fc50e3e8
2024-10-19 22:45:50 +00:00
stephan
885fad890c
Add missing $(TEXE) suffixes in the tool-zip makefile target.
...
FossilOrigin-Name: 5a594dbcd533aa1e37acea1702db993672c3c0e621add9ea26a497c52037617f
2024-10-19 13:38:51 +00:00
drh
4da761773e
Move the #include of hwtime.h from the bottom of util.c to the top of
...
vdbe.c so that it will be available when needed, even for non-amalgamation
builds.
FossilOrigin-Name: 5f23036a87f443c82fa7fd48fdac16a31128bb9288b71f97228c29bcfeb632fb
2024-10-19 13:20:34 +00:00
stephan
624cb96f54
An assortment of comment typo fixes discovered by aspell. Add several new words to tool/custom.txt. No code changes.
...
FossilOrigin-Name: 59b76a99e4a28f4cc8c4f9f39ff6e039c4d29cb7b44183f1902b5792638656d2
2024-10-19 12:39:06 +00:00
drh
afb88c5296
Remove unnecessary VACUUMs from the previous check-in to sqlite3_rsync.
...
FossilOrigin-Name: ad8d4812420e6a5f1cd5c26d2ed07b76e0e3e94596bae4ca59b667a4099bd1cc
2024-10-19 11:02:24 +00:00
drh
78b6c17faa
Fix the sqlite3_rsync utility so that it is able to synchronize a database
...
using a UTF16 text encoding.
[forum:/forumpost/e055d50821|Forum post e055d50821].
FossilOrigin-Name: 981347009c4baa9f16d60091d37e11b05a7fc1c62ae262c4de596b584d6a491a
2024-10-19 00:16:23 +00:00
stephan
a525d635a9
Minor doc cleanups in SQLTester.mjs and confirm that the tests pass with both OPFS VFSes.
...
FossilOrigin-Name: ac747d57c2a26b47644bca2a9b191b09f5180f6872dce9c3261c370a18c848a2
2024-10-18 23:54:23 +00:00
stephan
23caead6cb
Fix three bugs in SQLTester.mjs which caused --tableresult tests, escaping of SQL values to incorrectly fail, and the --column-names setting to not be reset between tests.
...
FossilOrigin-Name: 779368dd9b8bb20890b06229c4c3c3b5d153ee88d1af472799515cdc599c870a
2024-10-18 23:36:08 +00:00
stephan
b94228a119
Fix a var reference typo in SQLTester.mjs.
...
FossilOrigin-Name: 31179fa78e47cafae49df35f28e5c4b01654665d54ee60d059545ce2d97a39a2
2024-10-18 23:10:41 +00:00
stephan
d11a3fd916
Remove the unused dbfuzz2-asan/msan makefile targets. Fix a comment typo in a makefile.
...
FossilOrigin-Name: 07843ac245661e8b8e086ad9d36c60bacf11784e9c56482593691fb97732f04f
2024-10-18 16:50:29 +00:00
stephan
90675da34a
Remove a not-strictly-necessary 'undefine' invocation from ext/wasm/GNUmakefile, as it is not compatible with too-old versions of gmake. Resolves the problem reported in [forum:e57932e3ccdc2c9c | forum post e57932e3ccdc2c9c].
...
FossilOrigin-Name: a31a94644113c226a06316a3f95fb38b605821f1c123e2cda06ba90bfcacf59f
2024-10-18 12:31:21 +00:00
drh
f9a02e166a
Minor enhancements to the compile-for-windows.md document.
...
FossilOrigin-Name: 5f0cc7f26453faaea20a7bb0a1bcbab381a9bae7a81e099bb27f4b05fac1cd6c
2024-10-18 10:51:43 +00:00
drh
d8712c6c25
Fix typo in the README.txt for the amalgamation autoconf tarball.
...
FossilOrigin-Name: 62d24a69fe9cf6c07aa7e554f54aa7874b90e64c7c5597a78a824c6c9dc8847e
2024-10-18 10:42:24 +00:00
drh
c2e400af04
New assert() statements to validate OP_OpenEphemeral logic.
...
FossilOrigin-Name: 6d55c3e238e06c6727f3e816a9268b6222ebfc90ec745bbbd48430bf7b16664c
2024-10-18 01:14:14 +00:00
drh
dd719bebfa
Fix obsolete M4 macro in the configure script for the TEA extension within
...
the autoconf tarball.
FossilOrigin-Name: 360613a2246ae193d9a1d4bc7a91a0f63f159146709dac8a2de3e0ca8eb62752
2024-10-17 23:14:27 +00:00
drh
fe15ed4342
Fixes from code inspection:
...
(1) Extra paranoid defense against integer overflow.
(2) Remove a stray blank line in an FTS5 comment.
FossilOrigin-Name: 8563728deeb1d3ead9ff99a3ad2c7819b2223ead44e7374ecc7bbeda2d955ade
2024-10-17 18:12:03 +00:00
drh
a9e4ebc513
Fix a typo in compile-for-unix.md. Simplify hyperlinks in the compile-for-*
...
documents.
FossilOrigin-Name: 8cd7d157741f207c3a38744f2d85a5bb808824b5e83b9e033a8ce3954fe38f43
2024-10-17 16:22:47 +00:00
drh
bcdb28b8f9
Improved README.txt file in the amalgamation-autoconf tarball.
...
FossilOrigin-Name: b7814350381a2929e9fa6444867a80437291b8bbe59479d4525350b2719bc72c
2024-10-17 13:29:49 +00:00
drh
4f5eba199a
Attempt to get the TEA builder in the amalgamation-autoconf tarball working
...
using hints from Jan Nijtmans.
FossilOrigin-Name: ad9d7bdef95a8da76da0f6db358b6ffb0a0aa9097df2ff52f042e16e62afa8f5
2024-10-17 13:00:56 +00:00
stephan
cab9574668
Ensure that the OPFS VFS's xOpen() writes back the read-only flag to the output flags. Resolves the problem reported in [forum:cf37d5ff1182c31081 | forum post cf37d5ff1182c31081].
...
FossilOrigin-Name: 0a32624015f16fd881a4ecbb56b7833391028d327a95f4c899eee864ed7fe00d
2024-10-17 12:14:34 +00:00
stephan
6031de92c6
When calling OpfsSAHPoolUtil.removeVfs(), ensure that the cached result the VFS init is also removed so that the VFS may later be registered again with the same name. Set up test code for the regression reported in [forum:cf37d5ff11 | forum post cf37d5ff11] (which uncovered the removeVfs() shortcoming) but that test is currently only known to fail with the "opfs" VFS and is not currently set up to fail.
...
FossilOrigin-Name: b7f7a5deeae61920dbfec7606cf9014de711f959a285b29e12673abfd2f88646
2024-10-17 11:12:57 +00:00
stephan
88282af521
Add has_tclconfig to the tidy makefile target.
...
FossilOrigin-Name: 309e6d6f07d4169fbd6ea1d8b3d4809186ad9b7a2e69bbd33eedb9a55e831d68
2024-10-16 14:05:39 +00:00
drh
f578ce102e
Change the name of the new utility program from sqlite3-rsync to
...
sqlite3_rsync - dash changed to underscore - for consistency with the
preexisting sqlite3_analyzer.
FossilOrigin-Name: 86e794cbaa5ae600635c933b46298a39f2465daf4c5cd1570f2a03e19ac08d9d
2024-10-16 11:05:11 +00:00
drh
9c5fb63d37
In the unix Makefile, strip compiled binaries prior to adding them to the
...
tool ZIP archive.
FossilOrigin-Name: cd8ae6fd7166680a6d121d710ff9d722e3e14d1d3538fc8ea1ea2690035ba80e
2024-10-16 10:20:30 +00:00
drh
87cb97b0ec
Fix harmless compiler warning in flockCheckReservedLock().
...
FossilOrigin-Name: f369de3d8fa34a403b5c9f6269f7e3fdb16a13784a70460c5032ad4e66615d64
2024-10-15 22:22:53 +00:00
drh
45b4dca606
Fix the "tool-zip" makefile target so that it includes sqlite3-rsync.
...
FossilOrigin-Name: ecdbedb16bbc467b0bc56badae2a4d407b4ea2085312b50af56af8cd110f055c
2024-10-15 18:45:21 +00:00