1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Commit Graph

  • c171d7624e Improved --explain display of FUZZDB test plans in testrunner.tcl. drh 2025-04-29 10:41:16 +00:00
  • ece7709f18 Do not run FUZZDB on either Windows-Memdebug or Windows-Win32Heap. drh 2025-04-29 10:29:35 +00:00
  • 8a68ab963e Make testrunner.tcl more restrictive about which configurations run fuzzcheck-asan and fuzzcheck-ubsan. drh 2025-04-29 01:37:31 +00:00
  • 246dc92354 Testrunner.tcl now runs fuzzcheck-asan and fuzzcheck-ubsan tests. drh 2025-04-28 19:15:46 +00:00
  • d4cc3a42e2 If the FUZZDB environment variable is set when running testrunner.tcl and that env-var points to a fuzzcheck database, then suppliment the fuzzcheck tests with that extra database. drh 2025-04-28 17:56:23 +00:00
  • 1365bcffbf Enhance testrunner.tcl so that it does not build testfixture unnecessarily - if the pattern does not match any TCL test. drh 2025-04-28 16:28:00 +00:00
  • 7fec7c96c4 Fix testrunner.tcl so that it honors pattern matches in non-testfixture tests, such as fuzzcheck and sessionfuzz. drh 2025-04-28 16:17:17 +00:00
  • 738443c523 Remove a stray blank line from the test/testrunner.tcl script. drh 2025-04-28 15:00:28 +00:00
  • 9112717180 Remove long-obsolete performance testing scripts from the tools/ folder. The test/speedtest.tcl script is what should be used these days. This is just cruft clean-up. drh 2025-04-28 13:32:46 +00:00
  • 886f674198 tea: pull in upstream teaish. Consolidate the build definition from the upstream build and this one to ease maintenace. Improve compatibility with historical TEA usage of --with-tcl=... (it insists on a /lib suffix for that path). stephan 2025-04-28 09:25:19 +00:00
  • c26cde3bfd proj.tcl: correct the auto-reconfigure rules to include any X=Y passed to configure. Improve handling of quoted CFLAGS. stephan 2025-04-27 06:01:26 +00:00
  • c49c7dad89 autoconf/tea: the default value of --threadsafe=X is now based on a pkgconfig query using the target tclsh, which is much more reliable than grepping Tcl's linker flags. Doc touchups. stephan 2025-04-27 04:21:27 +00:00
  • 0f0450eda3 Fix an off-by-one error in an assert(), discovered by oss-fuzz. This is a harmless error in as much as assert()s are disabled in production builds, and because the off-by-one only occurs on nonsensical CREATE INDEX statements. drh 2025-04-25 12:39:32 +00:00
  • ef90c4209c Teaish internal API tweaks and ensure that -encoding utf-8 is used when source'ing test scripts. stephan 2025-04-25 11:27:13 +00:00
  • d3b39b18d0 Upstream teaish fixes and improvements. stephan 2025-04-23 14:54:13 +00:00
  • 37f22ff75e Fix a problem in the fts5matchinfo.test file that prevented it from working on Mac. drh 2025-04-22 18:45:40 +00:00
  • 024818be2b Latest upstream jimtcl to fix rare segfault cases. stephan 2025-04-22 09:29:53 +00:00
  • 204d787644 Generic cleanups and fixes in the teaish build. stephan 2025-04-22 01:01:19 +00:00
  • d2fd099570 Remove an extra conditional that was inserted earlier today and which is unreachable. drh 2025-04-21 23:44:55 +00:00
  • 81cde80f7b Further improvements to the decision of whether or not a BLOB input is JSONB. drh 2025-04-21 20:58:49 +00:00
  • cbe4a26e02 Do a better job of providing bug compatibility with SQLite 3.44.0. See [forum:/forumpost/07e206fcd6|forum thread 07e206fcd6] for background. drh 2025-04-21 19:53:12 +00:00
  • 9133179e12 Merge all the latest trunk enhancements into the reuse-schema branch. drh 2025-04-21 13:08:19 +00:00
  • f34c9b0fb2 Merge all the latest trunk enhancements into the bedrock branch. drh 2025-04-21 13:02:25 +00:00
  • 3c430b72ca Merge the latest trunk enhancements into the wal2 branch. drh 2025-04-21 12:56:24 +00:00
  • 06263e5a15 Merge all recent trunk enhancements into the begin-concurrent branch. drh 2025-04-21 12:41:38 +00:00
  • c4e7cf68ce Update to comments in sqlite3session.h. dan 2025-04-19 20:08:04 +00:00
  • f857482ed1 Add an appropriate _declspec to the declaration of the sqlite3_dbdata_init() function in the recovery extension. drh 2025-04-18 14:47:56 +00:00
  • 31e08190ab Upstream teaish, which simplifies how extension metadata are initialized and shrinks proj.tcl by 4k. stephan 2025-04-17 19:41:37 +00:00
  • 10744c61ad When logging errors using sqlite3_log() and the error text includes the text of an SQL statement, but the SQL statement text at the end so that if the error message buffer overflows it is the SQL statement text that gets truncated, not the statement of the problem. drh 2025-04-17 19:01:54 +00:00
  • 56747d1840 Increase the size of the output buffer for sqlite3_log(). drh 2025-04-17 17:46:28 +00:00
  • 680a9584c6 Add docs explaining how to test the teaish build. stephan 2025-04-16 22:25:02 +00:00
  • c264a0fd95 Latest upstream teaish. Most notably it adds the ability for the extension to specify a minimum Tcl version, and this build now enforces a minimum Tcl of 8.6. stephan 2025-04-16 21:53:01 +00:00
  • 259532c0ad Update doc/tcl-extension-testing.md for Unix systems, consolidating the Tcl 8.x and 9.x sections. stephan 2025-04-16 17:47:16 +00:00
  • 6fe2a9a8f1 Attempt to provide EBCDIC translations to the tables in the JSON implementation. The SQLite developers do not have access to any computers using EBCDIC and so have no way to test this patch, and cannot vouch for its accuracy. drh 2025-04-16 17:36:26 +00:00
  • cd83a85e05 Change the target libdir name in the teaish build to match historical tea builds. stephan 2025-04-16 15:40:40 +00:00
  • b70d450426 A portability fix for proj.tcl: some Tcl builds do not like (array set x $someArray). Also better --mandir handling on Haiku (where the former problem was found).7 stephan 2025-04-16 14:21:48 +00:00
  • b1cc4aeb61 Latest upstream teaish for fixes and improvements. stephan 2025-04-16 12:48:27 +00:00
  • 42182f1c1c Correctly handle the case of a multi-column UNIQUE constraint that contains the ROWID as one of it columns, and then the columns of that UNIQUE are used in a row-value IN operator as a WHERE clause constraint. drh 2025-04-16 10:53:20 +00:00
  • 0243ca8245 Correctly handle the case of a multi-column UNIQUE constraint that contains the ROWID as one of it columns, and then the columns of that UNIQUE are used in a row-value IN operator as a WHERE clause constraint. Reported by [forum:/forumpost/b9647a113b465950|forum post b9647a113b]. Problem introduced by [723f1be3d4a905a6], part of ticket [da78413751863]. drh 2025-04-15 21:59:38 +00:00
  • 8488789d74 Fix a minor typo in a code comment. drh 2025-04-15 19:53:36 +00:00
  • 850289bf1e Cleanups and refactoring in proj.tcl and teaish. stephan 2025-04-15 15:20:30 +00:00
  • 136afcfcc1 Avoid a potential integer overflow in non-default builds of the fts3 matchinfo() function. dan 2025-04-15 11:06:37 +00:00
  • 56da8772bd Further cleanups and code consolidation between teaish.tcl and sqlite-config.tcl parts. stephan 2025-04-15 02:02:36 +00:00
  • dc2d79f80f Slight simplifications in the teaish build. stephan 2025-04-15 00:47:31 +00:00
  • 5950eb8aa7 Update teaish to the latest upstream copy. Move some of its utility code into proj.tcl for reuse in the top-level configure bits. stephan 2025-04-14 23:52:11 +00:00
  • 483e1181c5 Improved estimate on the number of output rows in a recursive common table expression that uses the UNION operator. Follow-up to [f911f1c4977fbcae] and it's output row estimate changes associated with DISTINCT queries. drh 2025-04-14 19:43:30 +00:00
  • c801f8954e JNI: part 3 (of 3) of typos and Java style tweaks suggested in [forum:99ac7961d82f57f3|forum post 99ac7961d82f57f3]. Tested with jdk v8 and v21. stephan 2025-04-14 13:31:18 +00:00
  • d01239f379 JNI: part 2 of typos and Java style tweaks suggested in [forum:99ac7961d82f57f3|forum post 99ac7961d82f57f3]. stephan 2025-04-14 12:09:24 +00:00
  • 6cabff0c22 JNI: part 1 of typos and Java style tweaks suggested in [forum:99ac7961d82f57f3|forum post 99ac7961d82f57f3]. stephan 2025-04-14 11:31:10 +00:00
  • 6964b2f737 Doc/help text tweaks in autoconf/tea. stephan 2025-04-14 10:20:41 +00:00
  • a572bbfc7c Minor cleanups and fixes in the autoconf/tea pieces. stephan 2025-04-14 10:18:40 +00:00
  • a5198b2e13 Latest upstream teaish, which restructures the teaish files a bit. stephan 2025-04-13 16:22:58 +00:00
  • 6b4dcad514 tea build: use autosetup's file-normalize instead of Tcl's (file normalize) because the latter throws on cygwin for names like '.' and './'. Update a doc URL. stephan 2025-04-12 21:47:18 +00:00
  • 337f703c54 Port autoconf/tea from the autotools to autosetup. stephan 2025-04-12 21:24:10 +00:00
  • 837dc09bce Move the post-configure dot-in-file validation from sqlite-config.tcl to proj.tcl for reuse in the tea port and other downstream trees. stephan 2025-04-12 19:26:18 +00:00
  • 6b0429676e Doc typo fix. teaish stephan 2025-04-12 18:37:53 +00:00
  • 807186f1d3 Eliminate a duplicate -lz flag in the teaish build. stephan 2025-04-12 10:33:12 +00:00
  • a69b2b2973 Add missing teaish.test.tcl. stephan 2025-04-12 03:20:42 +00:00
  • 22a85a418e Add missing exports of various LDFLAGS and CFLAGS for the teaish build. stephan 2025-04-12 03:08:13 +00:00
  • 71b7e44869 Correct out-of-tree build for autoconf/tea. stephan 2025-04-12 02:44:02 +00:00
  • 19b0701087 Initial port of the TEA build (autoconf/tea) from autotools to autosetup. stephan 2025-04-12 02:30:04 +00:00
  • 0aa95099f5 Fix a memory leak in sqlite3session_diff(). dan 2025-04-10 20:52:47 +00:00
  • a863bafba7 Improved detection of run-time errors (ex: OOM errors) in speedtest1. drh 2025-04-10 19:54:56 +00:00
  • f95e964b6b Provide new command-line options --hard-heap-limit and --soft-heap-limit for speedtest1. drh 2025-04-10 19:39:34 +00:00
  • e4856e86cd Be sure that speedtest1 reports any errors that it encounters while running the speed tests. drh 2025-04-10 19:03:42 +00:00
  • 7b1afecf53 Fix a comment in sessionD.test. dan 2025-04-10 17:25:57 +00:00
  • da00cc101c Improve the error messages returned by sqlite3session_diff(). dan 2025-04-10 16:48:04 +00:00
  • 08122e96fe Fix an obscure problem allowing the propagate-constants optimization to improperly substitute a column of a sub-query with NONE affinity. [forum:/forumpost/0109bca824|Forum post 2025-04-08T14:18:45Z]. dan 2025-04-10 15:01:58 +00:00
  • 2d1c71abeb Fix an obscure problem allowing the propagate-constants optimization to improperly substitute a column of a sub-query with NONE affinity. forum-0109bca824 dan 2025-04-10 14:53:32 +00:00
  • 8a6f89c845 Remove unnecessary "www." prefixes on domain names in URLs. drh 2025-04-10 10:18:07 +00:00
  • 509d899a2d Doc updates in proj.tcl. Improve configure check for whether fdatasync or nanosleep require -lrt. Remove references to 'tcl-config' build mode from sqlite-config.tcl, as that build is now implemented without a depency on sqlite-config.tcl because the TEA build's needs are considerably more modest. stephan 2025-04-09 13:32:15 +00:00
  • fda6e50ac8 Remove an incorrect ALWAYS() macro. [forum:/forumpost/23875495059357a2|Forum post 2025-04-08T19:16:42Z]. drh 2025-04-08 20:00:33 +00:00
  • de93449908 Have sqlite3session_diff() automatically attach tables to session objects, as it has always been documented to do. dan 2025-04-08 17:18:01 +00:00
  • 6864f78fdf Have sqlite3session_diff() automatically attach tables to session objects, as it has always been documented to do. dan 2025-04-08 15:58:19 +00:00
  • f72c2fd19e During the post-configure validation of @VAR@ references, ignore commented-out references in files which seem (based on their name) to be makefiles, as it's sometimes handy to comment-out such vars during development of a configure script and its corresponding makefile(s). stephan 2025-04-07 18:29:57 +00:00
  • d2b9cc099d Rename proj-current-proc-name to proj-current-scope and have it distinguish between global scope and an invalid scope level. stephan 2025-04-07 02:16:26 +00:00
  • 7d83ed04b1 Make it legal to call proj-fatal from the global scope. stephan 2025-04-07 02:08:55 +00:00
  • 29c7c8b913 Fix a harmless code typo introduced by [b57e3c3db00a6bc6] and reported by [forum:/forumpost/09957d8b2a|forum post 09957d8b2a]. drh 2025-04-06 10:22:26 +00:00
  • 342a95c406 Add default --manpath for Haiku but that path is read-only on my Haiku system, so shelve this. haiku-configure-tweaks stephan 2025-04-05 11:23:14 +00:00
  • 8aaf23a15e Extend proj-dot-ins-append to provide a way to use it for the special-case emcc.sh.in handling. stephan 2025-04-05 09:17:13 +00:00
  • bc969569a2 Add a note that SQLite's copy of proj.tcl can be considered the "canonical copy" for practical purposes. We now have at least 3 copies of it floating around in other trees. stephan 2025-04-05 08:48:19 +00:00
  • 4d411659c4 Move the automatic reconfigure tcl code from sqlite-config.tcl to proj.tcl so that the TEA bits can reuse it. stephan 2025-04-05 07:12:41 +00:00
  • 7cf1b29065 Refactor proj-make-from-dot-in and friends to be more useful and remove some annoying limitations. stephan 2025-04-05 02:59:37 +00:00
  • 86527e84e6 Rename makefile var libtclsqlite3.SO to libtclsqlite3.DLL for consistency. stephan 2025-04-04 23:12:32 +00:00
  • d09fc81939 Correct a makefile var name type in the configure script, introduced in [4947c1c782]. stephan 2025-04-04 22:59:32 +00:00
  • 0b3ba763c5 Correct a makefile var name type in the configure script, introduced in [8830f86335]. stephan 2025-04-04 22:58:49 +00:00
  • 205d9960cb Add more vars to the tclConfig.sh-to-tcl exporter, for use in the TEA build. stephan 2025-04-04 22:14:18 +00:00
  • 966933f276 Improve --all flag handling so that combinations of (--all --disable-FEATURE) and (--disable-all --FEATURE) work more intuitively. Add missing handling of the --fts3 flag (it was accepted but ignored before). Partial merge of [26ef0ff4bfbb], minus proj.tcl changes. stephan 2025-04-04 21:11:32 +00:00
  • 31eb27ef83 Account for the Mac-specific -install_name linker flag. See [forum:5651662b8875ec0a|forum post 5651662b8875ec0a]. stephan 2025-04-04 20:58:11 +00:00
  • 31076c5f26 Account for the Mac-specific -instal_name linker flag, which is apparently needed for linking some third-party code. See [forum:5651662b8875ec0a|forum post 5651662b8875ec0a]. stephan 2025-04-04 20:50:00 +00:00
  • 24fe85b99a Adapt the --all flag to apply to a different set of features, and default to enabled, for the tcl-extension build. stephan 2025-04-04 16:17:02 +00:00
  • 91db54f07a Improve --all flag handling so that combinations of (--all --disable-FEATURE) and (--disable-all --FEATURE) work more intuitively. Add missing handling of the --fts3 flag (it was accepted but ignored before). Add TCL_LIBS to the set of vars exported via tclConfig.sh for use in the tea build. stephan 2025-04-04 15:41:19 +00:00
  • f90cc8a1a3 Merge trunk jan.nijtmans 2025-04-04 13:25:04 +00:00
  • 82d05b7b54 The win32lock and win32longpath tests don't work on Cygwin jan.nijtmans 2025-04-04 13:23:03 +00:00
  • 283d0ee4c6 Minor configure-internal cleanups to support the autosetup port of the TEA build. stephan 2025-04-04 13:08:43 +00:00
  • 74a60fcc0d Merge trunk jan.nijtmans 2025-04-04 06:49:24 +00:00
  • f473310d4c win32longpath makes no sense on Cygwin. All tests pass now (except delete_db-1.3.0) jan.nijtmans 2025-04-04 06:47:36 +00:00
  • 29b496a2d5 Minor configure script internal doc edits. No functional changes. stephan 2025-04-04 03:26:20 +00:00
  • 16aa90bba4 Make the --static-cli-shell flag available in the autoconf build mode. stephan 2025-04-04 03:16:47 +00:00
  • 99ef94e3ac On HaikuOS, if --prefix is not explicitly provided then default it to /boot/home/config/non-packaged, based on an off-list discussion with HaikuOS user BrickViking. stephan 2025-04-04 02:40:08 +00:00