drh
b23a628422
Merge the latest trunk enhancements into the wal2 branch.
...
FossilOrigin-Name: 28d1d29ad465b150ea705af8352c0e6599b3f42c15474b2ae89e8a2c2b9b097c
2026-04-22 19:47:59 +00:00
stephan
f0baddb205
On platforms which support ./configure --with-icu-config, ensure that 'make tclextension' includes the ICU pieces in the tcl extension. Intended to resolve [forum:92a88de4b88929fe|forum post 92a88de4b88929fe].
...
FossilOrigin-Name: 404fde8bacc3f05254a2fcdb1531a7f53125a7ad45dc6b68a5065c1d0c73b670
2026-04-15 11:40:13 +00:00
stephan
afef1f2923
Minor doc typo fixes contributed by BrickViking.
...
FossilOrigin-Name: c4660ce205919ce0d9262e7fd7879375a72ef65d9e5ac97f19caf5dc36e355aa
2026-04-14 23:53:38 +00:00
stephan
008395614a
Tweak 'make tclextension' to pass on any --with-icu-config build flags so that it can link with the various ICU libs. This works for me but needs testing on a wider selection of systems before being moved to trunk. Intended to resolve [forum:92a88de4b88929fe|forum post 92a88de4b88929fe].
...
FossilOrigin-Name: a8c022d7946e8a29114400c1321f36f03979a2277253f1dcd769d8f36e944ece
2026-04-14 00:11:23 +00:00
drh
bc534cef73
Merge the latest trunk enhancements into the wal2 branch
...
FossilOrigin-Name: 4c313e726121ecd2c191aca41ef5e9b1f4c6fbea7b7963cc5af601b1287864a6
2026-03-27 12:38:30 +00:00
stephan
772ea2f01c
Add SQLITE_STRICT_SUBTYPE to PRAGMA compile_options, an omission reported in [forum:3906a71526|forum post 3906a71526].
...
FossilOrigin-Name: c5af6a10245b6b847d30002806c1577b020c36ab27f7b1cf202ade136aa4779c
2026-03-26 19:11:57 +00:00
drh
38b95d70b9
Merge the latest trunk enhancements into the wal2 branch
...
FossilOrigin-Name: 1fde9e59fd43b353588e25e4ddddade0dbf92f91fb5beb11c4f38a1d74f89ad9
2026-03-21 17:56:26 +00:00
drh
08eb5e9e51
Continue enforcing the legacy declaration-before-statement C-language rule,
...
since some downstream still uses it.
FossilOrigin-Name: 5c237f1f863a32cf229010d2024d0d1e76a07a4d8b9492b26503b959f1c32485
2026-03-18 22:31:56 +00:00
drh
b50ce08591
Include the float-point table generator utility in the tools directory.
...
FossilOrigin-Name: 4ab10b251d870af8297b9e505452393f6000f83784c822ff128e7aec06f8c72f
2026-03-17 09:45:47 +00:00
dan
92b9d4f870
Merge latest trunk changes into this branch.
...
FossilOrigin-Name: 947411e56c009b8212c406eff187ddf1cace7869ebcb7d12192bdb38f2d6f6c9
2026-03-04 11:08:10 +00:00
drh
7fa89ea907
Change some sqlite3_realloc() calls into sqlite3_realloc64().
...
FossilOrigin-Name: a391f5646926787fd9a004225ea406b61d20f282c852c0282fd26cada644b601
2026-03-02 15:06:59 +00:00
drh
9d65290207
Rename SQLITE_ENABLE_MULTITHREADED_CHECKS to SQLITE_THREAD_MISUSE_WARNINGS.
...
Run test cases with that option. Also add the
SQLITE_THREAD_MISUSE_ABORT option.
FossilOrigin-Name: be8c8b9cb7b618a1571a988bc1cfdc15d99a8bf144d699385c0076e940b9f7f5
2026-02-24 19:37:16 +00:00
drh
e8c2de0e0f
Merge the latest trunk enhancements into the wal2 branch.
...
FossilOrigin-Name: 4ab288bd4a0b83e988121c6f46ecea0bd19244b62b2c3010ce3f4bf449de6136
2026-02-17 16:18:59 +00:00
drh
c652e34317
Correction to date/time computations associated with the timestamp-vfs.
...
FossilOrigin-Name: b67889e4f17c3280f839ee7045256cc47d6ce3ed60d880925e3d30f9ebbcf3ff
2026-02-10 19:33:11 +00:00
stephan
bfb33d476b
Capture sqlite3_rsync's remote-end result code so the local side can exit with non-0 if, e.g., the remote sqlite3_rsync binary is found but fails to start. [forum:43eb1cd1c3979817|Confirmation received] that it resolves the motivating problem report.
...
FossilOrigin-Name: 971d51374e3bf0d0e0b106750dc1e499d1fdbd3233cf8264a534138b27f8d0a1
2026-01-28 17:25:18 +00:00
stephan
f5d29d6424
Teach sqlite3_rsync to increment its error count when a child process fails, based on [forum:8fe404e547faa42e|forum post 8fe404e547faa42e]. This passes basic sanity tests but requires more testing and needs a review of the final 'else' block in the new code.
...
FossilOrigin-Name: 8be55d405f4ce424760150a2b59b5f663041fdcb377d1b9893b4f4e8e1940246
2026-01-27 16:15:22 +00:00
drh
a943c0e973
Add the --csv option to the showtmlog utility program.
...
FossilOrigin-Name: 2e96e8efa9a331b0f7d928c55e7d85be64e7c60c85032c1e972f77fe790bdec4
2026-01-27 14:27:19 +00:00
drh
e17a469d74
Enhancements to tmstmpvfs.c: (1) Use the exact same timestamp on logfile
...
entries as on the pages that control, where appropriate. (2) Include the
WAL frame number in ELOG_CKPT_PAGE logfile entries.
FossilOrigin-Name: fcf16297850abf5186b0d414b4f31d4b515925ef5cca5e7d7d84984c26160d00
2026-01-26 21:20:28 +00:00
drh
cd8aee7946
Change the copyright on the tool/dbtotxt.c source code file to the
...
standard SQLite blessing.
FossilOrigin-Name: 766c89e009578aa5c1a92cbb2dcc34b3529cf4dd6157f07c84f08470d81942a9
2026-01-16 12:13:42 +00:00
drh
a87cf441bb
Merge the latest trunk enhancements into the wal2 branch
...
FossilOrigin-Name: f65432340ff5845753ceac9045807fee429de92f31084428fdddac2f3fdd0048
2026-01-12 17:05:15 +00:00
drh
403c153dfa
Minor bug fixes in tmstmpvfs.c, showdb.c, and showtmlog.c.
...
FossilOrigin-Name: 1fee8265f7eab649ee8b28456c37d95198f5cde54e905154e3eccc0b328ece9a
2026-01-08 15:25:04 +00:00
drh
c219d3002f
In the showdb utility, the -tmstmp option works without -csv for the pgidx
...
command.
FossilOrigin-Name: c0aecd2189b431d82eca1c1d6718920cf928d910d443ea506e7b3bf3c5d7e246
2026-01-08 13:20:36 +00:00
drh
c0420cd8e4
Add the showtmlog utility for decoding the tmstmpvfs log files.
...
Fix tmstmpvfs so that it records timestamps in milliseconds since the
Unix epoch, not in JDN milliseconds.
FossilOrigin-Name: 762d3cbf06218f1010425a98a71ebf7623b84b45a90e6419b7dec7f10ad0c5a5
2026-01-08 12:22:50 +00:00
drh
e46b51e234
Improve showdb so that it does a better job of handling reserve-bytes.
...
Add the --tmstmp option that causes pgidx to interpret tmstmpvfs tags
if they are available.
FossilOrigin-Name: d7e6e9a5781f467a5b5f02f46134099cf01607a0cf55510155533d57d4a4618a
2026-01-08 01:37:13 +00:00
drh
ad4b08dcab
Add the --csv option to the "pgidx" option to the "showdb" utility.
...
FossilOrigin-Name: b6ad93f62eb883ee8f4c43dd90c69b31398be6b13186866a7b05d85fe588d967
2026-01-07 23:46:44 +00:00
drh
242a9347f8
Add the -p or --port option to sqlite3_rsync.
...
FossilOrigin-Name: 53f806fdab7161e439a165af47bd45332c15233b87bc35c2272621256a2dc337
2026-01-06 21:39:12 +00:00
stephan
b1e9111249
Fix an uninitialized var use reported in [forum:88561a4a1e|forum post 88561a4a1e].
...
FossilOrigin-Name: 707c0f6442e946f23de061ee2753eb5994ab55d411c49b232799f309ba0f10cf
2026-01-04 11:05:05 +00:00
drh
9f44bc5ea0
Add missing free() to winmain.c
...
FossilOrigin-Name: 44dff1a1bb986cd08b729d4b73f09c995cbc67f884caa297674b31fb36805c8b
2025-12-30 13:01:05 +00:00
drh
7f56d23f9c
Work around the Windows "Worst-Fit" bug in the "sqldiff.exe" program.
...
FossilOrigin-Name: f41851587328f8b434e66987765324b7bf5746ecdf3a9f2869000276e0f79401
2025-12-26 20:13:32 +00:00
drh
8511ee1e19
Harmless typo fixes in shell.c
...
FossilOrigin-Name: 519877cdbde80071ac08f2e467ef8b9679816dc486cf6eb87ec2d9a38c819f88
2025-12-23 11:13:52 +00:00
drh
5eba66ad66
Include the latest Makefile.msc changes and the new "make.bat" script
...
in the amalgamation tarballs.
FossilOrigin-Name: 6deab75874acfa183e51b8ae8d9305e8d09072bb6c646859ed40beb46e91fe0f
2025-12-12 00:21:10 +00:00
drh
4a33eed6e9
Remove #ifdefs intended to make SQLite compatible with Windows RT. WinRT
...
was short-lived and has been discontinued for a long time.
FossilOrigin-Name: 108691a3cb2f296f0ede06c34271ee185f299bfd76e97a1bd06c730a28d94ff4
2025-12-06 19:56:40 +00:00
drh
4ee2e72c58
Improvement implementation of the previous check-in: runs faster.
...
FossilOrigin-Name: 484d1fd2a240c8fd006e7794936d6678b8db792a8b2b30d2ae5baf5a1b19463a
2025-11-30 17:47:27 +00:00
drh
1039aa3bf5
Merge the latest trunk enhancements into the wal2 branch
...
FossilOrigin-Name: 18d8e307df9d6f9eca4f9a9c984542872f28a092810ceb50a32952fcbde448e6
2025-11-28 20:48:24 +00:00
drh
f1928b3e54
Do not attempt to make the generated file "shell.c" read-only. This turns
...
out to be annoying in general, and especially annoying on macs.
FossilOrigin-Name: 6ab18d036a3e412ee01806a40f69aca2b77283bd5336df27597cc19d32e6e6f2
2025-11-18 19:11:21 +00:00
drh
82d685dae8
Merge all the latest trunk enhancements into the wal2 branch.
...
FossilOrigin-Name: eae8ef1bbb149b7da25da1b4806236afdef242af154fb118e7b438b199510af3
2025-11-18 18:53:20 +00:00
drh
f639befec8
New subcomponent, the Query Result Formatter (QRF), that formats query
...
results for display to humans on a fixed-width font terminal. Rework the
CLI to make use of the QRF. Renovate the .mode command of the CLI. Also
incorporate the QRF into the TCL interface as the "format" method.
FossilOrigin-Name: 7e460ffa5aae884807db9e7c8214d6d822d5d38ea406fe3b3eac04ac16f158fa
2025-11-18 17:49:48 +00:00
drh
9e91a1fe89
Modify the "%realloc" and "%free" commands in Lemon so that the functions
...
they specify take an extra parameter at the end, the %extra_context pointer.
This allows the implementation to distinguish between OOM errors and
failures to increase the stack size because of the stack size limit.
FossilOrigin-Name: 9862c945d9a8531f9bef123aee9ed1fd3f64542250a57beb3a150227bc3c1a12
2025-11-18 15:40:02 +00:00
drh
fef2233090
Add the SQLITE_LIMIT_PARSER_DEPTH value for sqlite3_limit(). This isn't
...
something that many applications will need, but it is useful for testing.
FossilOrigin-Name: 8f0b07f36159225c476f756f8f9b35c75783bc8bed43b578f4d1055fa800ecc9
2025-11-18 14:48:33 +00:00
drh
d26ac414c8
Yet another attempt at controlling the parser stack size.
...
FossilOrigin-Name: cb19986dc6bc483df21e082e54a14cb6d7540b1734259e6d326d676908ac0172
2025-11-18 13:03:08 +00:00
drh
ef4abc0a63
Fix incorrect "#line" generation in Lemon.
...
FossilOrigin-Name: 5c0214df2c0a7470ac2edca0c483a3edd3c39ef0739688ab9a06e23882200360
2025-11-18 10:38:41 +00:00
drh
a7b9a10707
Fix harmless compiler warnings. Incorporate "USAGE:" comments on dot-command
...
implementations into the CLI ".help" command output.
FossilOrigin-Name: 046bfab4a01e8a7cc58d1bdf0756c90ba354562d79e5453c08202daf648e76a6
2025-11-14 14:59:43 +00:00
drh
0296bab9fd
The new "format" method in the TCL interface is now partially functional.
...
FossilOrigin-Name: ace1ebda08740bb248c009cc4a6c99da318a2bba3e43ef20bd0c365c5021705f
2025-11-05 14:07:16 +00:00
drh
9ff8a73ba4
New build product "tclsqlite-ex.c" is the tclsqlite.c file with QRF added.
...
This is now used whereever tclsqlite.c was used. Hence QRF is now in the
testfixture and in the tclextension. The sqlite3 method is "format". That
method is currently just a non-functional stub.
FossilOrigin-Name: e08d21fe1365176f268f1dcca4048fb5ff043356e5817c8622b4ed9a1a5a58cf
2025-11-05 12:37:42 +00:00
drh
78d1a8447c
Merge the version 3.51.0 enhancements into the wal2 branch
...
FossilOrigin-Name: 7ec278fc987fc56ebb631b6aa3b0d45977712d91d09947c9a2a6a5d6e4b4f957
2025-11-04 20:18:40 +00:00
drh
eaacb4ac37
Add pedantic OOM detection logic to some disused diagnostic and test code.
...
No changes to any deliverables.
FossilOrigin-Name: abb6945fc62a1855786bda1f473edef0e937a791c453387a0859a6ce0451635a
2025-11-02 22:57:26 +00:00
stephan
e1b49b635a
Merge trunk into the wal2 branch. devtest passes.
...
FossilOrigin-Name: 0ade80f307f61f544a197ead25b6ed061706f56bd07bc49dfc63c91fb340bb5b
2025-11-01 20:47:32 +00:00
drh
f3b396494f
Updates to the tool/warnings.sh script for better compiler warnings.
...
FossilOrigin-Name: c9c64892c76cb9f2efb58428b349d43b075e7595b6a391d4818a7e9fb68b85fd
2025-10-30 18:32:32 +00:00
drh
3c0047482d
Merge all the latest trunk enhancements into the wal2 branch.
...
FossilOrigin-Name: 2ae29242aa04e25f5bd47517c68d1f70c2b2173682730055f8ca8d9581c9bc23
2025-10-27 11:49:07 +00:00
drh
01f5e6e757
Add ENABLE compile-time options to enable carray() and median(). Hence
...
there is no new code and no increase in library size without the ENABLE
macros.
FossilOrigin-Name: 7dec290b413ca1bc67694743d8b771e1634fd85251f1a23d60aaf36c63f0f366
2025-10-08 18:11:37 +00:00