SQLite

Timeline
Login

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

50 most recent check-ins

2025-03-11
15:46
Avoid running test cases involving ANSI control characters or Unicode on Windows in a slave interpreter, as that combination does not work. (Leaf check-in: f6745a7355 user: drh tags: windows-ansi)
12:19
The substitute "puts" command used by the Windows implementation of sqlite3_analyzer must invoke fflush() after each line of output. Otherwise the output can be truncated when redirected into a file. (Leaf check-in: ba058ce90a user: drh tags: trunk)
11:24
Teach testrunner.tcl to distinguish Cygwin from Windows. This gets it running but then all downstream tests fail, at least in part because of the build target name discrepancies between the platform which requires .exe and those which do not. (Leaf check-in: 2861788e47 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:/forumpost/0a556d619b|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)
17:28
Add an explicit db close to test/walsetlk.test to work around an unjustified test failure on Windows when the walsetlk tests are run in the same invocation of testfixture.exe in Windows. (check-in: f418de1093 user: stephan tags: trunk)
15:35
Patch an unnecessary size_t-to-int conversion which warns on some compilers. (check-in: 8681dfdb59 user: stephan tags: cygwin-fixes)
15:27
Ensure that the 'clean' target for Makefile.msc cleans up the testdir dir, analog to how the canonical makefile works, as stale files there have been leading to test failures. (check-in: a591c01855 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)
14:10
Tweak [6f24da264cf8d] so that it has no side-effects on autoconf/Makefile.msc. (check-in: d3d322f122 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. (Leaf 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:/forumpost/a860f5fb2e|forum post a860f5fb2e]. (check-in: d7013b6393 user: drh tags: trunk)
09:54
Add tf.bat target to Makefile.msc to facilitate running of individual test scripts via testfixture.exe. (check-in: 6f24da264c user: stephan tags: cygwin-fixes)
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:49
Cygwin-centric test script tweaks from Jan Nijtmans. (check-in: 9868615b7d user: stephan tags: cygwin-fixes)
13:38
Cygwin-centric fixes from Jan Nijtmans. (check-in: 205979813c user: stephan tags: cygwin-fixes)
09:29
Back out the most significant part of [5c28a17253e2f], as Cygwin is a hybrid. With SQLITE_OS_UNIX it will use POSIX locking, which will misinteract with apps using Windows-style locking. (check-in: 44adf8f387 user: stephan tags: trunk)
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)
07:09
Fix a tcl typo in the previous checkin which triggers an error on one machine but not another. (check-in: 646c2821ad user: stephan tags: trunk)
06:25
Have the configure script report cygwin as SQLITE_OS_UNIX instead of SQLITE_OS_WIN, per off-list discussion with Jan Nijtmans. (check-in: 5c28a17253 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:26
Update the recovery extension so that it works with encrypted databases. (check-in: b0b66f2115 user: dan 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)
13:39
Update Lemon so that it accepts filename arguments to directives like "%include". Ex: "<tt>%include &lt;./subdir/file-to-include.txt&gt;</tt>". This was capability needed by pikchr and backported here for safe keeping. SQLite does not need this capability, though it doesn't hurt to have it in tree. (Leaf check-in: 52b97a7ad5 user: drh tags: reuse-schema)
2025-03-04
21:37
Minor configure script cleanups which started out as cygwin-specific fixes but ended up just being minor platform-agnostic cleanups. (check-in: 2cda90410a user: stephan tags: trunk)
21:31
Roll back part of [6d87a8efe]: the check for tclsh90.exe (as opposed to tclsh9.0.exe) is incorrect on these platforms (it's an msvc build). Also remove an unused function added in that checkin. (Closed-Leaf check-in: dc84976a7c user: stephan tags: cygwin-fixes)
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)
19:38
Teach autosetup how to find tclsh v9.0 on cygwin. (check-in: 6d87a8efe5 user: stephan tags: cygwin-fixes)
17:06
Fix pointless comparison of an unsigned integer to less than zero in Lemon. (check-in: 559560da45 user: drh tags: reuse-schema)
07:29
Makefile doc updates. Remove a couple extraneous targets. No functional changes. (check-in: 5a3e22999f user: stephan tags: trunk)
06:29
Minor doc typo fixes via [forum:65bd941da8|forum post 65bd941da8]. (check-in: 6f6a03e93c user: stephan tags: trunk)
05:16
Document the EXTRA_SRC makefile var and add --amalgamation-extra-src=list to the canonical-build configure script as the formal way to pass that at configure-time. (check-in: 44de0ec29a 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. (Leaf check-in: 2033763007 user: drh tags: bedrock)
15:57
Merge the latest trunk enhancements into the wal2 branch. (Leaf check-in: 6baea938f0 user: drh tags: wal2)
15:53
Merge all the latest trunk enhancements into the begin-concurrent branch. (Leaf 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:606ea661df|forum post 606ea661df]. (check-in: 0554c00f32 user: stephan tags: trunk)
11:48
Minor configure script doc tweaks. This is also a note that the basic elements of the build run as-is on Haiku OS Beta 5 but the tcl bits do not (for lack of tclConfig.sh). (check-in: acf9babf0e user: stephan tags: trunk)
2025-03-02
20:29
Ensure that detection of control characters by comparison against 0x1f uses unsigned characters. [forum:/forumpost/4c344ca61f|Forum post 4c344ca61f]. (check-in: b7c5ce8421 user: drh tags: trunk)
2025-03-01
23:44
Use SQLITE_EXTRA_INIT_MUTEXED instead of SQLITE_EXTRA_INIT for the SQLITE_WASM_EXTRA_INIT feature, as suggested in [forum:14183b98fc0b1dea|forum post 14183b98fc0b1dea]. This doesn't make a functional difference now - this is in the name of future-proofing against eventual threading support in wasm. (check-in: 46479c2e30 user: stephan tags: trunk)
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)
05:01
Bring the autosetup-related bits up to par with trunk. (check-in: 47fe1c5978 user: stephan tags: branch-3.49)