SQLite
Timeline
Not logged in

200 most recent check-ins using file ext/misc/series.c version f3c0dba5

2017-11-17
21:01
[723f1be3] Leaf: Improved fix for ticket [da78413751863] that does not require disabling the query flattener as was done in [005d5b870625]. This also makes the code generator for vector IN operators a little easier to understand. (user: drh, tags: trunk)
20:22
[e2b3e335] Leaf: Add missing entry for SQLITE_IOERR_VNODE to the switch statement in sqlite3ErrName(). (user: dan, tags: apple-osx)
20:16
[97ab1efe] Add an 'extern "C"' wrapper to sqlite3_private.h. (user: dan, tags: apple-osx)
20:10
[32f5f461] Merge test script fixes from trunk into this branch. (user: dan, tags: apple-osx)
20:07
[c21406ab] Add some missing "finish_test" lines to the end of test scripts. (user: dan, tags: trunk)
17:32
[00c32831] New assert() statements in the rowvalue IN expression processing. (user: drh, tags: trunk)
15:02
[071cabd2] Clarification of comments on sqlite3FindInIndex(). No changes to code. (user: drh, tags: trunk)
13:23
[162c7543] Merge latest changes from trunk, including the temporary db/ATTACH/master-journal fix. (user: dan, tags: apple-osx)
13:21
[93e012a3] Do not count temporary databases that have been attached using ATTACH when figuring out if a master-journal file is required by a transaction. (user: dan, tags: trunk)
08:20
[355d1232] Closed-Leaf: Avoid creating a master journal if all or all but one of the databases in the transaction is a temp file. (user: dan, tags: master-journal-temp-files)
2017-11-16
20:48
[5ffec5db] In the LSM extension, ensure that empty space on pages is zeroed before they are written to disk. This helps with compressed databases, and stops valgrind complaining about uninitialized bytes and write(). (user: dan, tags: trunk)
19:17
[85247880] Merge the latest changes, and the stmtvtab1.test fix, from trunk. (user: drh, tags: apple-osx)
19:04
[e0b5c058] Add a missing "finish_test" to the end of the stmtvtab1.test script. (user: drh, tags: trunk)
2017-11-15
19:14
[1ca3b8cc] Futher improvements to the .testctrl interface in the shell. (user: drh, tags: trunk)
17:07
[5d66219c] UI improvements on the .testctrl dot-command in the shell. (user: drh, tags: trunk)
16:29
[1a1a73b8] Leaf: Merge all the latest changes from trunk. (user: drh, tags: appendvfs)
2017-11-14
23:48
[3925facd] In the parse tree, combine LIMIT and OFFSET into a single expression rooted on a TK_LIMIT node, for a small code size reduction and performance increase, and a reduction in code complexity. (user: drh, tags: trunk)
21:06
[adf83060] Fix a typo that prevented successful builds on macs. (user: drh, tags: apple-osx)
20:36
[8c2a769c] Merge the patch that enables reading a read-only WAL-mode database, without any special query parameters, as long as the -shm and -wal files are on disk. (user: drh, tags: apple-osx)
20:06
[d90e5f34] Leaf: Merge changes from trunk. This fixes the SQLITE_ENABLE_UPDATE_DELETE_LIMIT functionality so that it works with views and WITHOUT ROWID tables. (user: dan, tags: begin-concurrent)
20:00
[1754faef] Merge all changes from trunk prior to the read-only WAL enhancement. (user: drh, tags: apple-osx)
19:34
[00ec95fc] Add the ability to read from read-only WAL-mode database files as long as the -wal and -shm files are present on disk. (user: drh, tags: trunk)
17:06
[dae4a97a] Fix the SQLITE_ENABLE_UPDATE_DELETE_LIMIT functionality so that it works with views and WITHOUT ROWID tables. (user: dan, tags: trunk)
03:42
[486949fc] Closed-Leaf: Improvement to a comment. No changes to code. (user: drh, tags: readonly-wal-recovery)
2017-11-13
05:51
[9c6b38b9] Remove some branches in walTryBeginRead() that were added by check-in [ce5d13c2de] but became unreachable with the addition of logic in check-in [18b26843] that enabled read-only clients to parse the WAL file into a heap-memory WAL-index, thus guaranteeing that the WAL-index header is always available. (user: drh, tags: readonly-wal-recovery)
2017-11-11
20:11
[13ec8a77] In wal.c: improved comments, new assert() and testcase() macros, and replace some magic numbers with appropriate symbolic constants. (user: drh, tags: readonly-wal-recovery)
13:30
[34638800] Further comment improvements in wal.c. No code changes. (user: drh, tags: readonly-wal-recovery)
2017-11-10
20:13
[72be33f9] Closed-Leaf: Omit some extra code from non-SQLITE_ENABLE_UPDATE_DELETE_LIMIT builds. (user: dan, tags: update-delete-limit-fix)
20:00
[d3c25740] Improved comments and variable names in the read-only WAL logic. (user: drh, tags: readonly-wal-recovery)
17:47
[f8c4e33f] Add further tests for the code on this branch. (user: dan, tags: update-delete-limit-fix)
16:14
[09f94c2c] Fix a problem involving "DELETE/UPDATE...LIMIT" statements that use an INDEXED BY clause. (user: dan, tags: update-delete-limit-fix)
15:42
[35477a3d] Fix a problem with (DELETE...LIMIT) statements against WITHOUT ROWID tables with a single column PK. (user: dan, tags: update-delete-limit-fix)
12:41
[3711ef23] Fix harmless compiler warning seen with MSVC. (user: mistachkin, tags: trunk)
2017-11-09
23:24
[5a384be6] Avoid superfluous SHM unlock call in the Win32 VFS. (user: mistachkin, tags: readonly-wal-recovery)
22:25
[a2908e2c] Cleanup superfluous whitespace changes. (user: mistachkin, tags: readonly-wal-recovery)
22:23
[d0997b0f] Revise and vastly simplify the Win32 SHM file locking semantics, allowing all new tests to pass. (user: mistachkin, tags: readonly-wal-recovery)
20:37
[22e58330] Add an assert() in the Win32 VFS. (user: mistachkin, tags: readonly-wal-recovery)
20:34
[ff630b66] Enhance walro2.test to better ensure that readonly_shm clients are not using invalid *-shm files. (user: dan, tags: readonly-wal-recovery)
20:02
[abef0535] Get read-only SHM file tests passing on Win32. (user: mistachkin, tags: readonly-wal-recovery)
19:53
[584b88aa] Add SQLITE_ENABLE_UPDATE_DELETE_LIMIT for views and WITHOUT ROWID tables. (user: dan, tags: update-delete-limit-fix)
18:53
[43c31170] Further corrections to read-only SHM file handling on Win32. (user: mistachkin, tags: readonly-wal-recovery)
18:21
[3a91be97] Corrections to Win32 lock detection for SHM files. (user: mistachkin, tags: readonly-wal-recovery)
17:29
[0b26a5a2] Corrections to the Win32 porting changes on this branch. (user: mistachkin, tags: readonly-wal-recovery)
17:29
[0a7d416c] Make it possible to use OSTRACE for multi-process testing. (user: mistachkin, tags: readonly-wal-recovery)
16:30
[3738bfd0] Initial work on porting the changes on this branch to Win32. (user: mistachkin, tags: readonly-wal-recovery)
03:55
[62fe56b5] Disallow ORDER BY and LIMIT on UPDATE and DELETE of views and WITHOUT ROWID tables. This is a temporary fix for ticket [d4beea1633f1b88f] until a better solution can be found. (user: drh, tags: trunk)
2017-11-08
19:26
[033ee92b] Extra comments on the sqlite3OsShmMap() call in walBeginUnlocked(). No changes to code. (user: drh, tags: readonly-wal-recovery)
17:51
[04974a8b] Turns out that SQLITE_READONLY_CANTLOCK is an historical name that must be preserved. So make a new SQLITE_READLOCK_CANTINIT name instead. (user: drh, tags: readonly-wal-recovery)
17:32
[6d7f94fa] Change the name of SQLITE_READONLY_CANTLOCK to SQLITE_READONLY_CANTINIT. (user: drh, tags: readonly-wal-recovery)
11:14
[1bc2d046] Fix a problem causing LSM to add unnecessary padding to empty segments in compressed databases. (user: dan, tags: trunk)
02:50
[db8f22d0] Improved comments used for documentation of sqlite3_vfs. No changes to code. (user: drh, tags: trunk)
2017-11-07
21:25
[94527b89] Update an assert in wal.c. (user: dan, tags: readonly-wal-recovery)
21:15
[5a6703fc] Handle the race condition that may occur if another process connects and then checkpoints and truncates the wal file while a readonly-shm client is building its heap-memory wal-index. (user: dan, tags: readonly-wal-recovery)
19:02
[31932a9e] Fix handling of partial indexes in checkindex.c (sqlite3_checker). (user: dan, tags: trunk)
18:20
[292a0408] Fix a problem causing an INDEXED BY specifying an unusable partial index to be mishandled. (user: dan, tags: trunk)
16:54
[dc217b7c] Add the --trace option to the sqlite3_checker utility program. (user: drh, tags: trunk)
16:23
[32e2520c] Enhance the checkindex.c virtual table so that it will output the index_name and after_key parameters. Also add a new diagnostic output column named scanner_sql which shows the SQL statement used to implement the current index scan. (user: drh, tags: trunk)
15:43
[ba718754] On unix, if the *-shm file cannot be opened for read/write access, open it read-only and proceed as if the readonly_shm=1 URI option were specified. (user: dan, tags: readonly-wal-recovery)
09:08
[a7d949fb] Add fault-injection tests for the code on this branch. (user: dan, tags: readonly-wal-recovery)
2017-11-06
20:02
[7f217eda] Merge latest trunk changes into this branch. (user: dan, tags: begin-concurrent)
19:49
[71af9acb] Add further test cases for the new code on this branch. And a couple of fixes. (user: dan, tags: readonly-wal-recovery)
10:04
[0fb6d91c] Allow "BEGIN CONCURRENT" transactions to modify the temp schema. (user: dan, tags: begin-concurrent)
09:34
[66d98310] Fix a harmless compiler warning from Xcode 9.1. (user: drh, tags: trunk)
2017-11-04
21:06
[a6716fcd] Add further tests for the code added on this branch. (user: dan, tags: readonly-wal-recovery)
18:10
[18b26843] In cases where a readonly_shm client cannot take the DMS lock on the *-shm file, have it parse the wal file and create a wal-index to access it in heap memory. (user: dan, tags: readonly-wal-recovery)
08:53
[51ee5188] Fix an LSM problem with read-only connections and compression (not compression-factory) callbacks. (user: dan, tags: trunk)
2017-11-03
19:34
[cbec1bfe] Leaf: Fix some comments in new code on this branch. No changes to code. (user: dan, tags: fcntl_shm_read)
17:51
[585e0a09] Merge latest trunk changes with this branch. (user: dan, tags: fcntl_shm_read)
17:17
[9b0d5c4f] Allow readonly_shm connections to access the *-shm file using read() even if it is unable to take a DMS lock. (user: dan, tags: fcntl_shm_read)
08:46
[29ec855e] The extensions functions in spellfix are all deterministic. (user: drh, tags: trunk)
06:45
[d088c5a3] Fix harmless compiler warnings. (user: mistachkin, tags: trunk)
2017-11-02
18:57
[f569c351] Fix test cases in wal2.test broken by the locking change in the previous commit. (user: dan, tags: readonly-wal-recovery)
11:12
[5190d84a] Avoid locking shm-lock WAL_READ_LOCK(0) during recovery. Doing this allows recovery to proceed while a readonly_shm connection in unlocked mode has an ongoing read transaction. (user: dan, tags: readonly-wal-recovery)
2017-11-01
20:59
[ce5d13c2] If a readonly_shm connection cannot map the *-shm file because no other process is holding the DMS lock, have it read from the database file only, ignoring any content in the wal file. (user: dan, tags: readonly-wal-recovery)
19:58
[491f867b] Fix harmless compiler warnings in sqlite3_checker.exe (user: drh, tags: trunk)
19:50
[a946a8ed] Make sure the JSON1 extension is available to sqlite3_checker.exe (user: drh, tags: trunk)
19:44
[0c5d18a0] Add the checkindex.c extension and the sqlite3_checker utility program used for doing live validation of large databases. (user: drh, tags: trunk)
19:22
[c1641aff] Closed-Leaf: Adjust page numbers in the ext/repair/test/checkfreelist01.test module due to the fact that the pending-byte page is no longer shifted down to a low-numbered page but is in its rightful place. (user: drh, tags: checkindex)
18:31
[0593a2ba] Add the "sqlite3_imposter DB SCHEMA ROOT SQL" command to sqlite3_checker. Use it to fix the checkindex01.test module. There are still errors reported by the checkfreelist01.test module. (user: drh, tags: checkindex)
18:05
[17f8d5e1] Move the test scripts for checkfreelist and checkindex over into the ext/repair/test directory. Run them now using the sqlite3_checker utility with the --test option. Some tests are currently failing due to an incomplete port. This is an incremental check-in. (user: drh, tags: checkindex)
13:09
[3ca31cc3] Minor cleanup in checkindex.c. Add progress displays when checking a single index in the top-level TCL script for sqlite3_checker. (user: drh, tags: checkindex)
07:06
[985bfc99] Merge latest trunk changes into this branch. (user: dan, tags: readonly-wal-recovery)
06:59
[d655bfab] Fix a race condition in os_unix.c that might allow a client to use a *-shm file corrupted by a power failure if another client fails between locking the *-shm file and truncating it to zero bytes. (user: dan, tags: readonly-wal-recovery)
01:05
[6ffe917d] When sqlite3_checker finds a problem, show the row key as part of the error message, not the row index number. (user: drh, tags: checkindex)
01:01
[54530020] Actually perform index checks when running sqlite3_checker (user: drh, tags: checkindex)
00:10
[e82e883b] Begin putting functionality into the sqlite3_checker binary. (user: drh, tags: checkindex)
2017-10-31
18:15
[24adf90f] Merge all recent enhancements from trunk. (user: drh, tags: checkindex)
18:09
[0c22f0d6] Add the checkfreelist extension to the sqlite3_checker binary. (user: drh, tags: checkindex)
15:55
[49d0c6f1] Fix an error in the Makefile.msc for the sqlite3_checker.exe target. (user: drh, tags: checkindex)
15:49
[429e3c3c] Add build infrastructure for the sqlite3_checker command-line utility. (user: drh, tags: checkindex)
14:56
[bb39744f] Update the built procedures for the sqlite3_analyzer utility to allow it to be linked with an external sqlite3.o library. Automatically detect a missing dbstat extension and report the compile-time error. (user: drh, tags: trunk)
12:20
[bf09fa68] Fix redundancies in the makefiles that resulted from moving shell.c over to shell.c.in. (user: drh, tags: trunk)
12:06
[5f79e6d9] Fix a minor comment typo. No changes to code. (user: drh, tags: trunk)
12:01
[2aef4181] Fix a couple of issues in incremental_index_check to do with CREATE INDEX statements that contain embedded SQL comments. (user: dan, tags: checkindex)
03:40
[1c80c75d] Remove unnecessary NEVER() and ALWAYS() conditionals. (user: drh, tags: trunk)
2017-10-30
23:25
[f6304fd1] Add the showshm utility program for printing out the shm header in a human-readable format. (user: drh, tags: trunk)
20:44
[3be3aad9] Clarify some comments describing the WAL index file. No changes to code. (user: drh, tags: trunk)
19:38
[8c1c701f] Add support for indexes on expressions to incremental_index_check. (user: dan, tags: checkindex)
18:49
[37284d4e] Improve the performance of the LIKE operator by using strcspn() to aid wildcard matching. (user: drh, tags: trunk)
18:26
[4d336d74] Closed-Leaf: Speed up wildcard searches in LIKE using strchr() (user: drh, tags: like-compare-opt)
17:05
[940606b3] In checkindex.c, use C code instead of SQL/group_concat() to compose various SQL clauses. This is to make it easier to support indexes on expressions. (user: dan, tags: checkindex)
08:04
[3ebb2351] Fix an issue in incremental_index_check with indexes that use non-default collation sequences. (user: dan, tags: checkindex)
2017-10-28
20:54
[457eedfa] Increase the version number for the next release - which is still months away but there have been significant query planner enhancements since the previous release. (user: drh, tags: trunk)
20:51
[d17ef7d1] Reactivate query flattening when the result set of the outer query has no function calls or subqueries. This is a partial reversal of check-in [c9104b59]. Co-routines are still preferred if the outer query has a complex result set, but for simple results sets, query flattening is used. Check-in [4464f40ccd7] is completely backed out due to this change. (user: drh, tags: trunk)
20:31
[c40c3c62] Fix "after" parameter handling in the incremental_index_check code. (user: dan, tags: checkindex)
12:20
[689743d8] Add test cases from OSSFuzz to prevent a regression in co-routine processing. (user: drh, tags: trunk)
2017-10-27
23:28
[0926df09] Closed-Leaf: I was a little concerned about this check-in. Though I could not generate a failure myself, I thought it was risky. I checked it in for further testing. Then, overnight, OSSFuzz found a failure case for me. So the change is now moved out into a deadend branch. Was: Use OP_SCopy rather than OP_Copy to transfer results from a co-routine to its consumer. This undoes an earlier fix for ticket [98825a79ce] by check-in [ec6a06246e] because that problem no longer occurs due to WHERE clause push-down. (user: drh, tags: mistake)
20:53
[d5b9dada] Add the start of the "incremental_index_check" virtual table in ext/repair/checkindex.c. For incremental verification of index contents. (user: dan, tags: checkindex)
18:24
[c063bb04] Fix a Pager ref-count leak in the sqlite_dbpage virtual table. (user: drh, tags: trunk)
17:09
[c8aaf371] Handle the Ctrl-C event for the shell on Win32. (user: mistachkin, tags: trunk)
12:27
[8d3cc928] Additional test case demonstrating the ability to access structure elements using quoted names in the JSON1 extension. (user: drh, tags: trunk)
2017-10-26
20:04
[6caec908] Enhance the min/max optimization so that it works with indexes on expressions. (user: drh, tags: trunk)
18:43
[6fbf74ab] Extra ".selecttrace" output following aggregate analysis. No changes to production builds. (user: drh, tags: trunk)
17:34
[f71dfee0] Fix an error in the previous commit on this branch. (user: dan, tags: readonly-wal-recovery)
17:05
[5492f457] Instead of extra locks, use F_GETLK to ensure that readonly_shm clients cannot connect to a wal-mode database if there are no writers. (user: dan, tags: readonly-wal-recovery)
15:21
[e1faa785] Fix a bug causing "make amalgmation-autoconf" to create an invalid package if either the current or parent directory contains a file named install.sh or install-sh. (user: dan, tags: trunk)
2017-10-25
23:28
[35d97908] Use extra locks to prevent a readonly_shm=1 process from connecting to a WAL-mode database if there are no writers. (user: drh, tags: readonly-wal-recovery)
19:18
[d4f893e1] Fix the sqlite3_dbpage virtual table so that it can read and write from any attached database. (user: drh, tags: trunk)
18:17
[d6130cd2] Add tests cases and fix minor issues in the rtreecheck() function. (user: dan, tags: trunk)
18:01
[7d264980] Add SQL scalar function rtreecheck() to the rtree module. For running checks to ensure the shadow tables used by an rtree virtual table are internally consistent. (user: mistachkin, tags: trunk)
18:00
[61870b42] Closed-Leaf: Fix compilation issue (C99-ism) seen with MSVC. (user: mistachkin, tags: rtree-integrity-check)
16:38
[dde0bb3e] Add SQL scalar function rtreecheck() to the rtree module. For running checks to ensure the shadow tables used by an rtree virtual table are internally consistent. (user: dan, tags: rtree-integrity-check)
16:14
[adfa7ed2] Do not reference the ioctl() system call in the unix backend unless it is actually needed by the Batch Atomic Write extension. This should allow the build to work on VxWorks. (user: drh, tags: trunk)
01:34
[1e30f477] Add the sqlite_btreeinfo eponymous-only table for introspecting the schema and estimating the sizes of various btrees. (user: drh, tags: trunk)
2017-10-24
21:17
[b76bffd3] Force the autoconf makefile for MSVC to always use the 'find.exe' included with Windows. (user: mistachkin, tags: trunk)
19:12
[13be3a44] Merge all enhancements and fixes from the 3.21.0 release. (user: drh, tags: apple-osx)
19:05
[5ab662b4] Merge all of the fixes from the 3.21.0 release. (user: drh, tags: trunk)
18:55
[1a584e49] Leaf: Version 3.21.0 (user: drh, tags: release, branch-3.21, version-3.21.0)
17:28
[41ef34a1] Fix a problem in the incr-blob code causing a new cursor to be opened for every sqlite3_blob_reopen() call. (user: dan, tags: branch-3.21)
2017-10-23
21:24
[54b90b4f] On the amalgamation package, enable the sqlite_dbpage virtual table so that the .dbinfo command works in the CLI. (user: drh, tags: branch-3.21)
20:20
[f632b870] Merge trunk fixes to swarmvtabfault.test and the lsm extension into this branch. No changes to core SQLite code. (user: dan, tags: branch-3.21)
20:17
[f317037b] In the 'swarmvtabfault' test module, make sure to close the database handle prior to raising an error from the 'not found' callback script. (user: mistachkin, tags: trunk)
17:36
[e1bf5e1d] Cleanup a test database file prior to using it. (user: mistachkin, tags: trunk)
16:34
[04813307] Updates to test procedures so that they all work with encryption. No changes to the core SQLite code. (user: drh, tags: branch-3.21)
16:03
[58e5bb49] Avoid passing a NULL value as the second argument to memcpy(). (user: dan, tags: branch-3.21)
11:48
[c8b8b9b5] 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] 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] 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)
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)
17:50
[31eee0e4] Make JSON1 defines consistent in the makefiles for MSVC. (user: mistachkin, tags: branch-3.21)
17:25
[79c96121] Enable JSON by default in the Windows command-line shell sqlite3.exe. (user: drh, tags: branch-3.21)
17:13
[01bf856c] Enable sqlite_dbpage and dbstat virtual tables in the shell, by default. (user: drh, tags: dbpage)
15:02
[a8b264d8] Get writes working on the sqlite_dbpage virtual table. Add a few test cases. (user: drh, tags: dbpage)
13:48
[c2c1d656] Initial implementation of the "sqlite_dbpage" virtual table. Currently it is read-only and has a place-holder xBestIndex. (user: drh, tags: dbpage)
12:20
[0245adff] In the speed-check.sh test script, allow an additional test-name argument which becomes the comparison baseline, in place of "trunk". (user: drh, tags: trunk)
11:12
[0f160a8a] Create a branch for the 3.21.0 release. Development continues on trunk. (user: drh, tags: branch-3.21)
2017-10-10
20:11
[63955442] Leaf: Add new extension "bgckpt" in ext/misc/bgckpt.c. For experimenting with running wal2 mode checkpoints in a background thread. (user: dan, tags: wal2)
13:37
[b8c1b5a5] DROP TABLE now works for WITHOUT ROWID tables and the SQLITE_OMIT_AUTOVACUUM compile-time option. Fix for ticket [e651b1341861d6] (user: drh, tags: trunk)
2017-10-09
19:50
[d218d815] Merge latest trunk changes with this branch. (user: dan, tags: wal2)
19:49
[9c80cd20] Add a header comment to wal.c describing the differences between wal and wal2 mode. (user: dan, tags: wal2)
2017-10-08
02:22
[5594a121] Fix harmless compiler warnings in FTS5 seen with MSVC. (user: mistachkin, tags: trunk)
2017-10-07
23:58
[39d920d1] Fix harmless compiler warning seen with MSVC. (user: mistachkin, tags: trunk)
23:35
[63d1b425] Revise variable declaration moved in the previous check-in so sqlite3VdbeReset() is consistent with sqlite3VdbeRewind(). (user: mistachkin, tags: trunk)
23:31
[14b181e8] Fix C99-style variable declaration issue seen with older versions of MSVC. (user: mistachkin, tags: trunk)
19:55
[f7360fad] Ignore the *-wal2 file if the *-wal file is zero bytes in size. (user: dan, tags: wal2)