0
0
mirror of https://github.com/sqlite/sqlite.git synced 2024-11-21 19:29:09 +01:00

Commit Graph

  • 2f70d5838a Fix a JS test which was broken when OMIT_PROGRESS_CALLBACK was _not_ used. master stephan 2024-11-21 15:53:31 +0000
  • 87c11a0666
    Merge 8ff8f2819d into 9bf5bea607 Jingyu 2024-11-21 03:46:13 +0000
  • 0bf68bfa71
    Merge df695724fa into 9bf5bea607 Sanjuwish 2024-11-21 03:46:13 +0000
  • eefb4cc6af
    Merge 9f74f2e986 into 9bf5bea607 Sven Scharmentke 2024-11-21 03:46:13 +0000
  • 286ad5861f
    Merge f9048025b6 into 9bf5bea607 ShikiSuen 2024-11-21 03:46:13 +0000
  • 9cdfa911c1
    Merge 7e5d7cc879 into 9bf5bea607 ferryman0608 2024-11-21 03:46:13 +0000
  • f441090009
    Merge 99cb51bdcd into 9bf5bea607 Xu Jin 2024-11-21 03:46:13 +0000
  • b4850c1a3c
    Merge 7a09f3a32b into 9bf5bea607 kai zhu 2024-11-21 03:46:13 +0000
  • 4e981df04f
    Merge 0d4d23b7fb into 9bf5bea607 Chris Hills 2024-11-21 03:46:10 +0000
  • 9bf5bea607 Document that -nofollow does not work on Windows. Fix Windows symlink test cases for when the test suite is run as administrator. drh 2024-11-21 01:50:01 +0000
  • 161de89e7e Cherrypick a couple of changes requested by Mozilla onto the 3.47 branch. branch-3.47 drh 2024-11-20 21:45:25 +0000
  • 032bcf72fb Fix compiler warnings caused by variable shadowing. fts5-tokendata-prefix dan 2024-11-20 20:39:18 +0000
  • 0e8d63cbab Logging enhancements. And mark logs v=12. cf8f1552-commit-instr dan 2024-11-20 20:26:59 +0000
  • 5f152d5794 Merge the latest trunk fixes and makefile enhancements into the commit-and-continue branch. commit-and-continue drh 2024-11-20 20:24:28 +0000
  • bc1ab3ec1f Experimental change to omit writing frame checksums to the wal file. dan 2024-11-20 18:49:01 +0000
  • dfeeb08ec8 Update logging version to "v=11". This should have been part of the previous commit. dan 2024-11-20 17:47:40 +0000
  • d02833bf05 New configuration option --dynlink-tools causes some command-line tools like sqldiff and sqlite3_analyzer to link against the libsqlite3.so system library rather than being built-in. Caution: sqlite3_analyzer requires the SQLITE_ENABLE_DBSTAT_VTAB compile-time option on its SQLite library in order to work, so do not use --dynlink-tools to build sqlite3_analyzer without it. drh 2024-11-20 16:21:34 +0000
  • 914e32f24a Use shared-library flags, not shared-object flags, to create shared libraries. This makes no difference on Linux, but is required for Mac. link-tools-dynamically drh 2024-11-20 16:17:01 +0000
  • 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. drh 2024-11-20 15:02:34 +0000
  • 2722e2e822 Bug fix in the SubrtnSig logic from [c9a3498113074bbc], 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. [forum:/forumpost/0b9ded2f8428ac00|Forum post 0b9ded2f8428ac00]. drh 2024-11-20 14:59:32 +0000
  • d4a65cfc51 Provide the sqlite3ShowWhereTerm() interface callable interactively from a debugger, when compiling with SQLITE_DEBUG. drh 2024-11-20 14:19:44 +0000
  • 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. drh 2024-11-20 11:37:24 +0000
  • 9566982328 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. drh 2024-11-20 11:34:16 +0000
  • a34fbd1b9b Add fix from [bfab759611b0] to sqltclsh. Remove some now-unneeded has_tclsh84/5 checks in cases where jimsh can be used. stephan 2024-11-19 21:19:12 +0000
  • 18c9e2638e Add missing $TCL_LIBS to the link for sqlite3_analyzer. drh 2024-11-19 21:14:48 +0000
  • 9491e6d9b1 Add the ability to build certain tools dynamically linked to libsqlite3 instead of embedding their own copy of sqlite3.c. mistake stephan 2024-11-19 20:23:01 +0000
  • 457d9384a2 Rename --link-tools-dynamically to --dynlink-tools, per discussion. stephan 2024-11-19 20:21:40 +0000
  • b81e11b25b Move the in-comment-code commentary about --with-debug, from [7b14309be4], into the --help text for that flag, where it's readily visible. stephan 2024-11-19 20:14:31 +0000
  • c73b85c156 Get sqlite3_analyzer optionally linking against libsqlite3.so instead of embedding sqlite3.c. Patch mkccode.tcl to accept digits in its IFDEF/IFNDEF checks and sqlite3_analyzer.c.in to only include sqlite3.c if -DINCLUDE_SQLITE3_C is passed to mkccode.tcl. stephan 2024-11-19 19:47:51 +0000
  • d3aaf963a9 Merge trunk into this branch. Fix a small jimtcl/tclsh regex incompatibility in mkccode.tcl. stephan 2024-11-19 19:16:58 +0000
  • 5608fb36ec Enhancements to tool/mkccode.tcl such that it recognizes -D command line arguments and can use them in internal IFDEF and IFNDEF macros. Update the tool/sqlite3_analyzer.c.in script such that it omits the SQLite amalgamation if -DSQLITE_ENABLE_DBSTAT_VTAB is defined. drh 2024-11-19 18:26:47 +0000
  • 3cd93a0b67 Revert linking the shell to the dll for reasons explained in new makefile comments. Move the --with-debug configure flag into the developer options set and add commentary about why it should never be used for production builds. stephan 2024-11-19 17:41:13 +0000
  • 74880dccd0 Extra logging for the freelist and hash table components of COMMITs of BEGIN CONCURRENT transactions. dan 2024-11-19 17:32:03 +0000
  • 5ef61df185 Reformulate sqldiff deps and rules so that the target matches the resulting file name, to avoid rebuilding it on every make invocation. Apply the same treatment to the sqlite3 CLI shell. stephan 2024-11-19 16:40:49 +0000
  • fbd9de1830 Initial configure support for linking certain binaries to libsqlite3.so instead of embedding it dynamically (which they typically do). This currently applies only to sqldiff, but support for adding the same for other tools is planned. This requires disabling the soname because setting it causes the build to link to whatever libsqlite3.so.0 is installed system-wide, so the soname now defaults to off. stephan 2024-11-19 15:20:47 +0000
  • fefc7b1bf7 Fix a problem handling OOM errors in fts3 that could occur when parsing multi-token strings. dan 2024-11-19 11:58:32 +0000
  • 452866ae81 put declarations in correct place for sqlite3_value_point_x/y and SQLITE_POINT gnocarroll 2024-11-18 21:14:37 -0800
  • 594c025717 forgot to commit Makefile changes gnocarroll 2024-11-18 21:04:26 -0800
  • 9de5fef545 maybe dist works and is integrated fully gnocarroll 2024-11-18 20:32:36 -0800
  • 9be66d60b2 Merge recent trunk changes into the reuse-schema branch. reuse-schema drh 2024-11-18 21:15:25 +0000
  • 62646bed90 Merge the divergence reduction into the bedrock branch. bedrock drh 2024-11-18 20:44:23 +0000
  • 6063442979 Continue to reduce divergence between wal2 and trunk. wal2 drh 2024-11-18 20:30:35 +0000
  • a835f61c01 Realignment of begin-concurrent with trunk. begin-concurrent drh 2024-11-18 18:49:05 +0000
  • 91ceef8ede Reduce divergence from trunk. drh 2024-11-18 18:45:53 +0000
  • ea206ad17b Reduce divergence from begin-concurrent. drh 2024-11-18 18:45:31 +0000
  • ad77991569 Realign trunk and wal2. drh 2024-11-18 18:27:35 +0000
  • ea98a50afe Attempt to reduce divergence from trunk. drh 2024-11-18 18:03:27 +0000
  • 12599d566b Attempt to reduce divergence with the wal2 branch. drh 2024-11-18 17:05:45 +0000
  • b9b6b902e9 Realign the begin-concurrent branch with trunk. drh 2024-11-18 16:52:05 +0000
  • e5df4a6d53 Attempt to reduce divergence from trunk. drh 2024-11-18 16:44:45 +0000
  • 5cad859f61 Attempt to reduce divergence with begin-concurrent. drh 2024-11-18 16:44:26 +0000
  • 3a665b3f26 Merge the latest trunk enhancements into the reuse-schema branch. drh 2024-11-18 15:51:41 +0000
  • 5818f2ab22 Merge the latest trunk changes into the bedrock branch. drh 2024-11-18 15:34:29 +0000
  • 37468f242b Merge the latest trunk changes into the wal2 branch. drh 2024-11-18 15:30:58 +0000
  • 8a4c1ef6d3 Merge the latest trunk enhancements into the begin-concurrent branch. drh 2024-11-18 15:18:45 +0000
  • ada583f6e1 Disable commit-and-continue tests under the inmemory-journal and journaltest permutations. drh 2024-11-18 14:54:34 +0000
  • 0df847cc77 Remove the .POSIX entries from the makefiles because they cause portability problems rather than solve them. stephan 2024-11-18 14:15:08 +0000
  • de8aa17eb5 Fix a "applying zero offset to null pointer" usan error in the fts5 trigram tokenizer. dan 2024-11-18 14:08:42 +0000
  • 9c8235b1bd Fix minor problems in testrunner.tcl that pop up when the command-line arguments are such that no tests are run. drh 2024-11-18 13:29:16 +0000
  • 6e81f2af83 The COMMIT AND CONTINUE TRANSACTION syntax is disabled by default. Enable it using the SQLITE_DBCONFIG_CONTINUE_TRANSACTION configuration option. drh 2024-11-18 11:49:47 +0000
  • 1a9e667c81 Fix a typo in a variable name. drh 2024-11-18 11:14:58 +0000
  • 7fbebfdddb Fix an uninitialized variable that appears to be the cause of the problems with check-in [80b98446fc070d9a]. drh 2024-11-17 23:53:27 +0000
  • e3c97544e1 Merge the latest trunk enhancements into the commit-and-continue branch. drh 2024-11-17 11:46:47 +0000
  • bbc6e5c9b7 Make the --vfstrace output from the CLI go to the same output channel as everything else. drh 2024-11-17 11:42:43 +0000
  • 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. stephan 2024-11-17 09:51:52 +0000
  • f6fdf32553 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. stephan 2024-11-17 09:49:53 +0000
  • 30d5b2fd21 Add simple test cases. In doing so I found that the feature does not work on a Linux ramdisk. drh 2024-11-16 23:32:56 +0000
  • 71fb34f757 Merge all the latest trunk enhancements into the commit-and-continue branch. drh 2024-11-16 18:59:31 +0000
  • 70d390134c Call fflush() on ".echo" output from the shell, so that the output to stdout is aligned with output to stderr. drh 2024-11-16 18:54:46 +0000
  • d209bd2d64 Clean up the implementation now that it only has to deal with the much simplier concept of COMMIT AND CONTINUE TRANSACTION. drh 2024-11-16 18:37:56 +0000
  • 18689b8fb2 Fix argument expansion in sqlite-tclsh on Windows such that if an argument does not match a filename even after glob expansion, it is appended to the argument list verbatim. drh 2024-11-16 17:39:34 +0000
  • 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. stephan 2024-11-16 17:12:17 +0000
  • 50faa8d17e 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. stephan 2024-11-16 17:09:55 +0000
  • 92c526e71b Simplify the new syntax to be just "COMMIT AND CONTINUE TRANSACTION". commit-and-begin drh 2024-11-16 14:40:11 +0000
  • b03592c324 Add DESTDIR support to the tclextension-install target, via [67a3ca0c013b] and [d1663cf05f7d]. stephan 2024-11-16 14:33:01 +0000
  • f6c7cc606e Add the --destdir flag to the tclextension-install makefile target. stephan 2024-11-16 14:30:43 +0000
  • d8f6222bee Add --destdir flag support to buildtclext.tcl, but do not yet add that to the makefile (so that this change can be cherrypicked to the 3.47 build). stephan 2024-11-16 14:29:51 +0000
  • 4b24cb2a3a Rename tool/tclConfigShToTcl.sh to tool/tclConfigShToAutoDef.sh in the name of pedantic correctness. stephan 2024-11-16 10:42:33 +0000
  • d676227f2c configure: tiny simplification of proj-assert. stephan 2024-11-16 09:00:31 +0000
  • 06315a8c67 Load all the latest trunk enhancements, and especially the enhancements to vfstrace, into the commit-and-begin branch. drh 2024-11-15 20:42:12 +0000
  • 178ce6287b Enhance the vfstrace extension such that the output can be controlled using the "PRAGMA vfstrace('...');" statement. See header comment on the source code for details. drh 2024-11-15 20:39:41 +0000
  • 1adf87592f In the interest of minimizing downstream disruption, set the soname of libsqlite3.so to (by default) its legacy value of libsqlite3.so.0 and unconditionally create (or replace) a symlink with that name at install-time, in addition to the newer-named symlinks. stephan 2024-11-15 19:42:49 +0000
  • 85aded1952 Another approach at implementing COMMIT AND BEGIN. drh 2024-11-15 17:28:57 +0000
  • e69b4d757e Generic auto.def cleanups. No functional differences. stephan 2024-11-15 16:35:24 +0000
  • 48c8447574 buildtclext.tcl: work around a case, reported in [forum:0683a49cb02f31a1|forum post 0683a49cb0], in which package maintainers edit their copy of tclConfig.sh to change the TCL_SHLIB_LD command. stephan 2024-11-15 15:31:13 +0000
  • 2eb9605e81 configure: add optional pkg-config support for detecting ICU. stephan 2024-11-15 10:53:57 +0000
  • ece4bf60ff When checking pkg-config for ICU support use icu-io instead of icu-uc, as that contains all requires libs on Linux and BSD. autosetup-icu-pkg-config stephan 2024-11-15 10:47:11 +0000
  • aa85c8c854 configure script doc additions for the ICU feature check. stephan 2024-11-15 10:12:03 +0000
  • 75ed9f819f An experiment in optionally using pkg-config to determine the libs to link in for ICU support, but its ldflags is missing one required lib on both Linux and OpenBSD. Keeping this for later reference, as it demonstrates how to use pkg-config from autosetup. stephan 2024-11-15 10:07:57 +0000
  • c367ef3593 Attempt to hold a lock across the COMMIT AND BEGIN boundary so that no other process can start a new transaction in between the COMMIT and the BEGIN. drh 2024-11-14 22:59:16 +0000
  • a8602768f4 Fix assertion faults in the COMMIT AND BEGIN path. drh 2024-11-14 19:59:02 +0000
  • 083aaa551c Merge more makefile enhancements from trunk into the commit-and-begin branch. drh 2024-11-14 19:36:41 +0000
  • f121ffbde3 Fix typo in the handling of the new --dev flag which caused it to set the --debug flag instead of the --with-debug flag (the former is for autosetup's internal use). stephan 2024-11-14 19:34:28 +0000
  • 009601d534 Remove $prefix/include from the default -I path because it can cause the build to pick up an unintended copy of sqlite3.h. Extend the ICU configure support (the origin of -I$prefix/include) to enable fetching the -I path from icu-config and apply it only to those objects which need it. stephan 2024-11-14 19:25:23 +0000
  • 361549342c Merge makefile enhancements from trunk into the commit-and-begin branch. drh 2024-11-14 19:08:15 +0000
  • 59c80e0533 Add new makefile target "sqlite3d" (where the "d" means either "development" or "debug") that always uses separate source files, regardless of the --disable-amalgmation setting. drh 2024-11-14 19:06:00 +0000
  • c096d6add6 Add --enable-dev configure flag which sets various other flags. stephan 2024-11-14 17:52:59 +0000
  • 458ce5f8f5 Merge the latest trunk enhancements and fixes into the commit-and-begin branch. drh 2024-11-14 17:25:28 +0000
  • 17e7e16b3b Remove unused sqlite_cfg.h.in from the build. stephan 2024-11-14 16:06:36 +0000
  • 98be43ed73 Fix a state makefile dependency which refered to the now-removed sqlite_cfg.h.in. makefile-simplification stephan 2024-11-14 16:00:45 +0000