SQLite

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

100 most recent check-ins

2025-04-07
18:29
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). (Leaf check-in: 25d936b7b2 user: stephan tags: trunk)
02:16
Rename proj-current-proc-name to proj-current-scope and have it distinguish between global scope and an invalid scope level. (check-in: 1c7e5b6cab user: stephan tags: trunk)
02:08
Make it legal to call proj-fatal from the global scope. (check-in: f1cf373b73 user: stephan tags: trunk)
2025-04-06
10:22
Fix a harmless code typo introduced by [b57e3c3db00a6bc6] and reported by forum post 09957d8b2a. (check-in: f3a6cdb89b user: drh tags: trunk)
2025-04-05
11:23
Add default --manpath for Haiku but that path is read-only on my Haiku system, so shelve this. (Edit: this was supposed to have been (fossil stash save -m ...) instead of (fossil ci -m ...).) (Closed-Leaf check-in: e2d9ba6f76 user: stephan tags: haiku-configure-tweaks)
09:17
Extend proj-dot-ins-append to provide a way to use it for the special-case emcc.sh.in handling. (check-in: 0e98bbddc7 user: stephan tags: trunk)
08:48
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. (check-in: 77d2c8e9ef user: stephan tags: trunk)
07:12
Move the automatic reconfigure tcl code from sqlite-config.tcl to proj.tcl so that the TEA bits can reuse it. (check-in: 52839db2fc user: stephan tags: trunk)
02:59
Refactor proj-make-from-dot-in and friends to be more useful and remove some annoying limitations. (check-in: 501ff84e12 user: stephan tags: trunk)
2025-04-04
23:12
Rename makefile var libtclsqlite3.SO to libtclsqlite3.DLL for consistency. (check-in: 6fb364c853 user: stephan tags: trunk)
22:59
Correct a makefile var name type in the configure script, introduced in [4947c1c782]. (check-in: 84d77c5fe8 user: stephan tags: trunk)
22:58
Correct a makefile var name type in the configure script, introduced in [8830f86335]. (Leaf check-in: fa29e6a3b7 user: stephan tags: branch-3.49)
22:14
Add more vars to the tclConfig.sh-to-tcl exporter, for use in the TEA build. (check-in: b0e1e49c7a user: stephan tags: trunk)
21:11
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. (check-in: 5db613dd40 user: stephan tags: branch-3.49)
20:58
Account for the Mac-specific -install_name linker flag. See forum post 5651662b8875ec0a. (check-in: 8830f86335 user: stephan tags: branch-3.49)
20:50
Account for the Mac-specific -install_name linker flag. See forum post 5651662b8875ec0a. (check-in: 4947c1c782 user: stephan tags: trunk)
16:17
Adapt the --all flag to apply to a different set of features, and default to enabled, for the tcl-extension build. (check-in: b229c8f65a user: stephan tags: trunk)
15:41
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. (check-in: 26ef0ff4bf user: stephan tags: trunk)
13:25
Merge trunk (Leaf check-in: 436a01e1b1 user: jan.nijtmans tags: cygwin-fixes)
13:23
The win32lock and win32longpath tests don't work on Cygwin (check-in: 32ef3f26e7 user: jan.nijtmans tags: trunk)
13:08
Minor configure-internal cleanups to support the autosetup port of the TEA build. (check-in: 244c2b75c1 user: stephan tags: trunk)
06:49
Merge trunk (check-in: 79dfaf05b8 user: jan.nijtmans tags: cygwin-fixes)
06:47
win32longpath makes no sense on Cygwin. All tests pass now (except delete_db-1.3.0) (check-in: 5cf5d2cedf user: jan.nijtmans tags: cygwin-fixes)
03:26
Minor configure script internal doc edits. No functional changes. (check-in: 357563bc7c user: stephan tags: trunk)
03:16
Make the --static-cli-shell flag available in the autoconf build mode. (check-in: b78a474ecb user: stephan tags: trunk)
02:40
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. (check-in: c4a5582911 user: stephan tags: trunk)
2025-04-03
13:24
Add the --static-cli-shell configure flag to the canonical build, which works like --static-tclsqlite3 but applies to the CLI shell (statically linking it, which only works if all requisite libs are available in static form). It is not called --static-shell because that flag has a completely different legacy meaning in the autoconf build and this flight might eventually be added to that build, so would collide there. (check-in: fd2c1638ec user: stephan tags: trunk)
00:46
Add the --static-tclsqlite3 configure flag (canonical build only) to build tclsqlite3 as a static binary. This will only work on systems which have static versions of all requisite libraries. (check-in: 6183632436 user: stephan tags: trunk)
00:40
Minor cleanups to the --static-tclsqlite3 support. (Closed-Leaf check-in: 06f1143870 user: stephan tags: static-tclsqlite3)
2025-04-02
23:34
Add experimental --static-tclsqlite3 configure flag to build tclsqlite3 statically, which only works if static libtcl/etc. are available. Currently intended for docker builds via Alpine Linux. (check-in: bef3c8b1b9 user: stephan tags: static-tclsqlite3)
12:41
Fix harmless compiler warnings in the memstat.c extension. No changes to the core. (check-in: 9e903953ba user: drh tags: trunk)
11:21
Remove some stray debug output from proj.tcl. (check-in: 5fc7150a20 user: stephan tags: trunk)
10:42
Increase the size of a variable in FTS3 to help static analyzers see that there are no integer overflow problems. (check-in: a921a4682f user: drh tags: trunk)
2025-04-01
16:32
The json-blob-overwrite optimization seeks to prevent unnecessary I/O and data movement when making small changes to the middle of a large JSONB. (check-in: 4a3d7b0421 user: drh tags: trunk)
16:26
Fix a typo accidently added to the prior check-in. (Closed-Leaf check-in: fb2f283038 user: drh tags: json-opt)
15:17
This is an experimental optimization that attempts to keep a JSONB value the same size (same number of bytes) after doing a replace of an elements with a slightly smaller element, by denormalizing the size field. This can perhaps avoid unnecessary page updates and memmove() operations when making small changes in the middle of a large JSONB value. (check-in: b5de9584b7 user: drh tags: json-opt)
2025-03-31
23:18
Fix a harmless typo in a code comment. (check-in: dd251377bd user: drh tags: trunk)
14:12
Feature-complete. Not all test-cases pass. Merge trunk. (check-in: 6552bfb70a user: jan.nijtmans tags: cygwin-fixes)
13:08
Ensure that the compilation of extensions get the same CFLAGS as the core lib. Move the feature flags enabled by --dev out of TARGET_DEBUG and into OPT_FEATURE_FLAGS (for consistency). Rename the make-internal gcov-related flags to be more descriptive. At the end of the configure script, if SQLITE_DEBUG is active then emit a note reminding the builder that performance will suffer. (check-in: e64c6a3856 user: stephan tags: trunk)
11:24
Add the ?ENCODING? parameter to the "db copy" command. If used, it will translate from the given encoding to UTF-8 (Leaf check-in: ac27c2f816 user: jan.nijtmans tags: db-copy-encoding)
10:54
Ensure that extension sources also inherit the debugging-related flags from --debug or --dev. (check-in: 3e96b772a4 user: stephan tags: trunk)
10:29
Correct the ordering of the configure script's handling of the --dev and --debug flags so that --dev's forcing of --debug get picked up early enough. (check-in: e48189ed33 user: stephan tags: trunk)
09:53
The --dev option on ./configure implies --debug and adds -DSQLITE_DEBUG. (check-in: 67dbd9ff0f user: drh tags: trunk)
2025-03-30
09:08
Update tcl.m4 as well (Leaf check-in: 97af9fd79e user: jan.nijtmans tags: tea-update)
2025-03-29
11:50
Minor shell-internal doc addition. No functional changes. (check-in: 01b99c8a28 user: stephan tags: trunk)
2025-03-28
16:31
Correct two tests in shell1.test which were broken by the addition of new output in [0f11087b8475]. (check-in: 909dd0a02a user: stephan tags: trunk)
15:36
CLI shell: make (.output off) an alias for (.output /dev/null) or (.output nul), depending on the platform. Discussed in forum post 633979ce307f1cc6. (check-in: 0f11087b84 user: stephan tags: trunk)
14:32
Configure/make doc tweaks. No functional changes. (check-in: dbcc03bd7a user: stephan tags: trunk)
12:43
Update all TEA files to the latest version. All *.vc files should use Windows CRLF (check-in: aa8dc559cc user: jan.nijtmans tags: tea-update)
08:59
Second round of cygwin fixes: this makes the full "unix" vfs usable with Cygwin as well. Not all tests are working yet. WIP! (check-in: 648aca5b47 user: jan.nijtmans tags: cygwin-fixes)
07:09
Merge trunk (check-in: 6a449918c2 user: jan.nijtmans tags: cygwin-fixes)
2025-03-27
23:29
Merge cygwin and tclsqlite fixes into trunk. (check-in: 121f4d97f9 user: drh tags: trunk)
18:42
Add an explicit db close to fix a file-is-opened failure in session1.test in cygwin. (check-in: c6e4e1cf2b user: stephan tags: cygwin-fixes)
18:22
Rearrange #includes in FTS3 to avoid a harmless compiler warning. (check-in: c5206cee83 user: drh tags: trunk)
17:30
Fix for forum-post b5fde3596c. Also fix encoding issue for non-ASCII characters. Also includes a fix from Stephan Beal, about a missing <stdint.h> include. (Closed-Leaf check-in: e60198001e user: jan.nijtmans tags: tclsqlite-db-copy-fix)
17:25
shell1.test: == => eq (check-in: 99fdd19193 user: jan.nijtmans tags: cygwin-fixes)
14:37
More ==/!= => eq/ne fixes (check-in: 2aa6c4fa6c user: jan.nijtmans tags: cygwin-fixes)
14:32
In Tcl, always use eq/ne for comparing strings, not ==/!= (check-in: f96a5346e3 user: jan.nijtmans tags: cygwin-fixes)
14:13
Merge trunk. Some additional test-fixes for Cygwin (check-in: b36adadfa2 user: jan.nijtmans tags: cygwin-fixes)
10:59
Fix an off-by-one bug in the ".dbtotxt" command from the shell that results in incorrect output. (check-in: 2345094e87 user: drh tags: trunk)
2025-03-26
22:23
Reduce the delay caused by anti-virus retries in Windows when attempting to open a database file with insufficient permission. (check-in: d25c8a6222 user: drh tags: trunk)
17:05
On winOpen(), redo the read-only test on every retry attempt. Just don't retry the winAccess() call. (Closed-Leaf check-in: ccdd67ad9a user: drh tags: winopen-retry)
15:51
Further attempted improvements at fast-fail for an inaccessible database file. (check-in: cdeb21a312 user: drh tags: winopen-retry)
14:45
Attempt to reduce the amount of retry time when trying to open an inaccessible database file on Windows. See forum thread e7991420f5 (check-in: 986e45912c user: drh tags: winopen-retry)
00:02
Merge trunk into cygwin-fixes branch. Add .fossil-settings/binary-glob to squelch warnings about *.db files on Cygwin. (check-in: a8328b921c user: stephan tags: cygwin-fixes)
2025-03-25
01:32
Configure script internal cleanups. Factor out the superfluous proj-lshift_ and use lassign instead. Add -ro flag to proj-file-write. (check-in: 1f98fc07fd user: stephan tags: trunk)
2025-03-24
23:08
Clarify and reduce redundancy in an assert() in walChecksumBytes(). (check-in: 3c53abf5e6 user: drh tags: trunk)
19:58
Test that the sqlite3changeset_apply() function is properly appling indirect changes. (check-in: 1dadea3a79 user: dan tags: trunk)
15:09
Replace the general-purpose sqlite3_exec() interface with an optimized version during schema parsing, with the hopes of improving performance. And performance does increase, but by so very little (0.2% or less) that it does not seem worth the extra complication. Changed saved for historical reference. (Closed-Leaf check-in: 455186cad2 user: drh tags: schema-parsing-experiment)
11:13
Add test cases to session1.test. (check-in: dda9d7cf31 user: dan tags: trunk)
2025-03-23
23:04
Correct a --force flag which should be -force in a TCL file delete call. Some TCL versions (like the one on my system) accepts either but others don't. Problem reported in forum post c02224d862. (check-in: 172f4e4772 user: stephan tags: trunk)
22:49
Remove tool/tclConfigShToAutoDef.sh, as that functionality was moved into autosetup/proj.tcl so that it can be reused in, e.g., autoconf/tea. (check-in: c9c5a15d4d user: stephan tags: trunk)
21:38
Internal configure refactoring to support an ongoing conversion of ./autoconf/tea to autosetup. (Edit: this was merged from [63228f7746] but either an obscure fossil bug or an as-yet-unexplained PEBKAC lost that linkage for the second time - the same thing happened with [301ceba6432a882f].) (check-in: e1d483e342 user: stephan tags: trunk)
21:17
Re-integrate a corrected [38d5acd9e0fa47a4] and add a couple more configure script tweaks towards porting autoconf/tea to autosetup. Add tcl9.1 to the tclsh lookup. (Edit: moving to mistake branch. This was actually a merge of [63228f7746994dfb2] but that link got lost due (apparently) to a "stash apply" performed after "merge --integrate". Will re-commit with that merge link intact.) (Closed-Leaf check-in: 301ceba643 user: stephan tags: mistake)
21:13
Correct file-exists check in sqlite-process-dot-in-files, broken for out-of-tree builds by [38d5acd9e0fa47a4]. (Closed-Leaf check-in: 63228f7746 user: stephan tags: configure-tweaks)
15:37
Configure refactoring to support an ongoing conversion of ./autoconf/tea to autosetup. (Edit: moving off of trunk - this silently breaks the configure script, in that the Makefile is not filtered.) (check-in: 38d5acd9e0 user: stephan tags: configure-tweaks)
2025-03-22
23:03
Fixes for two problems with the generate_series() table-valued function. (check-in: f5aea14e6e user: drh tags: branch-3.49)
22:55
Fix the generate_series() enhancement from check-in [d50b784807333c54] so that it works even if the number that "value" is being compared against is a non-integer floating point number. Bug reported by forum post 0d5d63257. (check-in: c113e31b81 user: drh tags: trunk)
19:07
Replace use of autosetup/lib/*.auto for sqlite-custom-... features to avoid the possibility of multiple files being loaded (in an unpredictable order) for that purpose. Instead look for autosetup/sqlite-custom.tcl and source it if it exists. The intent is that sqlite-custom.tcl only ever be added in vendor-specific branches and never in the trunk. (check-in: f3c0071284 user: stephan tags: trunk)
18:41
In the post-configure validation, ensure than no more than one autosetup/lib/*.auto file is found, for reasons explained in the validation's error message. (check-in: 50bbd69a68 user: stephan tags: trunk)
17:56
Slight corrections to the new docs in autosetup/README.md. (check-in: 55029e41e0 user: stephan tags: trunk)
17:28
Document the new configuration customization approach and extend it to enable sqlite-custom-flags to return an empty string to denote that it does not require any new flags (it may still customize flag default values in such cases). (check-in: b0c7800b01 user: stephan tags: trunk)
17:00
Teach mkautoconfamal.sh to avoid copying autosetup/local.tcl and autosetup/*.auto except for autosetup/lib/CURRENT-BRANCH-NAME.auto (if any), the intent being to use lib/CURRENT-BRANCH-NAME.auto for branch-specific configuration customizations. (check-in: dfe24f13c4 user: stephan tags: trunk)
16:14
Add a mechanism to the configure script to allow certain client-specific builds to extend or override the configure options without having to edit sqlite-config.tcl, the goal being to reduce merge conflicts in those builds when updating sqlite-config.tcl from the canonical copy. (check-in: bafab4ee55 user: stephan tags: trunk)
14:29
Merge the latest trunk changes into the reuse-schema branch. (Leaf check-in: e9496b1bbc user: drh tags: reuse-schema)
14:23
Merge the latest trunk enhancements into the bedrock branch. (Leaf check-in: 4196efe83c user: drh tags: bedrock)
14:19
Merge the latest trunk enhancements into the wal2 branch. (Leaf check-in: 80e6ddd560 user: drh tags: wal2)
14:12
Merge the latest trunk enhancements into the begin-concurrent branch. (Leaf check-in: cb5e024b6a user: drh tags: begin-concurrent)
12:43
Configure script internal cleanups and re-orgs. No functional changes. (check-in: f619e40fb0 user: stephan tags: trunk)
12:15
In the autoconf bundle, do not strip binaries during installation, for parity with the canonical build and the legacy build. Discussed in forum post 9a67df63eda9925c. A potential TODO here is to add a configure flag which either enables or disables stripping. (check-in: 6d2e57bd34 user: stephan tags: trunk)
2025-03-21
22:14
Slightly simplify proj-current-proc-name. (check-in: 6a0ca9f236 user: stephan tags: trunk)
21:13
Fix a multi-arg expr call in proj-current-proc-name (must be single-arg for portability). (check-in: 914768f3f5 user: stephan tags: trunk)
18:15
Teach the CLI that VT100-escape codes that do things like change font colors have zero-width for the purpose of laying out the columns of a table. (check-in: 2d0a8a6c38 user: drh tags: trunk)
16:49
Flesh out the new proc-debug and its infrastructure a bit. (check-in: ba7f1ff0d7 user: stephan tags: trunk)
16:06
Proxy configure's msg-debug with proc-debug, which works the same except that it prepends the name of the calling proc to the debug message. No functional changes. (check-in: f0298c773d user: stephan tags: trunk)
2025-03-20
13:41
Teach the configure script to be able find a default installation of libreadline on Haiku OS. (check-in: 260e988411 user: stephan tags: trunk)
11:47
Fix a problem in the sqlite_dbpage() table-valued function when it is trying to truncate a file in locking-mode=EXCLUSIVE and the file was obtained via sqlite3_deserialize(). Problem found by dbsqlfuzz. (check-in: 346cf9794c user: drh tags: trunk)
2025-03-19
15:21
Correct part of [505d9e49f7] and [7126a51ed8] to get sessioninvert tests working on cygwin. (check-in: 83c34decbe user: stephan tags: cygwin-fixes)
14:57
Correct part of [7126a51e] which changed the implicit return value of a test function. (check-in: 505d9e49f7 user: stephan tags: cygwin-fixes)
14:52
Add some explicit db close calls to work around a process-reaping timing problem on cygwin builds. (check-in: 7126a51ed8 user: stephan tags: cygwin-fixes)