aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | | | | | | | | | | | Add --asan-fsanitize=... configure flag to the canonical build to optionally ↵stephan2025-03-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | set -fsantize flags for the fuzzcheck-asan tool. Teach proj-check-fsanitiz to fail for flags which the compiler emits any warning for, for reasons described in its comments. FossilOrigin-Name: 013730e9b92af39cb7fd2871df9b4bc81b8990f918892bd79370704421672da0
* | | | | | | | | | | | Configure-internal doc cleanups. No functional changes.stephan2025-03-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: be3a2e631100b711996b9524a54fc604966513a62d83fc916270a6226da7adab
* | | | | | | | | | | | Consolidate some much-duplicated run-fuzzcheck recipe code in main.mk.stephan2025-03-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: c0d9b9fad3a2f23941927f1be2abded3bde2f2b04f7a5f3cc0a54a978020ebaa
* | | | | | | | | | | | Rework the run-fuzzcheck makefile target so that it better exploit parallelism.drh2025-03-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test case "<tt>make -j16 run-fuzzcheck FUZZDB=20250222.db</tt>" went from 596 seconds down to 107 seconds. FossilOrigin-Name: 18bda13e197e4b4ec7464b3e70012f71edc05f73d8b14bb48bad452f81c7e185
* | | | | | | | | | | | Enhance the fuzzcheck testing tool with new command-line options:drh2025-03-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --brief, and --slice M N. FossilOrigin-Name: e64132723db0c4f2b9a58932a93beb1671e42006eebc1aeaa8f320e717043051
* | | | | | | | | | | | Make use of the C99 flexible array feature, when available, so thatdrh2025-03-15
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the -fsanitize=bounds-strict option can be used, when available. [forum:/forumpost/311dbf9a1cadfae6|Forum thread 311dbf9a1c]. FossilOrigin-Name: d4307a0d43f42e96ec06ad2c1d8d0f5c8ecae759bae8231b1998633089809f49
| * | | | | | | | | | | | Work around compilers that do not understand flexible arrays, in thedrh2025-03-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | recovery extension and in the fuzzcheck test module. FossilOrigin-Name: f101c46cf83e532fd33034abccba496bf395ef10c161af003211614d6581d5eb
| * | | | | | | | | | | | Fix alignment problems on Linux with -m32 and on Mac PPC.drh2025-03-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: 8a91aeca60548d5cd19add128cf65b9c3815c9103b1ef8ff6bc02711b6d709de
| * | | | | | | | | | | | -fsanitize is a CFLAG, not LDFLAG, so rename some vars accordingly and ↵stephan2025-03-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | simplify the feature check to not run the linker. FossilOrigin-Name: 44f2c64ec16f4720dc538be30410863c4138ea4ce41c94521bd7980535261735
| * | | | | | | | | | | | For fuzzcheck-asan, dynamically determine the list of -fsanitize flags to ↵stephan2025-03-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | use based on configure-time feature tests. FossilOrigin-Name: b70f9cc81516e57e73960bed4b4d2abdcf3dab0ad4a400ca1aed49365c25231e
| * | | | | | | | | | | | Omit the -fsanitize=bounds-strict for now, as that is still not widelydrh2025-03-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | implemented. In particular, it does not work on Macs. FossilOrigin-Name: 3e1c2ac7817e73ea736a39bb0c0ec8212ceedbc89b265b4caf1b53871d27d7c0
| * | | | | | | | | | | | Use flexible arrays in the recovery extension and in the fuzzcheck test program.drh2025-03-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adjust the unix makefile to use -fsanitize=bounds-strict when building fuzzcheck-asan. FossilOrigin-Name: 6ea6a6b211fed1a14d7bec1ab1790dec09e2a00423860498a60b760c4a4561fa
| * | | | | | | | | | | | Use flexible arrays whereever appropriate in FTS5.drh2025-03-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: 16dfc415b6e98a2acae79a24bb0afd401e60efc27cbdd1603a426fd33e17d427
| * | | | | | | | | | | | Convert the Fts5Sorter.aIdx field to a flexible array.drh2025-03-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: 28ac776a23da2753265a7fe2ee2ebb09964815fc9058e69c08275fc217842edc
| * | | | | | | | | | | | Turn Fts5Colset.aiCol into a flexible array.drh2025-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: 0c4d9c74741794468adc444908f6024f016738aa2852d3a646f2c28d079d9446
| * | | | | | | | | | | | In FTS3, rename the MatchinfoBuffer.aMatchinfo field to aMI, to avoid confusingdrh2025-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it with MatchInfo.aMatchinfo. Make aMI a flexiable array. FossilOrigin-Name: bb00b973980d259ca85af84c054501cae78b3a9d33ccffa54d7034235dd8d50d
| * | | | | | | | | | | | Fix one of two flexible arrays in FTS3.drh2025-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: ddfa87c17906ecf7fd5639a87bbfa9a87d17ab688159acd2fd80cc5b6f25f09b
| * | | | | | | | | | | | Use flexible arrays for RTREE.drh2025-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: 2b41776179c726586e3ff836edcf235938cf02f7c5e33c1d6954b84d4061b8d5
| * | | | | | | | | | | | KeyInfo is now an indeterminate size, so we cannot declare a variable of thatdrh2025-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | type, only a pointer to an instance of that type. FossilOrigin-Name: 37b687dc2d3b9dc82ed09a9c5b2c00e576b1eebe358a20d18a3da190347b644e
| * | | | | | | | | | | | Make use of the flexible-array feature of C99, when available, to try todrh2025-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pacify -fsanitize=strict-bounds. This check-in fixes the core. There is more yet to do in FTS3, RTREE, and in FTS5. FossilOrigin-Name: 6fd6b32d06bd6a705e5140cd613af823b8183a6f6a9ceeeedfcf5e8b50821d68
* | | | | | | | | | | | | Speed up parsing of very long fts3 query expressions.dan2025-03-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: 2dd5b6895a3b23c2b9cbf0c1c1e802faf8f2b41ef60819eea25d609755266e64
* | | | | | | | | | | | | Configure-internal build cleanups (no functional changes). Add EXTRA_SRC to ↵stephan2025-03-15
|/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the deps of sqlite3.c. FossilOrigin-Name: 8afb8bbce8654d6f76207fb136e79dc52b6724a71eae82a4c098690a68eb75a1
* | | / / / / / / / / / Fix an internal doc typo reported in [forum:e25e581f917|forum post e25e581f917].stephan2025-03-14
| |_|/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: fa6f6ccdffc50024624306900efd2538c7415d8bdd0f02835b2e9c05adab3cf1
* | | | | | | | | | | Cherrypick the [2b582c0097e33] doc addition, which was initially committed ↵stephan2025-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to the wrong branch. FossilOrigin-Name: f786de8d1873cd27b1bf83273a1e100e9d481144674888ccf65974e003a3caad
* | | | | | | | | | | Fix the generate_series extension for the case where the termination valuedrh2025-03-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is not an even multiple of the step from the start value and there is also a value=NNN constraint in the WHERE clause. [forum:/info/bf2dc8e909983511|Forum post bf2dc8e9] FossilOrigin-Name: 75e72e3b0d0d689d39e00a01dc361dd6ce2649e68d200bf501ddcf04063041b2
* | | | | | | | | | | The --echo flag on the CLI also echos dot-commands provided on the command-line.drh2025-03-12
| |_|/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | FossilOrigin-Name: 6ec0c03b954cf705da076d035a1cc2e784233ae28857385379e44a59af6c5ec4
* | | | | | | | | | The substitute "puts" command used by the Windows implementation ofdrh2025-03-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sqlite3_analyzer must invoke fflush() after each line of output. Otherwise the output can be truncated when redirected into a file. FossilOrigin-Name: ba058ce90a2ba9ebc4d8fb289108c04f80fa85da01c0b8bd58855681836ba83d
* | | | | | | | | | Ensure that the TEMP database has been initialized at the beginning ofdrh2025-03-10
| |_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a call to sqlite3_open_blob() for the TEMP database. Fix for the issue reported by [forum:/forumpost/0a556d619b|forum post 0a556d619b]. FossilOrigin-Name: 2cfccdbe08b7b14a6b255f7157ac20d0807327adefcb33fcffeeed14c7603fe1
* | | | | | | | | Add an explicit db close to test/walsetlk.test to work around an unjustified ↵stephan2025-03-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test failure on Windows when the walsetlk tests are run in the same invocation of testfixture.exe in Windows. FossilOrigin-Name: f418de109335cd7cb29d2b587540c163bbaaa7129c662c2908ef67492139b2d7
* | | | | | | | | Disable the [d1ba200234f40b84|count-of-view optimization] if any subquerydrh2025-03-10
| |_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is DISTINCT, as the optimization does not work in that case. Bug reported by [forum/forumpost/a860f5fb2e|forum post a860f5fb2e]. FossilOrigin-Name: d7013b63932b2f5750572ae6bdd259a2b6e6548c20fb9a5559edd22d2f2fc6cb
* | | | | | | | Back out the most significant part of [5c28a17253e2f], as Cygwin is a ↵stephan2025-03-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hybrid. With SQLITE_OS_UNIX it will use POSIX locking, which will misinteract with apps using Windows-style locking. FossilOrigin-Name: 44adf8f38761a0d756c047f93fc76fc1d0aba8cc209970e3ba13e7040dd14b13
* | | | | | | | Various typo fixes reported by Daniel Dumitriu. No functional changes.stephan2025-03-06
| |_|/ / / / / |/| | | | | | | | | | | | | FossilOrigin-Name: 37e6ec777445d8ef81acecbb66f86ae78f2ae67ef0bfd3fbd089da51fff35cc9
* | | | | | | Additional 'array index is signed char' warning cleanups for the shell and ↵stephan2025-03-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | its embedded extensions, analog to [44bd44532d]. FossilOrigin-Name: f31042595b8f8a378db9778c9a8223b07ec02cf2f528581ba43bf72b5b03c964
* | | | | | | Fix a tcl typo in the previous checkin which triggers an error on one ↵stephan2025-03-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | machine but not another. FossilOrigin-Name: 646c2821ad434058db7760e699d21a47c7feb5976199cbe4b58d54c902720cbf
* | | | | | | Have the configure script report cygwin as SQLITE_OS_UNIX instead of ↵stephan2025-03-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SQLITE_OS_WIN, per off-list discussion with Jan Nijtmans. FossilOrigin-Name: 5c28a17253e2fe56d7fd97cc43345b3fd8bd59fccea3fb1547ed87f7902f76f5
* | | | | | | Have the recover module add "PRAGMA foreign_keys = off" to SQL output. Have ↵dan2025-03-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the shell tool add ".dbconfig defensive off". FossilOrigin-Name: dcfe3d3292851aa48a085a2c68623b049e2786c8dc7154ccc78508443973b5a1
* | | | | | | Always ignore comments in the schema of a database, even ifdrh2025-03-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SQLITE_DBCONFIG_ENABLE_COMMENTS is turned off. FossilOrigin-Name: 373ae3f4de526c636c35db03d6b5c84526d6f144c1c3bebcbb257e52f563a203
* | | | | | | Update the recovery extension so that it works with encrypted databases.dan2025-03-05
| | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: b0b66f21159b47e1950ca63a01f92fe4f621efb9a2962b310d65fa7ebdbb43b3
* | | | | | | Use AtomicRead() and AtomicWrite() to access the pcache1_g.bUnderPressuredrh2025-03-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | global, to forestall unnecessary angst from thread analyzers. FossilOrigin-Name: 41ec85637a7fac710a3986ee78ed25a96d331a03653069bae4d9f826cc6f944a
* | | | | | | Improvement output for ".schema --indent" in the CLI when the schema containsdrh2025-03-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | partial indexes with long and complicated WHERE clauses. FossilOrigin-Name: defd7187ff8c4388f8b5467ed168462ec48215a1f4263bc4128b8e4d89a0bb2a
* | | | | | | Minor configure script cleanups which started out as cygwin-specific fixes ↵stephan2025-03-04
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | but ended up just being minor platform-agnostic cleanups. FossilOrigin-Name: 2cda90410ac62843fa3cf5a9592b2b25564cf9d829e107c85854e8167d4fe46d
| * | | | | | | Roll back part of [6d87a8efe]: the check for tclsh90.exe (as opposed to ↵stephan2025-03-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tclsh9.0.exe) is incorrect on these platforms (it's an msvc build). Also remove an unused function added in that checkin. FossilOrigin-Name: dc84976a7c0d0028b7c576d54e18d1b8e1fc2376bc7b0504f1c86e82c1f7c814
| * | | | | | | Teach autosetup how to find tclsh v9.0 on cygwin.stephan2025-03-04
| | | | | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: 6d87a8efe5611102eac150e5dc1e9d9602318ab8b96046b29c66602e7c3d12fa
* | | | | | | | tclsqlite3 patch from Christian Werner: replace FILE handles with TCL ↵stephan2025-03-04
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | channels for the db copy command. FossilOrigin-Name: ea1f7f8de4abb80fe41a115c9f601ff27cd728493640c6d47d868913feec28dc
* | | | | | | Makefile doc updates. Remove a couple extraneous targets. No functional changes.stephan2025-03-04
| | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: 5a3e22999f8da075f7ca3e039f10386fb85295a2457c9495d2c48b7137a84296
* | | | | | | Minor doc typo fixes via [forum:65bd941da8|forum post 65bd941da8].stephan2025-03-04
| | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: 6f6a03e93cf58eaee79603de0b28ad34c872fb4b4b7d9c4e7fe35c698b27618a
* | | | | | | Document the EXTRA_SRC makefile var and add --amalgamation-extra-src=list to ↵stephan2025-03-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the canonical-build configure script as the formal way to pass that at configure-time. FossilOrigin-Name: 44de0ec29a86f91a227132f7af8898108d555463b754b299eace0ee8475bad57
* | | | | | | Internal configure script cleanups. Resolve an as-yet-hypothetical corner ↵stephan2025-03-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | case involving the --dev flag mixed with custom CFLAGS containing SQLITE_ENABLE... or SQLITE_OMIT... flags. Fix an unrelated API doc typo reported in [forum:606ea661df|forum post 606ea661df]. FossilOrigin-Name: 0554c00f32b7cc81d35340080df10ea6d66c9ff07fe749ea76cc523a4149b5c8
* | | | | | | Minor configure script doc tweaks. This is also a note that the basic ↵stephan2025-03-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | elements of the build run as-is on Haiku OS Beta 5 but the tcl bits do not (for lack of tclConfig.sh). FossilOrigin-Name: acf9babf0efc346b26c8ac02c0bd973498bf1604b47fe320de14027f9b21ed33
* | | | | | | Ensure that detection of control characters by comparison against 0x1fdrh2025-03-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | uses unsigned characters. [forum:/forumpost/4c344ca61f|Forum post 4c344ca61f]. FossilOrigin-Name: b7c5ce84216cc7f5a3ba07404572edb94fd628b3a7421111cd5f5333f3e56ea8