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
83afc4c2b2
Remove the problematic dbfuzz2-asan/msan targets, which Richard says are not used anymore.
...
FossilOrigin-Name: 503ce205a1efe0d52b184b1b6a23b4b6b5adb7acf6f4617249a5fa1d81e523ef
2024-10-18 16:47:54 +00:00
stephan
20755cef7d
Get most of the fuzzing-related apps building, sans dbuzz2-asan/msan, both of which refuse to link with clang v18 because it's trying to use -lstdc++ despite the app being only C.
...
FossilOrigin-Name: 3e843452927aaea152eab60213337912c34966e2c77d3cfd50d2ee9eb77c6796
2024-10-18 16:39:17 +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
stephan
d1068f8b73
Merge current trunk into the autosetup branch.
...
FossilOrigin-Name: 352da23b46f13fbb2c38fcdd0b6092bf39a391a0bfed587004c85f7f5b99a58d
2024-10-17 22:20:27 +00:00
stephan
2a1a3d6af5
General cleanups. Rename BTCL to BTCLSH for some clarity.
...
FossilOrigin-Name: 83eaef7d62677a85a2c42f98d52ff2e8e5356724ad6d12b2907409d96d4757f1
2024-10-17 22:19:37 +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
stephan
ead26840b8
Get testfixture building.
...
FossilOrigin-Name: 9a7e56a01703fdcb4c83481d33d48bd4c8e6a5586c1315bae36fdff34a1b3bd1
2024-10-16 14:04:00 +00:00
stephan
883f35db10
Merge trunk into this branch.
...
FossilOrigin-Name: 9c3bb3dc4f5b5cd7db6cd50d22dbe8f933cccf5f2fd253467bb50f36b3207a93
2024-10-16 13:02:07 +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
drh
1b59f37c06
Fix a typo in a comment used to generate document. No code changes.
...
FossilOrigin-Name: 9b4bc5c4c1dc7c4ba359babc71c07ac3a6719971766951a8d2cb1df9e2396a83
2024-10-15 14:28:23 +00:00
drh
dcaae8fd4b
Cross-reference the sqlite3_backup_init() function to the documentation for
...
VACUUM INTO and sqlite3-rsync. Comment changes only. No changes to code.
FossilOrigin-Name: 405c23ce02cc7f970e732afc26e01d0267b8fa89d8edc3d53fae2b3bc8405cbb
2024-10-15 14:00:29 +00:00
drh
4924847cb9
Avoid the possibility of buffer overrun in the READ_UTF8 macro by using
...
an less-than operator rather than not-equal-to.
FossilOrigin-Name: 20e60bf058c54bc818ea1b8ce54ace8bcd50699734713cef622bf79e49a9a279
2024-10-14 18:43:04 +00:00
drh
5899d9c08f
There is no need to DELETE the content of sqlite_sequence in the output of
...
the CLI ".dump" command because that table will initially be empty if it
exists at all. [forum:/forumpost/2e31f49d00472cec|Forum post 2e31f49d004]
FossilOrigin-Name: 8d7fe903d09a2a7961f506b2c8e93765e4feb7cd48aac436d75c7ec7838e856a
2024-10-14 11:48:19 +00:00
drh
39b9249562
The CLI now default to ".crlf ON" in Windows. CSV output always uses CRLF on
...
all platforms.
FossilOrigin-Name: 84d19f03b1989d665547745defcd95fc927f8389ed65c76195a39206435791ba
2024-10-14 10:45:02 +00:00
drh
863fcdc116
Be consistent about using "CRLF" instead of "CRNL".
...
FossilOrigin-Name: ec4f4cfd5f8ca83fad4f08cf6566251d9c63e50a3a4284baca299bd94b047951
2024-10-14 09:19:02 +00:00
drh
72fea11809
Fix a harmless compiler warning in the CLI.
...
FossilOrigin-Name: 31c46e84fffe29c45fc63ae8cd1f96f42196f0ab56e72cd07b4eedbd9058e85b
2024-10-14 09:08:02 +00:00
dan
a4ff06f056
Fix a problem with the ".expert" command and queries that use virtual tables.
...
FossilOrigin-Name: 43787b8ec5348207ae84e6f16acf2605c1ca024fc02b022ce2f36b8495e88384
2024-10-12 19:33:47 +00:00
dan
629e1bfa6d
Ensure that test file ext/expert/expert1.test works with non-fts5 builds.
...
FossilOrigin-Name: 933dfd06188b487f14e522453a83b06e491aea97b4248c17f87727b56694acb5
2024-10-12 18:33:40 +00:00
dan
d5a780fddf
Allow the ".expert" command to analyze statements that use built-in virtual tables.
...
FossilOrigin-Name: a201906cd3c85080f9b739c2d347c51348ebebd3dc9b647d33d8dcae4b6e5850
2024-10-12 18:00:22 +00:00
drh
589ce93e9e
Additional clarification in the comments to sqlite3_stdio.c. No changes
...
to code.
FossilOrigin-Name: 2db24c5364808008fa503f37ca8ccf5d135e8f6bfac2efb29e509e26f7190470
2024-10-11 23:31:37 +00:00
dan
14101a3c28
Experimental change to explain query plan to identify covering indexes on expressions.
...
FossilOrigin-Name: 3bb03a2891e30c58b66e3665a8877a8eab4a8bac57ee153d8d31358caeaf4b7c
2024-10-11 20:36:26 +00:00
drh
4859bc9a9f
Update comments in ext/misc/sqlite3_stdio.c to reflect the latest enhancements.
...
No changes to code.
FossilOrigin-Name: 9621c3b527702b47799538e028f96945b5697752dbb56078aa7f114c72fd4e1a
2024-10-11 19:57:41 +00:00
drh
4dfc4dc2df
Add the doc/compile-for-unix.md document.
...
FossilOrigin-Name: a3e16e478b03ccc12888eb5700c2e480a446957368f4b37ed322af2f4c9cd7c4
2024-10-11 19:33:22 +00:00
stephan
ea7ea76a59
Avoid a segfault when calling src-verify without any arguments.
...
FossilOrigin-Name: c0c4e6f111b9b16538aad33e83f02f8d7835e952649f5cee610c068722bea4a4
2024-10-11 19:22:32 +00:00
stephan
c85c102efe
Add two missing $(BEXE) suffixes, as reported in [forum:9ad28680d394afda | forum post 9ad28680d3]. Problem introduced by [1218a203483cecdc] being incomplete in where it added that suffix.
...
FossilOrigin-Name: de9663c0aae92e457ddda48b751b32f205bfab29f60b055571e5f69b41ffd584
2024-10-11 19:18:44 +00:00
drh
2623a19ab0
Improved instructions in the TEA readme for building the TCL extension.
...
FossilOrigin-Name: bf996f710212fbc0c0c67789e3f6f1a805e7b81e0265b312265ca7286e76d6f3
2024-10-11 19:13:02 +00:00
drh
b8d18f321c
Update the README for the TEA extension in the amalgamation tarball.
...
FossilOrigin-Name: acc866c8f1b73fd57f434c5cb2576c2a7b9475a127febbcc27e8c714bbe29a8a
2024-10-11 19:08:45 +00:00
dan
4723539637
Avoid running some new tests in lock5.test with the inmemory_journal permutation.
...
FossilOrigin-Name: 0b12e2e55c6d4b329f0a7629965f313f48b6d3918d36d3371953c56e0c688a28
2024-10-11 18:59:29 +00:00
drh
ed3cf6ef37
Update the autoconf Makefile.msc
...
FossilOrigin-Name: 911ab3299771a607a135f0bcde3057b0ed337870362396bf72506210fdff729e
2024-10-11 17:43:47 +00:00
drh
17408fbbd8
An improved method for statically linking sqlite3_analyzer.exe using Tcl9.
...
Enable wildcard expansion of arguments to testfiture on Windows.
FossilOrigin-Name: 9b87ea219bce5689a69efac31063b9b11928e59124c0d36194715ff7faa5129d
2024-10-11 17:02:37 +00:00
drh
b23cce9a16
Fix the CSV output mode in the CLI such that the line ending is NL by default
...
but goes to CRLF if ".crnl on" is set. Make the .crnl command available on
non-Windows builds. Update the .crnl command such that if it has no arguments
it shows the current setting.
FossilOrigin-Name: da750e39df7bf42330d8c8b266300da07247c9619895861b4cff4be7c94db7cf
2024-10-11 14:30:58 +00:00
drh
0b453b3b33
Avoid undesirable NL to CRLF translation when doing binary output to the
...
Windows console.
FossilOrigin-Name: d25bdce36abed95524ad058a277aba7bb17270e7ff1476474713dbc29742c762
2024-10-11 14:02:48 +00:00
drh
64366ae114
Improvements to TCL9 support. Fixes to the Makefiles so that the "install"
...
targets are consistent and so that they work better with TCL9.
FossilOrigin-Name: bcfae7183e92ce37717852bae5b1dd526903fa8429fb6f738c2147d4e5231642
2024-10-10 10:47:37 +00:00
drh
7b179a3098
For compatibility, allow the TCL interfact to continue working with TCL 8.5.
...
FossilOrigin-Name: 69346e9d4704e8fd82cbb3359913191e05cb38ee591baf97dcfe321db0ea085e
2024-10-10 10:33:31 +00:00