Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
100 most recent check-ins that include changes to files matching 'src/*'
2025-04-10
| ||
15:01 | Fix an obscure problem allowing the propagate-constants optimization to improperly substitute a column of a sub-query with NONE affinity. Forum post 2025-04-08T14:18:45Z. (check-in: 979f384a93 user: dan tags: trunk) | |
14:53 | Fix an obscure problem allowing the propagate-constants optimization to improperly substitute a column of a sub-query with NONE affinity. (Closed-Leaf check-in: d82725dcae user: dan tags: forum-0109bca824) | |
10:18 | Remove unnecessary "www." prefixes on domain names in URLs. (check-in: 20acd630b9 user: drh tags: trunk) | |
2025-04-08
| ||
20:00 | Remove an incorrect ALWAYS() macro. Forum post 2025-04-08T19:16:42Z. (check-in: 062cca9c63 user: drh 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-04
| ||
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) | |
06:49 | Merge trunk (check-in: 79dfaf05b8 user: jan.nijtmans tags: cygwin-fixes) | |
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) | |
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) | |
2025-03-29
| ||
11:50 | Minor shell-internal doc addition. No functional changes. (check-in: 01b99c8a28 user: stephan tags: trunk) | |
2025-03-28
| ||
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) | |
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) | |
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) | |
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-24
| ||
23:08 | Clarify and reduce redundancy in an assert() in walChecksumBytes(). (check-in: 3c53abf5e6 user: drh 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) | |
2025-03-22
| ||
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) | |
2025-03-21
| ||
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) | |
2025-03-20
| ||
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
| ||
10:14 | Merge trunk into the cygwin-fixes branch. (check-in: 34eadd374b user: stephan tags: cygwin-fixes) | |
2025-03-18
| ||
20:28 | Fix two obscure logic problems that cause incorrect answers, found by a third-party fuzzer. (check-in: 1a8f763c31 user: drh tags: branch-3.49) | |
19:21 | Fix a problem that could occur when the RHS of an IN operator was a compound SELECT featuring an ORDER BY on a subquery that was flattened into one of the component SELECTs introduced by [baa83b460c677c21]. Forum post /forumpost/1e17219c88. (check-in: 7101ccd533 user: dan tags: trunk) | |
2025-03-15
| ||
20:35 | Merge the latest trunk enhancements into the reuse-schema branch. (check-in: 271e0373a8 user: drh tags: reuse-schema) | |
20:32 | Merge the latest trunk enhancements into the bedrock branch via the wal2 intermediary. (check-in: b1860b6372 user: drh tags: bedrock) | |
20:28 | Merge the latest trunk enhancements into the wal2 branch. (check-in: c8d8f613ed user: drh tags: wal2) | |
20:25 | Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: 624225499c user: drh tags: begin-concurrent) | |
19:55 | Make use of the C99 flexible array feature, when available, so that the -fsanitize=bounds-strict option can be used, when available. Forum thread 311dbf9a1c. (check-in: d4307a0d43 user: drh tags: trunk) | |
18:26 | Fix alignment problems on Linux with -m32 and on Mac PPC. (check-in: 8a91aeca60 user: drh tags: flex-array) | |
2025-03-14
| ||
20:19 | Use flexible arrays for RTREE. (check-in: 2b41776179 user: drh tags: flex-array) | |
19:07 | KeyInfo is now an indeterminate size, so we cannot declare a variable of that type, only a pointer to an instance of that type. (check-in: 37b687dc2d user: drh tags: flex-array) | |
18:10 | Make use of the flexible-array feature of C99, when available, to try to pacify -fsanitize=strict-bounds. This check-in fixes the core. There is more yet to do in FTS3, RTREE, and in FTS5. (check-in: 6fd6b32d06 user: drh tags: flex-array) | |
12:37 | Fix an internal doc typo reported in forum post e25e581f917. (check-in: fa6f6ccdff user: stephan tags: trunk) | |
11:14 | Minor doc corrections for the sahpool-digest fix and merge in current trunk. (Closed-Leaf check-in: 500f2e6ec7 user: stephan tags: sahpool-digest) | |
09:34 | Cherrypick the [2b582c0097e33] doc addition, which was initially committed to the wrong branch. (check-in: f786de8d18 user: stephan tags: trunk) | |
2025-03-12
| ||
15:17 | The --echo flag on the CLI also echos dot-commands provided on the command-line. (check-in: 6ec0c03b95 user: drh tags: trunk) | |
11:41 | Document that sqlite_update_hook() can unset the current hook by passing a NULL callback, to address forum post 652aef4747. (check-in: 2b582c0097 user: stephan tags: cygwin-fixes) | |
2025-03-10
| ||
22:31 | Ensure that the TEMP database has been initialized at the beginning of a call to sqlite3_open_blob() for the TEMP database. Fix for the issue reported by forum post 0a556d619b. (check-in: 2cfccdbe08 user: drh tags: trunk) | |
17:35 | Merge trunk into the cygwin-fixes branch. (check-in: f3d14433f2 user: stephan tags: cygwin-fixes) | |
15:35 | Patch an unnecessary size_t-to-int conversion which warns on some compilers. (check-in: 8681dfdb59 user: stephan tags: cygwin-fixes) | |
15:15 | Reimplement pathname conversion on Cygwin. MSC test passes/failures are on par with trunk and 'make test' running on cygwin is down to a single failure. (check-in: 57a4de0914 user: stephan tags: cygwin-fixes) | |
10:39 | Disable the [d1ba200234f40b84|count-of-view optimization] if any subquery is DISTINCT, as the optimization does not work in that case. (check-in: bae270b988 user: drh tags: branch-3.49) | |
10:36 | Fix the build by rerunning test/mkpragmatab.tcl. (check-in: 167d6314c5 user: drh tags: branch-3.49) | |
10:32 | Disable the [d1ba200234f40b84|count-of-view optimization] if any subquery is DISTINCT, as the optimization does not work in that case. Bug reported by forum post a860f5fb2e. (check-in: d7013b6393 user: drh tags: trunk) | |
2025-03-08
| ||
06:53 | Test app/script patches from Jan Nijtmans for cygwin. Add/replace many more sentinel arguments for TCL variadic functions which specifically need a NULL trailing argument. With this, 'make test' on cygwin runs to completion for me, with 134 of 329227 tests failing. MSC build fails the same 13 tests which fail for me in trunk. (check-in: 84d8fcfca1 user: stephan tags: cygwin-fixes) | |
2025-03-07
| ||
06:54 | os_win.c patches for Cygwin (described in the cygwin-fixes branch wiki page). Makefile.msc's test target on trunk fails the same 13 tests as this branch. (check-in: 655c60d192 user: stephan tags: cygwin-fixes) | |
2025-03-06
| ||
14:40 | Merge trunk into the cygwin-fixes branch (which was inadvertently branched too early). (check-in: a7863b2e2f user: stephan tags: cygwin-fixes) | |
13:38 | Cygwin-centric fixes from Jan Nijtmans. (check-in: 205979813c user: stephan tags: cygwin-fixes) | |
09:08 | Various typo fixes reported by Daniel Dumitriu. No functional changes. (check-in: 37e6ec7774 user: stephan tags: trunk) | |
07:48 | Additional 'array index is signed char' warning cleanups for the shell and its embedded extensions, analog to [44bd44532d]. (check-in: f31042595b user: stephan tags: trunk) | |
2025-03-05
| ||
19:39 | Have the recover module add "PRAGMA foreign_keys = off" to SQL output. Have the shell tool add ".dbconfig defensive off". (check-in: dcfe3d3292 user: dan tags: trunk) | |
18:18 | Always ignore comments in the schema of a database, even if SQLITE_DBCONFIG_ENABLE_COMMENTS is turned off. (check-in: 373ae3f4de user: drh tags: trunk) | |
17:12 | Use AtomicRead() and AtomicWrite() to access the pcache1_g.bUnderPressure global, to forestall unnecessary angst from thread analyzers. (check-in: 41ec85637a user: drh tags: trunk) | |
16:35 | Improvement output for ".schema --indent" in the CLI when the schema contains partial indexes with long and complicated WHERE clauses. (check-in: defd7187ff user: drh tags: trunk) | |
16:30 | Improvement output for ".schema --indent" in the CLI when the schema contains partial indexes with long and complicated WHERE clauses. (Leaf check-in: 94c6e8d971 user: drh tags: wrong-branch) | |
2025-03-04
| ||
21:25 | tclsqlite3 patch from Christian Werner: replace FILE handles with TCL channels for the db copy command. (check-in: ea1f7f8de4 user: stephan tags: trunk) | |
06:29 | Minor doc typo fixes via forum post 65bd941da8. (check-in: 6f6a03e93c user: stephan tags: trunk) | |
2025-03-03
| ||
16:53 | Merge the latest trunk enhancements into the reuse-schema branch. (check-in: b51690e180 user: drh tags: reuse-schema) | |
16:01 | Merge the latest trunk enhancements into the bedrock branch through the wal2 intermediary. (check-in: 2033763007 user: drh tags: bedrock) | |
15:57 | Merge the latest trunk enhancements into the wal2 branch. (check-in: 6baea938f0 user: drh tags: wal2) | |
15:53 | Merge all the latest trunk enhancements into the begin-concurrent branch. (check-in: 051a6b159e user: drh tags: begin-concurrent) | |
14:15 | Internal configure script cleanups. Resolve an as-yet-hypothetical corner 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 post 606ea661df. (check-in: 0554c00f32 user: stephan tags: trunk) | |
2025-03-02
| ||
20:29 | Ensure that detection of control characters by comparison against 0x1f uses unsigned characters. Forum post 4c344ca61f. (check-in: b7c5ce8421 user: drh tags: trunk) | |
2025-03-01
| ||
11:47 | Add an assert() in vdbesort.c to help both humans and static analyzer AIs understand why a particular array cannot overflow. (check-in: a14d4afd50 user: drh tags: trunk) | |
2025-02-28
| ||
15:54 | In the CLI, ensure that all calls to ctype.h macros are cast to unsigned char. Apparently cygwin needs this. (check-in: 44bd44532d user: drh tags: trunk) | |
2025-02-27
| ||
21:17 | Approximately 100 typo corrections spanning the whole tree, submitted via forum post 0db9827f0464bc33 and individually audited and verified. Affects only code comments, innocuous test strings, error message text in tool (not library) code, and configure-level help text. (check-in: f50c21484d user: stephan tags: trunk) | |
15:55 | Merge back a sequence of three changes that were branched due to a build break. (check-in: 6780971597 user: drh tags: trunk) | |
11:03 | Add support for SQLITE_EXTRA_INIT_MUTEXED - like SQLITE_EXTRA_INIT, but is called from within sqlite3_initialize() when the SQLITE_MUTEX_STATIC_MAIN mutex is still held. (check-in: 3cf88d429f user: dan tags: build-break) | |
03:23 | Internal doc typo fixes reported in forum post 01d15f21b6. (check-in: d6514c20ff user: stephan tags: build-break) | |
2025-02-26
| ||
03:32 | Merge trunk into the sahpool-digest branch. (check-in: fc1eeb7d1f user: stephan tags: sahpool-digest) | |
2025-02-25
| ||
20:55 | Approximately 50 typo fixes, spanning the whole tree, contributed via forum post 006c8fa165083ac3 and individually checked for correctness. Affects only code comments, docs, and a single line of debug output in a test app. (check-in: af928818a0 user: stephan tags: trunk) | |
20:10 | Change the default control-character escape algorithm from "symbol" to "ascii", since the "ascii" algorithm works even on terminals that do not support unicode. (check-in: d35320495e user: drh tags: trunk) | |
20:02 | Fix harmless "unused parameter" compiler warnings. (check-in: 7a68a3ead8 user: drh tags: trunk) | |
18:10 | Improved help messages for the --escape option in the CLI. (check-in: e6784af6d5 user: drh tags: trunk) | |
15:57 | Enhancements to help avoid problems in the CLI when trying display content that contains ANSI escape codes: (1) Add the --escape MODE option to the CLI where MODE is one of "symbol", "ascii", "off" where the default is "symbol". (2) Add the unistr() SQL function. (3) Add the unistr_quote() SQL function. (4) Add the %#Q and %#q conversions in the built-in printf. (check-in: e3e509ae14 user: drh tags: trunk) | |
15:27 | Reinstate the assert() removed by [0f6223b8]. Avoid holding a wal-mode write lock after the transaction has been rolled back if an IO error occurs while restarting the wal file. (check-in: 277e150d6a user: dan tags: trunk) | |
12:18 | Small performance improvement for the new %#Q conversion in printf. (Closed-Leaf check-in: 17e440781e user: drh tags: unistr) | |
11:47 | Consolidate two different UTF8 encoders into a single subroutine. (check-in: 6208e49485 user: drh tags: unistr) | |
11:29 | Remove an assert() added by [e88212b1] that is sometimes false. (check-in: 0f6223b8f6 user: dan tags: trunk) | |
2025-02-24
| ||
21:27 | Support SQLITE_ENABLE_SETLK_TIMEOUT on windows. (check-in: e88212b10a user: dan tags: trunk) | |
20:13 | Use an assert() to fix a harmless (false-positive) scan-build warning in the CLI. (check-in: 4c56cd7392 user: drh tags: unistr) | |
17:50 | Only use unistr() in columnar formats when strictly needed. Do not use unistr() in insert mode when --escape is off. More test cases. (check-in: e029828de9 user: drh tags: unistr) | |
13:51 | Add the unistr_quote() function that works like quote(), but also escape control characters using unistr() if necessary. (check-in: e99e37b54b user: drh tags: unistr) | |
13:27 | Bug fix and initial test-case infrastructure for control-character escaping in the CLI. (check-in: c809997792 user: drh tags: unistr) | |
12:41 | Ongoing work to get all the quoting and escaping variations in the CLI working correctly. (check-in: b77aea93e7 user: drh tags: unistr) | |