SQLite
Timeline
Not logged in

50 most recent check-ins

2017-10-23
11:48
[c8b8b9b5] Leaf: In lsm (not SQLite), avoid opening the *-shm file before the database file is locked. Otherwise, there is a race condition whereby a connection in another process process may unlink() it while it is still in use. (user: dan, tags: trunk)
07:53
[c333ee7e] Leaf: Fix minor test script problems revealed by releasetest.tcl. (user: dan, tags: branch-3.21)
07:52
[15e87d9b] Fix minor test script problems revealed by releasetest.tcl. (user: dan, tags: trunk)
2017-10-22
08:03
[9474f061] Fix test cases in dbpage.test so that they work with SQLITE_DEFAULT_AUTOVACUUM=1 builds. (user: dan, tags: branch-3.21)
08:02
[0fcf1e61] Fix test cases in dbpage.test so that they work with SQLITE_DEFAULT_AUTOVACUUM=1 builds. (user: dan, tags: trunk)
07:58
[6dde8d61] Avoid running tests that use sqlite_dbpage with SQLITE_OMIT_VIRTUAL_TABLE builds. (user: dan, tags: branch-3.21)
07:57
[7bd20a20] Avoid running tests that use sqlite_dbpage with SQLITE_OMIT_VIRTUAL_TABLE builds. (user: dan, tags: trunk)
2017-10-21
17:17
[fb3ee1b7] Merge all the enhancements and bug fixes from trunk, since none are destablizing. Call this the second beta. (user: drh, tags: branch-3.21)
14:17
[6ee8cb6a] Catch and avoid a 16-bit integer overflow on the number of columns in a common table expression. This fixes a problem found by OSS-Fuzz. The test case is in TH3. (user: drh, tags: trunk)
13:29
[6ec82acd] Remove unnecessary "#if SQLITE_MAX_COLUMN". SQLITE_MAX_COLUMN is always defined. (user: drh, tags: trunk)
12:59
[063a03a3] Leaf: Initial implementation of the appendvfs extension. Untested. (user: drh, tags: appendvfs)
2017-10-19
15:17
[04925dee] Take extra care to avoid an OOB read caused by a corrupt b-tree page. This fixes a problem detected by Natalie Silvanovich of Google Project Zero. (user: dan, tags: trunk)
2017-10-18
15:02
[cd0471ca] Avoid using snprintf as a member variable of a struct in sqlite3ext.h. This causes problems on OSX. Similar to fix [a1fd3aa8]. (user: dan, tags: trunk)
14:29
[b066d5a6] Closed-Leaf: Avoid using snprintf as a member variable of a struct in sqlite3ext.h. This causes problems on OSX. (user: dan, tags: sqlite3ext-fix)
2017-10-17
18:33
[6a08c434] The source code files generated for the 'sqlite3-all.c' target should not have Windows line-endings. (user: mistachkin, tags: trunk)
13:44
[e2af0cc6] Fix the ".check" command of the command-line shell to return 1 (error) rather than 2 (exit) on a test failure. (user: drh, tags: trunk)
2017-10-16
11:50
[700a3c69] Improved comments, including a typo fix, on the whereLoopCheaperProperSubset() function. (user: drh, tags: trunk)
2017-10-15
22:16
[ee31c043] In the query planner, do not consider index X to be a proper subset of index Y if X is a covering index but Y is not. (user: drh, tags: trunk)
2017-10-14
19:58
[92eb721f] Updates to the Makefiles for MSVC. Cherrypick of [ac8786f3f9f35cb6]. (user: mistachkin, tags: branch-3.21)
19:54
[ac8786f3] Updates to the Makefiles for MSVC. (user: mistachkin, tags: trunk)
2017-10-13
20:14
[d65d1f29] Improved ability to generate stand-alone program using TCL and SQLite by compiling with -DTCLSH_INIT_PROC=name to cause the TCL interpreter to be initialized using procedure name(). Both sqlite3_analyzer and testfixture are now built this way. (user: drh, tags: trunk)
18:58
[298a3fdd] Add the tcl/mkccode.tcl script used to construct a single C-language source fiel for programs that combine C-code, SQLite, and TCL. Use this script to construct the sqlite3_analyzer program. (user: drh, tags: trunk)
16:24
[e38571d5] Leaf: Fix main.mk to name the win32 executable "sqlite3_expert.exe", not "sqlite3_expert". (user: dan, tags: schemalint)
16:19
[a9c4bc88] Move a bunch of unrelated test code out of tclsqlite.c and into test_*.c files. There is still some test code in tclsqlite.c, but the amount is greatly reduced. (user: drh, tags: trunk)
16:01
[ea2fa9ab] Closed-Leaf: The db_use_legacy_prepare command no longer exists. Use the undocumented -use-legacy-prepare option to DB version instead. (user: drh, tags: tclsqlite-cleanup)
15:56
[bf86478d] When compiling with SQLITE_TEST, extra options are available on the "DB version" command for controlling the internal state of the SqliteDb object, for testing purposes. (user: drh, tags: tclsqlite-cleanup)
15:06
[95b7687f] Move some test logic out of tclsqlite.c and into auxiliary test_*.c files. This is a work in progress. (user: drh, tags: tclsqlite-cleanup)
14:20
[4c68ad7d] Update main.mk to build the sqlite3_expert program with -DSQLITE_THREADSAFE=0 and -DSQLITE_OMIT_LOAD_EXTENSION. To minimize dependencies. (user: dan, tags: schemalint)
2017-10-12
20:37
[eaeeb09d] Add the sqlite_dbpage virtual table (enabled using SQLITE_ENABLE_DBPAGE_VTAB). Make that virtual table and dbstat available to the command-line shell. (user: drh, tags: trunk)
20:24
[4ec63ef2] Fix the EXPLAIN processing so that it returns SQLITE_ERROR on an OOM, as it should. (user: drh, tags: schemalint)
19:50
[dfdebd12] Closed-Leaf: Create the new ext/repair folder and move checkfreelist.c there. Remove checkfreelist.c from the command-line shell (undoing check-in [48418f2e]). (user: drh, tags: dbpage)
15:28
[d1ef9eab] Closed-Leaf: Add the experimental "sqlite_expert" extension. Used to find index definitions that might help with specified SQL queries. (Later:) Parked on a dead-end branch due to an assertion fault in TH3. We will merge again after the bug is fixed. (user: dan, tags: withdrawn)
14:18
[de20133d] Fix a harmless compiler warning about an unused parameter. (user: drh, tags: branch-3.21)
14:13
[d325da6c] Update this branch to match latest trunk. (user: dan, tags: schemalint)
14:13
[c643ace2] Fix the "snapshot-tarball" makefile target, which was broken by the shell.c change of check-in [36acc0a9]. (user: drh, tags: branch-3.21)
14:03
[1fb87a0c] Merge fixes from trunk. All changes are on makefiles and test scripts. There are no core code changes. (user: drh, tags: branch-3.21)
13:47
[36acc0a9] The src/shell.c file is now generated from src/shell.c.in, so remove shell.c from version control and update the makefiles to build it automatically. (user: drh, tags: trunk)
13:21
[29292169] Merge fixes from the 3.21 branch. (user: drh, tags: trunk)
11:33
[c36761e1] Fix a potential crash that may follow an OOM or other system error in the shell tool. (user: dan, tags: trunk)
11:13
[4b68f424] Update some test cases to work with SQLITE_OMIT_VIRTUALTABLE and DEFAULT_AUTOVACUUM builds. (user: dan, tags: trunk)
10:28
[5d0ceb8d] Make sure the tableColumnList() routine of the command-line shell does not cause a null-pointer dereference in an error condition. (user: drh, tags: branch-3.21)
01:24
[18d4654f] Merge fixes from the 3.21 branch. (user: drh, tags: dbpage)
01:19
[f0a2724f] Fix a typo in a numeric constant in an assert() - a bug that has been present in the code since check-in [79e22b95038] on 2010-03-30. (user: drh, tags: branch-3.21)
2017-10-11
20:27
[5c4980ef] Add test file mmapwarm.test. With tests for the sqlite3_mmap_warm() extension. (user: dan, tags: trunk)
20:26
[2719cf5c] Merge latest trunk changes with this branch. (user: dan, tags: schemalint)
20:10
[58e42cfd] Change some internal details to bring this branch closer to the code on trunk. (user: dan, tags: schemalint)
18:26
[48418f2e] Add the checkfreelist extension to the command-line shell. (user: drh, tags: dbpage)
18:21
[4e894062] Check that the leaf count on each freelist trunk page is in range as part of checkfreelist processing. (user: dan, tags: dbpage)
18:00
[21930ef5] Add new extension "checkfreelist", which uses sqlite_dbpage to check that there are no invalid entries on the database free-list. (user: dan, tags: dbpage)
17:51
[497409e1] Convert the implementation of the ".dbstat" dot-command of the command-line shell to use the sqlite_dbpage table. (user: drh, tags: dbpage)