SQLite
Timeline
Not logged in

6281 descendants and 11077 ancestors of [71effa59]

2016-12-07
21:35
[28883e8f] Leaf: Add the sqlite3VdbeAppendP4() method for adding P4 content to the most recently coded instruction. (user: drh, tags: trunk)
20:22
[3954f837] The use P4_DYNAMIC in place of the P4_MPRINTF operand type. (user: drh, tags: trunk)
20:09
[04716c90] Performance optimization for sqlite3VdbeAddOp4(). (user: drh, tags: trunk)
17:06
[24574a15] Put the SQLITE_UNTESTABLE compile-time option in the correct order for PRAGMA compile_options. (user: drh, tags: trunk)
15:49
[f3608187] Rename the SQLITE_OMIT_BUILTIN_TEST compile-time option to SQLITE_UNTESTABLE. (user: drh, tags: trunk)
15:38
[433d16ff] Prevent the flattening or where-term push-down optimizations from obscuring misuses of SQL row values that can lead to crashes or assert() failures. (user: dan, tags: trunk)
13:49
[afab1663] Always honor the sqlite3.dbOptFlags bitmask, regardless of compile-time options. Continuing fix for ticket [da78413751863]. (user: drh, tags: trunk)
07:46
[391344d8] Leaf: Merge latest trunk changes into this branch. (user: dan, tags: changebatch)
2016-12-06
22:47
[2a81763e] Performance improvement and size reduction in the Expr node allocator function sqlite3PExpr(). (user: drh, tags: trunk)
19:33
[0820f8b3] Add missing nul-terminator to a Tcl_AppendResult() call in tclsqlite.c. (user: dan, tags: trunk)
17:59
[e8247065] In the LEMON parser-generator, fix the stack overflow processing so that it correct invokes the destructor on the top-level of the parse stack. (user: drh, tags: trunk)
2016-12-05
20:16
[b4bc40d1] Fix a harmless redundant local variable declaration in the date/time function logic. (user: drh, tags: trunk)
20:06
[8df492c1] Work around a bug in the definition of "ino_t" on some versions of Android. (user: drh, tags: trunk)
2016-12-02
19:07
[6e144735] Simplify the date/time function logic for improved rebustness and also to decrease the size of the binary. (user: drh, tags: trunk)
17:08
[768c9859] Extend the valid range of 'unixepoch' dates from JulianDay 0 through 9999-12-31. (user: drh, tags: trunk)
14:15
[3c58b173] Closed-Leaf: Fix a potential integer overflow during out-of-bound date computations. (user: drh, tags: date-overflow-fix)
02:19
[0bdb7ae1] Test cases for the improved LIKE/GLOB matcher. (user: drh, tags: trunk)
2016-12-01
19:58
[a427c405] Avoid clearing the EP_FromJoin flag from terms in ON clauses when flattening sub-selects. Possible fix for [2df0107b]. (user: dan, tags: trunk)
19:38
[8bed4cd5] Closed-Leaf: Avoid clearing the EP_FromJoin flag from terms in ON clauses when flattening sub-selects. Possible fix for [2df0107b]. (user: dan, tags: left-join-fix)
18:57
[2df0ebf9] Performance improvement for GLOB and LIKE matching for patterns with two or more multi-character wildcards ("*" or "%"). (user: drh, tags: trunk)
18:49
[a1e2b6ce] Closed-Leaf: Faster version of patternCompare() that uses new return values rather than an extra parameter to communicate wildcard information back up to parent searches. (user: drh, tags: pattern-compare-optimization)
17:34
[c5e5614d] Modify the patternCompare() function (used for GLOB, LIKE) to better handle patterns containing multiple wildcard characters ("*", "%"). (user: dan, tags: pattern-compare-optimization)
2016-11-30
16:54
[d2d30914] Add the remember(V,PTR) extension function which copies an SQL value into an application variable. (user: drh, tags: trunk)
16:39
[7ca58a07] Leaf: Merge all the latest changes from trunk. (user: drh, tags: est_count_pragma)
14:47
[3816bb41] Fix then handling of the (oversized) integer literal -0x8000000000000000. (user: drh, tags: trunk)
05:08
[9d0d8c2e] Change the OP_DecrJumpZero opcode back to its old behavior of always decrementing, except top the decrementing when it reaches the largest negative number. (user: drh, tags: trunk)
04:07
[1218005a] More improvements to boundary cases in the date/time functions, flowing out of branch coverage testing. (user: drh, tags: trunk)
01:05
[96106d56] Prevent a warning about integer overflow when using a very large negative LIMIT. (user: drh, tags: trunk)
00:48
[dc453b34] Further changes to the date/time functions to suppress harmless signed integer overflow warnings that could have occurred when doing out-of-range date calculations which, according to the docs, give undefined results. (user: drh, tags: trunk)
2016-11-29
20:39
[d410a839] The documentation says that the built-in date-time functions give undefined results for dates before 0000-01-01 and after 9999-12-31. Change the actually implementation so that the answer given is really NULL. This also avoids unnecessary hand-wringing over an signed integer overflow that might otherwise occur when processing out-of-bound dates. (user: drh, tags: trunk)
2016-11-28
21:22
[9021f687] Fix broken hyperlinks to the sqlite3_snapshot objection definition in the documentation. No changes to code. (user: drh, tags: trunk)
19:13
[bbd85d23] Leaf: Version 3.15.2 (user: drh, tags: release, branch-3.15, version-3.15.2)
14:52
[7cc2d60d] Simplify some code in fts5_expr.c. Add some extra test cases for the same. (user: dan, tags: trunk)
2016-11-26
20:44
[41a3af54] Leaf: Merge all recent trunk changes, and especially the new sqlite3_snapshot_recover() interface. (user: drh, tags: apple-osx)
20:12
[d6a7bf80] Update test case for opening SHM files read/write on a read-only connection so that they are only attempted on Darwin with SQLITE_ENABLE_PRESIST_WAL. (user: drh, tags: apple-osx)
19:44
[b70c85ce] Add the sqlite3_snapshot_recover() interface and related functionality. (user: drh, tags: trunk)
2016-11-25
20:20
[a4205a83] Clarification of the behavior of sqlite3_stmt_readonly() on BEGIN IMMEDIATE statements. The is comment changes only - no changes to code. (user: drh, tags: trunk)
19:32
[6ac7b07a] Remove the OP_RowKey opcode. Use OP_RowData in its place. (user: drh, tags: trunk)
19:18
[49ebc219] Refactor the sqlite3BtreeKey() and sqlite3BtreeData() internal interfaces into sqlite3BtreePayload() and sqlite3BtreePayloadChecked(), respectively. This is a continuation of the optimization started by check-in [2d831074cf]. The result is a slightly smaller and faster binary. (user: drh, tags: trunk)
17:03
[a9498407] Small performance increase and size reduction in the OP_Column opcode. (user: drh, tags: trunk)
15:47
[c53dca7f] Performance enhancement to sqlite3_snprintf(). (user: drh, tags: trunk)
15:11
[b6acf5d4] Performance improvement in sqlite3StrAccumFinish() for the common case where no memory allocation is required. (user: drh, tags: trunk)
14:30
[6df7c574] Add a comment to help clarify the EP_FromJoin hack in exprCodeBetween(). (user: drh, tags: trunk)
2016-11-24
13:42
[e31d646a] Fix a test case in vacuum5.test so that it works with the in-memory journal permutation. Cherrypick of [81c86401]. (user: dan, tags: branch-3.15)
2016-11-23
23:18
[9a603a18] Fix the error message for invalid ".mode" arguments in the command-line shell, so that it mentions the new "quote" mode. (user: drh, tags: trunk)
21:33
[f693850a] Updates makefiles and build scripts on windows to used Tcl 8.6. (user: drh, tags: branch-3.15)
21:14
[86dc74cb] Update the version number to 3.15.2. (user: drh, tags: branch-3.15)
21:13
[4c6efe60] Code constant vector components outside of any loops in CASE and BETWEEN expressions. Fix for [1a684656]. (user: drh, tags: branch-3.15)
21:08
[661b4506] Prevent a possible use-after-free bug in the query optimizer. (user: drh, tags: branch-3.15)
21:01
[27438fb4] Disable the query flattener optimization for SELECT statements that are on the RHS of vector IN operators. This is a hack that fixes the bug described in ticket [da7841375186386c]. A better solution that does not disable the query flattener is needed, but this will server for the time being. (user: drh, tags: branch-3.15)
20:44
[0f956597] Fix a potential use-after-free error during parsing of malformed CREATE TABLE statement. (user: drh, tags: branch-3.15)
20:37
[4efd331e] Fix an fts5 problem causing a crash in phrase queries where the first token of the phrase matches one or more rows but some other token within the phrase matches zero. (user: drh, tags: branch-3.15)
20:31
[6492e57e] Fix OOM error reporting in the json1_group_object() SQL function. Remove an unreachable branch from the JSON1 logic. (user: drh, tags: branch-3.15)
20:24
[7c466283] Fix the JSON1 extension so that the JSON validator correctly rejects malformed backslash escapes within string literals. (user: drh, tags: branch-3.15)
20:19
[8a55b8e1] Avoid a crash that can occur after an obscure OOM in the built-in INSTR() function. (user: drh, tags: branch-3.15)
20:12
[8fd2fcce] Mark the ICU extension functions as deterministic. (user: drh, tags: branch-3.15)
19:43
[794763fd] Handle some obscure "row value misused" cases that could cause segfaults or assertion failures. (user: drh, tags: branch-3.15)
19:40
[f8cf7ff1] Take care not to try to generate code for the ATTACH and DETACH commands if there were syntax errors during parsing. Fix for ticket [2f1b168ab4d4844] (user: drh, tags: branch-3.15)
19:31
[c08aff13] Code constant vector components outside of any loops in CASE and BETWEEN expressions. Fix for [1a684656]. (user: dan, tags: trunk)
14:19
[161192f1] Correctly display the names of SQL functions in the VDBE_PROFILE output. (user: drh, tags: trunk)
2016-11-22
22:23
[e2c4bdf5] Closed-Leaf: Merge bug fixes and enhancements from trunk. (user: drh, tags: serializable-snapshot)
21:11
[e7be3183] Enclose the sqlite3WalSnapshotRecover() routine within (user: drh, tags: serializable-snapshot)
20:29
[bee2859b] Add a new requirement mark for CAST expressions. (user: drh, tags: trunk)
19:15
[f5ac98ef] Update requirement marks to reflect changes in wording in the documentation. No changes to code. (user: drh, tags: trunk)
01:26
[32be7aae] Remove unnecessary OP_Close opcodes for a size reduction and performance increase. (user: drh, tags: trunk)
2016-11-21
21:33
[abeddb6d] Remove unnecessary OP_Close opcodes at the end of INSERT operations, resulting in smaller and faster code. (user: drh, tags: trunk)
18:15
[9979ba80] Enhance speedtest1.c so that is works on older versions of SQLite, before the introduction of the group_concat() aggregate function. (user: drh, tags: trunk)
2016-11-20
17:59
[b3b7b42d] Fix harmless compiler warnings. (user: drh, tags: trunk)
12:00
[0a98c8d7] Prevent a possible use-after-free bug in the query optimizer. (user: drh, tags: trunk)
2016-11-19
18:31
[28393c41] Remove the requirement to open the wal file before sqlite3_snapshot_recover() is called. Also add some comments to new functions. (user: dan, tags: serializable-snapshot)
17:30
[db314213] Test some extra error conditions in sqlite3_recover_snapshot(). (user: dan, tags: serializable-snapshot)
17:20
[7e040406] Add another fault-injection test for sqlite3_snapshot_recover(). (user: dan, tags: serializable-snapshot)
16:35
[525f75fa] Fix a problem causing sqlite3_snapshot_recover() to return SQLITE_IOERR_SHORT_READ. (user: dan, tags: serializable-snapshot)
14:53
[9abeb798] Fix a bug in sqlite3_snapshot_recover() that could cause subsequent read transactions to use out-of-data cache entries. (user: dan, tags: serializable-snapshot)
2016-11-18
20:49
[174a6076] Add experimental sqlite3_snapshot_recover() API. (user: dan, tags: serializable-snapshot)
18:43
[83b658da] Require that the database handle be in autocommit mode for sqlite3_snapshot_get() to succeed. This is because it may open a read transaction on the database file. (user: dan, tags: serializable-snapshot)
18:22
[1f7ee7af] Add tests for snapshot interfaces. (user: dan, tags: serializable-snapshot)
14:38
[16b9bf92] Enhance existing snapshot tests to serialize/deserialize snapshots. No new tests. (user: dan, tags: serializable-snapshot)
2016-11-17
21:52
[4fe94b0f] Leaf: Experimental changes for faster in-memory DB operation for large databases. (user: drh, tags: memdb-opt)
20:05
[d6b3779e] Fix a problem in rtreeD.test causing it to fail in OMIT_BUILTIN_TEST builds. (user: dan, tags: trunk)
14:02
[a07c581e] When opening the *-shm file for a readonly database, try to open it in read-write mode before falling back to readonly. This is in case some other read/write connection within the same process uses the same file descriptor. (user: dan, tags: apple-osx)
13:54
[2331192b] Change the --enable-debug option on configure so that it enables the ".selecttrace" and ".wheretrace" commands in the command-line shell. (user: drh, tags: trunk)
13:13
[005d5b87] Disable the query flattener optimization for SELECT statements that are on the RHS of vector IN operators. This is a hack that fixes the bug described in ticket [da7841375186386c]. A better solution that does not disable the query flattener is needed, but this will server for the time being. (user: drh, tags: trunk)
2016-11-15
21:17
[77aeb705] Add a needed #include to speedtest1.c. (user: drh, tags: trunk)
17:37
[b6a81fa1] Experimental changes toward making snapshots serializable. (user: drh, tags: serializable-snapshot)
04:00
[66347385] Change the OP_Last opcode so that it is a no-op if the cursor is already pointing at the end of the b-tree. (user: drh, tags: trunk)
02:46
[5ed0bd38] Make the VACUUM command about 9% faster by avoiding unnecessary calls to sqlite3BtreeMovetoUnpacked() while copying rowid tables. (user: drh, tags: trunk)
2016-11-14
20:47
[03f75a67] Add 8794 new test cases received from the OSS-FUZZ project. (user: drh, tags: trunk)
20:08
[c5dbc599] Fix a potential use-after-free error during parsing of malformed CREATE TABLE statement. (user: drh, tags: trunk)
18:27
[a71fad45] Enhance fuzzcheck.c to accept database-specific configuration parameters in the option CONFIG table. Add the fuzzdata5.db fuzz database containing test cases from OSS-FUZZ. (user: drh, tags: trunk)
17:25
[6f2d43ec] Fix the ossfuzz.c test module so that it does not segfault after a "PRAGMA empty_result_callbacks=1;". Add the ossshell.c program for simple command-line testing of ossfuzz.c. (user: drh, tags: trunk)
15:28
[e211c579] Avoid unnecessary calls to sqlite3ExprCacheAffinityChange() when generating OP_MakeRecord opcodes that do not change any register affinities. (user: drh, tags: trunk)
08:19
[e78f6f3b] Fix an fts5 problem causing a crash in phrase queries where the first token of the phrase matches one or more rows but some other token within the phrase matches zero. (user: dan, tags: trunk)
2016-11-11
20:37
[7b76be41] Fix harmless compiler warnings in test code for MSVC. (user: drh, tags: trunk)
19:08
[b835cf3e] Avoid storing redundant fields in sorter records when the sort-key and data have fields in common. (user: drh, tags: trunk)
19:01
[925840cf] Enhance the OP_IdxInsert opcode so that it can used unpacked key values if they are available. Update the code generator to take advantage of this new capability. The speedtest1.c test is about 2.6% faster as a result. (user: drh, tags: trunk)
18:45
[dd62d2de] Closed-Leaf: Merge trunk with this branch. (user: dan, tags: sorter-opt)
18:19
[1a587d72] Closed-Leaf: Remove obselete and unused logic in the update code generator. Fix the sqlite3BtreeMovetoUnpacked() routine so that it remembers the rowid of the row that it landed on. (user: drh, tags: unpacked-IdxInsert)
18:08
[6e2e9d38] Reenable the SQLITE_EXPR_REF optimization for "SELECT DISTINCT ... ORDER BY" queries. (user: dan, tags: sorter-opt)
17:52
[5515b827] Merge enhancements and bug-fixes from trunk. (user: drh, tags: unpacked-IdxInsert)
17:08
[46e00162] Fix a problem with switching from wal to rollback mode when SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE is configured. (user: dan, tags: trunk)
16:33
[119d6ef8] Add the test/ossfuzz.c interface adaptor for OSS-FUZZ. Make previsions for testing the adaptor using fuzzcheck.c. (user: drh, tags: trunk)
15:49
[fba5fddb] Handle some obscure "row value misused" cases that could cause segfaults or assertion failures. (user: dan, tags: trunk)
14:54
[f98c8ac8] Back out the "--raw" option on ".read" in the command-line shell. Instead, fix the command-line shell so that if EOF is reached without seeing a final semicolon, it goes ahead and passes the accumulated SQL text to SQLite. (user: drh, tags: trunk)
09:51
[642a8fba] Add extra tests for the xBestIndex() virtual table method. (user: dan, tags: trunk)
05:19
[6311a8bd] In the command line shell, avoid using utf8_printf() in a couple places where it is superfluous. (user: mistachkin, tags: trunk)
04:37
[09233770] Add the --raw option to the ".read" dot-command of the command-line shell, to cause the named file to be read and sent directly into sqlite3_exec() without any interpretation. (user: drh, tags: trunk)
03:37
[b0ff183b] Take care not to try to generate code for the ATTACH and DETACH commands if there were syntax errors during parsing. Fix for ticket [2f1b168ab4d4844] (user: drh, tags: trunk)
2016-11-10
21:19
[9a64a4f2] Leaf: Break up the sqlite3BtreeMovetoUnpacked() routine into an eponymous routine and sqlite3BtreeMovetoIntkey(). Each routine specializes in a single kind of btree. (user: drh, tags: split-moveto)
20:42
[eac0e827] Avoid a few unnecessary calls to sqlite3BtreeMovetoUnpacked(). (user: drh, tags: unpacked-IdxInsert)
20:14
[0af62fdb] Avoid storing redundant fields in sorter records when the sort-key and data have fields in common (as in "SELECT a FROM t1 ORDER BY 1"). (user: dan, tags: sorter-opt)
17:01
[f7041cbb] When doing a REPLACE on a WITHOUT ROWID table with no secondary indexes, bypass the OP_NoConflict/OP_Delete sequence and directly overwrite any preexisting row, for a performance increase. (user: drh, tags: unpacked-IdxInsert)
16:07
[42f8aa62] Remove C++ style comments. No code changes. (user: drh, tags: unpacked-IdxInsert)
14:24
[67602e40] Add the unpacked key fields to OP_IdxInsert for INSERT and UPDATE statements. (user: drh, tags: unpacked-IdxInsert)
2016-11-09
20:14
[345b46be] Comment changes that attempt to better explain the behavior of the "seekResult" field on VdbeCursor objects and the seekResult parameter to sqlite3BtreeInsert() and the OPFLAG_USESEEKRESULT flag on insert opcodes. No changes to code. (user: drh, tags: unpacked-IdxInsert)
16:03
[51d0aed8] Fix a simple comment typo. No changes to code. (user: drh, tags: unpacked-IdxInsert)
01:46
[b4889588] Fix typo in the CSV extension. (user: mistachkin, tags: trunk)
01:38
[42db7cd2] Make use of the unpacked key on the OP_IdxInsert on sorters with a LIMIT. (user: drh, tags: unpacked-IdxInsert)
01:19
[e4acd982] Fix a typo on the OP_IdxInsert documentation. No code changes. (user: drh, tags: unpacked-IdxInsert)
01:07
[754ee844] Add a DISTINCT query to speedtest1.c. Also change INSERT OR REPLACE into just REPLACE. (user: drh, tags: trunk)
00:57
[d6dd2ad3] Remove the "experimental" marking from the sqlite3_preupdate interfaces. But be sure all the interface definitions are within documentation. (user: drh, tags: trunk)
00:10
[89d958ab] Enhance the OP_IdxInsert opcode to optionally accept unpacked key material. (user: drh, tags: unpacked-IdxInsert)
2016-11-08
19:22
[bec5b6d4] Avoid superfluous cursor seeks in "INSERT OR REPLACE" statements. (user: dan, tags: trunk)
17:19
[8cb8516d] Avoid generating OP_TableLock unnecessary instructions on btrees that are not sharable. (user: drh, tags: trunk)
16:27
[c2f84f63] Fix the speedtest1.c test program so that it gives closing "%" wildcards on LIKE searches. (user: drh, tags: trunk)
00:30
[b5733cae] Tweaks to speedtest1.c to better reflect mobile usage based on findings in the "Pocket Data" paper by Kennedy, Ajay, Challen, and Ziarek. (user: drh, tags: trunk)
2016-11-07
18:18
[b5409849] Fix OOM error reporting in the json1_group_object() SQL function. Remove an unreachable branch from the JSON1 logic. (user: drh, tags: trunk)
15:15
[145cd13e] Replace some unreachable branches from the JSON1 extension with assert(). (user: drh, tags: trunk)
13:37
[7a635391] Fix the JSON1 extension so that the JSON validator correctly rejects malformed backslash escapes within string literals. (user: drh, tags: trunk)
2016-11-04
19:09
[0e5ffd91] Merge recent trunk changes, including all the fixes that appeared in version 3.15.1. (user: drh, tags: apple-osx)
12:08
[1136863c] Version 3.15.1 (user: drh, tags: release, branch-3.15, version-3.15.1)
12:05
[b86b79c4] Avoid a crash that can occur after an obscure OOM in the built-in INSTR() function. (user: dan, tags: trunk)
12:03
[afbbb6c6] Mark the ICU extension functions as deterministic. (user: drh, tags: trunk)
11:23
[97354093] Add an assert() to silence a coverity false-positive. (user: drh, tags: trunk)
07:25
[81c86401] Fix a test case in vacuum5.test so that it works with the in-memory journal permutation. (user: dan, tags: trunk)
2016-11-03
21:35
[1d0e43c5] Replace a couple more references to Tcl 8.5 in the Windows build tools. (user: mistachkin, tags: trunk)
19:27
[752e14d9] Fix a test case in vacuum5.test so that it works with -DSQLITE_TEMP_STORE=2 and -DSQLITE_ENABLE_ATOMIC_WRITE.. (user: dan, tags: branch-3.15)
19:24
[3ca80010] Fix a test case in vacuum5.test sot aht it works with -DSQLITE_ENABLE_ATOMIC_WRITE. (user: dan, tags: trunk)
19:01
[f5dd95e2] Fix a test case in vacuum5.test so that it works with -DSQLITE_TEMP_STORE=2. (user: dan, tags: trunk)
18:49
[5221e3cc] Add the SQLITE_FCNTL_WIN32_GET_HANDLE file control. (user: drh, tags: branch-3.15)
18:44
[ccdcce46] Increase the version number to 3.15.1. (user: drh, tags: branch-3.15)
18:38
[ee16fedd] Escape non-ASCII character from an ICU extension comment. (user: drh, tags: branch-3.15)
18:36
[3fae483f] Fix an issue that was causing the new database image to be assembled entirely in heap memory when VACUUMing a database, even if it should use a temp file. This could cause SQLITE_NOMEM errors when vacuuming very large databases on 32-bit systems. (user: drh, tags: branch-3.15)
18:35
[aba1e22b] Make sure left-join markings are transferred to the virtual scalar subexpressions when decomposing a vector comparison in the ON clause of a LEFT JOIN. Fix for ticket [fef4bb4bd9185ec8f]. (user: drh, tags: branch-3.15)
18:33
[54eeddec] If all branches of an OR optimize scan that is the rhs of a LEFT JOIN use the same index, set the index cursor to return NULL values if there are no matches for a row on the lhs. Fix for ticket [34a579141b2c5ac] (user: drh, tags: branch-3.15)
18:31
[0fc4f0f4] In the sessions module, avoid recording a change if an UPDATE statement overwrites a column with REAL affinity containing an integer value with the same value. (user: drh, tags: branch-3.15)
18:30
[63cfe197] Avoid using the "direct overflow read" optimization to read large blobs if the pager layer has a wal file open - even if the database header indicates that the db is not a wal database. (user: drh, tags: branch-3.15)
13:12
[ba9873da] In the command-line shell, fix the .imposter command so that it works with indexes on expressions. Fix the ".mode quote" mode so that it works with ".headers ON". (user: drh, tags: trunk)
13:01
[be3ec8fd] Add the ".imposter" command to the command-line shell. (user: drh, tags: trunk)
02:25
[ad08753a] Fix an possible NULL pointer deference in the command-line shell that can occur when using imposter mode. (user: drh, tags: trunk)
2016-11-02
19:49
[def8f598] Adjust the MSVC makefile to use Tcl8.6 by default. (user: drh, tags: trunk)
16:29
[8e4ba115] Leaf: When the block sorting optimization is used in a scalar subquery, be sure to exit the loop as soon as the first valid output row is received. Fix for ticket [cb3aa0641d9a4] backported to the 3.8.9 branch. (user: drh, tags: branch-3.8.9)
14:50
[30288453] Fix an issue that was causing the new database image to be assembled entirely in heap memory when VACUUMing a database, even if it should use a temp file. This could cause SQLITE_NOMEM errors when vacuuming very large databases on 32-bit systems. (user: dan, tags: trunk)
13:18
[d18f61b7] Fix a requirement mark. No changes to code. (user: drh, tags: trunk)
02:17
[9b3a3b41] Use NOT NULL partial indexes when the query is constrained by a single LIKE or GLOB. (user: drh, tags: trunk)
2016-10-31
16:49
[6d142025] Add the SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE sqlite3_dbconfig() option - for disabling SQLite's default checkpoint-on-close behaviour. (user: dan, tags: trunk)
16:16
[093d2fc2] Closed-Leaf: Add the SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE sqlite3_dbconfig() option - for disabling SQLite's default checkpoint-on-close behaviour. (user: dan, tags: no-ckpt-on-close)
2016-10-27
14:51
[6374978e] Remove the mutex from test_multiplex.c. (user: dan, tags: trunk)
01:02
[619f5cc7] Make sure left-join markings are transferred to the virtual scalar subexpressions when decomposing a vector comparison in the ON clause of a LEFT JOIN. Fix for ticket [fef4bb4bd9185ec8f]. (user: drh, tags: trunk)
2016-10-26
18:41
[c23f5ef3] Small size reduction and performance enhancement in whereScanInit(). (user: drh, tags: trunk)
17:57
[d861ee17] Small size reduction and performance improvement in whereScanNext(). (user: drh, tags: trunk)
16:05
[ec9dab80] If all branches of an OR optimize scan that is the rhs of a LEFT JOIN use the same index, set the index cursor to return NULL values if there are no matches for a row on the lhs. Fix for ticket [34a579141b2c5ac] (user: dan, tags: trunk)
15:46
[e7b9bc67] Closed-Leaf: If all branches of an OR optimize scan that is the rhs of a LEFT JOIN use the same index, set the index cursor to return NULL values if there are no matches for a row on the lhs. (user: dan, tags: leftjoin-or-fix)
13:58
[86675ae0] Merge the SQLITE_ENABLE_URI_00_ERROR compile-time option. (user: drh, tags: trunk)
13:44
[1aaa06e3] Closed-Leaf: Add extra tests to check the result of including a %00 escape in a URI when ENABLE_URI_00_ERROR is defined. (user: dan, tags: uri-00-error)
12:58
[71167951] Add an elapsed-time output for faststat1.c. (user: drh, tags: est_count_pragma)
12:15
[e8a9bfec] Add compile time option SQLITE_ENABLE_URI_00_ERROR. If defined, any "%00" escape found in a URI is treated as an error. (user: dan, tags: uri-00-error)
2016-10-25
19:39
[f7f78147] Simplifications to faststat1.c. Fix a bug in sqlite3MovetoProportional() for very large b-trees. (user: drh, tags: est_count_pragma)
19:21
[b051fd19] Further refinements to the faststat1.c utility. (user: drh, tags: est_count_pragma)
18:28
[65444f2e] Enhance faststat1.c to deal better with WITHOUT ROWID tables. (user: drh, tags: est_count_pragma)
17:28
[c3570e46] Merge recent trunk changes, and especially the PRAGMA index_info enhancement which is needed on this branch. (user: drh, tags: est_count_pragma)
15:39
[fe49fb03] Leaf: Enhance the "PRAGMA index_info" and "PRAGMA index_xinfo" statements so that they work on WITHOUT ROWID tables and provide information about the underlying index btree that implements the WITHOUT ROWID table. (user: drh, tags: index-info-on-table)
15:06
[b1158564] Add test case to demonstrate a "BEGIN EXCLUSIVE" command returning SQLITE_BUSY_SNAPSHOT. (user: dan, tags: trunk)
13:57
[7b83581a] First attempt at a utility program to compute sqlite_stat1 without doing a full table scan. (user: drh, tags: est_count_pragma)
2016-10-24
01:01
[98795c2d] Performance optimization in moveToRoot(). Avoid repeated validity checking of the root page on each call. Once is enough. (user: drh, tags: trunk)
2016-10-22
01:22
[5f3e6028] In the sessions module, avoid recording a change if an UPDATE statement overwrites a column with REAL affinity containing an integer value with the same value. (user: drh, tags: trunk)
2016-10-21
21:21
[b861328a] Closed-Leaf: In the sessions module, avoid recording a change if an UPDATE statement overwrites a column with REAL affinity containing an integer value with the same value. (user: dan, tags: sessions-fix)
18:01
[04fe12b5] When reading from an index, the shared-cache lock must be on the corresponding table. (user: drh, tags: est_count_pragma)
17:45
[0c8a5b88] Merge updates from trunk, and especially the ".mode quote" enhancement to the shell. (user: drh, tags: est_count_pragma)
17:39
[c4f5fa78] Add ".mode quote" to the command-line shell. (user: drh, tags: trunk)
17:25
[affc2ef5] Add the btree_sample(INDEX,LOCATION,LIMIT) pragma. (user: drh, tags: est_count_pragma)
15:36
[c39fd9b8] Fix problems in the est_count pragma for indexes and WITHOUT ROWID tables. (user: drh, tags: est_count_pragma)
10:49
[b54c15f1] Avoid using the "direct overflow read" optimization to read large blobs if the pager layer has a wal file open - even if the database header indicates that the db is not a wal database. (user: dan, tags: trunk)
10:09
[b7d9727b] If SQLITE_DIRECT_OVERFLOW_READ is defined at compile time, add "DIRECT_OVERFLOW_READ" to the list of symbols returned by "PRAGMA compile_options". (user: dan, tags: trunk)
2016-10-20
22:02
[340822af] Experimental est_count pragma. (user: drh, tags: est_count_pragma)
18:20
[fd81d8a4] Leaf: Add the ability for the PRAGMA statement to accept multiple arguments. Currently all arguments other than the first are ignored. (user: drh, tags: multi-arg-pragma)
11:48
[fd9c6ff0] Add test case to incrblob4.test. No changes to code. (user: dan, tags: trunk)
2016-10-18
16:36
[56474ebc] Minor simplification of the comparison opcodes. (user: drh, tags: trunk)
15:29
[2aa7a03b] Fix harmless uninitialized variable warnings in speedtest1.c. (user: drh, tags: trunk)
14:35
[6ca0e06b] Add the --repeat option to speedtest1.c and speed-check.sh. (user: drh, tags: trunk)
2016-10-17
23:44
[29997f79] Leaf: Fix SQLITE_DBCONFIG_REQUIRE_TXN so that it allows BEGIN IMMEDAITE and BEGIN EXCLUSIVE to run outside of a transaction. (user: drh, tags: require-write-txn)
19:00
[a3a96c4d] Leaf: Escape non-ASCII character from an ICU extension comment. Cherrypick of [5ec02ecf3d20ce7e]. (user: mistachkin, tags: mutexDbg)
18:59
[2fb9a5dd] Enhancments to Win32 mutex debugging. (user: mistachkin, tags: mutexDbg)
18:44
[5ec02ecf] Escape non-ASCII character from an ICU extension comment. (user: mistachkin, tags: trunk)
18:33
[3d89dc45] Corrections to a couple recently added 'filectrl.test' results. (user: mistachkin, tags: trunk)
15:28
[c88d36e2] Changes to support interrupting a checkpoint using sqlite3_interrupt(). (user: dan, tags: trunk)
00:48
[cda998f0] Small size reduction and performance increase in the string duplicator. (user: drh, tags: trunk)
2016-10-15
18:37
[16d88a90] Add documentation for the OP_SorterInsert opcode, formerly omitted by mistake. No changes to code. (user: drh, tags: trunk)
08:56
[2674d779] Add test case to hook.test. No changes to non-test code. (user: dan, tags: trunk)
2016-10-14
21:27
[16039be3] Add the SQLITE_FCNTL_WIN32_GET_HANDLE file control. (user: mistachkin, tags: trunk)
21:16
[aa6de9c4] Bump the version number in anticipation of the next development cycle. (user: drh, tags: trunk)
10:20
[70787558] Version 3.15.0 (user: drh, tags: trunk, release, version-3.15.0)
2016-10-13
12:56
[4d66ac98] Take care to avoid integer overflow when doing the initial page cache allocation with an excessively large cache_size setting. (user: drh, tags: trunk)
2016-10-12
18:55
[443913d5] Avoid reading the -1-th element of an array in the query planner. Fix to a bug introduced by check-in [8e2b25f9b8a7] from earlier today. Curiously, the problem only appeared on 32-bit systems. (user: drh, tags: trunk)
18:26
[e87d02d2] Add to sqlite3_analyzer command-line options --version and --tclsh, and also the undocumented --debug option. (user: drh, tags: trunk)
15:15
[61f05269] New testcase() macros to ensure coverage of the ORDER BY LIMIT optimization code in where.c. (user: drh, tags: trunk)
14:48
[8e2b25f9] Fix a problem affecting queries that match the pattern (... WHERE ipk IN (....) ORDER BY ? LIMIT ?). Fix for [96c1454c]. (user: dan, tags: trunk)
2016-10-10
14:48
[6624c496] Remove a stray line from session4.test causing a memory leak. No changes to SQLite code. (user: dan, tags: trunk)
14:34
[aebe429e] When handling ORDER BY expressions, do not assume all values of an indexed expressions are distinct. Fix for [4766f444]. (user: dan, tags: trunk)
13:29
[71797ba4] Make sure indexes on expressions skip over initial NULL values in the index. Fix for ticket [4baa464912129477f3c9] (user: drh, tags: trunk)
10:06
[788f86be] Fix a case in which the rtree module was ignoring an OOM while generating an error message. (user: dan, tags: trunk)
2016-10-08
16:10
[010ec225] Update test/trace3.test to account for the fact that casting a pointer to a 64-bit signed integer might produce a negative value. (user: dan, tags: trunk)
13:34
[c568ae3e] Corrections to Lemon documentation. No SQLite changes. (user: drh, tags: trunk)
11:55
[cbed3d75] Add missing "static" to internal function whereRangeVectorLen(). (user: dan, tags: trunk)
09:21
[dbe2997f] Updates to the tool/warnings.sh script to make it easier to use on OpenBSD. (user: dan, tags: trunk)
2016-10-05
20:14
[b066637b] Fix some compiler warnings in fts5. (user: dan, tags: trunk)
20:10
[2dde3375] Fix harmless compiler warnings. (user: drh, tags: trunk)
15:04
[b2ef39b1] Add a test case for the fix in [a596b7c6cc]. (user: dan, tags: trunk)
15:02
[a596b7c6] Do not set MEM_Blob unless the appropriate fields of the Mem object have been correctly initialized. (user: drh, tags: trunk)
01:33
[d080012d] Fix the backup_malloc.test script so that it works on Windows. (user: drh, tags: trunk)
2016-10-04
12:20
[3a9d802f] Fix a problem with the lempar.c parser template. (user: drh, tags: trunk)
00:47
[b10d0f93] Do not bother to initialize unused fields in the BtreePayload object. (user: drh, tags: trunk)
2016-10-03
18:13
[c6e9b942] Allow deterministic functions in the WHERE clause of a partial index. (user: drh, tags: trunk)
16:33
[109852e5] Size and performance optimizations on the sqlite3ExprAssignVarNumber() routine. (user: drh, tags: trunk)
15:28
[d15ae2e5] Avoid unnecessary strlen() calls in sqlite3ExprAssignVarNumber() by passing in the token length from the parser. (user: drh, tags: trunk)
14:44
[5bb7cde0] Avoid unnecessary memset() calls in the query optimizer. (user: drh, tags: trunk)
12:56
[012ff6dd] Fix an obsolete comment on a variable definition in expr.c. No code changes. (user: drh, tags: trunk)
02:59
[81e4d4f8] Make sure the sqlite_sequence table is updated when an optional xfer optimization is used. Fix for ticket [7b3328086a5c1]. (user: drh, tags: trunk)
01:21
[ea8affa9] Allocate Parse objects off of the stack where appropriate for a substantial performance increase and a size reduction. (user: drh, tags: trunk)
2016-10-01
23:55
[fe07609e] Add SQLITE_USE_ALLOCA to the --lean configuration in speed-check.sh. (user: drh, tags: trunk)
21:43
[361940b4] Rearrange fields in the Parse object to reduce the amount of initialization required. (user: drh, tags: trunk)
20:43
[34edbfd1] Reduce the width of a memset() to avoid double-initializing some variables. (user: drh, tags: trunk)
19:32
[a76bff74] Remove an unnecessary memset() call. (user: drh, tags: trunk)
19:21
[54a449a4] Use sqlite3DbMallocRawNN() where appropriate, instead of sqlite3DbMallocRaw(). (user: drh, tags: trunk)
16:53
[7983eef0] Make sure deleting an unused prepared statement does not reference uninitialized fields in the structure. (user: drh, tags: trunk)
11:39
[6ac6e446] Avoid accessing Vdbe.pc if it is uninitialized. Check Vdbe.magic first. (user: drh, tags: trunk)
00:37
[1e21bbe8] Avoid unnecessary zeroing of fields in the Vdbe object when it is allocated. (user: drh, tags: trunk)
2016-09-30
22:24
[63cf7eaf] Avoid initializing the column-cache section of the Parse object, since entries in the cache will be initialized as they are used, and avoiding the initial memset() saves many CPU cycles. (user: drh, tags: trunk)
21:20
[ab12fce3] Fix an always-true conditional left over from the previous commit. (user: drh, tags: trunk)
20:22
[60285020] Fix the Parse.aColCache column cache so that all of the valid entries are in the first Parse.nColCache slots. (user: drh, tags: trunk)
19:14
[c1419727] Another simplification to the Parse object. (user: drh, tags: trunk)
18:35
[814e41da] Remove unnecessary fields from the Parse object. (user: drh, tags: trunk)
17:46
[47ae1cda] Avoid unnecessary Mem initializations when generating a new sqlite3_stmt object. (user: drh, tags: trunk)
2016-09-29
20:28
[3c93c8f5] Small size and performance optimization to sqlite3VdbeChangeP5(). (user: drh, tags: trunk)
19:50
[984a96d7] Remove the peep-hole optimization of removing OP_Close opcodes that come before OP_Halt, as the extra work of removing those opcodes uses more cycles than just running them. (user: drh, tags: trunk)
19:27
[945f82bc] Size and performance optimization to sqlite3ValueFromExpr() (user: drh, tags: trunk)
15:53
[e2cd79aa] Clarification and typo-fixes in comments. No changes to code. (user: drh, tags: trunk)
2016-09-28
20:42
[cc29ddd6] Use Knuth multiplicative hashing for the symbol table. (user: drh, tags: trunk)
16:15
[06014163] Merge recent enhancements from trunk. (user: drh, tags: apple-osx)
16:05
[40c0fb0a] Two more typo fixes in comments. (user: drh, tags: trunk)
16:04
[5bbd071d] Fix typos in comments. No code changes. (user: drh, tags: trunk)
2016-09-27
00:09
[bf903b2e] Update requirements marks due to improvements in the wording of documentation. No changes to code. (user: drh, tags: trunk)
00:03
[0c8b9b21] Fix FTS3 test cases due to the flattener change of the previous check-in. (user: drh, tags: trunk)
2016-09-26
14:39
[cf7f9e6d] When flattening a query of the form "SELECT * FROM (SELECT * FROM tbl WHERE x=?) WHERE y=?", ensure that the final WHERE clause is "x=? AND y=?" instead of "y=? AND x=?". Although it is still not guaranteed, this makes the order in which WHERE clause terms are processed comport more closely to users expectations. (user: dan, tags: trunk)
12:38
[fe89225e] Inline the relevent parts of sqlite3ExprAlloc() into spanExpr(), for a performance improvement. (user: drh, tags: trunk)
2016-09-24
17:42
[795454a3] Omit the LikeOp object from the parser. Change more sqlite3PExpr() calls into sqlite3ExprAlloc() calls. (user: drh, tags: trunk)
01:41
[a8cb1390] Add -DSQLITE_MAX_EXPR_DEPTH=0 to the --lean option on speed-check.sh. (user: drh, tags: trunk)
2016-09-23
21:36
[8a6ea455] Add the EP_Leaf flag bit to the Expr.flags field to indicate Expr nodes that do not have substructure. Use that bit to avoid unnecessary recursion. (user: drh, tags: trunk)
20:59
[afac0709] Use sqlite3ExprAlloc() instead of sqlite3PExpr() for leaf nodes in the expression tree, where appropriate. This is both smaller and faster. (user: drh, tags: trunk)
18:13
[9a5a489d] New test case for the ORDER BY LIMIT optimization. (user: drh, tags: trunk)
18:06
[0c3cafb7] Fix the ORDER BY LIMIT optimization backport so that it works when the ORDER BY uses the DESC direction. (user: drh, tags: branch-3.8.9)
2016-09-22
21:37
[ee1382a3] Fix a potential null-pointer dereference and crash in the case where one thread is calling sqlite3_column_text() and another thread is calling sqlite3_step() on the same prepared statement at the same instant. (user: drh, tags: trunk)
18:53
[c3774c6a] Remove the internal sqlite3CodeOnce() interface, replacing it with a direct call to sqlite3VdbeAddOp0(v,OP_Once). Slightly smaller and faster. (user: drh, tags: trunk)
18:46
[5e892d60] Makefile changes to support building winsqlite3.dll using STDCALL rather than CDECL. (user: mistachkin, tags: trunk)
2016-09-21
23:58
[7785b3a2] Fix speedtest1.c so that it works with SQLITE_OMIT_DEPRECATED. Add the --lean and --cachesize options to speed-check.sh. (user: drh, tags: trunk)
19:43
[0741812d] Fix a problem with the fts5 auxiliary function API causing a crash when a query contained a phrase of zero terms. (user: dan, tags: trunk)
19:00
[4a613d85] Do not run vacuummem.test if ENABLE_MEMORY_MANAGEMENT is defined. (user: dan, tags: trunk)
18:18
[2b44f9aa] Fix obsolete requirements marks. Add new tests for VACUUM of attached databases. (user: drh, tags: trunk)
17:53
[be184bef] Avoid running vacuum5.test in auto-vacuum mode. (user: dan, tags: trunk)
17:47
[46b7d19e] Do not run test "delete_db.test" with either the journaltest or inmemoryjournal permutations. Ensure that the multiplexor tests in delete_db.test are performed in non-autovacuum mode. (user: dan, tags: trunk)
14:41
[d4928fb5] Update the fts5vocab table to handle "ORDER BY term" efficiently. (user: dan, tags: trunk)
2016-09-20
22:04
[db3ebd7c] Improved implementation of 64-bit signed integer multiply that correctly detects overflow (and promotes to floating-point) in some corner cases. Fix for ticket [1ec41379c9c1e400] (user: drh, tags: trunk)
17:49
[72429063] Fix harmless compiler warning. (user: mistachkin, tags: trunk)
17:38
[bd3ecbb5] Fix typo in comment. (user: mistachkin, tags: trunk)
01:46
[21b0e3b7] Further performance enhancements in zeroblob() handling. (user: drh, tags: trunk)
01:19
[5e196fd1] Avoid unnecessary calls to ExpandBlob() for smaller and faster code. (user: drh, tags: trunk)
2016-09-19
23:39
[46002511] Very small optimization in the bytecode engine. (user: drh, tags: trunk)
11:00
[2401ea5a] Fix a segfault introduced by the row-value enhancement that comes up on a skip-scan where the first term of the index is unconstrained and the second term is of the form "columm IN (SELECT...)". (user: drh, tags: trunk)
10:24
[75146165] Improved performance in sqlite3ExprCodeTarget(). (user: drh, tags: trunk)
02:19
[c6e6afb9] Small performance optimization in the expression walker. (user: drh, tags: trunk)
2016-09-18
16:08
[6bf5ba10] Revise the implementation of OP_Once so that it is smaller, faster, and uses less memory. This also fixes an obscure bug introduced 3 days ago by check-in [5990a1bdb4a073]. (user: drh, tags: trunk)
2016-09-17
22:46
[baceb988] Minor enhancement to the TclKit batch tool: it should download the TclKit EXE alone when the TCLKIT_NOENV environment variable is set. (user: mistachkin, tags: trunk)
19:34
[63962e2a] Small performance optimization in the freeSpace() routine of btree.c. (user: drh, tags: trunk)
17:39
[e011435e] Improved description of the ElseNotEq opcode in comments. No changes to code. (user: drh, tags: trunk)
2016-09-16
20:39
[6fc95dd7] Fix typo in the name of a Win32 string conversion routine. Replace several uses of raw_printf() with utf8_printf() in the shell. (user: mistachkin, tags: trunk)
19:42
[03573887] If no KEY is specified on ATTACH, copy the main schema key if the key size is non-zero. In other words, allow for -1 as a valid key size in support of the --textkey to SEE. (user: drh, tags: trunk)
19:11
[e660402e] Fix problems with the fileRead() function in the command-line shell. Fix a harmless memory leak in the command-line shell, to make validation testing easier. (user: drh, tags: trunk)
18:53
[9885dac4] Remove the #ifdef SQLITE_DEBUG from around the testcase_glob() routine in the command-line shell. (user: drh, tags: trunk)
17:50
[e3d9efa2] Merge recent changes from trunk. (user: drh, tags: apple-osx)
16:30
[a92aee55] Fix a problem causing incorrect code to be generated for IN constraints like "a IN (1, 2, 3)" where column "a" is a rowid column with an extra UNIQUE index created on it. Ticket [0eab1ac759]. (user: dan, tags: trunk)
15:42
[a49bc0a8] Replace a faulty assert() with a testcase() to assure the condition is tested. Ticket [0eab1ac7591f]. (user: drh, tags: trunk)
14:50
[e7653dec] Add WHERETRACE macros showing every entry and exit from whereLoopAddBtreeIndex(). (user: drh, tags: trunk)
11:53
[a3e3b3e1] Fix SQLITE_OMIT_AUTHORIZATION so that it compiles cleanly. (user: drh, tags: trunk)
02:52
[792afefa] In the shell, make ".testcase" and ".check" available in all configurations, not just SQLITE_DEBUG. All testcases to be named. Show the result of each testcase on stdout. (user: drh, tags: trunk)
00:26
[8e5c9203] In the command-line shell, add the --new option to the ".open" command. Also, report the current database filename as part of the ".show" command. (user: drh, tags: trunk)
2016-09-15
21:35
[62289f27] Add the ".testcase" and ".check" dot-commands in the shell, when compiled using SQLITE_DEBUG. (user: drh, tags: trunk)
19:15
[7b104613] Omit the sqlite3Apis constant object when compiling with SQLITE_OMIT_LOAD_EXTENSION, since it is not used. (user: drh, tags: trunk)
14:54
[b9f5bdbf] Remove no-op code (adding an assert() to prove that the code was no-op) in the text affinity logic of the bytecode engine comparison operators. (user: drh, tags: trunk)
05:47
[12df7152] Fix a typo in a comment in sqlite.h.in. No changes to code. (user: dan, tags: trunk)
00:32
[5990a1bd] Slight size reduction and performance increase in sqlite3VdbeHalt(). (user: drh, tags: trunk)
00:04
[5a2a7712] Optimization to vdbeRecordCompareInt() makes it slightly smaller and faster. (user: drh, tags: trunk)
2016-09-14
18:56
[55f7f8ee] Update comments used to generate API documentation to include the new "[dateof:3.X.Y]" notation for dates of release where appropriate. No changes to code. (user: drh, tags: trunk)
01:43
[db361482] Backport the ORDER BY LIMIT optimization to version 3.8.9. (user: drh, tags: branch-3.8.9)
2016-09-12
18:50
[29dbef4b] Leaf: Version 3.14.2 (user: drh, tags: release, branch-3.14, version-3.14.2)
14:23
[264e9c75] Fix a bug in sqldiff causing it to confuse blobs zero bytes in size with NULL values. (user: dan, tags: trunk)
13:32
[02f40c3b] Add missing "finish_test" command to vacuum5.test. (user: dan, tags: trunk)
09:28
[e0e042dc] Have releasetest.tcl delete all test files except for "testfixture", "testfixture.exe", "sqlite3", "sqlite3.exe", "test.log" and "test-out.txt" after each test run is finished. Passing the "--keep" option restores the old behaviour. (user: dan, tags: trunk)
2016-09-10
19:51
[711c5917] Changes to give a warning-free build with SQLITE_OMIT_INCRBLOB and SQLITE_OMIT_SHARED_CACHE. (user: drh, tags: trunk)
14:43
[8a9d1281] Add test code to delete an SQLite database and its auxiliary files. (user: dan, tags: trunk)
2016-09-09
20:26
[0e3ace39] Closed-Leaf: Make the new file test_delete.c portable to MSVC on Windows. (user: mistachkin, tags: test_delete)
20:23
[19e2e595] Remove an unnecessary call to sqlite3VdbeMemExpandBlob() when casting to text. (user: drh, tags: trunk)
20:00
[fb0b95e9] Add new file test_delete.c, containing test code for deleting an sqlite database. (user: dan, tags: test_delete)
19:33
[37803b19] Performance improvements to the comparison operators in the bytecode engine. (user: drh, tags: trunk)
15:12
[6ac932c9] Fix a out-of-order variable declaration for some compile-time configurations. (user: drh, tags: trunk)
13:23
[2bdd838e] In releasetest.tcl, the --srcdir option is automatic, so no need to mention it in the --help output. (user: drh, tags: trunk)
13:17
[afaaa276] Fix an obsolete comment in the releasetest.tcl source code. (user: drh, tags: trunk)
12:29
[9a14e6c4] In releasetest.tcl: Improved testing for uncommitted changes. If uncommitted changes are seen, exit immediately unless the --force option is used. (user: drh, tags: trunk)
2016-09-08
23:18
[a04a21ad] Remove an extra space before function names in the amalgamation. Cherrypick of [20f3c7436f6a8a7bab39]. (user: mistachkin, tags: branch-3.14)
23:16
[20f3c743] Closed-Leaf: Remove an extra space before function names in the amalgamation. (user: mistachkin, tags: callbackConv)
23:12
[30e917ff] Issue a warning and prompt the user to continue if the releasetest.tcl script is run in a checkout with uncommitted changes. (user: drh, tags: trunk)
2016-09-07
20:12
[e9acf616] Fix the sqlite3_trace_v2() interface so that it goes disabled if either the callback or mask arguments are zero, in accordance with the documentation. Cherrypick of [37e6c54b1afc6348]. (user: mistachkin, tags: branch-3.14)
19:54
[ddb5f055] Add support for row-value comparisons, including IN operators, and row-value updates in the UPDATE statement. (user: drh, tags: trunk)
19:47
[c844f3da] Fix the extra comments (added with -DSQLITE_ENABLE_EXPLAIN_COMMENTS) so that the sense of <, <=, >, and >= tests is correct and so that the SQLITE_STOREP2 version is shown correctly. Cherrypick of [4d43c4698eef4e3d]. (user: mistachkin, tags: branch-3.14)
19:37
[7f2c5c9e] Closed-Leaf: Fix a problem handling expressions like "(a, b) IN (SELECT ... ORDER BY 1, 2)" when there is an index on "a" but not "b". (user: dan, tags: rowvalue)
19:31
[71866b36] Merge selected test fixes from trunk. (user: mistachkin, tags: branch-3.14)
19:23
[b3777e1f] Sync up the MSVC makefiles. (user: mistachkin, tags: branch-3.14)
18:20
[00759af0] Merge recent enhancements from trunk. (user: drh, tags: apple-osx)
18:11
[12b7782a] Add the ext/misc/memvfs.c extension that implements a VFS for read-only database files contained in memory. (user: drh, tags: trunk)
13:30
[bbab9621] Simplify the affinity handling logic in codeAllEqualityTerms(). Logically the same, just a little easier to read and understand. (user: drh, tags: rowvalue)
13:20
[7c2c0d1d] Fix the ".read" command in the command-line shell so that it understands that the input is not interactive. (user: drh, tags: branch-3.14)
13:12
[193f036c] Merge fixes from trunk. (user: drh, tags: rowvalue)
12:47
[925ef2f9] Version number to 3.14.2. (user: drh, tags: branch-3.14)
12:41
[af951e03] Makefile changes to support building winsqlite3.dll using STDCALL rather than CDECL. (user: drh, tags: branch-3.14)
12:20
[2d1983ff] Correct affinity computations for a SELECT on the RHS of an IN operator. Fix for ticket [199df4168c]. (user: drh, tags: branch-3.14)
12:08
[b4f8be1f] The ORDER BY LIMIT optimization is not valid unless the inner-most IN operator loop is actually used by the query plan. Fix for ticket [0c4df46116e90f92]. (user: drh, tags: branch-3.14)
11:27
[e5c30f22] Fix a problem in internal function sqlite3OpenTableAndIndices causing an operand of an unrelated VM instruction to be overwritten. Fix for [ef360601]. (user: drh, tags: branch-3.14)
10:10
[d8451fe8] Fix the ".read" command in the command-line shell so that it understands that the input is not interactive. (user: drh, tags: trunk)
01:51
[820644b8] The ORDER BY LIMIT optimization is not valid unless the inner-most IN operator loop is actually used by the query plan. Fix for ticket [0c4df46116e90f92]. (user: drh, tags: trunk)
2016-09-06
19:08
[ab3f8f19] Remove obsolete vector-IN test cases. Fix a bad testcase() macro. (user: drh, tags: rowvalue)
18:51
[8329ac6f] Fix corer cases of vector IN operators where the RHS is a compound SELECT that includes an ORDER BY clause. (user: drh, tags: rowvalue)
17:21
[7cc9746c] Remove an unnecessary branch from expr.c. (user: dan, tags: rowvalue)
17:13
[70319c3d] Avoid unnecessary memory allocations for aiMap in codeEqualityTerm(). (user: drh, tags: rowvalue)
16:53
[c6e528c1] Avoid a NULL pointer deref in codeAllEqualityConstraints() following an OOM. (user: drh, tags: rowvalue)
16:33
[bd5a3420] Simplify the fix in commit [7d9bd22c]. (user: dan, tags: rowvalue)
15:25
[b7e710e4] Fix the header comment on codeEqualityTerm(). (user: drh, tags: rowvalue)
14:58
[231c72d9] Fix a problem handling (a, b) IN (SELECT ...) expressions when there is an index on just one of "a" or "b". (user: dan, tags: rowvalue)
14:37
[4071da2f] Enhance the sqlite3GetTempRange() and sqlite3ReleaseTempRange() internal routines so that they use sqlite3GetTempReg() and sqlite3ReleaseTempReg() when nReg==1. (user: drh, tags: rowvalue)
12:04
[288e934f] Fix a typo in a comment in expr.c. (user: dan, tags: rowvalue)
2016-09-05
22:50
[e8f105c3] Simplified logic to extract a column from a row value. (user: drh, tags: rowvalue)
20:46
[f66d0d8c] Sync up the MSVC makefiles. (user: mistachkin, tags: callbackConv)
20:40
[ea635bf9] Merge updates from trunk. (user: mistachkin, tags: callbackConv)
19:57
[2fa5288a] Fix an assert() so that it does C-compiler does not combine an assert() conditional with a production code conditional and thereby confuse the mutation testing script. (user: drh, tags: rowvalue)
15:02
[96269f01] Simplifications to the SQLITE_KEEPNULL flag on VDBE comparison operators. (user: drh, tags: rowvalue)
12:12
[ae127bcc] Do vector comparison size checking early - at name resolution time - to forestall future problems. (user: drh, tags: rowvalue)
12:02
[56562a03] Closed-Leaf: Catch vector size mismatch problems during name resolution to avoid later problems. (user: drh, tags: early-vector-size-check)
09:44
[42670935] Fix a crash that could occur under certain circumstances if the vectors on either side of a comparison operator were of a different size. (user: dan, tags: rowvalue)
2016-09-03
19:52
[7d9bd22c] Fix a problem causing the affinity of sub-select row-value elements to be ignored in some contextes. (user: dan, tags: rowvalue)
16:24
[ed206048] Merge the fuzzershell enhancement from trunk. (user: drh, tags: rowvalue)
16:23
[672c21bc] Build the generate_series(START,END,STEP) table-valued function into fuzzershell, to make it easier to construct compact test cases that contain actual data. (user: drh, tags: trunk)
15:31
[f5e49855] Consider the affinity of "b" when using an "a IN (SELECT b ...)" expression with an index on "a". Fix for [199df416]. (user: dan, tags: rowvalue)
01:46
[f1d06c49] Performance optimizations. (user: drh, tags: rowvalue)
2016-09-02
23:56
[c7271fbd] Merge recent changes from trunk. (user: drh, tags: rowvalue)
21:34
[9bdf7ca1] Add a test case for the OOM handled by the previous commit. (user: dan, tags: trunk)
21:17
[d9d8a048] Correctly detect an OOM occurring in the setDestPgsz() subroutine of backup. (user: drh, tags: trunk)
17:27
[3a9f4750] Leaf: The previous commit could miss an SQLITE_NOMEM error. This commit catches it. (user: dan, tags: mistake)
17:18
[7908fc60] Within a backup operation, ensure that a read-transaction is opened on the source database before its page size is read. This ensures the page-size used to write to the backup database is the same as its actual page-size, which is important for ZipVFS databases. (user: dan, tags: trunk)
2016-09-01
14:03
[f4ba894a] Have "sqldiff --rbu" ignore rows with NULL values in primary key fields. RBU can't handle such rows and the documentation already says sqldiff ignores them. Because the code now uses "=" instead of "IS" to filter on primary key columns, diffs on virtual tables are faster now too. (user: dan, tags: trunk)
09:35
[38d31e18] If SQLITE_ENABLE_ZIPVFS is defined, journal_mode=off is configured and a savepoint or statement rollback is attempted, move the pager into the error state to prevent the transaction from being committed. This makes it safe to use journal_mode=off with zipvfs under some conditions. (user: dan, tags: trunk)
2016-08-29
14:18
[6602974d] Use some of the example code from the sessions documenatation in the sessions test cases. (user: dan, tags: trunk)
2016-08-27
20:21
[a07269f2] Fix typos in comments. No changes to running code. (user: drh, tags: trunk)
18:35
[78cd64e2] Fix some comments in sqlite3session.h. No changes to code. (user: dan, tags: trunk)
18:34
[d464a7b1] Fixes to fts5 snippet() function. (user: dan, tags: trunk)
14:13
[082fd5f8] Merge updates from trunk. (user: drh, tags: rowvalue)
14:05
[4d43c469] Fix the extra comments (added with -DSQLITE_ENABLE_EXPLAIN_COMMENTS) so that the sense of <, <=, >, and >= tests is correct and so that the SQLITE_STOREP2 version is shown correctly. These changes are already in the rowvalue branch but are added here since they are technically unrelated to rowvalue. (user: drh, tags: trunk)
01:41
[f51248dc] Fix the "Synopsis" on the OP_Lt, OP_Le, OP_Gt, and OP_Ge opcodes, which has been backwards for time out of mind. (user: drh, tags: rowvalue)
2016-08-26
22:09
[829f802b] Fix a minor problem in sqlite3FindInIndex() related to rowids being used as part of the index. (user: drh, tags: rowvalue)
21:15
[b9fc89e4] Fix the sqlite3FindInIndex() to ensure that it always uses a prefix of the index and uses no repeated columns. Enhanced comments. (user: drh, tags: rowvalue)
19:54
[171aa833] Add an EXPLAIN QUERY PLAN line for when a index is used to implement an IN operator. (user: drh, tags: rowvalue)
19:47
[078bb69e] Add test cases to rowvalue2.test. (user: dan, tags: rowvalue)
19:31
[4b589fbf] Enhance sqlite3FindInIndex() so that it is able to make use of the primary keys at the end of an index. (user: drh, tags: rowvalue)
18:17
[87d40195] Fix a post-OOM crash in updateRangeAffinityStr(). Add several ALWAYS() macros on unreachable branches. (user: drh, tags: rowvalue)
17:54
[b34413ac] Fix a problem with affinity changes and vector range comparisons. (user: dan, tags: rowvalue)
13:19
[b0cc6be4] Allow ROWID values in indexed vector comparisons. (user: drh, tags: rowvalue)
12:00
[70901479] Fix a problem in internal function sqlite3OpenTableAndIndices causing an operand of an unrelated VM instruction to be overwritten. Fix for [ef360601]. (user: dan, tags: trunk)
04:32
[84de17bc] Rename a test procedure in 'speed3.test' to avoid a name collision. (user: mistachkin, tags: trunk)
03:42
[39761700] Comment improvements. Put ALWAYS and NEVER macros on three unreachable branches. (user: drh, tags: rowvalue)
02:10
[e4aeaa2b] Adapt the special case of '$' in item names for test 'vtabH-3.1' as well. (user: mistachkin, tags: trunk)
01:47
[328f79bb] Make the test 'vtabH-3.1' work when there are less than 5 top-level items. (user: mistachkin, tags: trunk)
01:17
[3680f95f] Support running the fstree tests in 'vtabH.test' on Windows when not using the system drive. (user: mistachkin, tags: trunk)
01:02
[9d96f614] Remove an unreachable branch from sqlite3ExprAffinity() (user: drh, tags: rowvalue)
2016-08-25
23:24
[a8546fee] Fix typos in 'vtabF.test' file. No changes to code. (user: mistachkin, tags: trunk)
22:31
[5789aab8] Merge recent changes from trunk. (user: drh, tags: rowvalue)
22:06
[37e6c54b] Fix the sqlite3_trace_v2() interface so that it goes disabled if either the callback or mask arguments are zero, in accordance with the documentation. (user: drh, tags: trunk)
21:14
[b56705ae] Refactor the sqlite3ExprCodeIN() routine for improved maintainability. (user: drh, tags: rowvalue)
17:47
[f474aeac] Another fix in the IN-operator algorithm description. (user: drh, tags: rowvalue)
17:40
[df064837] Further refinement of the in-operator.md documentation. (user: drh, tags: rowvalue)
15:46
[b6344298] Improvements to IN operator code generator comments. Avoid unnecessary Copy operations on the LHS of the IN operator. (user: drh, tags: rowvalue)
14:23
[25033ee9] Corrections to the IN-operator notes. (user: drh, tags: rowvalue)
14:00
[d256b2ca] Add notes on the implementation of the IN operator. (user: drh, tags: rowvalue)
2016-08-24
21:54
[7ae504e6] Simplified VDBE code for the vector NOT IN null-scanning loop. (user: drh, tags: rowvalue)
21:24
[bbc1b016] Improved extended comments of comparison operators when the SQLITE_STOREP2 flags is set on P5. No changes to non-debug code. (user: drh, tags: rowvalue)
19:58
[e4a56197] Modularize all use of the calling convention macros based on the USE_STDCALL nmake macro. (user: mistachkin, tags: callbackConv)
19:14
[bee44ebc] Add the sqlite3changebatch_db() API. (user: dan, tags: changebatch)
18:51
[55945fc1] In sqlite3FindInIndex(), improve internal comments and avoid an unreachable branch. (user: drh, tags: rowvalue)
18:50
[b174ed2b] Closed-Leaf: Fix a bug in the fts5 snippet function causing it to return text containing zero phrase instances. (user: dan, tags: fts5-snippet-bias)
18:49
[428fc38d] Merge updates from trunk. (user: mistachkin, tags: callbackConv)
18:21
[77f7c31a] Sync up the MSVC autoconf makefile. (user: mistachkin, tags: trunk)
17:49
[6099c180] Fix more unreachable branches. (user: drh, tags: rowvalue)
15:37
[505a2f20] Add a NEVER() on an unreachable branch in comparisonAffinity(). (user: drh, tags: rowvalue)
12:22
[f41a0391] Fix a buffer overrun in the code for handling IN(...) operators when the LHS of the operator contains indexed columns or expressions. (user: dan, tags: rowvalue)
00:51
[1e3bc369] The previous OOM fix was bad. Back it out and replace it with a better one. (user: drh, tags: rowvalue)
00:25
[25f6ed8d] Avoid a potential null-pointer dereference following an OOM. (user: drh, tags: rowvalue)
2016-08-23
19:02
[838c50a5] Simplify the row value misuse error message. (user: drh, tags: rowvalue)
19:02
[506d6ff4] Add further tests for changebatch. And a fix to prevent a changeset from conflicting with itself. (user: dan, tags: changebatch)
18:30
[e149e6b9] Fix a problem with rowvalue UPDATE when the rowvalue is not the left-most and the RHS is a multi-column subquery. (user: drh, tags: rowvalue)
18:09
[a721a738] Fix harmless compiler warnings in changebatch. (user: drh, tags: changebatch)
17:30
[c8ffae05] Fix an uninitialized variable in CASE expression code generation. (user: drh, tags: rowvalue)
17:02
[efa761b2] Add a new method to sessions - sqlite3sessions_fullchangeset() - to return a changeset that always contains values for all old.* fields. Update changebatch to use these values to more reliably detect multi-column UNIQUE constraint violations. (user: dan, tags: changebatch)
14:42
[c640489d] Fix the SQLITE_USER_AUTHENTICATION login check so that the SQLITE_AUTH_USER error code correctly propagates and is not overwritten by SQLITE_ERROR. (user: drh, tags: trunk)
2016-08-22
21:01
[207d970b] Add a couple of extra tests to changebatch1.test. (user: dan, tags: changebatch)
20:49
[0c9fd6b7] Add an experimental module to detect conflicts between sessions changesets. (user: dan, tags: changebatch)
20:10
[78395193] Add support for the SQLITE_DBCONFIG_MAINDBNAME configuration option. (user: drh, tags: trunk)
14:30
[07e69f43] Fix the vector BETWEEN operator so that it only evaluates the left-most vector expression once. Add support for vector comparisons in the CASE operator. (user: drh, tags: rowvalue)
00:48
[2f39987f] Reinstate the mechanism in BETWEEN that avoids evaluating the first expression more than once, but fix the affinity extractor so that it works with this mechanism. The de-duplication of the first expression still does not work for vector expressions, though. (user: drh, tags: rowvalue)
2016-08-20
22:49
[e50d264f] The docs promise the in "x BETWEEN y AND z" the x expression is only evaluated once. That is no longer true, and so some tests are failing. This needs to be fixed before merging to trunk. (user: drh, tags: rowvalue)
21:11
[d4562a9e] Further comment enhancements. No changes to code. (user: drh, tags: rowvalue)
21:02
[4fb66d65] Clarification of code comments in expr.c. Clean up the implementations of sqlite3ExprIsVector() and sqlite3ExprVectorSize() slightly. (user: drh, tags: rowvalue)
18:06
[9041ee4a] Fixes for problems following OOM errors. (user: drh, tags: rowvalue)
17:23
[b56b2a85] Fix other minor problems with the fts5 snippet() function. (user: dan, tags: fts5-snippet-bias)
17:00
[8384c77e] Do not duplicate the Expr.pLeft subtree of a TK_SELECT_COLUMN node. (user: drh, tags: rowvalue)
15:01
[203f07c5] Fix a segfault that could occur if a query that used a vector comparison contained certain types of syntax errors. (user: dan, tags: rowvalue)
12:00
[a3ffd283] Improvements to the vector comparison splitter in exprAnalyze(). (user: drh, tags: rowvalue)
01:06
[4165d20f] Improvements to comments. No code changes. (user: drh, tags: rowvalue)
00:51
[f320d47d] Add support for vector assignments in the SET clause of an UPDATE statement. (user: drh, tags: rowvalue)
00:07
[d8feea7d] Change the way TK_SELECT_COLUMN is handled so that the subquery is only generated once even if part of the vector comparison is used for indexing and the other part is now. This change also is a pathway to vector assignment in UPDATE statements. (user: drh, tags: rowvalue)
2016-08-19
19:58
[d4a5af69] Replace the magic number (-2) with its symbol XN_EXPR in the exprMightBeIndexed() routine. No logic changes. (user: drh, tags: rowvalue)
19:12
[acea4ee1] Improved comments on sqlite3CodeSubquery(). No changes to code. (user: drh, tags: rowvalue)
18:40
[931c9535] Show the WhereTerm.iField value on debugging output, when it is non-zero. (user: drh, tags: rowvalue)
18:37
[b10e31dc] Register any built-in fts5 module before loading automatic extensions. This allows automatic extensions to register fts5 tokenizers and auxiliary functions. (user: dan, tags: fts5-snippet-bias)
18:28
[d07be5af] Fix an obsolete comment on codeEqualityTerm(). No changes to code. (user: drh, tags: rowvalue)
15:41
[b1787236] Merge recent enhancements from trunk. (user: drh, tags: rowvalue)
15:17
[12d5e38d] Closed-Leaf: Merge the VACUUM attached database enhancement from trunk. (user: drh, tags: dbconfig_maindbname)
15:15
[083f9e62] Enhance the VACUUM command so that it can operate on an attached database. (user: drh, tags: trunk)
15:12
[ad35ef11] Closed-Leaf: Disable row counting on queries run while doing a VACUUM. (user: drh, tags: vacuum-attached-db)
14:25
[d8180af2] Have the fts5 snippet() function avoid favouring snippets that begin with sentences that do not contain search terms. Add an extra bias in favour of the first sentence in the document. (user: dan, tags: fts5-snippet-bias)
14:20
[29d63059] Add the capability to VACUUM an attached database by specifying the schema name as an argument to the VACUUM command. Since version 2.0, VACUUM has accepted an argument which was silently ignored. Now it has meaning. (user: drh, tags: vacuum-attached-db)
2016-08-18
22:44
[d6e3d579] Add the SQLITE_DBCONFIG_MAINDBNAME interface. (user: drh, tags: dbconfig_maindbname)
22:19
[cb9865e1] Change the name of Db.zName to Db.zDbSName for improved long-term code maintainability. (user: drh, tags: trunk)
20:56
[d7cf423c] Closed-Leaf: Fix a zName to zDbSName conversion missed in the previous check-in. (user: drh, tags: zDbSName)
19:04
[936146b1] Fix a SQL NULL handling bug in the vector IN operator code generation. (user: drh, tags: rowvalue)
18:09
[3b27a5da] Display SELECT_COLUMN expressions in the .wheretrace debugging output. (user: drh, tags: rowvalue)
17:55
[157347e2] Display VECTOR expressions in .wheretrace and .selecttrace debugging output. (user: drh, tags: rowvalue)
15:36
[b40b202c] Since the TK_VECTOR token is not actually used by the parser, make it an extra token code added by the tool/addopcodes.tcl script during parser build. (user: drh, tags: rowvalue)
15:21
[4768a106] Merge recent enhancements from trunk. (user: drh, tags: rowvalue)
15:15
[e2ad0b5d] Simplify the vector comparison code generator logic, and the resulting VDBE code. (user: drh, tags: rowvalue)
14:47
[184ecbe9] Adjust some tests to account for recent changes to the fts5 snippet function. (user: dan, tags: fts5-snippet-bias)
14:33
[92a22f01] Rename the Db.zName field to Db.zDbSName to make it more descriptive and to distinguish it from all of the other "zName" variables scattered throughout the code. (user: drh, tags: zDbSName)
2016-08-17
19:05
[60de1594] Bias the fts5 snippet() function to return snippets that look like they start at the start of sentences. (user: dan, tags: fts5-snippet-bias)
11:14
[a861713c] Fix a problem in the fts5 snippet() auxiliary function. (user: dan, tags: trunk)
2016-08-16
16:46
[f9035b8e] Fix a bug in destructor processing of Lemon. That has no impact on the SQLite grammar. The bug was introduced by prior work to optimize the Lemon-generated parser used by SQLite. (user: drh, tags: trunk)
2016-08-13
14:30
[c7a9f26d] Leaf: Questionable changes to support interruptible checkpoint in ZipVFS. (user: dan, tags: interruptible-checkpoint)
14:17
[c54bd9c8] Closed-Leaf: Remove an unnecessary stack variable from sqlite3VdbeExec(). (user: drh, tags: vector-compare)
13:03
[18f5a3be] Improvements to commits. No code changes. (user: drh, tags: vector-compare)
12:37
[ec70a67e] Fix to the vector less-than operator. All legacy tests passing now. (user: drh, tags: vector-compare)
10:34
[e22252e1] Fix an fts5 problem with corrupt database handling found by address-sanitizer. (user: dan, tags: trunk)
10:02
[dfc028cf] Attempt to simplify the logic and generated code for vector comparisons. Basic comparison operators are working, but there are many indexing test failures still to be worked through. (user: drh, tags: vector-compare)
06:38
[fcfbee6c] Fix a buffer overread in fts5. (user: dan, tags: trunk)
2016-08-12
16:21
[8a5f41c7] Have wal file checkpoints exit early if the sqlite3_interrupt() API function is called. (user: dan, tags: interruptible-checkpoint)
11:25
[381aa731] Add VdbeCoverage() macros on newly added VDBE branch operations. (user: drh, tags: rowvalue)
11:01
[14009b32] Fix a post-OOM memory leak. (user: drh, tags: rowvalue)
2016-08-11
19:12
[d9f8918c] Leaf: Merge version 3.14 plus some subsequent patches (including the page-cache performance patch) from trunk. (user: drh, tags: begin-concurrent)
18:53
[a12d8059] Version 3.14.1 (user: drh, tags: release, branch-3.14, version-3.14.1)
18:05
[ed406d31] Add the "modeof=<filename>" URI parameter to os_unix.c - used to specify a file to copy permissions from when a new database is created. Also allow passing NULL as the second parameter to sqlite3rbu_vacuum(). (user: dan, tags: trunk)
13:51
[1adb22f5] Fix a 1 byte buffer overwrite in the "sqldiff --rbu" command. (user: drh, tags: branch-3.14)
13:08
[34aed3a3] Increase the version number to 3.14.1. (user: drh, tags: branch-3.14)
13:03
[03dceaea] Enhance sqlite3PcacheTruncate() to run faster in the common case where the cutoff is just a few pages less than the page number highwater mark. (user: drh, tags: branch-3.14)
12:31
[959677b9] Merge recent changes from trunk. (user: drh, tags: rowvalue)
12:01
[8278be06] Fix some problems with handling "no such collation sequence" errors. (user: dan, tags: rowvalue)
09:55
[ab83d707] Fix a 1 byte buffer overwrite in the "sqldiff --rbu" command. (user: dan, tags: trunk)
01:24
[2ea0c8b4] Fix a harmless compiler warning in FTS5. (user: drh, tags: trunk)
2016-08-10
20:02
[95493058] Optimization to sqlite3WhereExprUsage(). (user: drh, tags: trunk)
19:43
[7319d676] List of MATCH operator names in isMatchOfColumn() should be constant. (user: drh, tags: trunk)
18:56
[ebccbd96] Performance enhancement in the expression walker. (user: drh, tags: trunk)
15:02
[059f4e2e] Tweaks to pcache1TruncateUnsafe() to make it slightly smaller and faster and easier to test. (user: drh, tags: trunk)
14:40
[25d1d02b] Rearrange the code inside sqlite3RunParser() routine so that sqlite3Parser() is only called from a single place. This allows sqlite3Parser() to be in-lined, which results in a 0.25% overall performance gain. (user: drh, tags: trunk)
13:34
[8c2701e7] Increment the version number to 3.15. (user: drh, tags: trunk)
13:30
[83622f3f] Improved comments on the lempar.c parser template. Adjust the YY_SHIFT_USE_DFLT constant in the Lemon-generated parser tables so as to guarantee that it is always out of range of the yy_lookahead[] table. (user: drh, tags: trunk)
11:50
[b07a26df] Fix pcache1TruncateUnsafe() run faster for the case where iLimit is very close to iMaxKey. (user: drh, tags: trunk)
03:35
[9ab53605] Leaf: Try to make pcache1TruncateUnsafe() run faster for the case where iLimit is very close to iMaxKey. (user: drh, tags: debug)
02:54
[5980e625] Remove all timers and other debugging logs except for the one timer on pcache1TruncateUnsafe(). (user: drh, tags: debug)
01:43
[ba6663be] Performance optimization in the yy_find_shift_action() routine of the Lemon-generated parser. (user: drh, tags: trunk)
2016-08-09
21:08
[f0942c36] Closed-Leaf: Prototype for the remember(V,PTR) extension function. (user: drh, tags: rememberFunc)
21:01
[9a5a4f6e] Fix harmless compiler warning. (user: drh, tags: trunk)
19:48
[14864f2b] Minor update to the way fts5 column filters are parsed. (user: dan, tags: trunk)
19:26
[e5175456] Have fts5 interpret column lists that begin with a "-" character as "match any column except" lists. (user: dan, tags: trunk)
11:44
[42ce53f6] Add another timer on pcache1TruncateUnsafe(). (user: drh, tags: debug)
11:23
[7d0af4b5] Add a debug timer to pcache1Truncate(). Change the formatting of some other messages to make them easier to read. (user: dan, tags: debug)
05:48
[ea03e219] Add rowvalue5.test, which should have been part of the previous commit on this branch. (user: dan, tags: rowvalue)
01:21
[9d4eb6e4] Refocus the timer on the pager_end_transaction() routine. (user: drh, tags: debug)
2016-08-08
20:15
[156a41f3] Fix some cases involving row values and virtual tables. (user: dan, tags: rowvalue)
18:42
[bb606511] Fix the EXPLAIN QUERY PLAN output for row value range constaints that use an index. (user: dan, tags: rowvalue)
16:52
[0e927a7e] Merge trunk changes with this branch. (user: dan, tags: rowvalue)
14:21
[c3cd543f] Merge all changes from the 3.14 release. (user: drh, tags: apple-osx)
13:40
[d5e98057] Version 3.14 (user: drh, tags: trunk, release, version-3.14.0)
2016-08-07
18:52
[ebc396a1] Fix documentation typos. No changes to code. (user: drh, tags: trunk)
2016-08-05
20:54
[95578898] Have the TEA package build without SQLITE_OMIT_DEPRECATED. As it uses recently deprecated interfaces sqlite3_profile() and sqlite3_trace(). (user: dan, tags: trunk)
16:16
[ae72513a] Undo commit [f250166bb]. It is required to handle IO and other errors that occur within a VACUUM of a Zipvfs database. (user: dan, tags: trunk)
15:34
[0f57effa] Remove an incorrect ALWAYS() statement and add a test case to show when the condition is sometimes false. (user: drh, tags: trunk)
14:35
[68eac748] Fix a very obscure problem following OOM in sqlite3_declare_vtab(). (user: drh, tags: trunk)
2016-08-04
14:08
[491f1ef3] Add extra logging calls to this branch. (user: dan, tags: debug)
13:39
[dacfff51] Merge all recent enhancements from trunk. (user: drh, tags: apple-osx)
13:23
[9adda385] Revert the SQLITE_APICALL changes for now. That changes needs further research before it is released. Deferred until 3.15. (user: drh, tags: trunk)
12:35
[b7f30a9f] Add the experimental SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION compile-time option. When enabled, the "unknown function" error is suppressed for EXPLAIN and a no-op function named "unknown()" is substituted. This facilitiates using the command-line shell to analyze queries from applications that contain many application-defined functions that are not normally available to the shell. (user: drh, tags: trunk)
12:33
[e22ca3cd] Add the experimental SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION compile-time option. When enabled, the "unknown function" error is suppressed for EXPLAIN and a no-op function named "unknown()" is substituted. This facilitiates using the command-line shell to analyze queries from applications that contain many application-defined functions that are not normally available to the shell. (user: drh, tags: apple-osx)
09:13
[bf5a9542] Merge the ORDER BY LIMIT fix, and other enhancements, from trunk. (user: drh, tags: apple-osx)
09:09
[13e3bd3d] Make sure the ORDER BY LIMIT optimization is not applied if the inner-most loop can only have a single iteration and is hence not really a loop. (user: drh, tags: trunk)
01:47
[4ada023c] Closed-Leaf: Add an experimental SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION compile-time option. This changes has been merged into main branches via cherry-pick. (user: drh, tags: unknown-function)
2016-08-03
18:00
[3c2f908f] Fix a problem with estimating the number of rows visited by a query that uses a multi-column IN(SELECT...) constraint. (user: dan, tags: rowvalue)
16:39
[1559f4c4] Fix another problem involving vector range constraints and mixed ASC/DESC indexes. (user: dan, tags: rowvalue)
16:14
[18af74ab] Fix stat4-based cost estimates for vector range constraints. (user: dan, tags: rowvalue)
14:51
[722c1281] Fix a typo in a comment in btree.c. No changes to code. (user: drh, tags: trunk)
13:40
[b91444b5] Fix the --help output on fuzzcheck so that it fix in an 80-character window. (user: drh, tags: trunk)
2016-08-02
20:45
[e496b2d6] Add new test file rowvaluefault.test. (user: dan, tags: rowvalue)
20:42
[e2f9919e] Fix a unused variable that comes up with -DSQLITE_OMIT_DATETIME_FUNCS. (user: drh, tags: trunk)
19:29
[50de9631] The 'replace.tcl' tool should use Unix line-endings. (user: mistachkin, tags: trunk)
18:50
[092b1c5f] Add tests and fixes for vector operations that use sub-queries with different combinations of LIMIT, OFFSET and ORDER BY clauses. (user: dan, tags: rowvalue)
17:45
[339f85f4] Fix SQLITE_OMIT_SUBQUERY builds. (user: dan, tags: rowvalue)
17:07
[e2ad30c8] Fix a problem with vector range constraints and mixed ASC/DESC indexes. (user: dan, tags: rowvalue)
16:24
[d468101b] Merge latest trunk changes into this branch. (user: dan, tags: rowvalue)
16:18
[6937677c] Add missing comments and make some code on this branch clearer. (user: dan, tags: rowvalue)
13:26
[b23c10ac] Updates to requirements marks. No changes to code. (user: drh, tags: trunk)
11:29
[e64a4173] Fix a problem introduced by [77948b5eceab92a7] causing duplicate calls to be made to the xSavepoint() method of virtual tables under some circumstances. (user: dan, tags: trunk)
08:45
[7c38a79c] Fix harmless compiler warnings in sqlite3_status(). (user: drh, tags: trunk)
2016-08-01
21:17
[d8ef9f58] Update the wordcount.c test program and add a new script "time-wordcount.sh" for additional performance testing. (user: drh, tags: trunk)
20:14
[3ef75d45] Fix a problem with vector range constraints involving the rowid column. And other issues. (user: dan, tags: rowvalue)
17:06
[90d2c490] Fix other harmless compiler warnings. (user: drh, tags: trunk)
16:57
[fd184e5a] Remove a duplicate typedef from loadext.c (remaining copy is in sqlite3ext.h). (user: dan, tags: trunk)
16:50
[e57fa6af] Add an extra compiler switch to loadext.test to ensure that it picks up the correct version of sqlite3.h when building a test extension. (user: dan, tags: trunk)
16:37
[1f4dba87] Fix a problem with IN(...) constraints where the LHS is a sub-select that is an aggregate query. (user: dan, tags: rowvalue)
15:00
[a6a112de] Update releasetest.tcl to automatically do one round of tests with USE_STDCALL=1 when running on Windows with MSVC. (user: drh, tags: trunk)
14:35
[b6ea2f21] Avoid making unnecessary changes to the signatures of the sqlite3_auto_extension() and sqlite3_cancel_auto_extension() interfaces. (user: drh, tags: trunk)
2016-07-30
21:02
[059d0d05] Fix problems with vector == comparisons and NULL values. (user: dan, tags: rowvalue)
18:54
[390a38a1] Fix harmless compiler warning seen with MSVC. (user: mistachkin, tags: trunk)
17:59
[63ae02d0] Merge latest trunk with this branch. (user: dan, tags: rowvalue)
16:39
[e9d9c6d4] Remove the EP_Vector expression flag. (user: dan, tags: rowvalue)
03:33
[92b9fead] A new version of the slow mutex log that uses gettimeofday() instead of trying to access the hardware timer. (user: drh, tags: debug)
2016-07-29
20:58
[42607366] Fix some issues with vector range constraints and the column cache. Also vector range constraints and rowid columns. (user: dan, tags: rowvalue)
18:12
[4dfebff2] Change the way "(a, b) = (SELECT *)" expressions are handled in where.c if there is an index on one of the columns only. (user: dan, tags: rowvalue)
17:36
[9fae75c0] Using the header file 'intrin.h' requires MSVC 2005 or later. (user: mistachkin, tags: trunk)
16:32
[ea3c7162] Turn memory status off by default. (user: drh, tags: debug)
14:31
[e60cb6d8] Enhance a debugging log message to better identify a mutex. (user: dan, tags: debug)
14:23
[7d4562e9] Use __sync_synchronous(), when available, instead of a mutex when a memory barrier is needed. (user: drh, tags: debug)
14:10
[33c7ef7a] Add calls to sqlite3_log() when sqlite3_mutex_enter() takes more than 100,000 CPU cycles. (user: drh, tags: debug)
04:12
[544c990a] For test 'shell1-5.0', disable round-trip testing for characters in the range 0xE0 to 0xEF on Linux, due to intermittent shell portability issues. (user: mistachkin, tags: trunk)
02:04
[4fedd790] Fix typo in a test file interactive output string. (user: mistachkin, tags: trunk)
01:55
[8b0eb22e] Merge additional linkage macro changes from the branch. (user: drh, tags: trunk)
01:49
[45588de3] Further refinement to the calling convention macros. (user: drh, tags: trunk)
01:47
[71ffa195] Merge updates from trunk. (user: mistachkin, tags: callbackConv)
01:46
[2daf2098] Update the autoconf makefile for MSVC. (user: mistachkin, tags: callbackConv)
01:32
[c7d51934] Undo some unhelpful changes to skip-scan scoring that were added by the check-in [9e2b2681] that improved scoring of index scan. (user: drh, tags: trunk)
01:31
[bc8c9b55] Add macro necessary for building several extensions when the __stdcall calling convention is not in use. (user: mistachkin, tags: callbackConv)
2016-07-28
23:58
[fc5c1876] Missed a couple Tcl command deletion callbacks. (user: mistachkin, tags: callbackConv)
23:54
[df254365] Use the SQLITE_TCLAPI macro in several extensions that were missed in the previous check-in. (user: mistachkin, tags: callbackConv)
22:53
[b8218129] More compiler warning fixes for GCC related to the auto-extension mechanism. (user: mistachkin, tags: callbackConv)
22:46
[bf9c86c7] The return type used by the auto-extension entry points is 'int', not 'void'. (user: mistachkin, tags: callbackConv)
22:38
[87ba69b5] Make sure all the auto-extension mechanism function signatures match up precisely. (user: mistachkin, tags: callbackConv)
22:23
[3ea567c4] Make the extension auto-loading mechanism work with the __stdcall calling convention. Also, fix a couple Tcl command calling conventions missed in the previous check-in. (user: mistachkin, tags: callbackConv)
19:47
[cc3f6542] Fix further issues with multi-column IN(...) operators. Also some error handling cases surrounding row values. (user: dan, tags: rowvalue)
19:28
[cbe1de47] The 'sqlite3ext.h' content should be processed before being included in the amalgamation. (user: mistachkin, tags: trunk)
18:55
[fd784887] Decorate all interfaces with calling convention macros. (user: drh, tags: trunk)
18:49
[97fc6e43] Closed-Leaf: All SQLite API functions and callbacks in the 'sqlite3ext.h' header file must be decorated with the calling convention. (user: mistachkin, tags: callbackConv)
18:42
[97657445] Merge recent trunk fixes. (user: drh, tags: apple-osx)
18:38
[805d01cd] Disable the authorizer callback when reparsing the schema. This avoids undesirable authorization failures following an ALTER TABLE. (user: drh, tags: trunk)
18:18
[959cd013] Fixup reserved function pointers in the Tcl stubs table and several macros containing Tcl function pointers. (user: mistachkin, tags: callbackConv)
18:06
[90e89ec9] Adjustments to get 'testfixture.exe' compiling with Tcl 8.6 when __stdcall is enabled. (user: mistachkin, tags: callbackConv)
17:24
[81f9cf86] Improvements to the way the COMPILER compile-time option is set when compiling with Clang. (user: drh, tags: trunk)
17:11
[f2f1323c] Make sure the SQLITE_TCLAPI macro is always defined and use it for all callback functions that must interface with the Tcl C API. (user: mistachkin, tags: callbackConv)
16:09
[36b72fd6] More work on getting the 'testfixture.exe' target to work correctly. (user: mistachkin, tags: callbackConv)
15:38
[478a84ef] Modify the mksqlite3h.tcl tool to handle the syscall typedef specially. (user: mistachkin, tags: callbackConv)
15:09
[11ab9c9a] Change mksqlite3h.tcl to automatically insert the SQLITE_CALLBACK calling convention macros. (user: drh, tags: callbackConv)
14:37
[e8be3dfe] Allow the 'testfixture.exe' target to be compiled with the __stdcall calling convention. (user: mistachkin, tags: callbackConv)
13:59
[9685880f] Merge latest trunk changes into this branch. (user: dan, tags: rowvalue)
12:52
[6feff15c] New test case to insure legacy CREATE TABLE syntax is supported. (user: drh, tags: trunk)
04:14
[02b8040e] Work in progress on setting a calling convention for all callback functions. (user: mistachkin, tags: callbackConv)
2016-07-27
19:33
[719a3b20] Fix some problems with multi-column IN(SELECT...) processing. (user: dan, tags: rowvalue)
19:30
[9e2b2681] Enhance the query planner cost estimation for index scans to take into account WHERE clause terms that can be computed using only the index and that do not require looking up rows in the original table. This fixes an obscure performance regression that arose when the ORDER BY LIMIT optimization was added by check-in [bf46179d44843]. (user: drh, tags: trunk)
19:20
[50f8ea37] Closed-Leaf: Add test cases and fix a comment. (user: drh, tags: improved-index-scan)
18:27
[a59b5622] When estimating the cost of an index scan, factor in the cost savings of being able to use the index to evaluate some WHERE clause terms without having to do a table lookup. (user: drh, tags: improved-index-scan)
16:03
[4d59df02] Initialize a variable in where.c to avoid a valgrind warning. (user: dan, tags: trunk)
2016-07-26
18:15
[d4f3d52c] Merge latest trunk changes into this branch. (user: dan, tags: rowvalue)
18:06
[061b8006] Fix where.c handling of "IN (SELECT ...)" expressions when the SELECT returns more than one result column. Also error handling for other row value constructor cases. (user: dan, tags: rowvalue)
15:17
[91e811f5] Merge fixes to sqlite3_scrub_backup() from trunk. (user: drh, tags: apple-osx)
10:46
[483994a5] Ensure that the sqlite3_scrub_backup() extension creates a backup database at least as large as indicated by the database header, even if the last page of the input database is a free-list leaf. (user: dan, tags: trunk)
04:54
[cc6bfdf8] Merge the cache_spill VACUUM fix from trunk. (user: drh, tags: apple-osx)
04:49
[c0e7d98e] Copy the cache_spill setting from the main database over to the vacuum_db transient database when running a VACUUM. (user: drh, tags: trunk)
04:31
[b819bace] Make sure affinity is applied correctly on lower-bound range constraints in the min() optimization. Fix for ticket [a0bac8b3c3d1bb]. (user: drh, tags: trunk)
04:23
[0e9f534f] Make sure affinity is applied correctly on lower-bound range constraints in the min() optimization. Fix for ticket [a0bac8b3c3d1bb]. (user: drh, tags: apple-osx)
2016-07-25
22:46
[cdb7efd0] Merge the VACCUM cache_size adjustment from trunk. (user: drh, tags: apple-osx)
22:40
[b78d9954] In the VACUUM command, set the cache_size of the transient vacuum_db database to be the same as the database being vacuumed. (user: drh, tags: trunk)
21:11
[a495f8e7] Fix a test case in FTS5 to make it compatible with Tcl 8.5. (user: drh, tags: trunk)
18:50
[68ecd8e0] Add the experimental SQLITE_VACUUM_CACHE_SIZE macro. (user: drh, tags: apple-osx)
17:31
[e98cefb1] Merge 3.14 alpha changes from trunk. (user: drh, tags: apple-osx)
16:10
[8dcb9d50] Minor test infrastructure changes to better support SEE testing. (user: drh, tags: trunk)
14:40
[38a48cfb] Add a new %ifdef to parse.y so that the build works with SQLITE_OMIT_SUBQUERY. (user: drh, tags: trunk)
14:20
[9e7bedee] Changes to test scripts to get them all running on OpenBSD. (user: drh, tags: trunk)
12:10
[d6f6c87c] Disable the DBSTATUS_CACHE_USED_SHARED tests on mac when memsys3/5 is disabled due to differences in the allocation sizes for the Darwin memory allocator. (user: drh, tags: trunk)
12:01
[ea7fb98b] Update the vacuummem.test script so that it works on mac as well as on linux. (user: drh, tags: trunk)
11:57
[ccc22e14] If both MEMSYS3 and MEMSYS5 are enabled, than automatically disable MEMSYS3. (user: drh, tags: trunk)
11:39
[5f40e6ad] Another attempt at getting --enable-memsysN working. (user: drh, tags: trunk)
11:32
[67955255] Fix the --enable-memsysN options in configure so that they actually work. (user: drh, tags: trunk)
11:27
[67e1dc98] Add --enable-memsys3 and --enable-memsys5 options to the configure script. (user: drh, tags: trunk)
02:42
[e1e02238] Evidence marks and code reformatting for SQLITE_TRACE_STMT operation. (user: drh, tags: trunk)
02:31
[163e1522] Change SQLITE_TRACE_STMT to return unexpanded SQL text in the X argument. Add documentation on how and when to use sqlite3_expanded_sql(P) to compute the expanded text for legacy sqlite3_trace() compatibility. (user: drh, tags: trunk)
00:05
[1c5baae3] Fix code so that the deprecated sqlite3_trace() and sqlite3_profile() interfaces are not called when SQLITE_OMIT_DEPRECATED is used. (user: drh, tags: trunk)
2016-07-23
20:27
[c8e0539b] Use sqlite3_trace_v2() instead of sqlite3_trace() in the shell. (user: drh, tags: trunk)
20:24
[e2fd6f49] Allow vector IN(SELECT ...) expressions to use an index if either all the indexed columns are declared NOT NULL or if there is no difference between the expression evaluating to 0 and NULL (as in a WHERE clause). (user: dan, tags: rowvalue)
19:34
[269892ab] Add the json_quote() function to the JSON1 extension. (user: drh, tags: trunk)
19:18
[8817dedb] Small tweak to the btree balancer for improved tree balance. (user: drh, tags: trunk)
14:50
[d0bcaf0c] Fix recently added tests so that they work in all configurations. (user: drh, tags: trunk)
05:22
[99a6c518] Add the sqlite3_expanded_sql() and sqlite3_trace_v2() interfaces. (user: drh, tags: trunk)
04:58
[0400f642] Closed-Leaf: Improvements to sqlite3_trace_v2() documentation. Fix the sqlite3VdbeExpandSql() routine to respond better to OOM conditions. (user: drh, tags: sqlite3_trace_v2)
02:07
[ebd388e9] Add requirements marks to the sqlite3_trace_v2() interface documentation. (user: drh, tags: sqlite3_trace_v2)
00:43
[5a027fe4] Fix sqlite3VdbeExpandSql() so that it handles OOMs by always returning NULL. (user: drh, tags: sqlite3_trace_v2)
2016-07-22
21:35
[f50a3fd6] Revise a warning fix from the previous check-in to improve clarity. Also, fix an incorrect test prefix (typo). (user: mistachkin, tags: trunk)
21:26
[8bb6e6fc] Fix harmless compiler warnings seen with MSVC. (user: mistachkin, tags: trunk)
20:45
[527b5ba6] Be sure to hold the database connection mutex while calling sqlite3VdbeExpand() from within sqlite3_expanded_sql(). (user: drh, tags: sqlite3_trace_v2)
20:20
[409535e6] Add requirements marks to the sqlite3_expanded_sql() documentation. (user: drh, tags: sqlite3_trace_v2)
17:58
[60fed5cd] Merge latest trunk changes with this branch. (user: dan, tags: rowvalue)
10:09
[87e25fc4] Fix a problem with upper case module names in the "sqldiff --vtab" command. (user: dan, tags: trunk)
2016-07-21
18:02
[bf98a2de] Add extra test cases to verify the fix in [64ca1a835]. (user: dan, tags: trunk)
16:43
[1b1ad0b2] Add new test file vacuummem.test. To test that any temporary memory used by VACUUM is freed as soon as the VACUUM has finished (not, for example, when sqlite3_close() is finally called). (user: dan, tags: trunk)
2016-07-16
11:47
[613c1cea] Temporarily add extra sqlite3_log() calls to this version to help with debugging a performance problem. (user: dan, tags: debug)
2016-07-15
19:17
[d0a1cf1c] Add the largely untested SQLITE_FTS5_NO_WITHOUT_ROWID compile time option to fts5. For building a dynamically loadable extension that does not use WITHOUT ROWID. (user: dan, tags: trunk)
10:01
[53c25ebe] The sqlite3_expanded_sql() function compiles, but always returns NULL, when the SQLITE_OMIT_TRACE compile-time option is used. (user: drh, tags: sqlite3_trace_v2)
02:55
[d2b1fa55] Merge fixes from trunk. Fix the tclsqlite.test script. (user: drh, tags: sqlite3_trace_v2)
02:50
[ec718089] Disable the CSV extension when virtual tables are disabled. (user: drh, tags: trunk)
01:49
[e03c8189] Modify the Tcl test command 'sqlite3_bind_blob' to make use of the Tcl_GetByteArrayFromObj() API. (user: mistachkin, tags: sqlite3_trace_v2)
00:39
[97ccf15f] Fix typo in sqlite3_trace_v2(). (user: mistachkin, tags: sqlite3_trace_v2)
00:23
[20e74c63] Corrections and enhancements for the new tests. (user: mistachkin, tags: sqlite3_trace_v2)
00:09
[5ccbeeea] Modify one test result to be case-insensitive. (user: mistachkin, tags: sqlite3_trace_v2)
00:07
[8b8c0b74] Add tests, including some for the sqlite3_expanded_sql() API. (user: mistachkin, tags: sqlite3_trace_v2)
2016-07-14
23:17
[f3c4aa97] More work on the Tcl interface and tests for the sqlite3_trace_v2() API. (user: mistachkin, tags: sqlite3_trace_v2)
21:26
[7b59fa40] Initial work on the Tcl API interface to the new sqlite3_trace_v2() function. (user: mistachkin, tags: sqlite3_trace_v2)
20:19
[46bd9533] Leaf: Experimental patch restore the slight bias in btree-balancing immediately after the change to reduces the amount of memcpy() work done by balancing. (user: drh, tags: btree-balance-bias)
19:48
[d2a0af7a] Closed-Leaf: Minor tweak the the b-tree balancer. (user: drh, tags: btree-tuning)
19:13
[a7db6e45] Fix ALTER TABLE so that it does not promote the schema version past 3, as that will cause DESC indexes to go corrupt. Ticket [f68bf68513a1c]. (user: drh, tags: trunk)
09:22
[e7d18c70] Fix copy/paste typo in the new sqlite3_expanded_sql() function. (user: mistachkin, tags: sqlite3_trace_v2)
01:13
[989de2d5] Fix a parameter misordering on sqlite3_trace_v2() in the loadable extension interface. (user: drh, tags: sqlite3_trace_v2)
01:09
[99ee7ee5] Add the sqlite3_expanded_sql() interface. Refinements to the sqlite3_trace_v2() interface to make it more useful. (user: drh, tags: sqlite3_trace_v2)
2016-07-13
23:18
[f33526a3] Legacy tests now passing. (user: drh, tags: sqlite3_trace_v2)
22:55
[cb0062fe] First cut at implementing the new sqlite3_trace_v2() interface. (user: drh, tags: sqlite3_trace_v2)
21:30
[0c569f75] Interface design for a new sqlite3_trace_v2() method that supersedes sqlite3_trace() and sqlite3_profile(). (user: drh, tags: sqlite3_trace_v2)
19:48
[34e35c71] Modifications towards better vector IN(...) support on this branch. Not activated yet. (user: dan, tags: rowvalue)
13:05
[824b39e5] Fix harmless compiler warnings in shell.c for NetBSD. (user: drh, tags: trunk)
00:55
[021d0fb8] Fix header comments and remove an unnecessary version restriction from the carray() table-valued function implementation. (user: drh, tags: trunk)
2016-07-12
19:54
[3ef93950] Fix the error counter reset in Lemon generated parsers. This has no effect on SQLite. (user: drh, tags: trunk)
2016-07-10
19:35
[728c5aa4] Merge comment typo fixes from trunk. (user: mistachkin, tags: rowvalue)
19:35
[77c692a6] Fix typos in comments. No changes to code. (user: mistachkin, tags: trunk)
2016-07-09
20:23
[b2204215] Add some support for using row value constructors in certain parts of SQL expressions. There are many bugs on this branch. (user: dan, tags: rowvalue)
17:47
[c869bf34] Add the "#/value-list/" style of results for approximate value matching in the do_test command of the test infrastructure. Use this new result style to make the SQLITE_DBSTATUS_CACHE_SIZE_SHARED tests cross-platform. (user: drh, tags: trunk)
17:15
[29fb988f] Fix a compiler warning in test code - in the int64array_addr TCL command. (user: drh, tags: trunk)
16:38
[8b22f777] Fix compiler warnings on windows. (user: drh, tags: trunk)
16:14
[5471aca0] Fix various internal #defines to conform to new C-language naming restrictions, specifically that private-use macros names must not begin with "_". (user: drh, tags: trunk)
00:06
[b5f32a89] Add support for the win32-none VFS. (user: drh, tags: trunk)
2016-07-08
21:14
[549abe3f] Closed-Leaf: Initial work on a Win32 VFS with NOP locking. (user: mistachkin, tags: win32nolock)
19:54
[e1d8ef31] Another attempt to fix error handling in Lemon. This change is a no-op for SQLite's usage. (user: drh, tags: trunk)
02:14
[8bb8d886] In the sqldiff program, make sure the first argument to the db_prepare() utility function is always a valid format string. (user: drh, tags: trunk)
2016-07-06
18:42
[06cf2680] Add the SQLITE_DBSTATUS_CACHE_USED_SHARED sqlite3_db_status() parameter. This option is similar to DBSTATUS_CACHE_USED, except that it divides memory used by shared caches evenly between all connections. (user: dan, tags: trunk)
18:12
[d58401ab] Closed-Leaf: Change the name of the SQLITE_DBSTATUS_PROPORTIONAL_CACHE_USED to SQLITE_DBSTATUS_CACHE_USED_SHARED. (user: dan, tags: dbstatus-prop-cache-used)
10:17
[0c228f5d] Fix a test script problem causing a test to fail if the ICU extension is enabled. (user: dan, tags: trunk)
10:12
[118321c8] Add the SQLITE_DBSTATUS_PROPORTIONAL_CACHE_USED sqlite3_db_status() parameter. (user: dan, tags: dbstatus-prop-cache-used)
09:19
[724e4cdc] Fix a memory leak in recently added test code. (user: dan, tags: trunk)
08:32
[2c61b7ab] Fix a typo in test program bc_test1.c. (user: dan, tags: begin-concurrent)
2016-07-05
16:11
[2683b375] More fixes to Lemon so that it automatically resets its error counter at the end of a parse. (user: drh, tags: trunk)
12:47
[91889fa3] Attempt to reset the error count in the Lemon-generated parser after a parse failure. (user: drh, tags: trunk)
2016-07-04
11:47
[0357875f] Add the sqlite3rbu_state() API. Used to determine the current state (creating OAL, ready to move OAL, incremental-checkpoint, finished or error) of an RBU operation. (user: dan, tags: trunk)
11:34
[d8bc6feb] Add the carray() virtual table as a loadable extension. (user: drh, tags: trunk)
2016-07-03
02:35
[a204ba99] Closed-Leaf: Change the name of the intarray() extension to carray() and give it an optional third parameter that specifies the datatype as one of 'int32', 'int64', 'double', or 'char*'. 'int32' is the default. (user: drh, tags: prototype-int-array)
2016-07-02
20:57
[7c3d441f] Fix an off-by-one comparison in the intarray() virtual table. Get the intarray() virtual table tests working using the legacy makefile. (user: drh, tags: prototype-int-array)
20:51
[507fdbfb] Merge the alternative table-valued function RHS of IN operator implementation from trunk. (user: drh, tags: prototype-int-array)
12:33
[bead151e] Fix a problem in table-valued functions on the RHS of an IN operator that occurs following an OOM error. (user: drh, tags: trunk)
12:08
[ac6000f0] Add support for table-valued functions on the RHS of an IN operator. (user: drh, tags: trunk)
2016-07-01
20:12
[228a7879] Fix the transitive constraint logic error that can result in a null pointer dereference. Fix for ticket [e8d439c77685eca6]. (user: drh, tags: trunk)
19:48
[c952af89] Closed-Leaf: Add test cases to the transitive constraint fix. (user: drh, tags: planner-fix)
12:39
[92e7df0f] Closed-Leaf: Add the sqlite3rbu_state() API. Used to determine the current state (creating OAL, ready to move OAL, incremental-checkpoint, finished or error) of an RBU operation. (user: dan, tags: rbu-state-api)
2016-06-29
06:19
[ba1b441b] Add the ability to have a table-valued function on the RHS of an IN operator. (user: drh, tags: prototype-int-array)
05:08
[06e1fab7] Another test case for the intarray($PTR,$N) virtual table. (user: drh, tags: prototype-int-array)
05:00
[233b3338] Add a prototype intarray($PTR,$N) table valued function. (user: drh, tags: prototype-int-array)
2016-06-28
22:27
[a33d2356] Proposed fix for a problem in the query planner. (user: drh, tags: planner-fix)
2016-06-26
04:06
[f8105085] Prevent the WhereLoop.rSetup cost estimate from going negative on complex queries. (user: drh, tags: trunk)
2016-06-25
11:43
[507014e4] Fix the handling of OP_Eq opcodes that compare a register against itself and that require an affinity change. (user: drh, tags: trunk)
2016-06-24
06:23
[77e4f7a3] Fix the ctime.test script so that it works with clang. (user: drh, tags: trunk)
02:50
[67c39e16] Fix the Makefile.in to avoid unnecessary recompiles of sqlite3.c. (user: drh, tags: trunk)
02:21
[a2778ae4] Leaf: Provide for a separate default page size for TEMP and transient database files and initialize that separate default page size to 1024 instead of 4096. (user: drh, tags: temp-page-size)
2016-06-23
16:48
[b8671e94] Update the sqldiff utility so that if the --vtab switch is specified "rtree", "fts3", "fts4" and "fts5" tables are diff'd directly and the underlying real database tables ignored. Without this switch, all virtual tables are ignored and the diff is performed on the underlying real tables. (user: dan, tags: trunk)
12:35
[91113142] Fix the build for -DSQLITE_OMIT_VIRTUALTABLE (user: drh, tags: trunk)
2016-06-21
10:34
[5d0a9d4c] Closed-Leaf: Update the sqldiff utility so that if the --vtab switch is specified "rtree", "fts3", "fts4" and "fts5" tables are diff'd directly and the underlying real database tables ignored. Without this switch, all virtual tables are ignored and the diff is performed on the underlying real tables. (user: dan, tags: sqldiff-vtab-support)
2016-06-20
17:25
[913e5956] For a table on the rhs of a LEFT JOIN operator, do not include terms like "IS NULL" from the WHERE clause in the cursor-hint. These may be false for rows that the cursor would otherwise visit, but true for a row of all NULL values generated by the LEFT JOIN. (user: dan, tags: trunk)
17:22
[7455d932] Closed-Leaf: Allow LIKE operators that appear in a WHERE clause to be included in the cursor-hint for a cursor on the rhs of a LEFT JOIN. (user: dan, tags: cursor-hints)
2016-06-17
19:27
[998095ab] Include WHERE terms in the cursor-hint passed to a cursor opened for the rhs of a LEFT JOIN iff we can be sure that those terms will not evaluate to true if the LEFT JOIN generates a row of NULLs. (user: dan, tags: cursor-hints)
14:59
[fcd12b69] Fix a duplicate test name in cursorhint2.test. (user: dan, tags: cursor-hints)
14:47
[c1a5a57c] Fix a typo in the cursorhint2.test script. (user: dan, tags: cursor-hints)
14:33
[2a2346b0] If a table is on the rhs of a LEFT JOIN, include only terms from the joins ON(...) clause in the cursor-hint passed via OP_CursorHint. (user: dan, tags: cursor-hints)
13:01
[2c3714ae] Closed-Leaf: Add the json_quote() function to the JSON1 extension. (user: drh, tags: json_quote)
2016-06-16
17:14
[0b1579ca] Add a missing OP_ColumnsUsed opcode to code for expressions like "? IN (SELECT ...)" in cases where expression can use an index that may contain NULL values. (user: dan, tags: trunk)
11:16
[48b555c4] Fix a typo in a comment on the SrcList object. (user: drh, tags: trunk)
2016-06-15
10:21
[0f707d15] Merge changes from trunk. (user: drh, tags: apple-osx)
2016-06-13
19:58
[0230ca17] Fix RBU so that it builds with -DSQLITE_ENABLE_8_3_NAMES. Fix "PRAGMA compile_options" for SQLITE_ENABLE_8_3_NAMES such that it reports the numeric setting: "1" or "2". (user: drh, tags: trunk)
15:59
[a1e1cdc5] Fix the declaration of the table implemented by DBSTAT so that it uses correct datatypes. (user: drh, tags: trunk)
12:51
[fcf6114b] Fix an incorrect assert() in the btree logic. (user: drh, tags: trunk)
12:34
[d362ba15] Fix the "onecolumn" and "exists" methods of the TCL interface so that they work in combination with the "profile" callback. (user: drh, tags: trunk)
2016-06-10
22:49
[53a1e5d5] Enhance "PRAGMA table_info" to that it provides information about eponymous virtual tables. (user: drh, tags: trunk)
2016-06-08
18:07
[fe187432] Prefer to use partial indexes for full table scans when that is possible. (user: drh, tags: trunk)
14:04
[f48a4ad3] Add the "dbhash.exe" utility program that computes a SHA1 hash over the invariant content of an SQLite database file. Free space in the file, the page size, auto_vacuum status, text encoding, and so forth do not change the hash. Only the content matters. (user: drh, tags: trunk)
13:59
[fb276815] Closed-Leaf: Fix an undersized buffer in the SHA1 implementation. (user: drh, tags: dbhash)
13:49
[44f157e0] Fix the dbhash utility so that it ignores the root page number when hashing the sqlite_master table. Add new command-line options. Add the ability to hash multiple databases with a single command. (user: drh, tags: dbhash)
01:03
[2247649c] An initial attempt at a "dbhash" command-line utility. (user: drh, tags: dbhash)
2016-06-07
20:25
[2091a4c9] Fix the walcrash4.test test module so that it works on windows. (user: drh, tags: trunk)
2016-06-06
20:36
[e404ad70] In winFullPathname, translate '/X:' to 'X:' before doing anything else. (user: mistachkin, tags: trunk)
20:27
[f8470ffc] Translate filenames of the form "/c:/*" into just "c:/*" on WinRT and Cygwin. (SQLite has long done this for Win32/WinNT.) (user: drh, tags: trunk)
18:17
[3665a2f5] Fix lempar.c so that the shift-reduce optimization works for error processing. This is a Lemon issue only and has no impact on SQLite. (user: drh, tags: trunk)
13:24
[45531654] Initialize the yyerrcnt variable in the lemon parser template. This has no effect on SQLite itself. (user: drh, tags: trunk)
01:54
[e106a77d] Small performance boost and size decrease in sqlite3BtreeMovetoUnpacked(). (user: drh, tags: trunk)
01:48
[5fb0c354] Small performance improvement in the LIKE function. (user: drh, tags: trunk)
01:14
[2d831074] Btree interface refactoring: (1) The sqlite3BtreeKeySize() interface is renamed to sqlite3BtreeIntegerKey() and modified to work only for table btrees with a rowid. (2) The sqlite3BtreeDataSize() interface is renamed to sqlite3BtreePayloadSize() and modified to work with any btree. (3) The sqlite3BtreeDataFetch() and sqlite3BtreeKeyFetch() routines are combined into a single sqlite3BtreePayloadFetch() routine. The result of these changes is a smaller binary and fewer CPU cycles needed to run queries. (user: drh, tags: trunk)
2016-06-04
21:05
[5e269c2d] Closed-Leaf: Improved comment on cursorOwnsBtShared(). No changes to code. (user: drh, tags: btree-refactor)
20:58
[aa53a36e] Fix a C99-ism and a compiler warning for MSVC. (user: drh, tags: btree-refactor)
20:37
[bef35e18] Change the sqlite3BtreeKeySize() interface into sqlite3BtreeIntegerKey() and make it only work for table btrees. Change sqlite3BtreeDataSize() into sqlite3BtreePayloadSize() and make it work for all btrees. Combine sqlite3BtreeDataFetch() and sqlite3BtreeKeyFetch() into a single sqlite3BtreePayloadFetch() routine. These changes seem to make the b-tree interface more rational and they reduce both binary size and CPU usage. (user: drh, tags: btree-refactor)
17:12
[b411107a] Allocate KeyInfo objects from lookaside if possible. (user: drh, tags: trunk)
16:33
[9583c0fb] Fix up speedtest1.c so that it will compile and run on SQLite versions prior to 3.6.18 (circa 2009-09-11). (user: drh, tags: trunk)
13:57
[313e990c] Remove an unreachable branch in the UNIQUE constraint parsing. (user: drh, tags: trunk)
2016-06-03
18:59
[fa3a89fc] The OR optimization is usable on virtual tables with LIKE, REGEXP and/or GLOB terms in the WHERE clause. (user: drh, tags: trunk)
18:44
[aa7e9d0c] Add support for virtual tables using a WITHOUT ROWID schema. This merge also includes enhancements to the CSV extension, which is used for testing of the new WITHOUT ROWID virtual table mechanism. (user: drh, tags: trunk)
18:21
[31b83a7d] Closed-Leaf: Fix a memory leak when a WITHOUT ROWID eponymous virtual table is used. (user: drh, tags: without-rowid-vtab)
17:27
[d31c2597] Disallow access to the rowid column on WITHOUT ROWID virtual tables. (user: drh, tags: without-rowid-vtab)
13:35
[5908aa4d] Enhance the sqlite3_load_extension() interface to permit extensions to return SQLITE_OK_LOAD_PERMANENTLY which will prevents unloading when the database connection closes. (user: drh, tags: trunk)
01:01
[3134b326] Performance optimizations on the CSV virtual table. Disallow WITHOUT ROWID virtual tables that have an xUpdate method, for now. (user: drh, tags: without-rowid-vtab)
2016-06-02
23:13
[95f483e8] Add the CSV extension to the test fixture. Fix a memory leak in the CSV extension. Add test cases for the CSV extension, including one that uses a WITHOUT ROWID virtual table participating in the OR optimization. (user: drh, tags: without-rowid-vtab)
17:44
[76919104] Add the data= parameter to the CSV virtual table extension. (user: drh, tags: without-rowid-vtab)
16:22
[a393bbb9] Fix corner cases in the WITHOUT ROWID virtual table logic. (user: drh, tags: without-rowid-vtab)
2016-06-01
10:37
[3bd85fa5] Fix an issue preventing RBU vacuum from working with virtual tables. (user: dan, tags: trunk)
05:02
[f6e95652] Fix compilation issues with the VFS stat extension. (user: mistachkin, tags: trunk)
2016-05-31
21:18
[49638f18] An experimental branch with code that allows virtual tables to be declared as WITHOUT ROWID tables. This might be useful for virtual tables that model external data sources that do not have a convenient way of computing a unique rowid. The current check-in almost works, but there are still serious issues. (user: drh, tags: without-rowid-vtab)
18:44
[28ebeadd] Add the columns=N parameter to the CSV extension. (user: drh, tags: trunk)
18:08
[b93fb2fe] Add the testflags parameter to the csv extension. (user: drh, tags: trunk)
16:22
[00d3570c] Add the "csv" virtual table for reading CSV files, as an extension in the ext/misc/ subfolder. (user: drh, tags: trunk)
2016-05-30
08:28
[64ca1a83] Fix an FTS5 problem (segfault or incorrect query results) with "... MATCH 'x OR y' ORDER BY rank" queries when either token 'x' or 'y' is completely absent from the dataset. (user: dan, tags: trunk)
05:45
[d0d0bab4] Minor tweaks to the bc_test1 test program. (user: dan, tags: begin-concurrent)
2016-05-28
18:53
[242507b4] Closed-Leaf: Experimental change to allow virtual tables to take advantage of LIKE, REGEXP and GLOB terms that are part of OR expressions within WHERE clauses. (user: dan, tags: vtab-experimental)
17:45
[24f258c2] Remove an unnecessary malloc from the vfsstat extension. (user: drh, tags: trunk)
17:23
[d3f99a5e] Closed-Leaf: Enhance the sqlite3_load_extension() interface to permit extensions to return SQLITE_OK_LOAD_PERMANENTLY which will prevent the extensions from unloading when the database connection closes. (user: drh, tags: load-permanently)
15:22
[6a0f2009] Enhance "PRAGMA compile_options" so that it shows the version of the compiler used to generate the executable, for common compilers. (user: drh, tags: trunk)
15:09
[cbf72b04] Update the amalgamation-tarball configure script so that it can use header file "readline/readline.h" with library file "libedit". (user: dan, tags: trunk)
15:03
[3a461043] Closed-Leaf: Enhance the sqlite3_load_extension() API so that the first parameter (the "db" parameter) can be NULL. An extension that is not associated with any database connection remains loaded for the life of the process. (user: drh, tags: persistent-extensions)
14:53
[0987487d] Add the vfsstat.c loadable extension - a VFS shim that measures the amount of I/O, and an eponymous virtual table that is used to extract and view the measurements. (user: drh, tags: trunk)
00:13
[3f710bc3] Closed-Leaf: Clang can define _MSC_VER in some circumstances; therefore, check for Clang first. (user: mistachkin, tags: ctimeCompiler)
2016-05-27
21:13
[7c2cd4b0] Check for Clang before GCC. (user: mistachkin, tags: ctimeCompiler)
20:30
[5c966f20] Remove surplus quotation marks from the COMPILER= compile_options setting for Clang. (user: mistachkin, tags: ctimeCompiler)
19:34
[664c132d] Remove surplus quotation marks from the COMPILER= compile_options setting for GCC. (user: drh, tags: ctimeCompiler)
18:09
[d734e2df] Add basic compiler information to the results of 'PRAGMA compile_options'. (user: mistachkin, tags: ctimeCompiler)
12:30
[71087c12] Improvements to WHERE-clause debug tracing. Show TK_MATCH expressions and show more details on WhereTerm traces. (user: drh, tags: trunk)
04:10
[a9be4c2d] Fix Lemon so that it actually works with -DYYSTACKDEPTH=0. (user: drh, tags: trunk)
01:07
[28d439f8] Fix the Lemon-generated parser so that it compiles with -DYYSTACKDEPTH=0. It does compile now, but there are subtle issues still. (user: drh, tags: trunk)
2016-05-26
20:56
[ffe80a1b] Add a new OP_SeekRowid opcode, that combines the functions of OP_MustBeInt and OP_NotExists. This makes the code slightly smaller and faster. (user: drh, tags: trunk)
20:52
[5528de4a] Add further instrumentation to the bc_test1.c test app. (user: dan, tags: begin-concurrent)
2016-05-25
18:53
[2a41f098] Add the libvers.c tool in the tool/ subdirectory. (user: drh, tags: trunk)
2016-05-24
18:55
[41fd46e2] Enhance Lemon and the parser template so that it can once again build parsers that have no unreachable branches. (user: drh, tags: trunk)
18:50
[61e239bc] Minor change to the walcrash4.test module so that it works when SQLITE_DEFAULT_WAL_SYNCHRONOUS is set to something other than 2. (user: drh, tags: trunk)
16:20
[37de3eab] Fix an obscure problem with transactions written in "PRAGMA synchronous=full" mode on systems that do not support POWERSAFE_OVERWRITE causing an xSync() call to be omitted if the last frame written by a transaction is aligned to a sector boundary. This means that if a power failure or OS crash occurs very soon after such a transaction is committed, it may be lost following system recovery. (user: dan, tags: trunk)
00:40
[3b28b68e] Improvements to the initialization of the push-down automoton for the Lemon-generated parser. Smaller and faster. (user: drh, tags: trunk)
2016-05-23
21:56
[3c2a7705] Use a pointer to the top of the stack rather than an index into the stack in the Lemon-generated parser template, for about 6.6% parser performance gain. (user: drh, tags: trunk)
19:02
[276e92f5] Avoid a minor error message when running RTREE without an sqlite_stat1 table. (user: drh, tags: trunk)
18:27
[9589e937] Closed-Leaf: Fix the rtreeG.test test case. (user: drh, tags: tree-stat1-fix)
18:12
[48526a2f] Fix RTREE so that it does not run queries against the sqlite_stat1 if that table does not exist. (user: drh, tags: tree-stat1-fix)
18:06
[bfbb6dd8] Remove an extra "finish_test" from the end of rtreeC.test. (user: drh, tags: tree-stat1-fix)
16:16
[3ad2531e] Improve the error messages generated by the rtree module when a constraint fails. (user: dan, tags: trunk)
16:15
[a86e782a] Lemon enhancement: avoid unnecessary reduce actions that convert one non-terminal into another but have no side effects. (user: drh, tags: trunk)
14:24
[b91a5b82] Fix comment typos and improve clarity of presention in Lemon. The output should be identical. (user: drh, tags: trunk)
02:57
[815cc2bb] Merge changes from trunk. (user: drh, tags: apple-osx)
00:10
[90411a28] Update the configure script with additional hints on the location of tclConfig.sh, hints needed by the latest versions of Xcode. (user: drh, tags: trunk)
2016-05-21
23:25
[dec13075] More tweaks to improve the performance of the insert logic, slightly. (user: drh, tags: trunk)
20:03
[55f348cd] Simplify the sqlite3BtreeInsert() interface by gathering the five arguments describing the content to be inserted into the new BtreePayload structure, and thus reducing the number of parameters from eight to four. (user: drh, tags: trunk)
19:10
[2ce11667] Remove some unused legacy code from the btree insert logic. (user: drh, tags: trunk)
18:50
[f33aa76f] Use pthreads mutexes and conditions to synchronize threads in bc_test1. (user: dan, tags: begin-concurrent)
12:29
[1dbaf7a1] Yet another minor size reduction and performance increase in the b-tree insert logic. (user: drh, tags: trunk)
11:23
[656aa1ec] Small size reduction and performance increase in the sqlite3BtreeInsert() logic. (user: drh, tags: trunk)
00:45
[8e366f18] Add the shell-script used for routine performance testing. (user: drh, tags: trunk)
2016-05-20
23:51
[96cf821b] Add a simple TCL script for summing cachegrind information for each VDBE opcode. (user: drh, tags: trunk)
21:40
[1765672c] Another optimization on the OP_Column opcode. (user: drh, tags: trunk)
20:58
[9db8f214] Fix typo in comment. (user: mistachkin, tags: trunk)
19:51
[5c157474] Slight performance improvement in the OP_Column opcode. (user: drh, tags: trunk)
18:09
[f250166b] Remove the sqlite3PagerClearCache() routine, which does not accomplish anything useful. (user: drh, tags: trunk)
15:53
[4dc56e86] Performance optimization and size reduction on the freeP4() routine. (user: drh, tags: trunk)
15:24
[1a0d0576] Increase the version number to 3.14.0 since we are already making significant code changes. (user: drh, tags: trunk)
15:15
[3d55d24d] Use sqlite3VdbeAddOp0() to code OP_Expire, to save a few bytes. (user: drh, tags: trunk)
14:54
[9033afbb] Optimizations to link list merge sort code in vdbesort.c, pcache.c, and rowset.c. Resulting binaries are 10 bytes smaller and use 0.03% fewer CPU cycles. (user: drh, tags: trunk)
14:11
[559733b0] For queries with both ORDER BY and LIMIT, if the rows of the inner loop are emitted in ORDER BY order and the LIMIT has been reached, then optimize by exiting the inner loop and continuing with the next cycle of the first outer loop. (user: drh, tags: trunk)
13:44
[ed1b30dc] Closed-Leaf: Set the NULLEQ flag on the sequence counter comparison in the ORDER BY LIMIT optimization, to avoid coverage complaints about not testing the NULL case. (user: drh, tags: orderby-limit)
12:22
[645bd696] Autoconf configure.ac adjustment to try to get it to look for both editline and readline automatically. (user: drh, tags: trunk)
00:21
[08849eab] A few simple test cases for the ORDER BY LIMIT optimization. (user: drh, tags: orderby-limit)
2016-05-19
22:40
[990fe50c] Appears to work now. Needs test cases, more comments, and code optimization. (user: drh, tags: orderby-limit)
22:13
[852d1eda] In a query with both ORDER BY and LIMIT, if the inner loop satisfies the ORDER BY then try to cut short each invocation of the inner loop once the LIMIT has been satisfied. This check-in is a partial implementation only. (user: drh, tags: orderby-limit)
19:31
[58b516e8] Fixup comments on wctrlFlags value definitions. (user: drh, tags: trunk)
18:56
[d0130584] Clean up the WHERE_* macros used for the wctrlFlags parameter on the sqlite3WhereBegin() interface, freeing up some bits to be used for other things. (user: drh, tags: trunk)
17:51
[cf273741] Optimization marks in vdbe.c. No logic changes. (user: drh, tags: trunk)
16:58
[4737cadc] Performance improvement in the OP_Column opcode. (user: drh, tags: trunk)
16:21
[1f577e1f] Add test cases to test some fts3/4 edge case behaviour surrounding the '*' character. (user: dan, tags: trunk)
11:12
[0d773061] Small size reduction and performance improvement in the OP_Column opcode. (user: drh, tags: trunk)
2016-05-18
21:03
[c981ab2a] Add the "scrub" utility program that simultaneously backs-up a live database and erases all deleted content. (user: drh, tags: trunk)
21:01
[915416d1] Omit the unnecessary WHERE_REOPEN_IDX flag in the WHERE interface. (user: drh, tags: trunk)
20:53
[e2e9b985] Merge the 3.13.0 release changes. (user: drh, tags: apple-osx)
10:57
[fc49f556] Version 3.13.0 (user: drh, tags: trunk, release, version-3.13.0)
2016-05-17
21:17
[ab1c5ce5] Closed-Leaf: Enhance the scrub utility program so that it does a FULL checkpoint prior to starting the backup, to ensure that the database file content matches what needs to be backed up without having to look at the WAL file. (user: drh, tags: scrub-backup)
17:11
[5021dfe1] Merge the latest changes from trunk. (user: drh, tags: scrub-backup)
2016-05-16
14:35
[995c084b] Do not run snapshot_fault.test as part of the inmemory_journal permutation. (user: dan, tags: trunk)
13:37
[0d9b82af] Merge recent fixes from trunk. (user: drh, tags: apple-osx)
11:55
[386bcbba] Disable shell.exe test cases for UTF8 filenames as they do not work on MinGW. (user: drh, tags: trunk)
2016-05-13
17:22
[b369980f] Improvements to a comment in the pcache.c file. No changes to code. (user: drh, tags: trunk)
15:22
[771c5411] Remove the unused PGHDR_NEED_READ flag. Add invariant checking (during SQLITE_DEBUG builds only) for the PgHdr object. (user: drh, tags: trunk)
12:12
[3401d9dc] Clarification of the pagerFlushOnCommit() logic. (user: drh, tags: trunk)
11:50
[9495d338] Fix pager_end_transaction() to ensure that a ROLLBACK does not clobber unwritten pages in a TEMP file pcache. (user: drh, tags: trunk)
04:24
[32a62e3b] Additional debugging and tracing logic for pcache.c, turned off by default using an "#if 0". (user: drh, tags: trunk)
2016-05-12
19:17
[24d9fbc1] Disable ALWAYS and NEVER when compiled with SQLITE_MUTATION_TEST. (user: drh, tags: trunk)
19:05
[1b0f4cc3] Simplification of the sqlite3FaultSim() call inside of sqlite3PagerCommitPhaseOne(). (user: drh, tags: trunk)
18:38
[3fd71092] Add an assert in pager.c to confirm that pPager->tempFile is always true for in-memory databases. (user: drh, tags: trunk)
17:06
[9d55b8f5] Add extra OPTIMIZATION-IF-FALSE comments where required to pcache.c. (user: dan, tags: trunk)
12:08
[06c1e27c] For in-memory databases, it does not matter if pcache entries are marked "clean" or "writable". (user: drh, tags: trunk)
12:01
[0dc50d99] Remove an unnecessary call to sqlite3PcacheMakeClean() inside of the ROLLBACK logic. (user: drh, tags: trunk)
09:48
[bc202e5b] Add a missing OPTIMIZATION-IF-FALSE comment to pcache.c. (user: dan, tags: trunk)
2016-05-11
23:54
[ad601c79] Closed-Leaf: For in-memory databases, it does not matter if pcache entries are marked "clean" or "writable". (user: drh, tags: pager-dev)
20:03
[3bfd2621] Remove a redundant condition from pcache.c. Add an OPTIMIZATION-IF-TRUE comment to another condition that requires it. (user: dan, tags: trunk)
18:20
[4533ed35] Closed-Leaf: Remove a redundant condition from pcache.c. Add an OPTIMIZATION-IF-TRUE comment to another condition that requires it. (user: dan, tags: mistake)
15:41
[9cc8cad7] Remove some a small amount of redundant code related to PCache.pSynced from pcache.c. (user: dan, tags: trunk)
12:47
[345ce1c9] Do not reset the page cache when a rollback journal truncate fails, as doing so can cause loss of information for an in-memory TEMP file. (user: drh, tags: trunk)
11:04
[42fb6f1e] Always truncate, rather than persist, the rollback journal of a TEMP database. (user: drh, tags: trunk)
10:57
[d9313d19] Add pcache tracing macros. Off by default. Requires changing an "#if 0" and recompiling to enable. (user: drh, tags: trunk)
2016-05-10
20:16
[22364024] Add another test case to temptable3.test. (user: dan, tags: trunk)
20:03
[20cf8811] Fix a problem in sqlite3PagerMovepage() when working on a temp table for which pages have been spilled. (user: drh, tags: trunk)
2016-05-09
23:11
[79ecd0ef] Fixes to requirements marks. No changes to code. (user: drh, tags: trunk)
22:35
[8a39c8ee] Enhancements to test/sort5.test so that it works with SEE. (user: drh, tags: trunk)
22:32
[f5875489] Remove some forgotten debugging lines from test/sort5.test. (user: drh, tags: trunk)
19:58
[da94a6e0] Closed-Leaf: Omit the unnecessary WHERE_REOPEN_IDX flag in the WHERE interface. (user: drh, tags: dev)
19:03
[14e53d0e] Update a comment in fts5.h. No changes to code. (user: dan, tags: trunk)
18:05
[48505cde] Fix the FTS5 xQueryPhrase() API function so that it recognizes column filters. (user: dan, tags: trunk)
2016-05-07
18:02
[ec6ef5f2] Add options to bc_test1.c to make it more flexible. (user: dan, tags: begin-concurrent)
12:15
[d75140b8] Make the sqlite3DeleteTable() routine smaller and faster. (user: drh, tags: trunk)
12:15
[a45fda65] Fix typo in the intpkey-17.2 test. (user: drh, tags: trunk)
2016-05-06
21:04
[128c7eae] Add test/bc_test1.c, for testing the degree of concurrency provided by this branch under various conditions. (user: dan, tags: begin-concurrent)
20:23
[3a695263] Simplification to the logic used to decide between OP_Seek and OP_NotExists. Use OP_NotExists for both DELETE and UPDATE. (user: drh, tags: trunk)
18:47
[ab7ab415] Corrections to comments on the whereScanInit() interface. (user: drh, tags: trunk)
16:49
[93a2bace] For DELETE operations, make sure that seeks on the main table are not deferred, since if they are and none of the indexes reference columns of the table, the seek might never occur until the OP_Delete opcode, which is too late. Fix for ticket [16c9801ceba49]. (user: drh, tags: trunk)
16:30
[933a1c81] Fix an error in main.mk causing testfixture to use individual fts5 source code files instead of fts5.c. (user: dan, tags: trunk)
16:06
[150dd09e] Closed-Leaf: In the WHERE generator, when building code for a DELETE operation, make sure that seeks to the main table are not deferred. This is a better fix for the [16c9801ceba49] bug than the previous. (user: drh, tags: ticket-16c9801ce)
15:16
[dc37750d] Fix a bug in sqlite_analyzer causing it report (slightly) incorrect values for the number of entries in indexes or WITHOUT ROWID tables. (user: dan, tags: trunk)
11:31
[50312273] Do not scan indexes that have the integer primary key as their left-most column. This fixes the crash of ticket [16c9801ceba] but it seems like the wrong fix. More investigation needed. (user: drh, tags: ticket-16c9801ce)
2016-05-05
23:59
[d2efd3c1] Additional error reporting. Open the source database read/write so that it can delete the WAL file when done. (user: drh, tags: scrub-backup)
23:39
[b0bd9dd6] Working when run against sqlite.fossil. (user: drh, tags: scrub-backup)
23:09
[aeb88bdf] Finished implementation compiles, but untested. (user: drh, tags: scrub-backup)
17:15
[bdf2ec77] Initial check-in of the "scrub.exe" utility program prototype. Not yet fully functional. In particular, no scrubbing is done. (user: drh, tags: scrub-backup)
11:53
[69d11447] Renumber internal constants in the printf() implemention for a small performance improvement. (user: drh, tags: trunk)
2016-05-04
21:06
[71af9ac1] Disable the session extension API if SQLITE_ENABLE_SESSION is not defined. (user: drh, tags: trunk)
19:04
[6c43ba1c] Fix typo in comment. No changes to code. (user: mistachkin, tags: trunk)
14:45
[aae38969] Only disable the one-pass DELETE optimization if the WHERE clause contains a correlated subquery. Uncorrelated subqueries are allowed. This is a refinement of check-in [3f221f592a9a1] that is the fix for ticket [dc6ebeda9396087]. (user: drh, tags: trunk)
14:20
[7184c4b8] Portability enhancements to the configure script on the amalgamation tarball. (user: drh, tags: trunk)
11:28
[6341ab2f] Disable the PagerDontWrite() optimization for temp tables. It can cause database corruption if a page passed to PagerDontWrite() is dirty at the start of a transaction that is subsequently rolled back. (user: dan, tags: trunk)
2016-05-03
19:40
[1b43358f] Minor style tweaks in the MSVC makefile. (user: mistachkin, tags: trunk)
19:36
[b6ddabe1] Leaf: Add the experimental SQLITE_FCNTL_WIN32_GET_HANDLE file control. (user: mistachkin, tags: win32GetHandle)
14:57
[bcaa650e] The session extension is disabled by default. To enable it using --enable-session on ./configure on unix and add SESSION=1 to the nmake on Windows. Or add -DSQLITE_ENABLE_SESSION and -DSQLITE_ENABLE_PREUPDATE_HOOK to build manually. (user: drh, tags: trunk)
13:14
[e462cde2] Closed-Leaf: Turn the session extension off by default. Enable using --enable-session on configure scripts, or using the SESSION=1 argument to nmake on Windows. (user: drh, tags: session-make)
02:43
[8f05e140] Fix the build when SQLITE_ENABLE_DATA_PROTECTION is defined. (user: drh, tags: apple-osx)
00:04
[0715ce16] Avoid left-shifts of signed integers. (user: drh, tags: trunk)
2016-05-02
19:05
[5830cf72] Remove some randomness from test script temptable2.test. (user: dan, tags: trunk)
16:59
[088cf838] Fix a test case in temptable2.test so that it works on systems that lack a coherient cache (ex: OpenBSD) and thus do not support the "PRAGMA mmap_size" command. (user: drh, tags: trunk)
15:00
[f52765ee] Merge enhancements and bug fixes from trunk. (user: drh, tags: apple-osx)
13:57
[e4af9675] Fix harmless LLVM compiler warnings in the srcck1.c utility program used during the build process. (user: drh, tags: trunk)
12:18
[3f221f59] Disable the multi-row one-pass DELETE optimization when the WHERE clause contains a subquery. Fix for ticket [dc6ebeda9396087]. (user: drh, tags: trunk)
10:25
[54c63b32] Improvements to the way the LIKE optimization is implemented, resulting in slightly smaller and faster code that is easier to test. (user: drh, tags: trunk)
2016-04-30
19:23
[820c57bb] Change the way tester.tcl handes $argv so that in "permutations.test <permutation> <filename>" <filename> may be the name of any file in the test/ directory. (user: dan, tags: trunk)
18:10
[459a0b45] Remove an unnecessary branch from the OP_String8 opcode. (user: drh, tags: trunk)
17:19
[762bdc55] More bug fixes to Lemon identified by Kelvin Sherlock. None of these have any impact on SQLite. (user: drh, tags: trunk)
02:59
[daf4630f] Simplifications to the OP_Halt opcode implementation. (user: drh, tags: trunk)
2016-04-29
20:30
[614bb709] Fix the temporary directory search algorithm for unix so that it fails gracefully even if all candidate directories are inaccessible. This fixes a bug that was introduced by check-in [9b8fec60d8e]. (user: drh, tags: trunk)
17:07
[ce11f8e8] Fix the nolock VFS so that it supports shared memory. (user: drh, tags: apple-osx)
16:01
[91e5c07e] Merge the latest enhancements from trunk. (user: drh, tags: begin-concurrent)
15:52
[81b76901] Merge enhancements from trunk, and in particular the TEMP file deferred I/O enhancements. (user: drh, tags: apple-osx)
15:39
[9d0a5ae0] Postpone I/O associated with TEMP files for as long as possible, with the hope that the I/O can ultimately be avoided completely. (user: drh, tags: trunk)
14:12
[b7bec7f2] Closed-Leaf: Fix test script temptable2.test so that it works with the "inmemory_journal" and "journaltest" permutations. (user: dan, tags: tempfiles-25)
11:35
[99794aca] Merge latest trunk changes, including test case fixes, with this branch. (user: dan, tags: tempfiles-25)
11:33
[4cbd5024] Modify the permutations.test script so as to set any permutation specific configuration values before running each individual test script. Fix a mostly harmless buffer overread in the sessions module. (user: dan, tags: trunk)
11:28
[4792d6db] Lemon bug fix: Do not merge action routines unless their destructors are also identical. Problem and suggested fix reported on the mailing list by Kelvin Sherlock. (user: drh, tags: trunk)
10:13
[89b0ee33] Closed-Leaf: Fix an almost entirely harmless buffer overread in the sessions module. (user: dan, tags: permutations-fix)
02:55
[e7c22e3b] Some optimization comments added to vdbe.c. No functional changes to code. (user: drh, tags: trunk)
2016-04-28
22:29
[9f15a520] Further simplifications and improved commentting on the rowset.c module, including several optimization comments. (user: drh, tags: trunk)
20:11
[8cdbe89a] Comment changes only: Add several optimization marks in rowset.c. Add a header comment that explains what the various special comments mean. (user: drh, tags: trunk)
19:23
[9f6f17b5] Fix typo in comment. No changes to code. (user: mistachkin, tags: trunk)
18:53
[5748e643] Rearrange some code in the RowSet logic for clarity of presentation, while adding an /*OPTIMIZATION-IF-TRUE*/ comment. It should operate identically. (user: drh, tags: trunk)
14:59
[45467ee4] Merge latest changes from trunk with this branch. (user: dan, tags: permutations-fix)
14:54
[5973d3bf] Avoid running sessionfault.test and sessionfault2.test as part of the "inmemory_journal" permutation. (user: dan, tags: permutations-fix)
14:15
[33e62747] Use comments to mark several branches as optimizations. No changes to code. (user: drh, tags: trunk)
09:53
[045edd4b] Ensure that quota.test deletes the directory named "test.db" that it creates. (user: dan, tags: permutations-fix)
03:52
[fcf85bfe] Remove an unnecessary conditional from the sqlite3DecOrHexToI64() routine. (user: drh, tags: trunk)
00:32
[46d4ffff] Change the sqlite3Atoi64() routine so that it returns failure if not all of the input characters are consumed, even if it consumed all characters up to the first 0x00. This has no impact on external APIs as far as I can tell. (user: drh, tags: trunk)
2016-04-27
18:54
[2662d8fe] Modify the permutations.test script so as to set any permutation specific configuration values before running each individual test script. (user: dan, tags: permutations-fix)
15:24
[0065fe97] More simplification of the sqlite3AtoF() routine. Add special comments to indicate branches that are for optimization purposes only and that give the correct answer even if always or never taken. (user: drh, tags: trunk)
11:24
[6bb5aa2b] Fix a couple of test script problems on this branch. Both related to the fact that temp database page sizes can no longer be changed by VACUUM or the backup API after the temp db is populated. (user: dan, tags: tempfiles-25)
02:35
[3adfe9f3] Remove still more unnecessary branches from sqlite3AtoF(). (user: drh, tags: trunk)
2016-04-26
23:14
[dd69e53c] Further simplifications to sqlite3AtoF() to remove unneeded branches. (user: drh, tags: trunk)
21:02
[a9d00749] Remove an unnecessary line from the sqlite3AtoF() routine. (user: drh, tags: trunk)
18:58
[12418b10] The pcache and the built-in VFSes should not use mutexes when SQLITE_CONFIG_SINGLETHREAD is set. (user: drh, tags: trunk)
17:10
[e790aac0] Fix an issue in temptable2.test preventing it from working with SQLITE_DEFAULT_AUTOVACUUM=1 builds. (user: dan, tags: tempfiles-25)
16:03
[04911cee] Merge the checksymbols fix from trunk into this branch. (user: dan, tags: tempfiles-25)
13:13
[d819bfbd] Fix the "checksymbols" target in Makefile.in to be able to deal with the sqlite3changegroup family of interfaces. (user: drh, tags: trunk)
2016-04-25
22:39
[8bfde416] Add an sqlite3FaultSim() all to make it easier to simulate IO errors in a VACUUM commit. (user: drh, tags: tempfiles-25)
19:28
[36f97ca8] Remove an obsolete comment from the pager. No code changes. (user: drh, tags: tempfiles-25)
19:25
[7dd48c10] Update the RBU vacuum code so that databases that use custom collation sequences can be vacuumed. (user: dan, tags: trunk)
19:20
[3ae44770] Fix some unreachable branches in the pager. (user: drh, tags: tempfiles-25)
15:03
[a905d5e0] Merge bug fix from trunk. (user: drh, tags: tempfiles-25)
02:20
[ec215f94] When checking for the WHERE-clause push-down optimization, verify that all terms of the compound inner SELECT are non-aggregate, not just the last term. Fix for ticket [f7f8c97e97597]. (user: drh, tags: trunk)
01:43
[d0a579b3] Fix a typo in the Makefile. (user: mistachkin, tags: trunk)
2016-04-23
21:16
[9b8fec60] Merge the temporary directory search algorithm fix from trunk. (user: drh, tags: tempfiles-25)
20:59
[b38fe522] Fix the fix to the temporary directory search algorithm so that it continues to return "." as a fallback if that directory has the correct permissions. (user: drh, tags: trunk)
19:55
[84da122d] Merge the latest trunk changes. (user: drh, tags: tempfiles-25)
17:24
[c80c5c62] Fix a problem with mixing temp-files and mmap-mode. (user: dan, tags: tempfiles-25)
14:55
[3d61da4a] Fix some problems to do with temp-file databases and recovering from IO and SQLITE_FULL errors. (user: dan, tags: tempfiles-25)
2016-04-21
23:37
[67985761] Change the temporary directory search algorithm on unix so that directories with only -wx permission are allowed. And do not allow "." to be returned if it lacks -wx permission. (user: drh, tags: trunk)
18:13
[bd4a6f83] Add the sqlite3rbu_vacuum() API, to create an RBU handle that can be used to rebuild a database in the same way as the VACUUM command. (user: dan, tags: trunk)
16:44
[6e4ac704] Closed-Leaf: If a call to sqlite3rbu_close() on an rbu handle opened by sqlite3rbu_vacuum() returns other than SQLITE_OK, delete the contents of the rbu_state table. This ensures that if an RBU vacuum operation either completes successfully or encounters an error, the next call to sqlite3rbu_vacuum() with the same parameters starts a new RBU vacuum operation. (user: dan, tags: rbu-vacuum)
15:44
[8183fa68] Leaf: Merge the latest changes from trunk. (user: drh, tags: skip-ahead-distinct)
15:35
[a15c49ae] Merge all recent enhancements from trunk. (user: drh, tags: apple-osx)
15:26
[23eac52e] Fix a problem in rbu vacuum on tables with a large sqlite_master table. (user: dan, tags: rbu-vacuum)
15:24
[49aec971] Add a function prototype in order to fix a compiler warning. (user: drh, tags: tempfiles-25)
15:03
[cc28106e] Merge updates from trunk. (user: drh, tags: tempfiles-25)
02:27
[c4f165c4] Add the SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION method for enabling sqlite3_load_extension() while leaving the load_extension() SQL function disabled. (user: drh, tags: trunk)
01:58
[debafa5e] Closed-Leaf: Test cases for SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION. (user: drh, tags: load-ext-security)
01:30
[b2ae5bfa] Revert sqlite3_enable_load_extension() to its original long-standing behavior. Add SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION which will enable only the C-API and leave the SQL function disabled. (user: drh, tags: load-ext-security)
2016-04-20
20:08
[da5c753d] Add a documentation comment for sqlite3rbu_vacuum() to sqlite3rbu.h. (user: dan, tags: rbu-vacuum)
19:30
[3340f086] When an error occurs while transitioning out of WAL mode, make sure the locking state is not left at EXCLUSIVE. (user: drh, tags: trunk)
18:31
[38a4e9d9] Fix a locking race condition in Windows 10 that can occur when two or more processes attempt to recover the same hot journal at the same time. (user: drh, tags: trunk)
17:47
[f042fdd1] Add fault injection tests for rbu vacuum. Fix some problems revealed by the same. (user: dan, tags: rbu-vacuum)
12:16
[1f709fbf] Merge all recent enhancements from trunk. (user: drh, tags: begin-concurrent)
00:30
[edb454e4] API Change: Modify sqlite3_enable_load_extension() so that it only enables/disables the load_extension() SQL function, and leaves the C-APIs enabled at all times. In this way, applications can enable extension loading for the C interface without having to expose that capability to the SQL. (user: drh, tags: load-ext-security)
2016-04-19
19:27
[74ffea76] Updates to ensure the values of PRAGMA settings like "page_size", "auto_vacuum", "user_version" and "application_id" are not lost when a database is RBU vacuumed. (user: dan, tags: rbu-vacuum)
17:11
[ca021ba8] When an RBU vacuum is started on a db identified using a URI filename, pass the same URI parameters when creating the new version of the db. This ensures that RBU vacuum works with password protected databases. (user: dan, tags: rbu-vacuum)
16:20
[00b2f4b0] Detect attempts to use rbu vacuum on a wal mode database (not allowed). And attempts to write to a database in the middle of an rbu vacuum (which prevents the vacuum from resuming). (user: dan, tags: rbu-vacuum)
2016-04-18
21:00
[29407d70] Another fix to rbu vacuum for a zipvfs case. (user: dan, tags: rbu-vacuum)
18:18
[d76f4aaa] Fix some zipvfs related problems in RBU vacuum. (user: dan, tags: rbu-vacuum)
17:30
[92dc59fd] Leaf: Version 3.12.2 (user: drh, tags: release, branch-3.12.0, version-3.12.2)
16:18
[39dd67af] Correctly interpret negative "PRAGMA cache_size" values when determining the cache-size used for sorting large amounts of data (i.e. the functionality in vdbesort.c). (user: drh, tags: branch-3.12.0)
16:12
[a2cf4968] Fix a problem in the code generator for joins on virtual tables where the outer loop of the join uses the IN operator. (user: drh, tags: branch-3.12.0)
16:06
[368e86c7] Fix the sqlite3BtreeDelete() routine so that it preserves the correct key even when the row being deleted is not on a leaf page. Fix for ticket [a306e56ff68b8fa56] (user: drh, tags: branch-3.12.0)
15:59
[9c37e9ce] Increase the version number to 3.12.2. (user: drh, tags: branch-3.12.0)
15:54
[ab9d279f] Remove quotes from identifiers used as datatype names in a CREATE TABLE statement. Fix for ticket [7d7525cb01b68] (user: drh, tags: branch-3.12.0)
15:46
[eba27d4d] Remove quotes from identifiers used as datatype names in a CREATE TABLE statement. Fix for ticket [7d7525cb01b68] (user: drh, tags: trunk)
13:36
[d9768de5] Merge recent trunk changes. (user: drh, tags: tempfiles-25)
13:30
[85f3d80e] sqlite3PCachePerecentDirty() should return 0 if the pcache is empty. (user: drh, tags: tempfiles-25)
13:09
[3a7d7298] The last parameter to pread64() and pwrite64() should be off64_t, not off_t. (user: drh, tags: trunk)
09:17
[9a0078a5] Add the -vacuum switch to the "rbu" demonstration program. (user: dan, tags: rbu-vacuum)
2016-04-16
19:02
[bae7f875] Changes so that rbu vacuum works with zipvfs databases. (user: dan, tags: rbu-vacuum)
17:53
[dc19aacc] Avoid creating any extra files ("<target>-vacuum") when running an RBU vacuum. Ensure that the OAL file created is "<target>-oal", not "<target>-vacuum-oal". (user: dan, tags: rbu-vacuum)
15:03
[8eb3d7d8] Fix a couple of assert() statements that were failing with OOM error tests. (user: dan, tags: rbu-vacuum)
2016-04-15
22:03
[87703b76] Add the SQLITE_SkipAhead optimization setting (user: drh, tags: skip-ahead-distinct)
20:46
[0216b48f] Add the experimental sqlite3rbu_vacuum() API function. For opening an RBU handle that rebuilds a database from scratch. (user: dan, tags: rbu-vacuum)
16:27
[6fac0b92] Skip-ahead is now just an optimization. If it gets confused, it falls back to an incremental scan with redundancy elimination. (user: drh, tags: skip-ahead-distinct)
16:17
[db5a2364] Skip-ahead does not always work. So we still have to check for redundancy. (user: drh, tags: skip-ahead-distinct)
15:54
[45a70b2b] Fixes to the skip-ahead distinct logic. More issues remain. (user: drh, tags: skip-ahead-distinct)
15:06
[491f0dbd] Merge enhancements from trunk, especially the ".eqp full" enhancement to the command-line shell. (user: drh, tags: skip-ahead-distinct)
15:03
[3e217d62] CLI enhancement: Add the ".eqp full" option, that shows both the EXPLAIN QUERY PLAN and the EXPLAIN output for each command run. Also disable any ".wheretrace" and ".selecttrace" when showing EQP output. (user: drh, tags: trunk)
14:13
[0379f2cf] Several new test cases that cause failures. (user: drh, tags: skip-ahead-distinct)
13:24
[2afcb2c7] Fixed crash bugs. Still sometimes gets the wrong answers. (user: drh, tags: skip-ahead-distinct)
01:55
[9e14aa14] Progress toward getting DISTINCT to use a seek to advance to the next distinct row, when driven by an appropriate index. (user: drh, tags: skip-ahead-distinct)
2016-04-14
19:29
[129083bd] Leaf: Work toward improving analysis and code generation for DISTINCT and aggregate queries. (user: drh, tags: better-distinct-agg)
17:29
[d23e5813] In the ICU extension toupper() and tolower() SQL functions, avoid calling u_strToUpper() or u_strToLower() a second time if the buffer passed to the first invocation turns out to be large enough. (user: dan, tags: trunk)
16:40
[7b7a69d0] Add the SF_HasAgg constant (currently unused). Also enhance the comments on many other constant definitions to detail constraints on their values. (user: drh, tags: trunk)
15:44
[79147dca] Correctly interpret negative "PRAGMA cache_size" values when determining the cache-size used for sorting large amounts of data (i.e. the functionality in vdbesort.c). (user: dan, tags: trunk)
15:38
[67d7f79c] Add some missing testcase() macros to the pushDownWhereTerms() routine. (user: drh, tags: trunk)
13:35
[53179614] Rename WhereInfo.pResultSet to pDistinctSet to more accurately reflect what it represents. (user: drh, tags: trunk)
13:16
[7ee570e7] Since the return value of sqlite3OsClose() is always ignored, we might as well make it "void" instead of "int", and thereby save 50 bytes in the compiled binary. (user: drh, tags: trunk)
13:06
[5a469145] Additional ".selecttrace" debugging output when the query is transformed from a DISTINCT into a GROUP BY. (user: drh, tags: trunk)
2016-04-13
21:00
[55a62483] Fix compiler warnings by removing surplus local variables in the schema pretty-printer logic of the command-line shell. (user: drh, tags: trunk)
19:20
[ae16310c] Merge enhancements from trunk via tempfiles-lazy-open. (user: drh, tags: tempfiles-25)
16:52
[f6babf29] On commit, flush dirty temp-file pages only if the file is already open and 25% or more of the cache is dirty. (user: dan, tags: tempfiles-25)
16:02
[e2edd34e] Closed-Leaf: Merge enhancements from trunk. (user: drh, tags: tempfiles-lazy-open)
15:52
[68142dc5] Fixes for harmless compiler warnings. (user: drh, tags: trunk)
15:33
[83cfe82c] Add the --indent option to the .schema and .fullschema commands in the shell, to enable simple but effective pretty-printing. (user: drh, tags: trunk)
2016-04-12
20:26
[929fa4c3] Closed-Leaf: A couple more compiler warning fixes. (user: mistachkin, tags: warnings)
20:15
[7faec9ea] Even more compiler warning fixes. (user: mistachkin, tags: warnings)
20:05
[ab69527c] More harmless compiler warning fixes. (user: mistachkin, tags: warnings)
19:30
[bedb88a4] Compilation fix for a C99-ism in the 'fts3view' tool. (user: mistachkin, tags: trunk)
19:20
[a18a6ce2] Fix harmless compiler warnings in the 'session' module. (user: mistachkin, tags: trunk)
19:09
[bbac71aa] Once a temporary database file has been opened, flush all dirty pages to disk when comitting a transaction. (user: dan, tags: tempfiles-lazy-open)
17:13
[b65b69f6] Fix speedtest1 so that it automatically unlinks its test database prior to startup. (user: drh, tags: trunk)
16:59
[8053a6e2] Add the --temp option to the speedtest1.c performance test program. (user: drh, tags: trunk)
16:23
[662c32af] Improved localtime() support for WindowsCE (user: drh, tags: trunk)
16:11
[541c6da2] Closed-Leaf: Add and adjust comments. (user: mistachkin, tags: winCeLocalTime)
16:10
[9682c043] Merge enhancements from trunk. (user: drh, tags: tempfiles-lazy-open)
16:04
[7e728965] Add the sqlite3_snapshot_cmp() interface (available only with SQLITE_ENABLE_SNAPSHOT). (user: drh, tags: trunk)
15:14
[8fc83474] Closed-Leaf: Update the documentation for sqlite3_snapshot_cmp() to make the circumstances under which the comparison is valid clearer. Add tests for the same. (user: dan, tags: snapshot-cmp)
11:58
[07f10dea] Update the header comment on the memjournal.c file. No code changes. (user: drh, tags: trunk)
00:26
[e2c4995b] Performance optimization the Vdbe allocator. (user: drh, tags: trunk)
00:16
[aec94b6e] Avoid unnecessary calls to object destructors for a small performance gain. (user: drh, tags: trunk)
00:00
[fdf75239] Performance improvements in sqlite3WhereExprUsage(). (user: drh, tags: trunk)
2016-04-11
22:45
[b35bb928] Further refinements. (user: mistachkin, tags: winCeLocalTime)
22:24
[b8094166] Merge updates from trunk. (user: mistachkin, tags: winCeLocalTime)
22:23
[3189a7f1] Fix typo in the MSVC makefile. (user: mistachkin, tags: trunk)
22:10
[016481b3] Fix some compilation issues. (user: mistachkin, tags: winCeLocalTime)
19:59
[c698a21a] Add the sqlite3_snapshot_cmp() API. (user: dan, tags: snapshot-cmp)
19:24
[04b1890f] Fix a typo in temptable2.test. (user: dan, tags: tempfiles-lazy-open)
19:23
[c6d0d441] Add tests for wal mode to temptable2.test. (user: dan, tags: tempfiles-lazy-open)
19:01
[9efe2265] Performance optimization to sqlite3Dequote() and its callers. (user: drh, tags: trunk)
18:50
[ffc62af1] Merge latest trunk changes with this branch. (user: dan, tags: tempfiles-lazy-open)
18:49
[7dd9d4c1] Add extra tests to temptable2.test. (user: dan, tags: tempfiles-lazy-open)
18:25
[2764aeaa] Performance optimization for the sqlite3ExprListDelete() routine. (user: drh, tags: trunk)
18:15
[e35b345c] Performance optimizations in the column cache of the code generator, and especially the sqlite3ExprCacheRemove() routine. (user: drh, tags: trunk)
18:07
[4eb06e84] Fixes for OOM and IO error handling with temp file databases. (user: dan, tags: tempfiles-lazy-open)
16:43
[476cc283] Simplification and performance improvements in sqlite3ExprDup() and its subroutines. More work is possible in this area. (user: drh, tags: trunk)
16:35
[e554a4c3] Rename the OP_MX_JUMP macro to SQLITE_MX_JUMP_OPCODE to avoid confusing the opcode name generator. (user: drh, tags: trunk)
14:49
[60ad80e3] Performance improvement in sqlite3ExprDelete(). (user: drh, tags: trunk)
13:36
[099478fa] Remove the VdbeOp.opflags field and its associated initialization overhead. Update mkopcodeh.tcl to reorder opcode numbers to help the resolveP2Values() routine run faster. (user: drh, tags: trunk)
09:39
[982b753d] Update this branch with the latest changes from the trunk. (user: dan, tags: tempfiles-lazy-open)
01:43
[ef1966c2] Back off of the parser optimization in the previous check-in, slightly, to preserve some backwards compatibility regarding some undocumented behavior in the '#AAA' style query parameter. (user: drh, tags: trunk)
01:26
[16df7128] Small size reduction and performance improvement in the parser. (user: drh, tags: trunk)
01:06
[6a5cceee] Factor out the common operation of setting the Expr.x.pSelect field of an Expr object into a subroutine. (user: drh, tags: trunk)
2016-04-09
18:04
[6c56b3a0] Fix a problem in the code generator for joins on virtual tables where the outer loop of the join uses the IN operator. (user: drh, tags: trunk)
17:04
[ca2ef8a8] Fix the sqlite3BtreeDelete() routine so that it preserves the correct key even when the row being deleted is not on a leaf page. Fix for ticket [a306e56ff68b8fa56] (user: drh, tags: trunk)
14:36
[3686ed74] Limit the number of digits shown in the "prereq" mask for ".wheretrace" debugging output. (user: drh, tags: trunk)
2016-04-08
21:35
[00ac73a0] Leaf: Attempt to treat the arguments to a table-valued function as if they occur in the ON clause of a LEFT JOIN rather than in the WHERE clause. But this causes undesirable behavior with generate_series, as demonstrated by test cases. This is an incremental check-in pending further work. (user: drh, tags: tabfunc-in-left-join)
19:44
[1dfa5234] Update documentation for sqlite3_snapshot_open(). No code changes. (user: drh, tags: trunk)
15:09
[fe7d3b75] Version 3.12.1 (user: drh, tags: release, branch-3.12.0, version-3.12.1)
2016-04-07
23:18
[84d2a09e] Enhance the query planner so that IS and IS NULL operators are able to drive an index on a LEFT OUTER JOIN. (user: drh, tags: branch-3.12.0)
21:29
[300f1b61] Update the version number to 3.12.1. This is the first release candidate. (user: drh, tags: branch-3.12.0)
21:29
[3360ab09] Carry table column types through into VIEW definitions, where possible. (user: drh, tags: branch-3.12.0)
21:22
[c232b99e] Prevent the in-memory journal read cursor from entering an inconsistent state when it reads the last few bytes out of the journal file. Fix for ticket [7f7f8026eda38]. (user: drh, tags: branch-3.12.0)
21:14
[87aa9357] Add test cases for ticket [7f7f8026eda387d544]. (user: drh, tags: trunk)
18:42
[c4b9c611] Prevent the in-memory journal read cursor from entering an inconsistent state when it reads the last few bytes out of the journal file. Fix for ticket [7f7f8026eda38]. (user: drh, tags: trunk)
14:16
[153135bf] Avoid decrementing a pointer off the front end of the buffer in OP_MakeRecord. (user: drh, tags: trunk)
14:05
[8415d484] Instead of just commenting out the unneeded code in the previous check-in, remove it completely. (user: drh, tags: trunk)
14:01
[e84e88e3] Remove an unnecessary test for a NULL pointer in freeP4(). (user: drh, tags: trunk)
13:45
[716b20de] Update comments on the unix file locking protocol. No changes to code. (user: drh, tags: trunk)
2016-04-06
18:20
[84c55701] For a pager backed by a temp file, store the main journal in memory until it is at least sqlite3_config.nStmtSpill bytes in size. Prevent the backup API from being used to change the page-size of a temp file. (user: dan, tags: tempfiles-lazy-open)
17:32
[ea4de04d] Add a couple options to the MSVC makefile. (user: mistachkin, tags: branch-3.12.0)
16:27
[84de8813] Fix a problem in test script lock.test. Fix minor issues in pager.c. (user: dan, tags: tempfiles-lazy-open)
15:39
[afe9bd9b] Add tests to this branch. Fix a problem with temporary databases in auto-vacuum mode. (user: dan, tags: tempfiles-lazy-open)
2016-04-05
23:39
[da81d7af] Remove an unnecessary branch in the sqlite3LogEstToInt() routine. (user: drh, tags: trunk)
21:07
[be5a549e] Defer opening the file used for the temp database (where CREATE TEMP TABLE tables are stored) until the database is too large to reside entirely within the cache. There are likely still problems on this branch. (user: dan, tags: tempfiles-lazy-open)
20:59
[fb555c3c] Carry table column types through into VIEW definitions, where possible. (user: drh, tags: trunk)
19:46
[0bf9926c] Remove superfluous directories from the Makefile clean targets. (user: mistachkin, tags: trunk)
18:24
[8f1f300c] Closed-Leaf: Oops. Branched from the wrong baseline. Ignore this one. (user: drh, tags: mistake)
17:59
[00990020] Merge updates from trunk. (user: mistachkin, tags: winCeLocalTime)
17:50
[b7570ac1] Add the SQLITE_DBCONFIG_REQUIRE_TXN argument for sqlite3_dbconfig() which when set requires an explicit transaction before updating the database. (user: drh, tags: require-write-txn)
15:59
[cf569f9f] Incorrect version of build.c checked in at [87e5f5a6c60e3] (because I neglected to press the "Save" button on the text editor). There is no change to the logic, just improved presentation. (user: drh, tags: trunk)
14:02
[ed128e8b] Make sure "0" intended as a NULL pointer is cast to a pointer when used in a varargs functions parameter. (user: drh, tags: trunk)
14:01
[87e5f5a6] Remove an unnecessary conditional from the index builder. (user: drh, tags: trunk)
13:35
[7cacf4e9] Use SQLITE_WITHIN() for pointer range comparisons in some testing code. (user: drh, tags: trunk)
13:19
[85b97931] Do not allow pointer arithmetic to move a pointer across a memory allocation boundary. (user: drh, tags: trunk)
00:44
[0c97b802] Leaf: Avoid unnecessary memset() operations in sqlite3PagerGet(). (user: drh, tags: pager-get-noinit)
2016-04-04
18:04
[d5fc2f7f] Fix documentation typos. Comment changes only. No changes to code. (user: drh, tags: trunk)
17:59
[cefd36ff] Improve error messages from the 'shell1-5.0' test. (user: mistachkin, tags: trunk)
17:34
[4534ebf1] Improved handling of UTF8 by the command-line shell. (user: drh, tags: trunk)
17:23
[65c7bcc4] Add the ".auth ON|OFF" command to the command-line shell. (user: drh, tags: trunk)
16:40
[8627a4cd] Test that the view name is passed to the authorization callback when a SELECT statement is run on a view. (user: dan, tags: trunk)
15:47
[f4cbd18d] Closed-Leaf: Add and enhance the new tests. (user: mistachkin, tags: altShellFix)
14:57
[42a21966] Enhance sqlite3session_apply() and sqlite3session_apply_strm() so that conflicts are retried before the xConflict() callback is invoked, as long as the "apply" operation is making forward progress. (user: drh, tags: trunk)
13:46
[e375fe52] Minor performance optimization in the comparison opcodes of the VDBE. (user: drh, tags: trunk)
12:38
[0213d6af] Fix harmless compiler warnings. (user: drh, tags: trunk)
02:33
[b36dfdff] Refinements to the previous check-in. (user: mistachkin, tags: altShellFix)
02:16
[74183a5f] Experimental changes to the command line shell to make it work better with Unicode on Windows. (user: mistachkin, tags: altShellFix)
02:05
[02ccb444] More refactoring and cleanup work on the Win32 string conversion and utility routines. (user: mistachkin, tags: altShellFix)
2016-04-03
22:44
[345860c9] Revise and enhance the Win32 string conversion routines. (user: mistachkin, tags: altShellFix)
20:50
[f76c3a0c] Replace the new fprintf() calls. (user: mistachkin, tags: altShellFix)
20:45
[566b551e] Merge updates from trunk. (user: mistachkin, tags: altShellFix)
2016-04-01
17:54
[59814f35] Preupdate hook documentation fixes. No changes to code. (user: drh, tags: trunk)
12:35
[a62340dc] When reading an sqlite_stat1 table with missing entries for some indexes, set the default for the missing indexes after all other indexes are set so that the default values are more in line with indexes that are actually in the stat1 table. (user: drh, tags: trunk)
2016-03-31
22:53
[69f4d832] Update the clean target in the MSVC makefile. (user: mistachkin, tags: trunk)
21:36
[dfbfd34b] Leaf: Version 3.9.3 (user: drh, tags: release, branch-3.9, version-3.9.3)
21:16
[f1e6bb95] Enhance the query planner so that IS and IS NULL operators are able to drive an index on a LEFT OUTER JOIN. (user: drh, tags: branch-3.9)
20:40
[c648539b] Enhance the query planner so that IS and IS NULL operators are able to drive an index on a LEFT OUTER JOIN. (user: drh, tags: trunk)
15:08
[49763fc3] Closed-Leaf: Add another OOM test to this branch. (user: dan, tags: session-retry)
10:50
[195f3340] Add further tests for the code on this branch. Fix a problem in OOM handling. (user: dan, tags: session-retry)
02:44
[84dc41e2] Enhanced comments describing the sessions file format. No changes to code. (user: drh, tags: session-retry)
00:45
[ea917c14] Fix the return code in sessionRetryConstraints(). (user: drh, tags: session-retry)
2016-03-30
21:19
[1085911a] Have the sqlite3session_apply() function and its streaming equivalent retry any operations that failed with SQLITE_CONSTRAINT after all other operations on the same table have been attempted. New code is largely untested. (user: dan, tags: session-retry)
16:23
[7cf0cab7] Updates for the MSVC makefiles. (user: mistachkin, tags: trunk)
16:22
[64d75cbe] Fix typo in comment. No changes to code. (user: mistachkin, tags: trunk)
15:30
[47887ef8] Simplifications and clarification to update callback handling in the OP_Delete and OP_Insert opcodes. (user: drh, tags: trunk)
14:26
[e9bcd5ac] Increase the version number to 3.13.0 on account of the new session extension. (user: drh, tags: trunk)
14:17
[9cdf813c] Remove a redundant test for disabling RESTRICT with defer_foreign_keys=ON. (user: drh, tags: trunk)
13:43
[4af7a90f] Incorporate the sessions extension and the SQLITE_ENABLE_PREUPDATE_HOOK compile-time option. (user: drh, tags: trunk)
12:56
[5ab46d76] Closed-Leaf: Avoid compiler warnings and excess opcodes when SQLITE_ENABLE_PREUPDATE_HOOK is not used. Fix the EXPLAIN output for P4_TABLE opcodes. (user: drh, tags: sessions)
12:20
[e4bee561] Improvements to the performance testing program "speedtest1.c" and the shell script that invokes it. (user: drh, tags: trunk)
2016-03-29
21:19
[7635c680] Leaf: Fix some code and test coverage issues in fts5_index.c. (user: dan, tags: fts5)
10:36
[d7381eff] Merge 3.12.0 changes. (user: drh, tags: begin-concurrent)
10:30
[eef55744] Merge 3.12.0 changes. (user: drh, tags: apple-osx)
10:19
[ed22eb65] Merge changes for 3.12.0. (user: drh, tags: sessions)
10:14
[e9bb4cf4] Version 3.12.0 (user: drh, tags: trunk, release, version-3.12.0)
2016-03-28
20:13
[a805c6f7] Add further tests for savepoint rollback. Fix various code issues and add missing comments in fts5_index.c. (user: dan, tags: fts5)
15:06
[06039d90] Integrate the vcreate-stmt branch into this one. (user: dan, tags: fts5)
14:57
[d0a3853b] Closed-Leaf: Open a statement transaction for "CREATE VIRTUAL TABLE" statements in order to ensure that if the xCreate() call fails, changes made to the sqlite_master and possibly other tables are rolled back. (user: dan, tags: vcreate-stmt)
11:01
[f6a88ccc] Fix the multiplexor so that it does not assume that the xGetLastError method is non-NULL in the child VFS. (user: drh, tags: trunk)
2016-03-26
20:11
[53b80a6d] Fix a problem with OOM handling when setting an fts5 configuration option. (user: dan, tags: fts5)
15:36
[8213c2f5] More changes to the shellN.test scripts to get them working on all variations of Windows. (user: drh, tags: trunk)
14:41
[3bd499d3] Remove the catchcmd_collapse_space procedure in tester.tcl - no longer needed. (user: drh, tags: trunk)
13:26
[219a251e] Update shell1.test tests to deal with backslash escaping in TCL on Windows-style pathnames. (user: drh, tags: trunk)
2016-03-25
20:10
[a7c080a9] Do not run the shell3.test module under mingw because of mingw's dodgy command-line parsing. (user: drh, tags: trunk)
17:19
[183350fa] In the Win32 VFS, avoid trying to use rand_s() on Windows CE. (user: mistachkin, tags: trunk)
17:09
[93caabb6] Add the catchcmd_collapse_space command and use it to help make shell testing more robust against TCL space escapes. (user: drh, tags: trunk)
12:10
[99fd194c] Fix two instances of undefined behavior in the C code - both harmless for all current compilers. (user: drh, tags: trunk)
2016-03-24
20:55
[817e93f4] Make test cases in shell1.test robust against TCL deciding to quote strings using lots of backslashes. (user: drh, tags: trunk)
20:36
[e0737f52] Prevent negative values of SQLITE_DEFAULT_CACHE_SIZE from making SQLITE_WIN32_HEAP_INIT_SIZE negative. (user: mistachkin, tags: trunk)
15:32
[6db1d1fb] Larger margins for one memsubsys1 range check when running with a non-zero reserved-bytes value. (user: drh, tags: trunk)
15:09
[f4d234b5] Fix some test scripts so that they work with various permutations. (user: dan, tags: trunk)
14:34
[beb5ea14] Merge the beta changes into sessions. (user: drh, tags: sessions)
2016-03-23
17:54
[a1fd1469] Avoid calling realloc() with a zero size in fuzzcheck.c. (user: drh, tags: trunk)
16:32
[3fa88f68] Fix "ifcapable" tests in capi3.test and capi3c.test so that the tests work with more build configurations. (user: dan, tags: trunk)
15:53
[0ed693c2] Remove an unused local variable from FTS5. (user: drh, tags: trunk)
15:04
[70fc69ee] Explicitly limit the size of fts5 tokens to 32768 bytes. (user: dan, tags: trunk)
13:46
[41298464] Update a requirement mark. No changes to code. (user: drh, tags: trunk)
2016-03-22
20:05
[605eba4a] The sqlite3_column_decltype() routine should return NULL, not an empty string, if the column has no declared type. (user: drh, tags: trunk)
15:26
[142cd359] Fix harmless compiler warning for MSVC. (user: mistachkin, tags: trunk)
15:25
[5ace870d] Fix a harmless compiler warning. (user: drh, tags: trunk)
15:01
[e1ab2d37] Fix some errors in fts5 test scripts. (user: dan, tags: trunk)
14:37
[2484cc0c] Create the "uptr" typedef (the same as uintptr_t when available) and use it to cast pointers before comparison. (user: drh, tags: trunk)
14:10
[ff1b1ac3] Avoid the possibility of integer overflow on a pointer comparison test for corruption in the database file. (user: drh, tags: trunk)
2016-03-21
22:28
[25d776e4] Fix harmless compiler warnings. (user: drh, tags: trunk)
16:25
[3d076094] Add tests to ensure that fts5 is now deterministic. (user: dan, tags: trunk)
16:19
[a1dcf7af] Skip recently added test cases in nolock.test when running in the inmemory_journal permutation. (user: drh, tags: trunk)
16:06
[4dc30cce] Remove an unreachable branch from the unlink verification logic in the UNIX VFS. (user: drh, tags: trunk)
15:54
[8ee7d346] Merge all recent changes from trunk. (user: drh, tags: begin-concurrent)
15:32
[3296a0ce] Merge 3.12.0 beta changes from trunk. (user: drh, tags: sessions)
15:30
[902f2217] Have fts5 cache the structure of its index in main memory. Use "PRAGMA data_version" to figure out when this cache should be invalidated. (user: dan, tags: trunk)
15:18
[89296a46] Closed-Leaf: Rearrange code so that tests pass whether SQLITE_DEBUG is defined or not. (user: dan, tags: fts5-data-version)
14:52
[063f1b37] Merge the sqlite3_system_errno() change from trunk. (user: drh, tags: apple-osx)
14:46
[4bd12b57] Add the sqlite3_system_errno() interface. (user: drh, tags: trunk)
12:28
[b4a1114f] Closed-Leaf: Make sure system errors that occur durign sqlite3_step() are captured for use by sqlite3_system_errno(). (user: drh, tags: sqlite_system_errno)
11:57
[a6b6c6c4] Improved comments. No logical changes to code. (user: drh, tags: sqlite_system_errno)
11:38
[7d49998d] Do a better job of capturing all system errno values regardless of when they occur. (user: drh, tags: sqlite_system_errno)
10:49
[86ab8643] Merge updates from trunk. (user: drh, tags: sqlite_system_errno)
09:56
[d6e2637d] Change the way fts5 internally allocates segment ids in order to eliminated non-determinism from the module. (user: dan, tags: trunk)
00:38
[c39081e8] Change the Vdbe.aMem array so that it is zero-based instead of one-based. (user: drh, tags: trunk)
00:30
[c5677ecd] Closed-Leaf: Remove an unreachable branch. Improvements to comments. (user: drh, tags: zero-base-aMem)
2016-03-19
23:32
[e07b0c47] Change the Vdbe.aMem array so that it is zero-based instead of one-based. (user: drh, tags: zero-base-aMem)
18:11
[d7852c63] Fix exclusive.test so that it works with -DSQLITE_TEMP_STORE=3. (user: dan, tags: trunk)
18:00
[f0953414] Updates to the Lemon documentation. (user: drh, tags: trunk)
17:48
[209e31c7] Add the sqlite3rbu_bp_progress() API to the RBU extension. Used to obtain the percentage progress of an RBU update. (user: dan, tags: trunk)
17:09
[a1132dd9] Closed-Leaf: Fix a problem detecting invalid values in the rbu_control column of an rbu database table. (user: dan, tags: rbu-percent-progress)
16:21
[1f7afb6e] Update the sqldiff tool so that it generates an rbu_count table. (user: dan, tags: rbu-percent-progress)
15:34
[734fc68f] Merge latest trunk changes, including fixes to test script rbudiff.test, into this branch. (user: dan, tags: rbu-percent-progress)
15:13
[41c29c12] Fix another problem in test script rbudiff.test. (user: dan, tags: trunk)
14:53
[1ffe3cde] Fix test scripts sqldiff.test and rbudiff.test so that they work with the --testdir option. (user: dan, tags: trunk)
14:47
[7832466f] Add test file fts5multiclient.test. (user: dan, tags: fts5-data-version)
00:40
[c73b5b9c] Fix a VDBE register allocation bug exposed by recent enhancements to PRAGMA integrity_check. (user: drh, tags: apple-osx)
00:35
[88439a86] Fix a register allocation bug in the VDBE code generator for PRAGMA integrity_check; (user: drh, tags: trunk)
2016-03-18
20:12
[65e02368] Add further tests for sqlite3rbu_bp_progress(). Fix a problem in handling WITHOUT ROWID tables in the same. (user: dan, tags: rbu-percent-progress)
18:56
[1a1b69e8] Change the name of the new API on this branch to "sqlite3_bp_progress". Add tests and documentation for the same. (user: dan, tags: rbu-percent-progress)
11:03
[cb0ffe84] Test case tweaks to better support the Apple configuration options. (user: drh, tags: apple-osx)
10:29
[bf823217] Add tests for the changes on this branch. Fix a problem with calls to the new progress indicator API made after an rbu update has been resumed. (user: dan, tags: rbu-percent-progress)
00:58
[ec052b4f] Merge recent enhancements from trunk. (user: drh, tags: apple-osx)
00:39
[b199637d] Fix FTS5 so that it works with SQLITE_OMIT_AUTORESET. (user: drh, tags: trunk)
00:19
[6631e1e6] Fix more test-case errors in the Apple configuration. (user: drh, tags: trunk)
2016-03-17
23:56
[399c6076] Fix some test cases so that they work under the Apple configuration. (user: drh, tags: trunk)
23:16
[65ba2f0b] Fix harmless compiler warnings that arise with -DSQLITE_OMIT_LOAD_EXTENSION (user: drh, tags: trunk)
23:00
[beb2a80b] Changes to releasetest.tcl: Rename the "OS-X" configuration to "Apple". Bring the "Apple" configuration up to date. Allow the use of "if:os=..." arguments in a configuration. Run the Apple configuration on Linux in addition to on Macs, but without -DSQLITE_ENABLE_LOCKING_STYLE. (user: drh, tags: trunk)
21:06
[ffc58d2c] Add an API to indicate the percentage progress of an rbu update. (user: dan, tags: rbu-percent-progress)
19:28
[1602f6b5] Change the xGetLastError() method on the windows VFS so that it continues to format an error message (if requested) but returns the system error code, rather than an SQLite status code. (user: drh, tags: sqlite_system_errno)
19:07
[8607e3ac] A more compact implementation of the code generator for the IS and IS NOT operators. (user: drh, tags: trunk)
18:41
[41335d88] Closed-Leaf: An alternative method of encoding the wildcard in "SELECT *". This is an experiment. (user: drh, tags: select-wildcard)
17:23
[185bc864] Simple test cases for sqlite3_system_errno() (user: drh, tags: sqlite_system_errno)
16:01
[6782c87b] Experimental implementation of the sqlite3_system_errno() interface. (user: drh, tags: sqlite_system_errno)
12:39
[020a0bda] Fix some OOM-handling issues in the fts5 changes on this branch. (user: dan, tags: fts5-data-version)
2016-03-16
21:29
[97b0e88c] The prepared statements for some pragmas can now be reused without invoking an automatic reprepare. (user: drh, tags: trunk)
20:53
[6c4a17b9] Merge the changes on the reusable-pragma branch into this one. (user: dan, tags: fts5-data-version)
20:44
[db1ce7e1] Closed-Leaf: Some pragmas can be reused without an automatic reprepare. (user: drh, tags: reusable-pragma)
20:05
[10a3e2a0] Fix a comment on the freelist_count and data_version pragmas. (user: drh, tags: trunk)
19:53
[d9b5ff7a] Add a cast to an implict (size_t -> int) conversion in fts5_expr.c. (user: dan, tags: trunk)
19:48
[33ef2210] Have fts5 cache the decoded structure of fts5 indexes in memory. Use "PRAGMA data_version" to detect stale caches. (user: dan, tags: fts5-data-version)
19:45
[d5712f21] Enhance Lemon so that it reorders the reduce rules such that rules without actions occur at the end and so that the first rule is number 0. This reduces the size of the jump table on the reduce switch, and helps the parser to run faster. (user: drh, tags: trunk)
19:34
[a7978ab6] Merge the latest enhancements from trunk. (user: drh, tags: begin-concurrent)
19:10
[dbf84705] Avoid a few unnecessary fstat()s on journal files. (user: drh, tags: trunk)
18:26
[96ea9909] Fix the query planner so that it is able to use the integer primary key from an index as part of a multi-column constraint. (user: drh, tags: trunk)
01:16
[6a7ee04b] Merge all recent enhancements from trunk. (user: drh, tags: sessions)
01:09
[161d91e4] Merge the SQLITE_OMIT_CODEC_FROM_TCL compile-time option from trunk. (user: drh, tags: apple-osx)
01:03
[45f7f0c8] Add the SQLITE_OMIT_CODEC_FROM_TCL compile-time option. (user: drh, tags: trunk)
00:36
[e0b116ed] Rearrange some internal fields in the sqlite3_stmt object to avoid a harmless TSAN warning. (user: drh, tags: trunk)
2016-03-15
22:00
[15e4a272] Change the OP_IntegrityCk opcode to accept the list of root pages as an intarray argument in P4. Slightly smaller and faster. (user: drh, tags: trunk)
19:10
[9463762c] In the Win32 VFS, use SQLITE_FCNTL_LAST_ERRNO instead of (the older) SQLITE_LAST_ERRNO. (user: mistachkin, tags: trunk)
17:52
[c7bae50b] Implement FROM-clause subqueries as co-routines whenever they are guaranteed to be the outer-most loop of the join. (user: drh, tags: trunk)
12:45
[f41a7361] Merge updates from trunk - FTS5 fixes and enhancemenets to the tests scripts so that they work with SEE. (user: drh, tags: apple-osx)
12:37
[2fd095b1] More test-case changes so that everything works when the reserved_bytes value in the header is non-zero. (user: drh, tags: trunk)
09:55
[051c61eb] Fix the shellN.test test scripts so that they work with the --testdir option. (user: dan, tags: trunk)
09:42
[249cd361] Leaf: Update this branch with latest trunk changes. (user: dan, tags: schemalint)
2016-03-14
21:26
[9f194f90] Fix the permutations.test script so that it works again. (user: drh, tags: trunk)
21:12
[f4693ba4] Update test scripts so that they work with SEE. (user: drh, tags: trunk)
20:49
[92be06c1] Closed-Leaf: Changing page size using VACUUM or backup is not allowed with a codec attached. (user: drh, tags: see-testing)
18:42
[ea1d2cdd] Merge test script fixes from trunk. (user: drh, tags: see-testing)
18:34
[99b9d7ee] Many more test cases fixed. Only a few remain. (user: drh, tags: see-testing)
17:05
[d866fffb] Many test cases fixed to work with encryption. (user: drh, tags: see-testing)
16:16
[1c70aa5c] Test script changes to support testing the SQLite Encryption Extension. (user: drh, tags: see-testing)
15:43
[f7480e33] Fix the backcompat.test script so that it works with the --testdir test option. (user: dan, tags: trunk)
15:03
[90e0cc7b] Run TCL tests in the "testdir" subdirectory. (user: drh, tags: trunk)
14:59
[fa8c1292] Closed-Leaf: More file pathname normalization. (user: drh, tags: test-in-subdir)
14:28
[19225b81] Normalize the $testdir and $argv0 paths so that they continue to work in the testing subdirectory. (user: drh, tags: test-in-subdir)
13:42
[f632bba0] Run TCL tests in a subdirectory "testdir". (user: drh, tags: test-in-subdir)
12:16
[54b8968e] Fix a memory leak in fts5 that could occur following a syntax error in a query expression. (user: dan, tags: trunk)
2016-03-12
19:33
[10a827ae] Fix a problem handling 'NEAR("" token)' in fts5 found by fuzzing. (user: dan, tags: trunk)
16:32
[72b3ff0f] Fix handling of strings that contain zero tokens in fts5. And other problems found by fuzzing. (user: dan, tags: trunk)
2016-03-11
23:07
[74f5d3b0] Do not allow the use of WAL mode with nolock=1 because it does not work. (user: drh, tags: trunk)
15:25
[83efcdeb] Tweak the amalgamation autoconf files so that the --disable-static-shell option works again. (user: dan, tags: trunk)
14:30
[df44308b] Update spellfix1_scriptcode() to output 215 (latin) for pure numeric text. (user: drh, tags: trunk)
2016-03-10
19:08
[d7c20f04] Check for PDB files prior to attempting to copy them in the MSVC batch build tool. (user: mistachkin, tags: trunk)
15:12
[fa0033ed] Add tests to cover untested branches in recent fts5 changes. (user: dan, tags: trunk)
14:28
[f96ec84d] Use #ifdefs to remove code that is unreachable in some configurations, replacing it with an assert(). (user: drh, tags: trunk)
14:22
[3c343c3d] Remove an unused local variable. (user: drh, tags: trunk)
2016-03-09
20:54
[55667144] Add an incremental optimize capability to fts5. Make the 'merge' command independent of the 'automerge' settings. (user: dan, tags: trunk)
18:17
[79338b99] Fix a problem in fts3/4 that was causing it to discard data cached in-memory if an 'optimize' command is run when there is no data on disk. The usual way this would happen is if the very first transaction that writes to the fts3/4 table also includes an 'optimize' command. (user: dan, tags: trunk)
15:34
[2c55c3c2] Slight simplification to the query optimizer logic associated with IN (SELECT). (user: drh, tags: trunk)
15:14
[d91e57e4] Add another test case for bug [5e3c8867]. (user: dan, tags: trunk)
15:09
[1ed6b06e] When optimizing expressions of the form "x IN (SELECT ...)" make sure that the subquery is not correlated. Fix for ticket [5e3c886796e5512]. (user: drh, tags: trunk)
13:39
[8d4b6b2b] Automatically disable SQLITE_ENABLE_EXPLAIN_COMMENTS if SQLITE_OMIT_EXPLAIN is defined. (user: drh, tags: trunk)
12:35
[a13c59d0] In the query planner, make sure OOM errors are reported up into whereLoopAddVirtual() so that it shuts down appropriately. (user: drh, tags: trunk)
11:59
[e0bac2f3] Disable the bestindex*.test modules when building without virtual table support. (user: drh, tags: trunk)
08:08
[59caca43] Merge latest trunk changes with this branch. (user: dan, tags: schemalint)
08:07
[fc18cc92] Fix a problem in the schemalint code that comes up when a sub-query uses one or more of the same tables as its parent. (user: dan, tags: schemalint)
04:17
[8baa2c2c] Simplifications to the memjournal.c logic to facilitate testing. (user: drh, tags: trunk)
03:44
[7f00d80c] Move the write failure test in memjrnlCreateFile() to just after the actual write, thus reducing the number of instances of the test by one. (user: drh, tags: trunk)
03:29
[fa20dcb0] Update a comment in btree.c to account for WITHOUT ROWID tables. No code changes. (user: drh, tags: trunk)
02:12
[ee486ef7] Change a branch made obsolete by recent parser enhancements into an assert(). (user: drh, tags: trunk)
02:03
[069337a9] Add an #ifdef and an ALWAYS() for coverage. (user: drh, tags: trunk)
2016-03-08
23:44
[73b97b9e] Change an unreachable branch in the virtual table query planner into an assert(). (user: drh, tags: trunk)
23:18
[4c89c253] Improved comments on virtual table query planning. Added many new WHERETRACE() macros. (user: drh, tags: trunk)
17:59
[e7fbbdc2] In memjournal.c, reuse the same sqlite3_file object for both the in-memory phase and the on-disk phase. (user: drh, tags: trunk)
17:44
[d99ac415] Closed-Leaf: Modify the memjournal.c code to make it a bit smaller. (user: dan, tags: memjournal-exp)
16:35
[29741941] Merge changes from trunk, especially the SQLITE_DEFAULT_SYNCHRONOUS enhancements. (user: drh, tags: apple-osx)
16:07
[f6d3156b] Drop support for SQLITE_EXTRA_DURABLE. The new SQLITE_DEFAULT_SYNCHRONOUS compile-time option is a more general replacement. (user: drh, tags: trunk)
16:02
[2179a106] Remove an unused goto label in the RBU extension. (user: drh, tags: trunk)
15:52
[1d9468d2] Add a new row type to RBU (a peer of insert, update and delete) - "delete then insert". (user: dan, tags: trunk)
15:47
[5a847a67] Add the SQLITE_DEFAULT_SYNCHRONOUS and SQLITE_DEFAULT_WAL_SYNCHRONOUS compile-time options. Automatically switch to the WAL_SYNCHRONOUS setting when first opening a WAL-mode database if the synchronous setting has not been previously set by the application. (user: drh, tags: trunk)
15:37
[64b3cb29] Update fts3/4 so that the 'merge=X,Y' command merges at least, instead of exactly, Y segments from a single level. This matches the documentation. 'merge=X,0' is, as it was in 3.11, an error. (user: dan, tags: trunk)
15:30
[592d2104] Closed-Leaf: Make the SQLITE_DEFAULT_SYNCHRONOUS and SQLITE_DEFAULT_WAL_SYNCHRONOUS values zero-based to agree with PRAGMA synchronous. (user: drh, tags: default-synchronous)
15:14
[5791407b] If SQLITE_DEFAULT_WAL_SYNCHRONOUS is not the same value as SQLITE_DEFAULT_SYNCHRONOUS and the application has not run "PRAGMA synchronous", then set synchronous to the SQLITE_DEFAULT_WAL_SYNCHRONOUS setting when entering WAL mode for the first time. (user: drh, tags: default-synchronous)
14:40
[1fefa967] Add compile-time options SQLITE_DEFAULT_SYNCHRONOUS and SQLITE_DEFAULT_WAL_SYNCHRONOUS used to specify the default synchronous settings for all database connections. (user: drh, tags: default-synchronous)
14:16
[c4e192a0] Fix ATTACH to use the symbolic name PAGER_SYNCHRONOUS_FULL rather than an integer literal. (user: drh, tags: trunk)
14:01
[58023bfc] Merge coverage improvements and comment fixes from trunk. (user: drh, tags: apple-osx)
13:56
[3a65a1fc] Fix comments on pager flag settings to include synchronous=EXTRA. (user: drh, tags: trunk)
02:59
[82ca2131] Simplified error detection in the xBestIndex processing. (user: drh, tags: trunk)
01:32
[91bd619d] Add the ALLBITS macro as a shorthand for "(Bitmask)(-1)". (user: drh, tags: trunk)
01:11
[721ae51e] Add a NEVER() to the code generator. Change the parameter name "mExtra" to "mPrereq" in the query planner, to more closely reflect its meaning. (user: drh, tags: trunk)
00:39
[9805f6f8] Changes so that some assert()s in the virtual table query planner are correct even following an OOM error. (user: drh, tags: trunk)
2016-03-07
21:28
[9f31516c] Fix a typo and remove an unused variable from test logic. (user: drh, tags: apple-osx)
20:48
[84f09f00] Merge recent enhancements from trunk. (user: drh, tags: apple-osx)
20:14
[cddf69db] Update fts3/4 so that the 'merge=X,0' command merges X pages from all segments of the first level in the fts index that contains 2 or more segments. (user: dan, tags: trunk)
19:08
[c9240086] Avoid a NULL pointer dereference following an OOM while generating code for IN operators on virtual tables. (user: drh, tags: trunk)
17:49
[17fd8f3c] Merge the virtual table query planner enhancement, the RTREE cost estimate fix, and the statement journal spill delay enhancement from trunk. (user: drh, tags: sessions)
17:39
[169311c8] Closed-Leaf: Add a new row type to RBU (a peer of insert, update and delete) - "delete then insert". (user: dan, tags: rbu-delete-then-insert)
17:37
[b6c42024] Add the SQLITE_CONFIG_STMTJRNL_SPILL option for sqlite3_config(). (user: drh, tags: trunk)
2016-03-05
21:32
[d8d89d69] Fix a problem in the previous commit affecting queries with three or more tables joined together to the right of a LEFT or CROSS JOIN operator. (user: dan, tags: trunk)
21:07
[19544438] Change the way SQLite invokes the xBestIndex method of virtual tables so that N-way joins involving virtual tables work as expected. (user: dan, tags: trunk)
20:28
[fd7cd060] Closed-Leaf: Adjust the cost estimates for RTREE such that the expected number of rows and expected cost is halved for each additional constraint. (user: drh, tags: xbestindex-fix)
17:29
[ffc65968] Change the way SQLite invokes the xBestIndex method of virtual tables so that N-way joins involving virtual tables work as expected. (user: dan, tags: xbestindex-fix)
15:35
[5f2a262d] Remove the unused journal.c source file (its function have been subsumed into memjournal.c). Refactor some of the names in memjournal.c. No functional changes. (user: drh, tags: trunk)
15:03
[4de09777] Work around (incorrect) ASAN warnings in memjournal.c. (user: drh, tags: trunk)
14:19
[2e35eb6b] Fix an integer size mismatch problem in test_bestindex.c (user: drh, tags: trunk)
14:00
[dca7b233] Fix an incorrect #ifdef on sqlite3LogEstToInt(). (user: drh, tags: trunk)
2016-03-04
21:18
[251424c5] Fix an assert() in sqlite3VarintLen(), even though it is impossible to hit in SQLite due to the way sqlite3VarintLen() is used. (user: drh, tags: trunk)
19:55
[c4488730] Leaf: Simplify the computation of Index.aAvgEq. (user: drh, tags: analyze-worst-case)
18:45
[5294c977] Merge changes from trunk. (user: drh, tags: analyze-worst-case)
16:42
[456df336] Merge recent enhancements from trunk. Default page size is 4096. Writes to statement journals are avoided. (user: drh, tags: sessions)
14:57
[2f0c195c] Merge recent enhancements from trunk, and especially the changes that reduce the heap-memory footprint of schemas, and defer opening and writing to statement journals. (user: drh, tags: apple-osx)
14:43
[cb9302cc] Defer opening and writing statement journals until the size reaches a threshold (currently 64KiB). (user: drh, tags: trunk)
14:23
[5b2fe521] Closed-Leaf: Update test cases to taken deferred statement-journal opening into account. (user: drh, tags: memjournal-exp)
13:08
[a87305df] Merge changes from trunk. (user: drh, tags: memjournal-exp)
04:01
[2682e8e4] Change the default cache_size to -2000 (which means 2000*1024 bytes independent of page_size). (user: drh, tags: trunk)
03:43
[2e8a9ca9] Change the default page size for new database files to 4096 (from 1024). Except, when building the testfixture, preserve the legacy page size. Also fix a comment on SQLITE_MAX_ATTACHED. (user: drh, tags: trunk)
03:20
[82cbf5ad] Detect the presence of pread()/pwrite() system calls on unix systems and use them if available. (user: drh, tags: trunk)
03:14
[38fb54e7] Closed-Leaf: Further fixes to the pread()/pwrite() enabling logic. (user: drh, tags: pread)
03:02
[7d67d876] Fix the build for cases when pread()/pwrite() are not available. (user: drh, tags: pread)
02:59
[6ec6b6a9] Add the test_bestindex.c file to Makefile.in and Makefile.msc so that "make test" will work again. (user: drh, tags: trunk)
02:38
[2cffb9e5] Update the configure script to detect pread/pwrite and update os_unix.c to use those routines if they are available. (user: drh, tags: pread)
00:13
[b5378dce] Get in-memory subjournals working for builds without SQLITE_ENABLE_ATOMIC_WRITE. (user: drh, tags: memjournal-exp)
2016-03-03
21:29
[55c00f71] Merge the latest updates from trunk. (user: drh, tags: memjournal-exp)
21:22
[16fbf2e1] Reduce the amount of heap memory required to store many schemas by storing the column datatype appended to the column name (with a \000 separator), rather than in separate memory allocation. (user: drh, tags: trunk)
20:42
[3eb74342] Allow the left-hand side of IN operators on virtual tables to have the aConstraintUsage[].omit flag clear. (user: drh, tags: trunk)
17:54
[7abc2dd9] Merge 3.11.1 changes into trunk. (user: drh, tags: trunk)
16:17
[f047920c] Leaf: Version 3.11.1 (user: drh, tags: release, branch-3.11, version-3.11.1)
15:16
[b1258814] Increase the default upper bound on scope to 30. (user: drh, tags: branch-3.11)
2016-03-02
17:57
[5893e972] Closed-Leaf: Add new test script bestindex1.test to the utf16 permutation. (user: dan, tags: vtab-IN-opt)
16:13
[d2d28251] Add an extra test for the change on this branch. (user: dan, tags: vtab-IN-opt)
16:01
[3c15a9bf] Enhance test_bestindex.c so that it can be used to test plans generated by xBestIndex. (user: dan, tags: trunk)
15:37
[45bc9557] Fix a recently introduced problem in permutations.test causing an error when the QUICKTEST_OMIT environment variable is defined. (user: dan, tags: branch-3.11)
13:26
[b2a03e2d] Fix an error in an fts5 test script. (user: dan, tags: branch-3.11)
03:28
[1622623c] Allow the left-hand side of IN operators on virtual tables to have the aConstraintUsage[].omit flag clear. (user: drh, tags: vtab-IN-opt)
00:58
[3d9daa92] Add the optional -DSERIES_OMIT_CONSTRAINT_VERIFY=0 option to the series.c extension that implements the generate_series() virtual table. (user: drh, tags: trunk)
2016-03-01
22:48
[1d41c161] New test cases and infrastructure for testing the xBestIndex method of virtual tables. (user: drh, tags: trunk)
22:41
[13a37fd4] Improved debugging output with wheretrace. Fix some typos in test script comments. (user: drh, tags: trunk)
18:35
[7a1add56] Closed-Leaf: Fix a memory leak in the test code on this branch. (user: dan, tags: test-bestindex)
18:24
[759b9d5b] Allow test_bestindex.c to set the omit flag for a constraint. (user: dan, tags: test-bestindex)
18:07
[de034c0d] Add test code useful for testing the planners use of teh virtual table xBestIndex() method. (user: dan, tags: test-bestindex)
16:56
[f7ed3739] Do not attempt to run fts5bigtok.test or fts5merge2.test if FTS5 is not compiled in. (user: dan, tags: branch-3.11)
16:02
[3cee9371] Add -DSQLITE_ENABLE_FTS5 to one of the release-test configurations in releasetest.tcl. Run fts5 tests as part of "make test" if SQLITE_ENABLE_FTS5 is defined. (user: dan, tags: branch-3.11)
15:52
[61927c8f] Remove a forgotten "breakpoint" command from an FTS5 test script. (user: drh, tags: branch-3.11)
15:41
[2dcd2fda] Increase the version number to 3.11.1 (user: drh, tags: branch-3.11)
15:09
[42358170] Merge branch-3.11-matchinfo into this branch. (user: dan, tags: branch-3.11)
14:51
[daef5869] Closed-Leaf: Fix a problem in fts5 where a corrupt db could lead to a (huge) buffer overread. Cherrypick of [c9a30e117f]. (user: dan, tags: branch-3.11-matchinfo)
14:50
[5b1b7ab5] Fix an fts5 problem causing 'optimize' to corrupt the fts index under some circumstances. Cherrypick of [251d6473f7]. (user: dan, tags: branch-3.11-matchinfo)
14:31
[21bfd47c] Change the estimated row counts in stat1 to be one-third worst-case and two-threads average case. (user: drh, tags: analyze-worst-case)
12:45
[810967bf] Fix test cases to align with the improved stats computation. (user: drh, tags: analyze-worst-case)
02:11
[f2c16094] Better estimatedCost in the xBestIndex method of the generate_series vtab. (user: drh, tags: trunk)
2016-02-29
23:02
[421b5b54] Improvements to the logic for adding the "noskipscan" flag to stat1 entries. (user: drh, tags: analyze-worst-case)
21:27
[6326ba58] The ANALYZE command automatically appends "noskipscan" to sqlite_stat1 entries that have large worst-case repeat estimates but small average repeat estimates. (user: drh, tags: analyze-worst-case)
20:18
[44b2dc18] When using a temporary file for a statement journal, store the first 64KiB in memory. If the file grows larger than that, flush it to disk and free the memory. Hardcoding to 64KiB is just an experiment to check that the memjournal.c code works. (user: dan, tags: memjournal-exp)
20:00
[9fd3f7b9] Fix minor problems with new code in memjournal.c. (user: dan, tags: memjournal-exp)
18:30
[5a0143c9] Modify the ANALYZE command to store worst-case statistics in sqlite_stat1, rather thn average case. (user: drh, tags: analyze-worst-case)
17:34
[c9a30e11] Fix a problem in fts5 where a corrupt db could lead to a (huge) buffer overread. (user: dan, tags: trunk)
17:16
[251d6473] Fix an fts5 problem causing 'optimize' to corrupt the fts index under some circumstances. (user: dan, tags: trunk)
15:53
[842b2116] Closed-Leaf: Reduce the amount of heap required to store many schemas by storing each column datatype appended to the column name, rather than as a separate allocation. (user: drh, tags: schema-storage)
13:44
[4b55c520] Very minor improvement to the performance and reduction in size to the parser by capturing the name and datatype of table columns in a single grammar rule reduction. (user: drh, tags: trunk)
13:37
[519fd03b] Closed-Leaf: Further simplifications to the grammar. (user: drh, tags: schema-storage)
2016-02-27
23:25
[ad3ffe2e] Update the parser so that it pulls out the column name and type all in one go, rather than using separate reductions. (user: drh, tags: schema-storage)
21:16
[d8c94a46] Eliminate the need for the Column.zDflt (using Column.pDflt instead) to reduce the amount of memory needed to hold the schema. (user: drh, tags: trunk)
20:14
[e0b0b431] Extend the code in memjournal.c so that it subsumes the role of journal.c. And (untested) can flush journal or statement journal files to disk after they grow to a specified size. (user: dan, tags: memjournal-exp)
19:19
[f681d800] Tighter description of I/O stats in the shell. Show I/O stats on speedtest1.c. (user: drh, tags: trunk)
19:03
[3e5d38f5] Leaf: More compact implementation of PRAGMA onconflict, and some test cases. (user: drh, tags: pragma-onconflict)
17:16
[3a0c347c] Experimental "PRAGMA onconflict=FAIL" statement to change the default ON CONFLICT algorithm to something other than ABORT. (user: drh, tags: pragma-onconflict)
17:12
[3c36948f] Enhance the ".stats" command in sqlite3.exe to show one-time stats information if invoked with one argument. Also show /proc/PID/io information if run on Linux. (user: drh, tags: trunk)
14:04
[d1392c62] Fix a requirement mark to conform to a typo fix in the documentation. (user: drh, tags: trunk)
14:00
[33dd671c] Enhance documentation of sqlite3_snapshot_open() to explain that the database connection must have participated in at least one read operation prior to the beginning of the transaction for which the snapshot is to be opened. Add test cases for this fact. (user: drh, tags: trunk)
00:21
[c2277fab] Add 'Replace.exe' to the MSVC clean target. (user: mistachkin, tags: trunk)
00:21
[00c8fffd] Fix typo in ICU error message. (user: mistachkin, tags: trunk)
00:07
[b850df48] Make sure the Replace.cs file is included in the autoconf tarball. (user: drh, tags: trunk)
2016-02-26
23:13
[3617564c] Support generating the '.def' file using the autoconf Makefile for MSVC. (user: mistachkin, tags: trunk)
21:20
[b8dc1b9f] Fix a potential buffer overflow in the ICU upper() function. (user: drh, tags: trunk)
21:03
[cf4e4fbd] Further refinements to the MSVC batch build process. (user: mistachkin, tags: trunk)
21:01
[4e54e9c0] Further refinements to the MSVC batch build process. (user: mistachkin, tags: branch-3.11)
16:14
[4fb4aee8] Merge all recent enhancements from trunk, and in particular the SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER change. (user: drh, tags: apple-osx)
16:03
[424b7aee] Fix the ICU extension LIKE function so that it does not read past the end of a buffer if it it passed malformed utf-8. (user: dan, tags: trunk)
15:38
[374b5108] Provide the new SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER option to sqlite3_db_config() that can be used to activate the two-argument version of fts3_tokenizer() for a specific database connection at run-time. (user: drh, tags: trunk)
13:22
[ff3d7f84] Fix a typo in a comment (though an important comment in that it is used to generate documentation). (user: drh, tags: trunk)
04:13
[3ef6a315] Ephemeral tables used to hold manifested views may not be unordered since they might be subject to an ordered comparison if they are part of a join. (user: drh, tags: trunk)
04:04
[beda0b8c] Remove a debugging "exit" command mistakenly left in the "where.test" module. (user: drh, tags: trunk)
2016-02-25
23:27
[c871473f] Add some comments in the VSIX test tool. (user: mistachkin, tags: trunk)
23:25
[d27f32c6] Add tool for smoke-testing the UWP VSIX package. (user: mistachkin, tags: trunk)
23:22
[799d5f09] Closed-Leaf: Enhance checking of prerequisites in the vsixtest tool. (user: mistachkin, tags: vsixTest)
23:21
[2459d323] Fix an incorrect cost computation for sorting (introduced just a few check-ins ago). Should be NlogN, not NloglogN. (user: drh, tags: trunk)
21:38
[e0d25913] Small optimization in FK handling. (user: mistachkin, tags: trunk)
21:27
[d64d005e] Change the srcck1.c utility program to use only unsigned characters. (user: drh, tags: trunk)
21:19
[832c237f] Change the "PRAGMA stats" command to report size values in LogEst units. The eliminates the need for sqlite3LogEstToInt() unless non-standard compile-time options are used, so leave it out except in those cases. (user: drh, tags: trunk)
20:17
[9ffff484] Disable the RESTRICT foreign key action if "PRAGMA defer_foreign_keys" is set. (user: dan, tags: trunk)
19:52
[8fea1166] Disable the RESTRICT foreign key action if "PRAGMA defer_foreign_keys" is set. (user: dan, tags: sessions)
18:54
[b8659004] Merge all the latest changes from trunk. (user: drh, tags: sessions)
18:40
[bf46179d] Query planner improvements: Take the LIMIT into account when estimated the cost of an ORDER BY. Avoid automatic indexes on query loops that are expected to run less than twice. See [9e2b2681] for a later enhancement. (user: drh, tags: trunk)
18:22
[aab53a21] Closed-Leaf: Improvement on the previous check-in: disallow automatic indexes for any loop that is expected to run less than twice. (user: drh, tags: planner-improvements)
18:03
[5957e793] Do not use an automatic index on an outer loop that only runs once. (user: drh, tags: planner-improvements)
16:04
[d491745c] Take the LIMIT clause into account when estimating the cost of sorting. (user: drh, tags: planner-improvements)
13:33
[2e67a1c8] In the command-line shell: When the ".import" command is creating a new table using column names from the first row of CSV input, make sure double-quotes in the name are properly escaped. (user: drh, tags: trunk)
08:02
[4fe7c4e9] Improve readability and logging of the vsixtest script. (user: mistachkin, tags: vsixTest)
02:56
[788f99f4] Enable all steps and add/update comments. (user: mistachkin, tags: vsixTest)
02:49
[0ab74373] More work. Install and build steps are now tested. (user: mistachkin, tags: vsixTest)
2016-02-24
23:31
[e0029bdf] Fix typo. Improve interim debugging. (user: mistachkin, tags: vsixTest)
23:25
[cce40a0b] Test build all supported configurations and platforms during VSIX testing. (user: mistachkin, tags: vsixTest)
21:42
[496e4ac9] Initial work on an automated VSIX testing tool. Not working or tested yet. (user: mistachkin, tags: vsixTest)
20:16
[e721975f] Extend [3e9ed1ae] so that covering indexes on WITHOUT ROWID tables are also identified. (user: dan, tags: trunk)
19:57
[56f62e34] Change a char* to const char* in order to suppress some harmless compiler warnings. (user: drh, tags: trunk)
17:18
[3e9ed1ae] When an index completely covers a table, it can be used as a covering index even if columns past the 63rd column are indexed and accessed. (user: drh, tags: trunk)
16:14
[b65217c6] Fix a problem with handling identifiers that start with "x" if SQLITE_OMIT_BLOB_LITERAL is defined. (user: dan, tags: trunk)
15:43
[71d488b5] Closed-Leaf: Identify indexes that completely cover their table. (user: drh, tags: covering-index)
13:35
[f92dc418] Leaf: LSM1: Fix the integer key encoding so that negative keys are in numeric order. (user: drh, tags: lsm-vtab)
2016-02-23
16:28
[0064a8c7] Add the SQLITE_BITMASK_TYPE compile-time option. (user: drh, tags: trunk)
01:41
[fac4f4ec] Merge trunk enhancements. (user: drh, tags: lsm-vtab)
01:37
[32f3daec] Add support for (variable length) integer keys in LSM1. (user: drh, tags: lsm-vtab)
2016-02-22
23:44
[aa9f4c62] Remove code not needed now that synchronous=OFF database files no longer trigger the use of a master journal. (user: drh, tags: trunk)
23:14
[2a6003a9] Avoid an unnecessary seek operation some corner-case skip-scan operations. (user: drh, tags: trunk)
21:19
[a3dcf6db] Closed-Leaf: Clearer presentation of the logic. No functional changes. (user: drh, tags: skip-scan-improvement)
20:52
[38e837e6] Avoid an unnecessary seek operation on some corner-case skip-scans. (user: drh, tags: skip-scan-improvement)
19:51
[0b734065] Add test script shell6.test, containing tests for schemalint. (user: dan, tags: schemalint)
16:32
[18c3ab47] Merge the master-journal optimization and other recent changes from trunk. (user: drh, tags: apple-osx)
16:04
[64386fa3] Always use the sqlite3VdbeDeleteAuxdata() routine for clearing auxdata on function parameter, rather than having a separate deleteAuxdataFromFrame() for doing the job for trigger frames. (user: drh, tags: trunk)
14:57
[3ed18906] Avoid creating a master journal unless two or more databases in the transaction can actually benefit from that master journal. (user: drh, tags: trunk)
13:23
[9230ba6c] Change magic numbers associated with synchronous settings to named constants. (user: drh, tags: trunk)
13:01
[f9e5fb88] Merge up to trunk. (user: drh, tags: lsm-vtab)
09:45
[a48ac4c3] Add an extra test case for the change in commit [c4295725]. (user: dan, tags: trunk)
2016-02-19
19:46
[06f1495f] Further enhancements to the MSVC batch build tool. (user: mistachkin, tags: trunk)
19:29
[480e5049] Use the arguments to NMAKE consistently in the MSVC batch build tool. (user: mistachkin, tags: branch-3.11)
19:03
[66a9ad4a] Enhance clean target in the MSVC makefiles. (user: mistachkin, tags: branch-3.11)
18:54
[c4295725] Use a separate list of aux-data structures for each trigger program at the VDBE level. Fix for [dc9b1c91]. (user: dan, tags: trunk)
16:19
[0cb728c1] Enhance speedtest1 to display the particular version of SQLite under test. (user: drh, tags: trunk)
15:17
[a1a3ff1f] Fix a couple of harmless warnings generated by clang. (user: drh, tags: trunk)
14:20
[398522e6] Fix a harmless uninitialized variable access. (user: drh, tags: trunk)
14:10
[16205302] Make sure WhereClause objects are fully initialized before use when planning OR queries. (user: drh, tags: trunk)
13:29
[7c26d2b4] Fix (harmless) compiler warnings in some of the TCL-based test code. (user: drh, tags: trunk)
13:20
[ba9c6827] Add an SQLITE_DISABLE_INTRINSIC #ifdef to the sqlite3Put4Byte() function. (user: drh, tags: trunk)
13:19
[60ad68a9] Omit the unused yyzerominor constant. (user: drh, tags: trunk)
10:19
[ce0f1ed5] Add an "#ifndef SQLITE_AMALGAMATION" guard around a typedef in fts5_test_mi.c to avoid redefining "u32" if it is compiled as part of the amalgamation. Cherrypick of [f9c49ba1]. (user: dan, tags: branch-3.11-matchinfo)
10:18
[f9c49ba1] Add an "#ifndef SQLITE_AMALGAMATION" guard around a typedef in fts5_test_mi.c to avoid redefining "u32" if it is compiled as part of the amalgamation. (user: dan, tags: trunk)
07:53
[02fbf699] Fix a couple of bugs in the schemalint code. (user: dan, tags: schemalint)
05:07
[72b10e5e] Modify the MSVC batch build tool to support the MSVC autoconf Makefile. (user: mistachkin, tags: branch-3.11)
00:48
[b9626b59] Further improvements to the MSVC batch build tool. (user: mistachkin, tags: trunk)
00:47
[90dd6eb1] Further improvements to the MSVC batch build tool. (user: mistachkin, tags: branch-3.11)
2016-02-18
21:15
[f74de325] Correct the install location for the UWP VSIX package. (user: mistachkin, tags: trunk)
21:00
[b47d0302] Correct the install location for the UWP VSIX package. (user: mistachkin, tags: branch-3.11)
19:10
[4ab3df25] Have the schemalint output distinguish between existing and recommended indexes. (user: dan, tags: schemalint)
16:16
[e2ef6667] Remove SQLITE_TEST macros from fts5_test_mi.c. Add the SQLITE_FTS5_ENABLE_TEST_MI compile time symbol - to make it easier to create builds that include the fts5 matchinfo demo by default. (user: dan, tags: branch-3.11-matchinfo)
14:53
[82e7e31b] Merge the tokenizer buffer overrun bug-fix from trunk. (user: drh, tags: apple-osx)
14:49
[2a8d97e7] Avoid a potential buffer overrun if an SQL statement being parsed ends with an illegal "!" token. (This problem was detected by fuzzcheck running under valgrind. The problem was introduced by check-in [9570b6b43df3], two days ago and has not appeared in a release.) (user: drh, tags: trunk)
14:03
[c8cd7804] Improved handling of the -v option on the fuzzcheck test program. (user: drh, tags: trunk)
13:32
[31d8b69e] Remove an unnecessary "include <tcl.h>" line from fts5_test_mi.c. (user: dan, tags: trunk)
01:36
[b7fa0fb3] Merge recent performance enhancements and the enhanced API_ARMOR from trunk. (user: drh, tags: apple-osx)
01:29
[80de1ad5] Add extra API armor on the sqlite3_bind_blob() interface. (user: drh, tags: trunk)
01:22
[7bcd3ab5] Memory leak associated with SQLITE_WRITE_WALFRAME_PREBUFFERED (user: drh, tags: apple-osx)
2016-02-17
20:47
[24c7151c] When VDBE opcodes fail, they cause an immediate exit from the loop, rather than depending on the rc==SQLITE_OK test at the top of the loop. This is faster and smaller. (user: drh, tags: trunk)
20:06
[cf0f7eeb] Schemalint changes: Avoid creating candidate indexes if a compatible index exists. Do not quote identifiers that do not require it. (user: dan, tags: schemalint)
18:44
[a444633a] Closed-Leaf: Fix up all VDBE opcodes so that they cause an immediate exit on any kind of error, and thereby eliminate the need to test "rc" at the top of the loop. Resulting code is a little smaller and faster. (user: drh, tags: vdbe-performance)
15:01
[c17d7276] Bump the version number to 3.12.0. (user: drh, tags: trunk)
14:48
[87e6e225] Remove the "#ifdef SQLITE_TEST" condition from fts5_test_mi.c. Update fts5_main.c so that if SQLITE_FTS5_TEST_MI is defined when it is built the fts5_test_mi.c entry point is automatically called. This makes it easier to build versions of fts5 that include the matchinfo() demo by default. (user: dan, tags: trunk)
14:11
[8a78050d] Improve test coverage of demo code in fts5_test_mi.c. (user: dan, tags: trunk)
13:24
[53fd040c] Enhance Lemon to generate more compact and efficient code for yy_reduce(). Update the main SQL grammar to take advantage of the new capabilities. (user: drh, tags: trunk)
12:34
[417e7777] Closed-Leaf: More agressive use of /*A-overwrites-X*/ in the parser. Fix an off-by-one error in parser stack overflow detection. (user: drh, tags: parser-performance)
11:13
[fc2043eb] Documentation typo on sqlite3_wal_hook(). No changes to code. (user: drh, tags: trunk)
04:33
[5cfe9545] Enhance Lemon so that if reduce code contains a comment of the form "/*A-overwrites-X*/" then a LHS label A is allowed to overwrite the RHS label X. (user: drh, tags: parser-performance)
01:46
[ef95a7d6] Further improvements to the Lemon-generated code for yy_reduce(). (user: drh, tags: parser-performance)
01:18
[4bb94c7c] In Lemon, add the ability for the left-most RHS label to be the same as the LHS label, causing the LHS values to be written directly into the stack. (user: drh, tags: parser-performance)
2016-02-16
21:19
[a65d583c] Experimental changes to Lemon for improved parser performance. (user: drh, tags: parser-performance)
18:37
[73a7f010] Fix further issues in schemalint. (user: dan, tags: schemalint)
13:04
[9570b6b4] Minor simplification to the tokenizer. Slightly smaller and faster. (user: drh, tags: trunk)
01:01
[9235b0cf] Improve the Lemon parser template (lempar.c) so that it avoids unnecessary work when the grammer defines YYNOERRORRECOVERY (as SQLite does). Slightly smaller and faster code results. (user: drh, tags: trunk)
2016-02-15
23:46
[e52c9075] Fix a harmless compiler warning in FTS5. (user: drh, tags: trunk)
22:37
[1640f814] Readability improvements for winRandomness. (user: mistachkin, tags: trunk)
22:28
[2e1f2eff] Fix comment. No changes to code. (user: mistachkin, tags: trunk)
22:01
[287f508d] Revise compiler checks for the rand_s() function. (user: mistachkin, tags: trunk)
21:31
[139081be] On windows systems when rand_s() is available, use it to obtain additional seed material in winRandomness(). (user: drh, tags: trunk)
20:41
[fea3705e] Improved entropy gathering for the implementation of winRandomness(). (user: drh, tags: trunk)
20:12
[58d4cf26] Progress towards integrating schemalint into the shell tool. Some cases work now. (user: dan, tags: schemalint)
19:38
[404494e5] Add working -q and --help options to testfixture. (user: drh, tags: trunk)
18:58
[153f01a8] In the tool/warning.sh script, disable Android-specific compiler warning tests when not running on Linux. (user: drh, tags: trunk)
18:47
[70262463] Fix harmless compiler warnings previously seen in 64-bit MSVC builds. (user: drh, tags: trunk)
18:15
[9b345476] Add the SQLITE_NOMEM_BKPT macro to enhance the ability to debug OOM errors. Only effective with compiling with SQLITE_DEBUG. (user: drh, tags: trunk)
18:02
[c3b38efd] Minor code simplifications. (user: drh, tags: trunk)
17:56
[7d49ed32] Make the application-defined SQL function logic more compact and faster, especially faster for the case where an application defines thousands of new SQL functions. (user: drh, tags: trunk)
17:44
[c393ddc7] Merge version 3.11.0 (user: drh, tags: begin-concurrent)
17:40
[5cecc509] Merge 3.11.0 changes. (user: drh, tags: apple-osx)
17:39
[631023dd] Merge 3.11.0 changes. (user: drh, tags: sessions)
17:29
[3d862f20] Version 3.11.0 (user: drh, tags: trunk, release, version-3.11.0)
15:06
[f694e60a] Make sure the codec is invoked when overwriting existing frames of the WAL file. Yikes! (user: drh, tags: trunk)
00:34
[3201fbcc] Closed-Leaf: Improvements to the application-defined function mechanism so that it is more compact and runs faster, especially when the application defines thousands of new SQL functions. (user: drh, tags: many-app-functions)
2016-02-14
00:14
[e9753d9a] Closed-Leaf: Update a comment. (user: mistachkin, tags: noMemBkpt)
2016-02-13
23:43
[6a9c4a3e] Enhance ability to debug out-of-memory errors. (user: mistachkin, tags: noMemBkpt)
18:54
[37ec3015] Provide Sqlite3_SafeInit() and Sqlite3_SafeUnload() entry points on the TCL interface, but have the always return TCL_ERROR, because the non-standard TCL builds on Macs require this. (user: drh, tags: trunk)
17:35
[d198a6db] Merge changes from the 3.11.0 release candidate. (user: drh, tags: apple-osx)
15:08
[f6d1cf79] Fix another test problem in sessionfault.test. (user: dan, tags: sessions)
14:45
[6c2d34df] Harden sqlite3session_delete() against trying to delete a session that is not currently on the session list. (user: drh, tags: sessions)
14:39
[582b2ae7] Fix a problem in sessionfault.test causing it to segfault following a test failure. This commit does not fix the actual test failure - just the subsequent segfault. (user: dan, tags: sessions)
14:07
[4d7a802e] Merge the changes for the 3.11.0 release candidate from trunk. (user: drh, tags: sessions)
2016-02-12
18:48
[a049fbbd] Fix a potential buffer overread provoked by invalid utf-8 in fts5. (user: dan, tags: trunk)
17:56
[13058020] Fix a fairly obscure buffer overread in fts5. (user: dan, tags: trunk)
17:30
[d9c98587] Fix a documentation typo. No changes to code. (user: drh, tags: trunk)
17:27
[6ea84ec1] Enhance mptester so that it takes great care to delete its test database prior to start-up, including checking the return code from unlink() and retrying after a delay if unlink() fails. Hopefully this will clear intermittant startup problems on Windows. (user: drh, tags: trunk)
05:19
[717c1fc4] Naming updates for Universal Windows Platform. (user: mistachkin, tags: trunk)
00:13
[b5d77199] Remove an unused parameter from whereSortingCost(). (user: drh, tags: trunk)
2016-02-11
22:41
[0beb32d2] Automatically disable FTS3 and FTS4 when building with SQLITE_OMIT_VIRTUALTABLE. (user: drh, tags: trunk)
21:59
[f183e059] Enhance the MSVC makefile to enable building 'testfixture' fully from source code. (user: mistachkin, tags: trunk)
21:55
[52571991] Remove the unexplained extra 3.0 cost factor for the B-tree sorting that is done to implement DISTINCT in the absence of an index to help. (user: drh, tags: trunk)
21:53
[defc762d] Remove the unused fts5BlobCompare() routine. (user: drh, tags: trunk)
21:38
[67ee9b5a] Closed-Leaf: Prevent 'expanded command line X too long' errors during the batch 'for' loops used for copying files. (user: mistachkin, tags: testFixtureSrc)
21:28
[54ff3a26] Enhance the MSVC makefile to enable building 'testfixture' fully from source code. (user: mistachkin, tags: testFixtureSrc)
21:01
[ed49f297] Experimental integration of schemalint functionality with the shell tool. Does not work yet. (user: dan, tags: schemalint)
18:18
[61b4c120] Fix another unused variable warning in fts5 code. (user: dan, tags: trunk)
18:08
[facbc424] Avoid a buffer overread when reading a corrupt fts5 structure record. (user: dan, tags: trunk)
17:01
[bc3f7900] Handle parser stack overflow when parsing fts5 query expressions. Fix some compiler warnings in fts5 code. (user: dan, tags: trunk)
15:37
[cfe2eb88] Add JSON1 and FTS5 to the set of extensions subject to close compiler warning analysis. Fix some warnings in each. More (harmless) warnings still exist in FTS5. (user: drh, tags: trunk)
13:30
[a863729c] Closed-Leaf: Minor simplifications deferred to the next release. (user: drh, tags: simplify)
2016-02-10
21:45
[e9e6000b] In the MSVC makefile, include the working directory so that it can pickup build generated files (e.g. sqlite3.h, etc). (user: mistachkin, tags: trunk)
19:10
[970881be] Add testcase() macros to the CHECK constraint avoidance logic. Avoid creating an unused VDBE label during CHECK constraint code generation. (user: drh, tags: trunk)
18:24
[7782cb1d] Fix to previous check-in: Make sure CHECK constraints involving the ROWID are not ignored when the ROWID changes. (user: drh, tags: trunk)
16:52
[02fbdbc7] Omit unnecessary CHECK constraints in UPDATE statements, when none of the columns referenced in the CHECK constraint are modified. (user: drh, tags: trunk)
16:03
[6a3aaedf] Omit NOT NULL checks on unchanging columns in an UPDATE. (user: drh, tags: trunk)
13:36
[604f7775] When generating the snapshot-tarball, truncate the date/time in the name to 12 significant digits (YYYYMMDDhhmm) omitting the seconds and fractional seconds. (user: drh, tags: trunk)
13:17
[a3e911e3] Updates to the autoconf tarball README.txt file. (user: drh, tags: trunk)
2016-02-09
22:54
[070ec66f] Update the snapshot tarball name to use the date (ISO8601 format) instead of the SHA1 hash in its name. (user: drh, tags: trunk)
22:39
[4f360b2a] Add the new "snapshot-tarball" target to the unix makefiles, for building a tarball similar to "amalgamation-tarball" but named by the SHA1 hash of the current check-out rather than by the version number. (user: drh, tags: trunk)
22:00
[c7242aa3] Update the MSVC autoconf makefile with the recent changes from the primary one. (user: mistachkin, tags: trunk)
20:37
[1135ad01] Fix the makefiles in the autoconf-tarball so that they build the command-line shell with SQLITE_ENABLE_EXPLAIN_COMMENTS. (user: drh, tags: trunk)
20:31
[61951b15] In the shell, use the appropriate string constant instead of a literal new-line. (user: mistachkin, tags: trunk)
20:11
[751915cb] Enhance the command-line shell to be in auto-explain mode by default. It is no longer necessary to use the ".explain" command to put the shell into a mode where the EXPLAIN output is formatted nicely. That now happens automatically. (user: drh, tags: trunk)
20:04
[6c6d7a6e] Closed-Leaf: Improved auto-detection of EXPLAIN output in the shell. (user: drh, tags: auto-explain)
18:39
[1d62aa6b] Add auto-explain mode to the command-line shell. Default on. Auto-explain tries to automatically detect EXPLAIN queries and format them appropriately. (user: drh, tags: auto-explain)
18:28
[51b6823f] Fix MSVC makefile options that enable control-flow guard. (user: mistachkin, tags: trunk)
17:12
[99228239] Fix the top-level makefiles to always include SQLITE_ENABLE_EXPLAIN_COMMENTS when building the shell. Still need to fix main.mk and the amalgamation tarball. (user: drh, tags: trunk)
16:09
[e1d8ec85] Code simplification: ALTER TABLE ADD COLUMN always upgrades the file_format to 4 if is not there already. No need to upgrade to only 2 or 3 since format 4 has now been supported for over 10 years. (user: drh, tags: trunk)
15:50
[f0734017] Merge recent fixes and enhancements from trunk. (user: drh, tags: apple-osx)
15:44
[f040a5bb] Merge enhancements and fixes from trunk. (user: drh, tags: sessions)
15:10
[1a4182ee] Merge latest trunk changes with this branch. (user: dan, tags: schemalint)
02:12
[ca72be86] Make sure every co-routines has its own set of temporary registers and does not share temporaries, since a co-routine might expect the content of a temporary register to be preserved across an OP_Yield. Proposed fix for ticket [d06a25c84454a]. (user: drh, tags: trunk)
2016-02-08
20:45
[6eab74c9] Fix spelling error in MSVC makefile comments. (user: mistachkin, tags: trunk)
20:40
[1e563c6e] More work on Windows 10 SDK integration. (user: mistachkin, tags: trunk)
20:14
[85eb05dd] Fix a signed/unsigned comparison warning in fts5. (user: dan, tags: trunk)
20:06
[6926f28c] Fix a compiler warning when compiling without SQLITE_ENABLE_FTS3_TOKENIZER. (user: drh, tags: trunk)
19:40
[e0eb217a] Disable the two-argument form of the fts3_tokenizer() SQL function unless the library is built with -DSQLITE_ENABLE_FTS3_TOKENIZER. (user: dan, tags: trunk)
19:36
[a050e6f0] Changes to help the tokenizer run about 33% faster. (user: drh, tags: trunk)
19:15
[04f7da77] Closed-Leaf: Add code to get the tokenizer character-class logic working for EBCDIC. (user: drh, tags: tokenizer-char-class)
03:23
[ff406b97] Faster keywordCode() implementation by taking advantage of the fact that the input is always pure ASCII alphabetic and underscore and that the keyword table is always upper-case. (user: drh, tags: tokenizer-char-class)
02:30
[9115baa1] Demonstrate a much faster sqlite3GetToken() routine by using a lookup table to map initial token characters into a character class. This check-in does not work for EBCDIC. More optimization needed. (user: drh, tags: tokenizer-char-class)
2016-02-07
20:39
[852a529a] Fix harmless compiler warning in 'srcck1' tool and add it to the clean targets. (user: mistachkin, tags: trunk)
00:08
[ab269e72] Add the sourcetest target to Makefile.msc. (user: drh, tags: trunk)
2016-02-06
22:32
[b0b4624f] Add a utility program that looks for assert(), NEVER(), ALWAYS(), and testcase() macros that have side-effects, and reports errors when they are found. Also fix a bug that this utility detected as it was being tested. (user: drh, tags: trunk)
19:48
[2f7778e6] Make sure variable declarations occur at the beginning of blocks, even with SQLITE_DEBUG enabled. (user: drh, tags: trunk)
14:14
[a2952231] Fix an assert() to have a test instead of a side effect (user: pdr, tags: trunk)
2016-02-05
21:09
[22589018] Add tests for and remove unreachable branches from fts5 in order to restore test coverage. (user: dan, tags: trunk)
19:40
[ebace2c9] Closed-Leaf: More work on Windows 10 SDK integration. (user: mistachkin, tags: win10sdk)
19:18
[ca91bd8a] Further streamlining of fts5 prefix query code. (user: dan, tags: trunk)
17:49
[1cac6c45] Make sure the "bak.db" database file does not actually exist before starting the "quota.test" testing. (user: drh, tags: trunk)
16:46
[a6b35273] From test scripts, remove stray "breakpoint" commands and blank lines at the ends of files. (user: drh, tags: trunk)
14:34
[332c8036] Merge PRAGMA synchronous=EXTRA and OOM performance enhancements from trunk. (user: drh, tags: begin-concurrent)
14:29
[201fcbee] Merge OOM handling optimizations and PRAGMA synchronous=EXTRA as well as other enhancements from trunk. (user: drh, tags: apple-osx)
14:15
[a533608c] Merge enhancements from trunk. (user: drh, tags: sessions)
14:11
[b082538d] Improvements to the way out-of-memory conditions are handled, resulting in an almost 1% performance gain in the commmon case where OOM errors do not occur. (user: drh, tags: trunk)
13:38
[0a802e96] Closed-Leaf: Add the slightly faster sqlite3DbMallocRawNN(db,n) routine for the majority cases where db is guaranteed to be not NULL. (user: drh, tags: oom-handling)
04:55
[fe123ab4] Improve ERRORLEVEL handling in the MSVC batch build tool sub-routine 'fn_UnsetVariable'. (user: mistachkin, tags: trunk)
04:50
[9efb223f] OOM failures on sqlite3_errmsg16() in an app-defined function are no longer benign. (user: drh, tags: oom-handling)
04:39
[76718bbc] Another small tweak to the MSVC batch build tool. (user: mistachkin, tags: trunk)
02:50
[a8846aee] Minor simplification of schema error reporting. (user: drh, tags: oom-handling)
02:42
[d94416dd] Further performance improvements that fall out of the mallocFailed changes. (user: drh, tags: oom-handling)
01:55
[c3ef0347] Improvements to the way that OOM errors are processed. (user: drh, tags: oom-handling)
2016-02-04
19:50
[42736fb0] Temporarily back out the 0.5% performance improvement from check-in [632071bac5ff32]. Need a more elaborate solution that works with reentrant virtual tables and SQL functions. (user: drh, tags: trunk)
19:45
[c9c6457d] Further improve performance of unindexed fts5 prefix queries. (user: dan, tags: trunk)
17:31
[f465944b] Avoid running some particularly time-consuming tests as part of veryquick.test. (user: dan, tags: trunk)
11:48
[b787165b] Remove unnecessary sets of db->mallocFailed. (user: drh, tags: trunk)
11:15
[634d008c] Use sqlite3_malloc64() instead of sqlite3_malloc() in the spellfix extension. (user: drh, tags: trunk)
10:28
[4f1b5229] Escape control characters in JSON. Fix for ticket [ad2559db380abf8]. (user: drh, tags: trunk)
09:48
[e3157cb5] Refinements to synchronous logic: (1) Use PAGER_SYNCHRONOUS_FULL rather than the corresponding magic number. (2) Honor SQLITE_NO_SYNC on xDelete calls with sync (3) Count xDelete syncs during testing (4) Fix #ifs on SQLITE_EXTRA_DURABLE so that directory syncs on journal unlink are off by default. (user: drh, tags: trunk)
02:34
[1c8d3001] Leaf: Add and use the sqlite3VdbeZeroRegister() interface for coding the common operation of writing zero into a register. (user: drh, tags: zero-register)
2016-02-03
22:14
[632071ba] In the VDBE loop, only check for OOM errors at jumps rather than after every opcode, for about a 0.5% performance increase. (user: drh, tags: trunk)
20:04
[ca11f46d] Improve performance of fts5 prefix queries on detail=col tables. (user: dan, tags: trunk)
19:52
[ef252bc4] Fix markup errors in comments used to generate the documentation - specifically in the documentation on the OP_Seek opcode. (user: drh, tags: trunk)
19:20
[af924018] Add "PRAGMA synchronous=EXTRA" which syncs the directory containing the rollback journal when the rollback journal is deleted in order to commit a transaction in DELETE mode. (user: drh, tags: trunk)
01:55
[ae8b9d2e] Enhance the internal sqlite3VdbeAddOpList() interface to automatically update jump destinations. Use this feature to simplify the AUTOINCREMENT code generator. (user: drh, tags: trunk)
2016-02-02
21:19
[063755c8] Add tests to restore full coverage of fts5 code. (user: dan, tags: trunk)
17:40
[62ea9e5a] Enhance the performance of fts5 AND and OR queries. (user: dan, tags: trunk)
02:53
[347f6a80] Merge recent enhancements from trunk. (user: drh, tags: begin-concurrent)
02:30
[e6a4a163] Merge recent enhancements from trunk. (user: drh, tags: apple-osx)
02:22
[f3f92001] Merge all recent enhancements from trunk. (user: drh, tags: sessions)
02:04
[d8b7b199] Enhance the comment on the sqlite3_index_constraint object to bring attention to the fact than iColumn field can be negative for a rowid. (user: drh, tags: trunk)
00:59
[7453790c] Leaf: Add the SQLITE_DBCONFIG_REQUIRE_WRITE_TXN connection setting, which if enabled requires all write operations to be enclosed within BEGIN ... COMMIT. (user: drh, tags: require-write-txn)
2016-02-01
21:48
[6d7d4703] Change the OP_SetCookie instruction to write the literal P3 value, not the value in register P3. (user: drh, tags: trunk)
20:12
[2334e882] Improve performance of fts5 queries. (user: dan, tags: trunk)
17:20
[4c9222f7] Number VDBE opcodes starting with 0 instead of 1, as this obviates the lower-bound test on "switch(opcode){...}", making the code smaller and faster. (user: drh, tags: trunk)
16:36
[5d7c0928] Update walcrash.test to ensure that, during a particular test, enough data is written to cause SQLite to sync the wal file 14 times. (user: dan, tags: trunk)
13:58
[a17712bf] Fix a problem causing the OR/covering-index optimization to be disabled if compile time parameter SQLITE_MAX_ATTACHED were set to greater than 30. (user: dan, tags: trunk)
13:21
[a9b6a067] Minor simplification to the OP_AutoCommit opcode. Fix some code comments related to transaction control. (user: drh, tags: trunk)
00:21
[22eaced7] Fix an assert() that might fail on a corrupt database. (user: drh, tags: trunk)
2016-01-30
21:09
[a2810cf6] Fix new test cases in stat.test so that they work with -DSQLITE_DEFAULT_AUTOVACUUM=1 builds. (user: dan, tags: trunk)
19:16
[13fb4aa6] Performance enhancement for fts5 column filter queries on detail=full tables. (user: dan, tags: trunk)
16:59
[9bec50a1] Merge the implementation of OP_IdxRowid and OP_Seek so that OP_Seek no longer requires the rowid register and a separate OP_IdxRowid call. Shorter and faster prepared statements result. (user: drh, tags: trunk)
15:52
[1f4c667f] Only honor the register subtype value if the MEM_Subtype flag is set. Revised and improved fix for ticket [f45ac567eaa9f9]. (user: drh, tags: trunk)
15:46
[2e9fb129] Closed-Leaf: A different way to clear the subtype on VDBE registers when the value of the register is overwritten with new content. To fix [[f45ac567eaa9f93]. (user: dan, tags: clear-subtype-flag)
14:53
[ec653cbc] Closed-Leaf: Take care to clear the subtype on VDBE registers when the value of the register is overwritten with new content. (user: drh, tags: clear-subtype-fail)
14:17
[96b78020] Output subtype information on register traces for PRAGMA vdbe_trace. (user: drh, tags: trunk)
13:32
[85c46704] Add the BTREE_FORDELETE and BTREE_AUXDELETE flags to the b-tree layer interface and use them. Add assert() statement to verify that they are correct. (user: drh, tags: trunk)
12:50
[0bdb41c4] Simplification and size reduction to the printf logic. Remove the bFlags parameter from sqlite3VXPrintf() and sqlite3XPrintf(). Use sqlite3XPrintf() instead of sqlite3_snprintf() for rendering P4 values in EXPLAIN output. (user: drh, tags: trunk)
02:10
[9de3d712] Make use of covering indexes in the OR optimization. (user: drh, tags: trunk)
00:45
[6c520d57] Closed-Leaf: Change the P4_INTARRAY so that always begins with a length integer. Print the content of the INTARRAY on EXPLAIN output. (user: drh, tags: covering-or)
2016-01-29
21:16
[7cb697f8] Add tests for the change on this branch. (user: dan, tags: covering-or)
20:58
[6e3dcb6d] Different comment on the alternative cursor fields of VdbeCursor. (user: drh, tags: covering-or)
19:29
[a323ac3a] Experimental attempt to make better use of covering indexes within OR queries. (user: dan, tags: covering-or)
19:04
[46080b04] Closed-Leaf: Improvements to FORDELETE processing, including bug fixes and adding assert() statements to help verify correct operation. (user: drh, tags: btree-fordelete-flag)
18:48
[10c88bf9] Closed-Leaf: Remove a stray "exit" in a test script. (user: drh, tags: fordelete-assert)
18:11
[512caa1a] Avoid unnecessary WHERE clause term tests when coding a join where one of the tables contains a OR constraint. (user: drh, tags: trunk)
18:04
[2a055ed0] Prepend "rc!=SQLITE_OK || " to the nExtraDelete assert() condition. (user: dan, tags: fordelete-assert)
16:57
[ab946039] Closed-Leaf: Avoid unnecessary WHERE clause term tests when coding a join where one of the tables contains a OR constraint. (user: drh, tags: OR-clause-improvement)
08:38
[2910ef64] Avoid two more instances of pointer arithmetic on freed pointers. (user: dan, tags: trunk)
2016-01-28
18:22
[5372f800] Modify the order of terms in an "if" condition to avoid implicitly comparing a dangling pointer to NULL following an OOM error. (user: dan, tags: trunk)
17:06
[f43ff8f8] Modifications to ensure the nExtraDelete-related assert() statement does not fail. (user: dan, tags: fordelete-assert)
08:58
[688eb3b4] Remove a duplicate "p->magic = VDBE_MAGIC_RUN;" line from vdbeaux.c. (user: dan, tags: trunk)
02:47
[47633ffd] Fix for pthread detection in the configure scripts. (user: drh, tags: trunk)
00:04
[7c89d75d] Minor correction to the batch tool changes in the previous check-in. (user: mistachkin, tags: trunk)
2016-01-27
23:50
[1edd5f31] Make the MSVC batch build tool sub-routine 'fn_UnsetVariable' a bit more robust. (user: mistachkin, tags: trunk)
16:26
[1d3bf6be] Change the name of the BTREE_IDXDELETE flag to BTREE_AUXDELETE, to better reflect its purpose. (user: drh, tags: fordelete-assert)
16:17
[bbd25cf1] Fix tests in fordelete.test to test for the BTREE_AUXDELETE flag. (user: dan, tags: fordelete-assert)
15:49
[dde1db0d] Add assert() statements on the nExtraDelete variable in vdbe.c to try to verify that the FORDELETE and IDXDELETE flags are being generated correctly. Those flags are not currently generated correctly, and so the assert()s trip on this check-in. (user: drh, tags: fordelete-assert)
07:28
[4bf89891] Support building for Windows 10 desktop using 'MinCore.lib'. (user: mistachkin, tags: trunk)
2016-01-26
23:32
[9a71d56d] Merge all recent trunk enhancements. (user: drh, tags: btree-fordelete-flag)
20:19
[a3d7b8ac] Performance improvements for fts5, particularly detail=col mode. (user: dan, tags: trunk)
20:08
[b4ac61ae] Leaf: Further minor performance improvements and code-size reductions related to fts5 column filters on detail=col tables. (user: dan, tags: fts5-perf)
19:30
[249a2d07] Improve the performance of fts5 column filters on detail=col tables. (user: dan, tags: fts5-perf)
17:08
[c646e403] Enhance fts5txt2db.tcl, a script used to generate fts5/fts4 databases for performance testing. (user: dan, tags: fts5-perf)
15:23
[12ef3a8f] Leaf: Change the automatic index mechanism so that it avoids creating transient indexes on columns that are known to have low cardinality. (user: drh, tags: autoindex-planning)
14:48
[4003db4a] Fix issues on unix with opening database files via symlinks that are not in the current working directory. And with nested symlinks. (user: dan, tags: trunk)
13:56
[4a438556] Closed-Leaf: Ensure that unixFullpathname() always nul-terminates its output buffer, even when returning an error. (user: dan, tags: follow-symlinks)
00:12
[1c2656c1] Remove an unused variable. (user: drh, tags: follow-symlinks)
2016-01-25
23:24
[abd2b357] Add the ability to do Windows builds to the amalgamation tarball. (user: drh, tags: trunk)
23:19
[6df8a9c0] Closed-Leaf: Minor changes to the autoconf/README.txt file. (user: drh, tags: msvcMakeMin)
22:08
[7c49a947] Fix a compiler warning about doing pointer arithmetic involving a NULL pointer even though the result of computation is never used. (user: drh, tags: trunk)
18:43
[8a6e4147] Only use lstat() if the HAVE_LSTAT macro is defined. Fix some test file issues. (user: dan, tags: follow-symlinks)
18:05
[f71249d3] Simplify the unixFullpathname() function. This adds a dependency on lstat(). (user: dan, tags: follow-symlinks)
17:04
[80398fd4] Fix issues on unix with opening database files via symlinks that are not in the current working directory. And with nested symlinks. (user: dan, tags: follow-symlinks)
15:57
[7ac017a4] Replace the OP_SetIfNotPos operator with OP_OffsetLimit in the VDBE, for simpler and smaller code. (user: drh, tags: trunk)
13:55
[30671345] Add the SQLITE_EXTRA_DURABLE compile-time option. (user: drh, tags: trunk)
02:15
[8a1deae4] Small simplification to the prepare statement opcode memory reuse logic. Easier to read, and slightly smaller and faster. (user: drh, tags: trunk)
01:07
[0a9cff5c] Small simplification and performance improvement in memsys5Free(). (user: drh, tags: trunk)
2016-01-23
22:55
[dd0100dd] Add the SQLITE_SPELLFIX_STACKALLOC_SZ compile-time option to control how much stack space is available for use as the Wagner matrix in editDest3 of the spellfix extension. (user: drh, tags: trunk)
21:57
[9f02868d] More updates to the README. (user: mistachkin, tags: msvcMakeMin)
20:43
[4ce60fa4] Updates to the autoconf README file. (user: drh, tags: msvcMakeMin)
20:34
[12eb8db7] Move Makefile.min.msc into the autoconf subdir where it belongs and change its name to Makefile.msc. Adjust build scripts accordingly. (user: drh, tags: msvcMakeMin)
20:16
[c15e0fc4] Minor coding style tweaks for the mkmsvcmin tool. (user: mistachkin, tags: msvcMakeMin)
20:09
[e420f3dc] Adjust the amalgamation-tarball build process so that it includes the MSVC makefile and the sqlite3.rc resource file. (user: drh, tags: msvcMakeMin)
19:47
[c6e633ab] Improved comments on the transformation script and on the generated Makefile. (user: drh, tags: msvcMakeMin)
19:24
[949aa614] Use the -integer option when sorting list elements. (user: mistachkin, tags: msvcMakeMin)
18:51
[72d53699] Fix an fts5 problem with using both xPhraseFirst() and xPhraseFirstColumn() within a single statement in detail=col mode. (user: dan, tags: fts5-perf)
18:24
[dfcebc73] Changes to spellfix to try to get it to use stack space instead of heap space in cases where that makes sense. (user: drh, tags: trunk)
16:20
[ceccc9ad] Merge trunk changes (including fixes for warnings in fts5) with this branch. (user: dan, tags: fts5-perf)
15:57
[3be336aa] Fix some signed/unsigned comparison compiler warnings in fts5. (user: dan, tags: trunk)
14:45
[7558a0ad] Fix a problem involving detail=col and column filters. (user: dan, tags: fts5-perf)
14:05
[f0a551ed] Remove an assert() that can be false if compiled with SQLITE_USE_ALLOCA. (user: drh, tags: trunk)
07:53
[c46f1a13] Add tooling to create an MSVC Makefile capable of building the core library and shell only, using a pre-built amalgamation. (user: mistachkin, tags: msvcMakeMin)
01:54
[39759a55] Cleanup localtime() support for Windows CE. (user: mistachkin, tags: winCeLocalTime)
00:07
[a79c46bc] More work on the MSVC build. (user: mistachkin, tags: trunk)
2016-01-22
23:17
[a1c8116c] In the TCL interface, if a database connection object was opened with the -uri 1 option, then also honor URI filenames for the "backup" and "restore" commands. (user: drh, tags: trunk)
22:16
[df22556f] More MSVC makefile cleanup. (user: mistachkin, tags: trunk)
19:48
[b5a57b81] Experimental performance enhancements for fts5. (user: dan, tags: fts5-perf)
19:44
[c11c85fd] Reenable the xCurrentTime and xGetLastError methods on the unix VFSes as long as SQLITE_OMIT_DEPRECATED is not defined. (user: drh, tags: trunk)
17:48
[73231753] Add the sqlite3TokenInit() utility function. (user: drh, tags: trunk)
15:44
[e60461e9] Have the dbstat module dequote any argument passed to the CREATE VIRTUAL TABLE statement before attempting to match it against the names of attached databases. (user: dan, tags: trunk)
14:46
[9341491c] Merge latest trunk changes into this branch. (user: dan, tags: schemalint)
14:44
[44edc1aa] Fix handling of transitive constraints in schemalint.tcl. (user: dan, tags: schemalint)
14:32
[d4e37767] Update the schemalint.tcl script so that the argument to a -select option may be either an SQL statement or the name of a file containing an SQL statement (user: dan, tags: schemalint)
04:22
[e4c07df5] Enable FTS4 when building the shell with the MSVC makefile. (user: mistachkin, tags: trunk)
03:54
[67625b96] Further refinements to the MSVC makefile. (user: mistachkin, tags: trunk)
01:25
[ac2e9d3d] MSVC makefile enhancements for use with the Windows 10 SDK. (user: mistachkin, tags: trunk)
2016-01-21
18:56
[29a51c6d] Fix typo in 'Makefile.in'. (user: mistachkin, tags: trunk)
17:25
[82470d1c] Closed-Leaf: Disable the RESTRICT foreign key action if "PRAGMA defer_foreign_keys" is set. (user: dan, tags: disable-restrict)
17:06
[ac2cbadd] Add a new hint bit on the flags parameter of sqlite3BtreeDelete(). The new BTREE_IDXDELETE bit indicates that the call is to delete an index entry corresponding to a table row that has already been deleted. (user: drh, tags: btree-fordelete-flag)
15:55
[a3cec529] Improved comments on the FORDELETE hint. No logic changes. (user: drh, tags: trunk)
2016-01-20
18:47
[f60f0250] Add 'rbu' to the clean targets. (user: mistachkin, tags: trunk)
16:36
[81e830e2] Add a -detail option to the loadfts5.tcl script. For creating tables with the detail= option set. (user: dan, tags: trunk)
16:02
[36cb3d6e] Merge the LIKE-operator bug fix from trunk. (user: drh, tags: sessions)
15:27
[17efb420] Leaf: Version 3.10.2 (user: drh, tags: release, branch-3.10, version-3.10.2)
15:20
[d4a6425f] Fix a problem in autoconf/configure.ac causing --enable-readline to fail if libedit was not present. (user: dan, tags: branch-3.10)
15:19
[e8adeb64] Fix a problem in autoconf/configure.ac causing --enable-readline to fail if libedit was not present. (user: dan, tags: trunk)
15:08
[d1c15de5] Fix the build so that it works for SQLITE_OMIT_WAL again. (user: drh, tags: branch-3.10)
15:05
[b94a3a37] Fix a potential use-after-free problem when compiling with SQLITE_HAS_CODEC. (user: drh, tags: branch-3.10)
14:32
[c1f918dc] Increase version number to 3.10.2. (user: drh, tags: branch-3.10)
14:30
[29dc4a3e] Case folding in the LIKE operator should look at all bits of the character, not just the lower 8 bits. Fix for ticket [80369eddd5c94]. This is a back-out of check-in [0a99a8c4facf] with a testcase added. (user: drh, tags: branch-3.10)
14:22
[204432ee] Case folding in the LIKE operator should look at all bits of the character, not just the lower 8 bits. Fix for ticket [80369eddd5c94]. This is a back-out of check-in [0a99a8c4facf] with a testcase added. (user: drh, tags: trunk)
12:18
[5520f600] Merge recent enhancements from trunk. (user: drh, tags: begin-concurrent)
11:40
[3ed49691] Merge all recent enhancements from trunk. (user: drh, tags: apple-osx)
11:33
[327af5f6] Merge recent enhancements from trunk. (user: drh, tags: sessions)
08:47
[18d61c8e] Improve performance of sqlite3VtabImportErrmsg(). (user: dan, tags: trunk)
03:36
[ff8eadbe] Performance improvement in sqlite3DbMallocRaw(). (user: drh, tags: trunk)
02:36
[9f8297f8] Suppress the display of the P4 operand in EXPLAIN output when an opcode has been converted into a No-op. (user: drh, tags: trunk)
02:21
[da527dda] Remove an unnecessary memset() from the symbol name resolver. (user: drh, tags: trunk)
02:01
[730d7efb] Remove an unnecessary memset() for a small size reduction and speed improvement. (user: drh, tags: trunk)
01:48
[80dd495f] During compilation, transfer the azVar[0..nzVar-1] array from Parse to Vdbe rather than copying it. Smaller and faster code. (user: drh, tags: trunk)
01:32
[f421adf5] Very small simplification to the btree balancer. (user: drh, tags: trunk)
2016-01-19
21:36
[5bf6442b] Fix an incorrect VFS version number check in the threadtest3.c test program. (user: drh, tags: trunk)
17:54
[86944f19] Fix two harmless compiler warnings about comparisons of dangling pointers. (user: drh, tags: trunk)
16:06
[b914ece0] Add further fts5 tests. 100% code coverage is finally restored. (user: dan, tags: trunk)
2016-01-18
17:48
[acaf4264] Add tests for fts5. Fix a crash that can occur in fts5 if the database content is corrupted. (user: dan, tags: trunk)
13:18
[9e8c23ac] Avoid unnecessary calls to memset() for a small performance improvement. (user: drh, tags: trunk)
09:08
[8358af36] Add a debugging function to print human-readable versions of fts5 detail=none leaf pages. (user: dan, tags: trunk)
00:46
[d23849f6] Simplification of the VDBE bytecode for incremental blob I/O. (user: drh, tags: trunk)
00:20
[0aaf3feb] Fix a problem with SQLITE_TEST_REALLOC_STRESS. (user: drh, tags: trunk)
2016-01-16
21:06
[61deab04] Add extra tests to cover untested branches in fts5. (user: dan, tags: trunk)
20:50
[88ceb588] Improvements to the way sqlite3VdbeAddOpList() works, resulting in a slightly smaller and faster binary. (user: drh, tags: trunk)
18:58
[de77d602] Add further tests for fts5. Fix some problems with detail=col mode and auxiliary functions. (user: dan, tags: trunk)
15:12
[a4258cd4] Use sqlite3VdbeAddOp4() rather than a separate sqlite3VdbeChangeP4() call, for a slightly smaller and faster binary. (user: drh, tags: trunk)
03:16
[653ea15a] Fix a potential use-after-free problem when compiling with SQLITE_HAS_CODEC. (user: drh, tags: trunk)
2016-01-15
21:55
[689421a9] Remove an unnecessary memset(). (user: drh, tags: trunk)
19:54
[3b72df40] Rationalize some code in fts5_storage.c. Add tests to cover recently added branches in fts5. (user: dan, tags: trunk)
16:11
[75ab30c5] Remove unnecessary de-initialization of the Parse object. (user: drh, tags: trunk)
15:06
[c52ca2c0] Work toward making the schema parsing logic simplier and more compact. (user: drh, tags: trunk)
05:39
[584848d4] Fix a couple C99-isms in FTS5 that cause compile errors on MSVC. (user: mistachkin, tags: trunk)
2016-01-14
22:19
[0d1b3d7d] Combine the xFunc and xStep pointers of the FuncDef object into a single pointer xSFunc. (user: drh, tags: trunk)
20:05
[8ec83143] Add a test to verify that the fts3 and fts5 "unicode61" tokenizers are byte for byte compatible. (user: dan, tags: trunk)
19:32
[b9159f42] Simplification to the ISO8610 parser in the imnplementation of date/time functions. (user: drh, tags: trunk)
18:01
[e2cba1bb] Minor adjustments to the MSVC makefile. (user: mistachkin, tags: trunk)
15:46
[fccc5f20] Merge the latest enhancements and fixes from trunk. (user: dan, tags: begin-concurrent)
15:03
[d85774e0] Merge the latest enhancements and fixes from trunk. (user: drh, tags: apple-osx)
14:48
[007e5c6d] Merge the latest fixes and enhancements from trunk. (user: drh, tags: sessions)
14:33
[8dedff3b] Yet another change to FTS5 trying to get it to merge successfully into sessions. (user: drh, tags: trunk)
14:29
[f791fc70] Fix more compiler warnings in FTS5. (user: drh, tags: trunk)
14:19
[d17bc2c9] Fix another compiler warning in fts5 code. (user: dan, tags: trunk)
14:15
[5a343cc0] Fix compiler warnings in fts5. (user: dan, tags: trunk)
13:22
[fabe78c5] Fix harmless compiler warnings in RBU and add RBU to the autoconf and windows makefiles. (user: drh, tags: trunk)
12:23
[74808a79] Fix harmless compiler warnings in sqldiff.c. (user: drh, tags: trunk)
01:56
[d55a557b] Fix the build so that it works for SQLITE_OMIT_WAL again. (user: drh, tags: trunk)
00:01
[254419c3] Version 3.10.1 (user: drh, tags: release, branch-3.10, version-3.10.1)
2016-01-13
21:23
[9c3a0dc2] Look for pthread_mutexattr_init() instead of pthread_create() in autoconf scripts, to work around issues with ASAN. (user: drh, tags: trunk)
18:26
[4660da25] Version number to 3.10.1. (user: drh, tags: branch-3.10)
18:25
[14d296fa] Add documentation for new API functions to the comments in fts5.h. (user: dan, tags: trunk)
18:21
[ea9ce228] Add the SQLITE_FCNTL_JOURNAL_POINTER file control. (user: drh, tags: branch-3.10)
18:12
[ad3daa54] Add the SQLITE_FCNTL_JOURNAL_POINTER file control. (user: drh, tags: trunk)
18:06
[807c5aee] Closed-Leaf: Add documentation for the SQLITE_FCNTL_JOURNAL_POINTER file-control. (user: drh, tags: file-control-journal)
17:59
[8b4f5080] When the block sorting optimization is used in a scalar subquery, be sure to exit the loop as soon as the first valid output row is received. Fix for ticket [cb3aa0641d9a4]. (user: drh, tags: branch-3.10)
17:50
[cdbb0947] When the block sorting optimization is used in a scalar subquery, be sure to exit the loop as soon as the first valid output row is received. Fix for ticket [cb3aa0641d9a4]. (user: drh, tags: trunk)
2016-01-12
19:45
[a220e85f] Add the "detail" option to fts5. Used to reduce the amount of information stored in an fts5 index. (user: dan, tags: trunk)
19:37
[5727562b] Add the ".vfslist" command to the command-line shell. (user: drh, tags: trunk)
19:28
[bc5118f4] Closed-Leaf: Improve performance of fts5 low level iterators. (user: dan, tags: fts5-offsets)
14:10
[4bb2c1df] Fix a harmless use of an uninitialized variable following system errors in the multi-threaded sorter. (user: drh, tags: trunk)
04:08
[5fc0a4c1] Remove an unused field from the MemPage object. (user: drh, tags: trunk)
02:28
[1f44a9bd] Make sure all bytes of the WAL file are initialized even if the checksums are not being computed until commit due to WAL overwrite. (user: drh, tags: trunk)
02:00
[fc628516] Fix an uninitialized field in the Select object when SELECTTRACE is enabled. (user: drh, tags: trunk)
00:37
[75cd41ff] Various #ifdef enhancements for improved VxWorks support. (user: drh, tags: trunk)
2016-01-11
22:58
[28bd8d5f] Performance optimization in the sqlite3VdbeChangeP4() routine of the code generator. (user: drh, tags: trunk)
22:43
[f5fb8268] Fix duplicate test number in 'waloverwrite'. (user: mistachkin, tags: trunk)
18:30
[a73d245f] Merge trunk with this branch. (user: dan, tags: fts5-offsets)
18:23
[2c0b9355] Add the fts5speed.tcl script to ext/fts5/tool/. (user: dan, tags: fts5-offsets)
18:05
[ecc98bef] Performance optimization on the Column opcode. (user: drh, tags: trunk)
17:30
[0e3c5454] Fix bugs in fts5 synonym processing for detail=col and other modes. (user: dan, tags: fts5-offsets)
14:19
[2f8bd5fa] Performance optimization in sqlite3WalkExpr(). (user: drh, tags: trunk)
13:10
[c4a858b2] Merge recent enhancements, and especially the WAL overwrite change, from trunk. (user: drh, tags: sessions)
13:03
[132772d1] Import the version number change to 3.11.0. (user: drh, tags: apple-osx)
12:52
[8e807bfa] Increase the version number to 3.11.0 due to the WAL overwrite enhancement. (user: drh, tags: trunk)
12:49
[79125ec9] Merge enhancements from trunk, and in particular the WAL overwrite feature. (user: drh, tags: apple-osx)
12:13
[d493d4f1] If a single page is written to the wal file more than once, instead of appending the second and subsequent copy to the wal file, overwrite the first. Update: See the important bug fix at [f694e60a]! (user: dan, tags: trunk)
08:12
[87dae56c] Closed-Leaf: Add a test case to waloverwrite.test to check that savepoint rollback does not cause a problem. (user: dan, tags: wal-overwrite-frames)
03:48
[5dddcc78] Slightly smaller and faster LIKE/GLOB comparison implementation. (user: drh, tags: trunk)
00:52
[e83d3a2a] Improved testability. (user: drh, tags: wal-overwrite-frames)
2016-01-09
23:55
[99b31a6b] All WAL frame overwrites even if there are active savepoints. This is safe because a ROLLBACK TO will cause all reverted pages to be rewritten to the WAL file prior to COMMIT. (user: drh, tags: wal-overwrite-frames)
18:57
[16b34f25] If it is known that checksums will be recalculated on transaction commit, skip calculating checksums when appending frames to the wal file. When recalculating checksums, recalculate them starting with the first overwritten frame - not the first frame in the transaction. (user: dan, tags: wal-overwrite-frames)
16:39
[5d113aef] If a single page is written to the wal file more than once, have each subsequent copy overwrite the original frame. (user: dan, tags: wal-overwrite-frames)
2016-01-08
22:31
[52c16603] Typo fix in the previous commit. (user: drh, tags: trunk)
22:18
[122c111e] More #ifdef fixes for the unix VFS. (user: drh, tags: trunk)
19:34
[3392f8fa] Fix the build for SQLITE_OMIT_SHARED_CACHE, which was broken, possibly by check-in [2d96aeba]. (user: drh, tags: trunk)
19:17
[ceceea4c] Fix a problem with #ifdefs on the system calls in the unix VFS that causes problems when compiling with SQLITE_OMIT_WAL. (user: drh, tags: trunk)
17:28
[e9a51d2a] Remove an obsolete #ifdef related to iOS support. (user: drh, tags: trunk)
17:21
[b3e6f15e] Begin adding fts5 tests involving synonyms and detail=none/col tables. (user: dan, tags: fts5-offsets)
12:46
[cede2bf8] Reduce the number of calls to memset() in sqlite3DbMallocZero(). (user: drh, tags: trunk)
08:35
[19c1f448] Fix test file vtabH.test so that it works with SQLITE_ENABLE_ICU builds. (user: dan, tags: trunk)
07:53
[d9135cc7] Fix fts5vocab.test so that it works with detail=none tables. (user: dan, tags: fts5-offsets)
02:27
[a02ace9a] Add the experimental SQLITE_FCNTL_JOURNAL_POINTER file control for obtaining the sqlite3_file pointer associated with a rollback journal or WAL file. (user: drh, tags: file-control-journal)
2016-01-07
21:12
[af5c7714] Omit performance tracking from the memsys5 memory allocator if neither SQLITE_DEBUG nor SQLITE_TEST are defined. (user: drh, tags: trunk)
20:07
[eedd095d] Update the fts5vocab module to work with detail=col and detail=none tables. (user: dan, tags: fts5-offsets)
17:19
[2d96aeba] Fix to cause BtShared.db to be set correctly on shared-cache connections in SQLITE_THREADSAFE=0 builds. Added assert()s to verify the correct setting of BtShared.db. (user: drh, tags: trunk)
17:09
[828958ff] Small performance and size optimization spotted while working on the shared-cache problem. (user: drh, tags: trunk)
16:43
[359277e0] Closed-Leaf: Add some assert() statements to verify, where possible, that BtShared.db is set correctly. (user: dan, tags: shared-cache-fix)
16:06
[d0214602] Have the vdbe layer call sqlite3BtreeEnter() on all b-trees in use from within sqlite3VdbeExec() even in SQLITE_THREADSAFE=0 builds. This ensures that BtShared.db is set correctly. (user: dan, tags: shared-cache-fix)
02:06
[4f80440b] Add the "sqlite3 -sourceid" command in the TCL interface. Use that command and others to output additional information about the test configuration at the conclusion of a TCL test. (user: drh, tags: trunk)
2016-01-06
20:50
[5cbab637] Merge updates from trunk. (user: mistachkin, tags: altShellFix)
19:43
[625695b3] Fix a test script problem caused by a change in constraint handling within the core. (user: dan, tags: fts5-offsets)
19:35
[e7dcd013] Merge latest trunk changes into this branch. (user: dan, tags: fts5-offsets)
18:53
[8d05cfd4] Fix an fts5 problem involving detail=none, "ORDER BY rowid DESC" and deleted items. Also add tests to verify that the documented operator precedences are correct. (user: dan, tags: fts5-offsets)
15:54
[55a11fd6] Disable the --limit-mem option on fuzzcheck unless the SQLITE_ENABLE_MEMSYS5 or SQLITE_ENABLE_MEMSYS3 compile-time options are used. (user: drh, tags: trunk)
15:49
[e1d2ffc0] Merge changes for version 3.10.0. (user: drh, tags: begin-concurrent)
15:14
[fa4705c9] Merge changes for version 3.10.0. (user: drh, tags: sessions)
14:35
[77c28c2b] Merge all version 3.10.0 updates. (user: drh, tags: apple-osx)
11:01
[fd0a50f0] Version 3.10.0 (user: drh, tags: trunk, release, version-3.10.0)
10:17
[a4e55f73] Fix a problem with the xPhraseFirstColumn() API in detail=col mode. Remove some unused test code from fts5ac.test. (user: dan, tags: fts5-offsets)
2016-01-05
21:04
[fd217fdb] Rationalize and extend some fts5 test code. Fix bugs revealed by the same. (user: dan, tags: fts5-offsets)
03:39
[a8556977] Always use -DSQLITE_ENABLE_MEMSYS5 for fuzzcheck so that the --limit-mem option will work. (user: drh, tags: trunk)
03:39
[2f858374] Another attempt to get reuse of excess opcode array space working correctly on all architectures and platforms. (user: drh, tags: trunk)
01:48
[ac27f38e] Permit the 'test_fs' test module to be compiled and used on MinGW. (user: mistachkin, tags: trunk)
2016-01-04
23:43
[1aa53014] Fix a corner case in the opcode-array reuse logic where the number of bytes of reusable space might be computed to be a negative number, due to unusual system alignment restrictions and rounding error. (user: drh, tags: trunk)
19:12
[ee38f9df] Fix an OOM handling problem in fts5 detail=none and detail=col modes. Also a bug in the xInst() API when used with detail=col and column filtering expressions. Update the matchinfo() test function so that 'b' is fast with detail=col tables. (user: dan, tags: fts5-offsets)
19:02
[c785cd78] Merge in last-minute patches for the 3.10.0 beta. (user: drh, tags: sessions)
16:19
[3fcf3b1e] Update more fts5 tests to run in detail=none and detail=column modes as well as the default detail=full. (user: dan, tags: fts5-offsets)
13:06
[b779ca8a] Fix the conflict2.test module which was broken by check-in [e30062e9f6c]. (user: drh, tags: trunk)
12:07
[7adb789f] A new approach to very large sqlite3_mprintf() strings: Back out the [d655a665] check-in and instead make the size fields in StrAccum unsigned. Strings generated by sqlite3_mprintf() can now be as large as 2^31-1 bytes. (user: drh, tags: trunk)
04:44
[22abe080] Improved comment on the vtabH-3.1 test. (user: drh, tags: trunk)
04:41
[73e33550] Adjust the vtabH.test module to ignore files in the root directory of Windows machines that contain the "$" character. (user: drh, tags: trunk)
04:28
[d655a665] Limit the length of sqlite3_mprintf() output to 2^30 bytes, even if SQLITE_MAX_LENGTH is set larger at compile-time. (user: drh, tags: trunk)
03:48
[4b404a99] Fix a harmless compiler warning. (user: drh, tags: trunk)
01:08
[f300c35e] Add releasetest.tcl cases for SQLITE_LIKE_DOESNT_MATCH_BLOB and for SQLITE_ENABLE_CURSOR_HINTS. (user: drh, tags: trunk)
2016-01-03
18:59
[54c5522d] Alternative to [76f5efa6], move definition of utf8_printf up. (user: mistachkin, tags: altShellFix)
18:07
[e30062e9] Bug fix: the conflict resolution behavior for the implied NOT NULL constraint on the PRIMARY KEY of a WITHOUT ROWID table should be ABORT. (user: drh, tags: trunk)
11:27
[76f5efa6] Fix a premature reference to utf8_printf in shell.c. (user: drh, tags: trunk)
11:17
[cd3ae0f1] Add the number of cores used and the name of the host computer to the summary at the end of releasetest.tcl. (user: drh, tags: trunk)
2016-01-02
19:01
[6322a1d9] Changes to run many fts5 tests with detail=none and detail=col tables as well as the default detail=full. Also fixes for the bugs uncovered by running said tests. (user: dan, tags: fts5-offsets)
05:00
[2047d2de] Fix a (harmless) typo in an #ifdef for SQLITE_ENABLE_CURSOR_HINTS (user: drh, tags: trunk)
2016-01-01
16:42
[3e852804] Remember the size of the Vdbe.aOp[] array in bytes, to avoid unnecessary calls to sqlite3_msize(). (user: drh, tags: trunk)
16:26
[a304e346] Avoid misaligned memory allocations on Sparc in sqlite3VdbeMakeReady(). This fixes a problem introduced by check-in [a9e819082b]. (user: drh, tags: trunk)
14:14
[6bea792c] Merge recent trunk enhancements. (user: drh, tags: begin-concurrent)
13:31
[5b700f31] Merge all recent trunk enhancements. (user: drh, tags: apple-osx)
13:25
[c0be246a] Merge the latest enhancements from trunk. (user: drh, tags: sessions)
03:37
[68360cd2] Fix an assert() that might be false for a corrupt database. (user: drh, tags: trunk)
00:15
[6e30f8c6] Remove unreachable branches from the new JSON aggregate functions. (user: drh, tags: trunk)
2015-12-31
22:29
[d41d4d73] Fix the ieee754.test module so that it works both on systems that report infinity as "inf" and as "Inf". (user: drh, tags: trunk)
19:06
[8cf01fff] In the shell, use utf8_printf() when any string formatting is present and raw_printf() otherwise. (user: mistachkin, tags: trunk)
19:04
[98ec778d] Fix harmless compiler warning seen with MSVC. (user: mistachkin, tags: trunk)
18:39
[3a1df69e] Fix the fts5 integrity-check code so that it works with detail=none tables. (user: dan, tags: fts5-offsets)
17:36
[6a6f7bc4] Fix some problems with fts5 detail=none tables. Some still remain. (user: dan, tags: fts5-offsets)
15:34
[9c392c10] Fix harmless compiler warnings associated with SQLITE_ENABLE_HIDDEN_COLUMNS. (user: drh, tags: trunk)
04:34
[7a0b9413] Small size and performance optimization to the VDBE comparison opcodes. (user: drh, tags: trunk)
2015-12-30
20:50
[1541607d] Leaf: Use the OvflOffset() macro to try to remove some magic numbers from btree.c. (user: drh, tags: ovfloffset-macro)
19:58
[ac8f4cf0] Updates to fts5 to support detail=none mode. As of this commit, many cases are still broken. (user: dan, tags: fts5-offsets)
18:18
[6a4cfc7a] Reduce the size of the CellInfo object from 32 to 24 bytes on 64-bit machines, for a small performance increase and library size reduction. (user: drh, tags: trunk)
17:03
[3d81dfe3] Enhance the command-line shell so that it can handle MBCS characters on input and output. (user: drh, tags: trunk)
16:51
[2081d757] Changes to the way that the default BINARY collating sequence is recorded result in a slightly smaller and slightly faster executable. More work could be done to make this cleaner. (user: drh, tags: trunk)
15:18
[f35ba018] Simplification to the xfer-optimization logic. (user: drh, tags: trunk)
14:06
[0a99a8c4] Remove unnecessary tests from the LIKE pattern matcher. Slightly faster and slightly smaller, and it should also now works with EBCDIC. (user: drh, tags: trunk)
13:36
[a0a08b8c] Closed-Leaf: Enhance the command-line shell to handle MBCS characters on input and output. (user: drh, tags: mbcs-shell)
01:07
[7f386a93] Add the json_group_array() and json_group_object() aggregate functions to the JSON1 extension. (user: drh, tags: trunk)
2015-12-29
19:35
[8c30605b] Add the xPhraseFirstColumn() and xPhraseNextColumn() API functions to fts5. For iterating through the set of columns that contain intances of a phrase. (user: dan, tags: fts5-offsets)
2015-12-28
19:55
[228b4d10] Change the name of the offsets=0 option to "detail=column". Have the xInst, xPhraseFirst and other API functions work by parsing the original text for detail=column tables. (user: dan, tags: fts5-offsets)
2015-12-24
14:53
[7c7b7f26] Avoid a harmless compiler warning on systems where the byteorder cannot be determined at compile-time. (user: drh, tags: trunk)
2015-12-23
16:42
[5d44d4a6] Fix some harmless gcc compiler warnings. Mostly in fts5, but also two in the core code. (user: dan, tags: trunk)
10:54
[b910a3d5] Enhance the 'utc' modifier on date/time functions so that if the LHS is already known to be in UTC, the modifier becomes a no-op. This is not an incompatibility because the behavior is documented as "undefined" in that scenario. (user: drh, tags: trunk)
2015-12-22
18:54
[69bffc16] Updates so that fts5 API functions xInst, xPhraseFirst and xPhraseNext work with the offsets=0 option. (user: dan, tags: fts5-offsets)
2015-12-21
18:45
[609a0bc7] Fix an fts5 integrity-check problem that affects offsets=0 tables with prefix indexes. (user: dan, tags: fts5-offsets)
15:22
[34073ce8] Ensure that the Expr objects that describe indexed expressions are not modified by code generation. Fix for an assert() problem found by Jon Metzman using AFL. (user: drh, tags: trunk)
2015-12-18
19:07
[ad0987d8] Fix a problem with prefix queries on fts5 offsets=0 tables. (user: dan, tags: fts5-offsets)
16:29
[8bf5e056] Micro-optimizations and comment fixes on the mem5.c memory allocator module. (user: drh, tags: trunk)
03:59
[78507154] Closed-Leaf: Reduce the size of the CellInfo object from 32 to 24 bytes on 64-bit machines. (user: drh, tags: optimize-cellinfo)
2015-12-17
20:36
[40b5bbf0] Add the "offsets=0" option to fts5, to create a smaller index without term offset information. A few things are currently broken on this branch. (user: dan, tags: fts5-offsets)
19:17
[896a06cc] Leaf: Make the VdbeCursor object even smaller. But the resulting library is bigger and slower than trunk. This branch is a failed experiment. (user: drh, tags: optimize-vdbecursor)
17:30
[98b710c3] Reduce the size of the VdbeCursor object by a pointer (the pBt pointer used for ephemeral tables). (user: drh, tags: optimize-vdbecursor)
14:18
[7adfa4a5] Fix the spellfix1_scriptcode() function to ignore whitespace and punctuation, and to recognize hebrew and arabic scripts. (user: drh, tags: trunk)
13:28
[85ebd46c] Fixes for harmless compiler warnings. (user: drh, tags: trunk)
2015-12-16
23:30
[1d0e6aa1] Closed-Leaf: Fix even more harmless compiler warnings. (user: mistachkin, tags: msvcWarn)
22:06
[18f531e1] Fix some more harmless compiler warnings. (user: mistachkin, tags: msvcWarn)
21:09
[18a4c054] Fix compiler warning seen with MSVC. (user: mistachkin, tags: msvcWarn)
19:55
[cb22efaf] Merge recent enhancements from trunk. (user: drh, tags: begin-concurrent)
19:47
[f6c9273c] Merge recent enhancements from trunk. (user: drh, tags: sessions)
13:07
[f2fc3aed] Make greater use of the SQLITE_WITHIN macro. (user: drh, tags: trunk)
2015-12-15
19:32
[1928f894] Update the mkautoconfamal.sh script to make the building of the sqlite3-autoconf-VERSION.tar.gz package more orthodox. (user: dan, tags: trunk)
13:50
[2fda43e6] Add the SQLITE_OMIT_PARSER_TRACE compile-time option. (user: drh, tags: trunk)
2015-12-14
19:42
[1a247911] Add a missing memAboutToChange() macro to vdbe.c, the lack of which was causing an assert() to fail incorrectly. Problem found by libfuzzer. (user: dan, tags: trunk)
2015-12-12
19:23
[f59a3326] Leaf: Update some stale comments in delete.c. No changes to code. (user: dan, tags: onepass-delete-or)
17:31
[21526012] Add further tests for the changes on this branch. Also fix a memory-leak that could follow a malloc failure. (user: dan, tags: onepass-delete-or)
2015-12-11
14:59
[d8a12023] Add a new assert() statement to the snapshot-specific part of sqlite3WalBeginReadTrans(). (user: dan, tags: trunk)
13:59
[57b700ba] Merge recent changes from trunk. Also remove unused variables to permit compiling with -Werror. (user: drh, tags: onepass-delete-or)
13:51
[e998513e] Simplified alignment constraints in the memory reuse logic of sqlite3VdbeMakeReady(). (user: drh, tags: trunk)
12:53
[7e7b2406] Merge recent trunk enhancements, and in particular the snapshot interface. (user: drh, tags: apple-osx)
12:44
[9b124a5a] Add the experimental snapshot interface. Because it is experimental, it is subject to change or removal at a later date. (user: drh, tags: trunk)
04:11
[96d3e99f] Fix a memory allocation bug introduced last week by check-in [a9e819082ba]. The bug only appears on systems where the size of a structure is not always a multiple of 8 - which in practice means only on 32-bit windows systems. (user: drh, tags: trunk)
03:27
[843c15a5] Closed-Leaf: Mention that the snapshot interfaces are only available if SQLite is compiled with SQLITE_ENABLE_SNAPSHOT. (user: drh, tags: snapshot-get)
03:20
[5fd008f0] Disable the snapshot test scripts if not compiled with SQLITE_ENABLE_SNAPSHOT. (user: drh, tags: snapshot-get)
03:16
[93fb8010] Fix a variable type mismatch problem in the snapshot logic. (user: drh, tags: snapshot-get)
01:22
[767ee30e] Fix a bad assert related to snapshots. (user: drh, tags: snapshot-get)
2015-12-10
22:48
[ef51a398] Snapshot documentation updates. Comment changes only - no changes to code. (user: drh, tags: snapshot-get)
20:03
[b9c90f10] Update the sqlite3_snapshot_get() API so that if the caller does not have an open read transaction on the named database, one is automatically opened. (user: dan, tags: snapshot-get)
19:44
[f3b74362] Add tests to snapshot.test. (user: dan, tags: snapshot-get)
19:11
[5343060b] Return SQLITE_BUSY (not SQLITE_BUSY_SNAPSHOT) if sqlite3_snapshot_open() fails to obtain the shared checkpointer lock. (user: dan, tags: snapshot-get)
18:06
[b908048b] Add tests to ensure that an sqlite3_snapshot_open() client cannot be tricked into reading a corrupt snapshot even if another process fails mid-checkpoint. (user: dan, tags: snapshot-get)
17:59
[05bc4f92] Move pointer range comparisons into a macro, where they can be dealt with in a more portable way. (user: drh, tags: trunk)
15:45
[8084eae0] Have sqlite3_snapshot_open() avoid a race condition by taking a shared CHECKPOINTER lock while checking pInfo->nBackfillAttempted. (user: dan, tags: snapshot-get)
15:09
[ad3124c8] Closed-Leaf: Move pointer range comparisons into a macro, where they can be dealt with in a more portable way. (user: drh, tags: stdint.h)
03:16
[3a18526f] Fix spacing typo in comment. No changes to code. (user: mistachkin, tags: snapshot-get)
02:15
[cb68e9d0] Add the nBackfillAttempted field in formerly unused space in WalCkptInfo and use that field to close the race condition on opening a snapshot. (user: drh, tags: snapshot-get)
2015-12-09
20:05
[7315f7cb] Update sqlite3_snapshot_open() to reduce the chances of reading a corrupt snapshot created by a checkpointer process exiting unexpectedly. (user: dan, tags: snapshot-get)
17:45
[571b64b9] Add extra test cases to delete4.test. (user: dan, tags: onepass-delete-or)
17:23
[6a5dfe85] Further simplifications to the VDBE code generation logic that flow out of the previous check-in. (user: drh, tags: trunk)
16:26
[8021b4c8] Simplification of the DROP TRIGGER logic using sqlite3NestedParse() instead of hand-coded VDBE code. This is a manual cherry-pick of the key change from check-in [c80bbf14b365d]. (user: drh, tags: trunk)
16:08
[c80bbf14] Fix a problem with the DROP TABLE command on this branch. (user: dan, tags: onepass-delete-or)
16:04
[362615b4] Merge unrelated fixes from trunk. (user: drh, tags: snapshot-get)
10:06
[10ca7357] Add simple tests and bugfixes for DELETE statements that qualify for the OR-optimization. (user: dan, tags: onepass-delete-or)
08:13
[dc236f11] Merge latest trunk with this branch. (user: dan, tags: onepass-delete-or)
2015-12-08
19:50
[d52376df] Experimental optimization for DELETE statements with WHERE clauses that qualify for the OR-optimization. (user: dan, tags: onepass-delete-or)
16:58
[901d0b8f] Changes to avoid undefined behavior in memset() and memcpy() and in the comparisons of pointers from different allocations. All problems are found by analysis tools - none have been seen in the wild. (user: drh, tags: trunk)
16:08
[f20396ad] Avoid doing comparisons with pointers that might have been previously been passed to realloc() and/or free(). (user: drh, tags: trunk)
14:37
[f3c0579e] Closed-Leaf: Avoid unnecessary work inside of verifyDbFile() in the unix VFS. (user: drh, tags: unix-vfs-optimization)
04:18
[177862c1] Add a test case of the form "WHERE a<2 OR a<3" using PRAGMA count_changes. This test case was failing before the 3.9.0 release. (user: drh, tags: trunk)
00:47
[07e5199c] Update the TclKit download URL. (user: mistachkin, tags: trunk)
2015-12-07
23:31
[2ad50171] Update MSVC batch build tool to the latest Windows 10 SDK version. (user: mistachkin, tags: trunk)
21:46
[9bbe1afc] Add the ".changes ON|OFF" command to the sqlite3.exe command-line shell, for testing and verifying the sqlite3_changes() and sqlite3_total_changes() interfaces. (user: drh, tags: trunk)
18:18
[e7ae120d] Fix the openDirectory() routine in the unix VFS so that it works for databases located in the root of the filesystem and for database files that have no pathname at all. (user: drh, tags: trunk)
16:43
[a9e81908] Changes to avoid undefined behavior detected by analysis tools - never observed in the wild. Later: This check-in introduces a bug, fixed at [a304e34675404aee]. (user: drh, tags: trunk)
14:33
[502cc6f3] Add tests for snapshot_get(), _open() and _free(). (user: dan, tags: snapshot-get)
2015-12-05
20:51
[0715eb00] Add untested implementations of experimental APIs sqlite3_snapshot_get(), _open() and _free(). (user: dan, tags: snapshot-get)
2015-12-04
13:44
[4ecbc75b] Remove the dependence on "exec ls -U" from the vtabH.test module, as the -U option to "ls" is not universally available. (user: drh, tags: trunk)
03:27
[042738ad] Prevent a segfault on Solaris in the test_fs.c due to differences in the definition of the dirent object. (user: drh, tags: trunk)
2015-12-03
22:33
[8534a46c] Fix typos in requirements text and update requirements marks. No changes to code. (user: drh, tags: trunk)
21:47
[e6521a43] Improved OOM recovery in the SELECT code generator logic. (user: drh, tags: trunk)
20:50
[06338201] Make the SQLITE_ENABLE_8_3_NAMES compile-time option available to sqlite3_compileoption_used(). (user: drh, tags: trunk)
20:42
[9e489a71] Cleaner code and additional comments on the handling of 8+3 filenames when trying to find the name of a database file based on its journal filename, in the unix VFS. (user: drh, tags: trunk)
13:43
[a78e8656] Make the sqlite3_status64(), sqlite3_strlike(), and sqlite3_db_cacheflush() APIs available to loadable extensions. (user: drh, tags: trunk)
12:01
[d96de532] Fix threadtest3 so that it builds using the autoconf build system. (user: dan, tags: trunk)
11:51
[9d2c62b0] Improve concurrency in test_multiplex.c. Add a switch to "threadtest3" allowing it to run using the multiplexor VFS. (user: dan, tags: trunk)
01:48
[4f7f3550] A unix VFS change replaces fsync() with fstat() when using SQLITE_NO_SYNC, so set PRAGMA synchronous=OFF in the sysfault-3 test to avoid erroneously causing errors in xSync. (user: drh, tags: trunk)
2015-12-02
20:53
[9130661a] Merge recent enhancements from trunk. (user: drh, tags: begin-concurrent)
20:40
[d1a1278d] Merge recent enhancements from trunk. (user: drh, tags: sessions)
20:22
[e1fb33c7] Merge all recent trunk enhancements, especially the unix VFS changes. (user: drh, tags: apple-osx)
19:46
[4f2bcff9] Remove unreachable branches from the decltype computation logic in the query planner. (user: drh, tags: trunk)
18:59
[3e1d71fc] Have the sqlite3_column_decltype() API report the declared types for the left-most SELECT statement in a compound SELECT. (user: dan, tags: trunk)
17:40
[4692ae84] Fix an incorrect, though harmless, assert() in the unix VFS. (user: drh, tags: trunk)
16:10
[58c15c6a] Remove more (dead) SQLITE_FCNTL_WAL_BLOCK logic from wal.c - code that was missed during the [e1d5320ca08933] check-in. (user: drh, tags: trunk)
15:44
[b50f67bc] Remove an unreachable branch from the unixMapfile() routine of the unix VFS. (user: drh, tags: trunk)
13:11
[2f13c16b] Minor simplifications to the unix VFS. (user: drh, tags: trunk)
02:33
[f64ea8a0] Change the SQLITE_NO_SYNC compile-time option to call fstat() in place of fsync() rather than being a total no-op. (user: drh, tags: trunk)
02:08
[3d02711a] Fix a (harmless) off-by-one error in the unix VFS logic that fsync()s a directory after deleting a file. (user: drh, tags: trunk)
01:04
[73defd52] Simplification of the logic used to take the process-wide lock in the unix-excl VFS. (user: drh, tags: trunk)
00:05
[e1d5320c] Remove all traces of SQLITE_FCNTL_WAL_BLOCK from the unix VFS - that feature had been disabled for a long time and never actually worked. (user: drh, tags: trunk)
2015-12-01
22:09
[74934d3f] Simplification to the posix_fallocate() replacement used for the SQLITE_FCNTL_SIZE_HINT file control in the unix VFS. (user: drh, tags: trunk)
21:23
[9e1d6d4c] Add the SQLITE_LIKE_DOESNT_MATCH_BLOBS compile-time option. (user: drh, tags: trunk)
17:48
[e3d86284] The test_fs.c test module now works on Windows. (user: drh, tags: trunk)
16:21
[9eefa449] Simplification to the read and write primatives in the unix VFS. (user: drh, tags: trunk)
2015-11-30
23:29
[f3ffb3ae] Closed-Leaf: Add experimental support for the 'test_fs' test module on Win32. (user: mistachkin, tags: testFsWin32)
22:52
[ecad75d6] Add the SQLITE_PRINTF_PRECISION_LIMIT compile-time option. (user: drh, tags: trunk)
22:22
[bb1e2c4d] Fix a problem in xFullPathname for the unix VFS. The problem was found by Kostya Serebryany using libFuzzer. (user: drh, tags: trunk)
20:36
[8cfb7a50] The EOVERFLOW errors from fstat() is not possible unless SQLite has been compiled with SQLITE_DISABLE_LFS. (user: drh, tags: trunk)
19:16
[b8251065] Add a rule to main.mk to build the schemalint.tcl script into an executable. Similar to the way the sqlite3_analyzer executable is built. (user: dan, tags: schemalint)
19:15
[3b155855] Fix the threadtest3 test program so that it works with VFSes that omit the xCurrentTime() method and supply only xCurrentTimeInt64(). (user: drh, tags: trunk)
18:17
[451e0faf] Fix the schemalint.tcl script to handle identifiers that require quoting. (user: dan, tags: schemalint)
12:01
[47f10b7e] Add the "colUsed" field to the sqlite3_index_info structure passed to virtual table xBestIndex methods. To indicate the subset of the virtual table columns that may be required by the current scan. (user: dan, tags: trunk)
00:05
[58381352] Simplifications to the locking logic in the unix-dotfile VFS. (user: drh, tags: trunk)
2015-11-29
21:46
[64263ccb] Fix the sqldiff utility program so that it works for schemas that have tables with zero-length column names. (user: drh, tags: trunk)
2015-11-28
21:49
[d6e177fd] Improvements to temporary file creation logic in the unix VFS. (user: drh, tags: trunk)
18:06
[7c6a809e] Add the SQLITE_FCNTL_VFS_POINTER file control which obtains a pointer to the top-level VFS in use by a database connection. (user: drh, tags: trunk)
17:38
[14bbcdc6] Disable testing with SQLITE_USER_AUTHENTICATION as the makefiles are not set up to do that. (user: drh, tags: trunk)
2015-11-26
22:12
[5e14cadf] The first argument to SQLITE_CONFIG_PAGECACHE, SQLITE_CONFIG_SCRATCH, and SQLITE_CONFIG_HEAP must always be a pointer. (user: drh, tags: trunk)
19:33
[116b2064] Closed-Leaf: Add the "colUsed" field to the sqlite3_index_info structure passed to virtual table xBestIndex methods. To indicate the subset of the virtual table columns that may be required by the current scan. (user: dan, tags: vtab-colused)
15:51
[8b156219] Fix a problem with the userauth extension and no-authentication databases. Run the tests for this extension as part of the Debug-One module in releasetest.tcl. (user: dan, tags: trunk)
10:37
[eb180b4f] Simplify logic for syncing directories after creating or deleting a file in the unix VFS. (user: drh, tags: trunk)
02:21
[96e7d638] Small simplification to the xOpen method in the unix VFS. (user: drh, tags: trunk)
2015-11-25
23:13
[6c5621ce] Simplify the temporary filename generator and the time-of-day functions in the unix VFS. (user: drh, tags: trunk)
18:40
[697b2053] Fix harmless compiler warnings in test_fs.c. Fix typos and clean up the text of the documentation for sqlite3_strglob() and sqlite3_strlike(). (user: drh, tags: trunk)
18:07
[6ef6578c] Update test_fs.c to include a virtual table that reads a file-system hierarchy. Use it to further test GLOB and LIKE support for virtual tables. (user: dan, tags: trunk)
18:03
[191aef98] Make the xAccess method of the unix VFS smaller and faster. (user: drh, tags: trunk)
15:15
[228bd15b] Remove unused methods from the unix VFS. (user: drh, tags: trunk)
14:00
[2a20f793] Simplification of the error code translator in os_unix.c. Code cleanup only. The logic is unchanged. (user: drh, tags: trunk)
11:56
[11eb8e87] Fix the fts5 "prefix=" option to match the documentation (space separated list, multiple prefix= options supported). The undocumented comma-separated format (compatible with fts4) still works. (user: dan, tags: trunk)
01:57
[a6bfd469] Enhancement the virtual table interface to support LIKE, GLOB, and REGEXP operators. Also add the sqlite3_strlike() interface, which might be useful as part of the implementation of LIKE on some virtual tables. (user: drh, tags: trunk)
2015-11-24
21:23
[e70ec71d] Closed-Leaf: Add the sqlite3_strlike() interface, which might be useful for implementing LIKE operators on virtual tables. (user: drh, tags: vtab-like-operator)
18:16
[069e51b1] Fix a problem in whereexpr.c causing a crash while processing a user-function taht accepts zero arguments. (user: dan, tags: vtab-like-operator)
18:04
[2fba7a96] Fix harmless compiler warnings in the TCL test harness logic. (user: drh, tags: vtab-like-operator)
17:44
[99222bb3] Merge latest trunk changes with this branch. (user: dan, tags: vtab-like-operator)
17:39
[c5e9fd0d] Add further tests and related fixes for GLOB/REGEXP/LIKE support in virtual tables. (user: dan, tags: vtab-like-operator)
16:40
[20256177] Remove from os_unix.c pointless logic that tries to prevent a recurrence of a warning message that can only occur once. (user: drh, tags: trunk)
15:12
[32e13879] Fix a comment typo in the unix VFS. No changes to code. (user: drh, tags: trunk)
15:06
[6c2ddea6] Make the geteuid() system call overloadable using xSetSystemCall() on the unix VFSes. (user: drh, tags: trunk)
03:50
[19a9c07b] Add a test case for the fix of check-in [19d9f9ce691963310] (user: drh, tags: trunk)
02:10
[824ad96f] Remove an incorrect ALWAYS() macro. Fix for ticket [e5c6268dd807fa8950] - a problem introduced in SQLite 3.9.0 and found by libFuzzer. (user: drh, tags: trunk)
01:17
[e92f97a6] Add a clarifying comment to the virtual table test module 'test8'. (user: mistachkin, tags: trunk)
00:49
[19d9f9ce] Do not try to eliminate No-ops at the end of VDBE program as this can cause problems for some DISTINCT handling algorithms, and does not improve performance. This also fixes an assertion fault found by libFuzzer. (user: drh, tags: trunk)
2015-11-23
21:09
[277a5b40] Add experimental support for LIKE, GLOB and REGEXP to the virtual table interface. (user: dan, tags: vtab-like-operator)
18:28
[d3aa067c] In the CREATE INDEX statements output by schemalint.tcl, avoid declaring an explicit collation sequence that is the same as the column's default. (user: dan, tags: schemalint)
17:14
[8f1ef090] Merge latest trunk changes with this branch. (user: dan, tags: schemalint)
17:10
[b8f277c9] Fix ORDER BY handling in the schemalint.tcl script. Add internal self-tests to the same script. (user: dan, tags: schemalint)
2015-11-21
19:43
[60de5f23] Fix an obscure memory leak found by libfuzzer that may occur under some circumstances if expanding a "*" expression causes a SELECT to return more than 32767 columns. (user: dan, tags: trunk)
17:53
[093e0d10] Leaf: Add a new OP_BColumn opcode where the cursor is guaranteed to be of type CURTYPE_BTREE and is thus able to skip some checks and run slightly faster. (user: drh, tags: btree-column-opcode)
17:27
[198d191b] Fix over-length source code lines. No logic changes. (user: drh, tags: trunk)
13:24
[ff5716b8] Do not allow table-valued function syntax on ordinary tables and views as those objects are not table-valued functions. Fix for ticket [73eba7ba5c7c0fc]. Problem found by libFuzzer. (user: drh, tags: trunk)
2015-11-20
20:55
[93bdf70e] Add support for ORDER BY clauses to schemalint.tcl. (user: dan, tags: schemalint)
19:22
[9b1d174d] Refactor the VdbeCursor object. It is now slightly smaller and faster and is easier to understand. (user: drh, tags: trunk)
13:49
[41c8b8e3] Merge all the latest enhancements and fixes from trunk. (user: drh, tags: begin-concurrent)
13:33
[35c7f6cb] In the OP_Column opcode, only test the btree payload size for exceeding the string length limit if the payload does not fit on a single page. (user: drh, tags: trunk)
13:17
[5446ae64] Enhancements to a comment in sqliteInt.h. No changes to code. (user: drh, tags: trunk)
2015-11-19
19:48
[2c9e5436] Merge the latest enhancements from trunk. (user: drh, tags: apple-osx)
19:40
[7d6cfc79] Merge the latest enhancements from trunk. (user: drh, tags: sessions)
19:31
[8aede091] Merge the latest enhancements from trunk. (user: drh, tags: lsm-vtab)
19:27
[5c79f531] Work toward more flexible typing for keys and values. (user: drh, tags: lsm-vtab)
18:11
[126b998c] Fix problems with the way the IsHiddenColumn() macro is defined. (user: drh, tags: trunk)
18:09
[13995756] Fix a problem with VACUUM and __hidden__ columns. (user: dan, tags: trunk)
17:55
[28df5dc4] When manifesting a view as part of an DELETE or UPDATE, be sure to include the hidden columns in the manifestation. (user: drh, tags: trunk)
16:46
[59bd0ec7] Fix problems with INSERT INTO ... SELECT ... statements that write to tables with __hidden__ columns. (user: dan, tags: trunk)
16:33
[201ac6d4] Create the new TK_ASTERISK token to represent the "*" in "SELECT *". Formerly that operator was TK_ALL, which was also used for UNION ALL. Less confusion if they operator symbols are distinct. (user: drh, tags: trunk)
14:11
[011904ca] If compiled with SQLITE_ENABLE_HIDDEN_COLUMNS, then columns in ordinary tables and views that have names beginning with "__hidden__" are omitted from the "*" expansion in SELECT statements and from the automatic list of columns following the table name in an INSERT INTO statement. (user: drh, tags: trunk)
13:53
[5490646b] Closed-Leaf: Only support the magic "__hidden__" column name prefix interpretation when compiled with SQLITE_ENABLE_HIDDEN_COLUMNS. (user: drh, tags: hidden-columns-in-tables)
13:21
[3833cbac] Fix a 10-year-old misguided attempt at parser performance improvement that actually made parsing slightly slower. (user: drh, tags: trunk)
2015-11-18
21:22
[20c1e9ce] Get the __hidden__ column mechanism working on views with INSTEAD OF triggers. (user: drh, tags: hidden-columns-in-tables)
20:59
[27d4b6f5] Add tests for views to hidden.test. (user: dan, tags: hidden-columns-in-tables)
20:57
[3071ba2b] Honor the "__hidden__" prefix on the columns of views. (user: drh, tags: hidden-columns-in-tables)
20:07
[ebf4bbff] Add a test for the __hidden__ hack on this branch. (user: dan, tags: hidden-columns-in-tables)
18:43
[2dbffb3a] If a table column name begins with "__hidden__" then do not include that column in "*" expansions in SELECT statements, nor fill in that column in an INSERT INTO that omits the column list. This branch is a proof-of-concept only and is not intended to ever be merged into trunk. (user: drh, tags: hidden-columns-in-tables)
2015-11-17
21:42
[4f521b5b] When using mmap mode on Win32, use a read-only mapping by default. Write to the database file using WriteFile(). Unless SQLITE_MMAP_READWRITE is defined, in which case use a read/write mapping and write into the file using memcpy(). (user: mistachkin, tags: trunk)
20:56
[67c5d3c6] When using mmap mode on unix, use a read-only mapping by default. Write to the database file using write(). Unless SQLITE_MMAP_READWRITE is defined, in which case use a read/write mapping and write into the file using memcpy(). (user: dan, tags: trunk)
19:17
[dc2ac024] Fix uninitialized variable in the command line shell. (user: mistachkin, tags: trunk)
19:16
[eea26b6c] Fix harmless compiler warning. (user: mistachkin, tags: trunk)
02:23
[aa129c51] Basic functionality is now working. (user: drh, tags: lsm-vtab)
00:15
[a32849d6] The virtual table compiles but does not work and is missing many features. This is an incremental check-in. (user: drh, tags: lsm-vtab)
2015-11-16
16:00
[3d930501] Import the LSM code from SQLite4 for use in an experimental virtual table. NB: This is a speculative experiment and could easily result in a dead-end branch. (user: drh, tags: lsm-vtab)
15:28
[f79d5b18] Add testfixture command "vfs_current_time_int64". Returns the value returned by the xCurrentTimeInt64 method of the default VFS. (user: dan, tags: trunk)
08:54
[ad5fcaa5] In the shell tool, avoid testing if (sqlite3_vfs.xGetCurrentInt64) is NULL for a version 1 VFS. This field is only defined for version 2 and greater. (user: dan, tags: trunk)
2015-11-15
11:13
[791761eb] Fix the column name uniquifier so that it works with zero-length column names. (user: drh, tags: trunk)
2015-11-14
22:04
[92724260] Code simplification in sqlite3ColumnsFromExprList(). Update the %z format code so that it works with buffers obtained from sqlite3DbMalloc(). Add a testcase for the slow column name uniquifier. (user: drh, tags: trunk)
20:52
[5b08f29f] Use a hash table to improve the preformance of column name uniqueness checking. (user: drh, tags: trunk)
16:47
[62667129] Use randomness to prevent slowness in the generated-column-name uniqueness checking. (user: drh, tags: trunk)
2015-11-13
20:52
[dfd6d9f4] Fix a memory leak in the fuzzcheck utility. (user: drh, tags: trunk)
16:59
[499a02a3] Add the "--enable-static-shell" option to the amalgamation autoconf script. If set (the default) the compiled shell tool is statically linked against sqlite3.o. Otherwise, it is linked against libsqlite3.so. (user: dan, tags: trunk)
13:15
[8882d1f3] Add the --transaction option to the sqldiff tool. (user: drh, tags: trunk)
12:52
[6bb314a5] Fix the releasetest-out.txt log output from releasetest.tcl so that it works when the --jobs option is used. (user: drh, tags: trunk)
12:32
[ebda77aa] Disable two PRAGMA cache_spill tests when MEMORY_MANAGEMENT is enabled. (user: drh, tags: trunk)
02:13
[f9060b2a] Merge fixes from trunk. (user: drh, tags: apple-osx)
00:03
[367ec0db] Change the error messages so that they can be grepped using '^!' instead of '^ '. There are far too many extraneous outputs that begin with a space. (user: drh, tags: trunk)
2015-11-12
23:48
[ee6f2fee] Update the SQLLOG logic so that to builds in accordance with the instructions in the header comment. (user: drh, tags: trunk)
22:15
[12e7d9ec] Always parse the schema *before* running "PRAGMA cache_size", not after. (user: drh, tags: trunk)
21:55
[178da339] Import the test_sqllog.c enhancements from trunk. (user: drh, tags: apple-osx)
21:42
[9d532fb5] Add a space before each line of error output in the test scripts so that all errors can be conveniently located in logs by doing "grep '^ '". (user: drh, tags: trunk)
20:12
[cab8126b] Add support for the SQLITE_SQLLOG_CONDITIONAL environment variable to the logging code in test_sqllog.c. When defined, logging is only performed if the "<database>-sqllog" file is present in the file system when the main database is opened. (user: dan, tags: trunk)
16:51
[e72331c7] Merge the latest enhancements from trunk, and in particular the "PRAGMA cache_spill=N" change. (user: drh, tags: apple-osx)
16:44
[f79d264d] Enhance the "PRAGMA cache_spill" statement to accept an integer argument which is the threshold at which spilling will begin. (user: drh, tags: trunk)
15:47
[9a431362] Closed-Leaf: Test cases. Minor problems fixed. All appears to work now. (user: drh, tags: cache_spill=N)
15:04
[f84e3085] Fix a #define in parse.y that disabled unused code in the generated parser. (user: drh, tags: trunk)
14:57
[549d42be] First attempt at enhancing the "PRAGMA cache_spill" statement to accept a cache threashold size. (user: drh, tags: cache_spill=N)
2015-11-11
18:43
[ed24d302] Fix missing word in a documentation comment. No changes to code. (user: mistachkin, tags: trunk)
18:08
[c6fa01c2] Add a hack to debug out a description of the WHERE clause of a SELECT (or other) statement. Use this in script tool/schemalint.tcl to automatically recommend indexes that might speed up specific queries. (user: dan, tags: schemalint)
15:28
[2518d5c9] Improvements to the SQLITE_CONFIG_PAGECACHE documentation. Enhance the command-line shell to be able to take advantage of the full range of SQLITE_CONFIG_PAGECACHE capabilities, such as setting pMem==NULL and N<0. (user: drh, tags: trunk)
2015-11-10
14:51
[e43e1171] Improved output formatting for "PRAGMA parser_trace=ON;". (user: drh, tags: trunk)
14:27
[1e484991] Make the output of "PRAGMA parser_trace" go to stdout instead of stderr. (user: drh, tags: trunk)
13:45
[5dcd212b] Save a few bytes in the parser by using "int" instead of "u8" or "u16" for all small integer types. (user: drh, tags: trunk)
12:41
[0e7fb24a] Change all parsers to use the standard "lempar.c" template in the tool/ folder and remove the customized lempar.c from src/, plus other compiler performance and space enhancements. (user: drh, tags: trunk)
12:31
[09752e51] Closed-Leaf: Fix harmless compiler warnings in FTS5. (user: drh, tags: parser-enhancements)
03:30
[6ea2df86] Performance enhancement to the tokenizer. (user: drh, tags: parser-enhancements)
00:02
[3c37c522] Remove an unused non-terminal from the grammar. (user: drh, tags: parser-enhancements)
2015-11-09
19:35
[c4a7e93f] Fix a comment typo in the lempar.c template that was missed by the prior check-in. (user: drh, tags: parser-enhancements)
19:33
[0a72991f] Change the parser to use the standard "lempar.c" template over in the tool/ folder rather than the customized "lempar.c" found in src/. (user: drh, tags: parser-enhancements)
15:06
[0557a179] Avoid recursion in the yy_find_shift_action() routine of the Lemon-generated parser, so that routine can be inlined, for a size reduction and performance increase. (user: drh, tags: trunk)
14:11
[9748c48a] Size reduction and performance improvement in the stack-popping logic of the Lemon-generated parser. (user: drh, tags: trunk)
12:47
[e0ed4c3e] Fix incorrect WHERE clause in sqldiff, as reported on the mailing list by Youcef Hilem. (user: drh, tags: trunk)
12:44
[836418d3] Check in the cg_anno.tcl and run-speed-test.sh scripts, as an historical record. (user: drh, tags: trunk)
12:33
[7c6a19ba] Avoid unnecessary function prologues in the sqlite3VdbeAddOp3() routine. (user: drh, tags: trunk)
02:08
[d62cd757] Small size reduction and performance increase in the parser. (user: drh, tags: trunk)
2015-11-07
18:32
[7ea036ac] Enhance the sqldiff utility to deal gracefully with ALTER TABLE ADD COLUMN. (user: drh, tags: trunk)
18:07
[088009ef] Fix a bug in CTE handling discovered by LibFuzzer that can cause an infinite loop in the query planner. (user: dan, tags: trunk)
17:51
[e7e65c75] Closed-Leaf: Add test cases for WITH clauses. (user: dan, tags: infinite-with-loop-bug)
17:48
[028475cb] Proposed fix for an infinite loop bug in the WITH clause semantic analysis logic. (user: drh, tags: infinite-with-loop-bug)
15:19
[2040d88e] Enhance TreeView to show WITH clauses. Add an assert to detect the infinite loop behavior when certain kinds of errors occur on a nested WITH clause. (user: drh, tags: infinite-with-loop-bug)
01:57
[5429f99b] Merge recent enhancements and fixes from trunk. (user: drh, tags: apple-osx)
01:33
[78bc42e6] Merge recent enhancements and bug fixes from trunk. (user: drh, tags: sessions)
01:19
[0f5b147d] The OPFLAG_SEEKEQ optimization is only applicable to equality comparisons against an index, not against a rowid table. (user: drh, tags: trunk)
00:51
[dd9a26ec] Fix a harmless sanitizer warning in the ieee754 extension. (user: drh, tags: trunk)
2015-11-06
20:22
[d741e1cc] Avoid an unnecessary key comparison when doing an indexed lookup against an equality constraint. (user: drh, tags: trunk)
20:13
[46c36b15] Work around a sign-extension bug in the optimizer on the HP C compiler that comes with HP/UX. (user: drh, tags: trunk)
20:04
[d421efbf] Test changes: Omit numindex1.test from valgrind, since valgrind uses a none-standard floating-point processor which gives inconsistent answers. Run one releasetest.tcl module using LONGDOUBLE_TYPE=double. (user: drh, tags: trunk)
19:53
[849e686d] Enforce consistent comparison results between integer and floating point values. Fix for ticket [38a97a87a6e4e83]. (user: drh, tags: trunk)
17:59
[7a9988d3] Closed-Leaf: Merge the fixes and tests for the ieee754 extension. (user: drh, tags: int-float-precision)
17:28
[8a171548] Closed-Leaf: A proposed patch for working around a bug in the optimizer for the HP compiler found on HP/UX Itanium. (user: drh, tags: hp-optimizer-fix)
17:01
[840cbda8] Test cases for the ieee754 extension. (user: drh, tags: trunk)
14:59
[a3f7614b] A different approach to handling integer/float comparisons. This seems to work better on systems where "long double" and "double" are the same type, but still needs refinement and testing. (user: drh, tags: int-float-precision)
12:50
[33e6606f] Have fts5 load its configuration from the xConnect() method is invoked. This ensures that the very first query run uses the correct value of the 'rank' option. (user: dan, tags: trunk)
04:14
[c220741a] More test cases for indexes on large numeric values. (user: drh, tags: int-float-precision)
03:37
[1d642b73] Some simple test cases from the mailing list. (user: drh, tags: int-float-precision)
01:04
[cfcaa0ff] Increase the precision of integer vs. floating-point comparisons. Candidate fix for ticket [38a97a87a6e4e8]. (user: drh, tags: int-float-precision)
2015-11-05
22:30
[997ce6c9] Closed-Leaf: Improvements and simplifications to the equality seek logic. Tests are adjusted so that they all pass now. (user: drh, tags: seekeq-experiment)
21:49
[777ae800] Fix typo in help information for an FTS5 script. (user: mistachkin, tags: trunk)
20:25
[32e31b9b] The top of an index equality loop normally starts with OP_SeekGE and OP_IdxGT. This check-in adds a flag to OP_SeekGE such that it fails immediately if the key is not equal, then jumps over the OP_IdxGT, saving a call to the key comparison functions. Consider this check-in a proof-of-concept. It needs improvement before going on trunk. Some tests fail, but only because they new use fewer key comparisons than expected (which is a good thing!). (user: drh, tags: seekeq-experiment)
18:09
[44548009] Add the 'hashsize' configuration option to fts5, for configuring the amount of memory allocated to the in-memory hash table while writing. (user: dan, tags: trunk)
11:47
[8303e4cf] Remove a #pragma used to work around an issues with MSVC 2012 that has been overcome but subsequent changes. (user: drh, tags: trunk)
03:26
[b9b22fae] Closed-Leaf: Remove #pragma that was used to work around an obsolete issue with MSVC 2012. (user: mistachkin, tags: reoptimizeArm)
2015-11-04
22:31
[2aa50f6f] Performance improvements in the getAndInitPage() routine of btree.c. (user: drh, tags: trunk)
20:22
[708253be] Rename the sqlite3PagerAcquire() function to sqlite3PagerGet(). The former macro called sqlite3PagerGet() has been removed. (user: drh, tags: trunk)
16:34
[3fece5d0] In releasetest.tcl, run larger test first if --jobs is greater than 1. Run smaller tests cases first if --jobs is 1. (user: drh, tags: trunk)
13:03
[4f16e968] Exclude cffault.test and symlink.test from the (incompatible) inmemory_journal permutation. (user: drh, tags: trunk)
2015-11-03
23:39
[a5816877] Increase the fuzzcheck timeout when running valgrind. (user: drh, tags: trunk)
19:13
[40c4f4a6] In 'e_uri.test', make sure all created test database files get deleted. (user: mistachkin, tags: trunk)
15:39
[d969792f] In the releasetest.tcl script, add the --progress option to cause the start of each subprocess to be shown. Otherwise, revert to the old-style display. Improvements to the handling of the --buildonly option. (user: drh, tags: trunk)
15:16
[b7510777] In the releasetest.tcl script, show the --jobs object on the command-line summary. Report the time of each "starting:" event. Do not show errors on a --dryrun. (user: drh, tags: trunk)
14:49
[e3de8291] Update the releasetest.tcl script so that it can run multiple tests in parallel in separate processes. (user: drh, tags: trunk)
06:23
[0d8b5978] Closed-Leaf: Further enhancement and a bit of cleanup. (user: mistachkin, tags: mp-releasetest)
02:47
[e457c615] Use the native name for the MSVC makefile as well. (user: mistachkin, tags: mp-releasetest)
2015-11-02
23:29
[4ae96d6d] Attempt to centralize and simplify the MSVC handling. (user: mistachkin, tags: mp-releasetest)
23:21
[f625bce8] Fix the backcompat.test module so that it does not try to compare against itself on windows. (user: drh, tags: mp-releasetest)
21:05
[22cc3e6c] Get things working better on Windows with MSVC. (user: mistachkin, tags: mp-releasetest)
20:52
[e565e026] Fix the --dryrun option on the releasetest.tcl script. (user: dan, tags: mp-releasetest)
20:28
[20e96f52] Fix releasetest.tcl so that it does not choke if a test fails so badly that there is no log file. Add the --jobs switch to the usage message. (user: dan, tags: mp-releasetest)
20:24
[aef177fe] Fix releasetest.tcl so that output lines are less than 80 characters wide. (user: dan, tags: mp-releasetest)
18:57
[0546d1cd] Merge all recent enhancements and fixes from trunk. (user: drh, tags: sessions)
18:32
[3d29f912] Add the "--jobs N" option to the releasetest.tcl script to allow tests to be run in parallel by N processes. N defaults to 1. (user: dan, tags: mp-releasetest)
18:31
[bda77dda] Version 3.9.2 (user: drh, tags: release, branch-3.9, version-3.9.2)
15:10
[447521d7] Merge latest trunk changes, including the follow-symlinks functionality and 3.9.2 bugfixes, into this branch. (user: dan, tags: apple-osx)
15:08
[6d5ce3ed] On unix, if a file is opened via a symlink, create, read and write journal and wal files based on the name of the actual db file, not the symlink. (user: dan, tags: trunk)
11:19
[c0c4b6b3] When creating an automatic-index on a sub-query, add a unique integer to the end of each index key to ensure the entire key is unique. Fix for [8a2adec1]. (user: drh, tags: branch-3.9)
11:10
[c33a275b] Aborted releaset of 3.9.2. (user: drh, tags: branch-3.9)
2015-11-01
21:42
[14bd4fbf] Increase the version number to 3.9.2. (user: drh, tags: branch-3.9)
21:35
[dab0e607] If a table-constraint PRIMARY KEY lists a single column in single-quotes and that column has type INTEGER, then make that column an integer primary key, for historical compatibility. Fix for ticket [ac661962a2aeab3c331]. (user: drh, tags: branch-3.9)
21:19
[db319a03] If a table-constraint PRIMARY KEY lists a single column in single-quotes and that column has type INTEGER, then make that column an integer primary key, for historical compatibility. Fix for ticket [ac661962a2aeab3c331]. (user: drh, tags: trunk)
2015-10-31
17:58
[c7c81050] Closed-Leaf: On unix, if a file is opened via a symlink, create, read and write journal and wal files based on the name of the actual db file, not the symlink. (user: dan, tags: follow-symlinks)
2015-10-30
20:54
[9f19420b] Add mutex operations to test code in test3.c to avoid triggering assert() failures in certain configurations. (user: dan, tags: trunk)
17:17
[f2cde4cf] Merge the sqlite3_db_cacheflush() enhancements and other changes from trunk. (user: drh, tags: begin-concurrent)
16:50
[395a153f] Merge all the latest enhancements from trunk. (user: drh, tags: sessions)
16:37
[980d6207] Merge the 3.10.0 version number update from trunk. (user: drh, tags: apple-osx)
16:36
[7565b046] Increase the version number to 3.10.0, due to the addition of the sqlite3_db_cacheflush() interface. (user: drh, tags: trunk)
16:23
[6e4306ef] Merge latest trunk changes, including sqlite3_db_cacheflush(), with this branch. (user: dan, tags: apple-osx)
16:14
[ad80d307] Add new API function sqlite3_db_cacheflush(). (user: dan, tags: trunk)
14:28
[a6695b00] Closed-Leaf: Return immediately if sqlite3PagerWrite() is called when the pager is in PAGER_ERROR state. (user: dan, tags: cacheflush)
14:25
[866f0277] Add the --enable-editline option to various autoconf scripts. (user: drh, tags: trunk)
09:13
[0e09e4a2] Test that calling sqlite3_db_cacheflush() does not interfere with savepoints. (user: dan, tags: cacheflush)
2015-10-29
21:11
[9b79a390] Do not attempt to flush the pages of an in-memory database to disk if sqlite3_db_cacheflush() is called. (user: dan, tags: cacheflush)
20:57
[f0cdfb54] Add a test case that calls sqlite3_db_cacheflush() on an in-memory database. (user: dan, tags: cacheflush)
18:16
[370b5d52] Avoid automatically rolling back the transaction if an SQLITE_IOERR or SQLITE_FULL error occurs within sqlite3_db_cacheflush(). (user: dan, tags: cacheflush)
14:29
[a0c08d26] Closed-Leaf: The optimization on this branch is logically incorrect. It changes the return value of "SELECT 0 OR 'xyzzy'" FROM 0 to 'xyzzy'. (user: drh, tags: simplify-or-clause)
13:48
[34eb6911] Fix uses of ctype functions (ex: isspace()) on signed characters in test programs and in some obscure extensions. No changes to the core. (user: drh, tags: trunk)
12:27
[d533e23f] Apply optimizations to simplify OR clauses that contain constant terms. (user: drh, tags: simplify-or-clause)
01:11
[2964ce25] Enhance comments in the MSVC batch build tool. (user: mistachkin, tags: trunk)
2015-10-28
20:01
[b10ab59f] Make the internal sqlite3PExpr() interface responsive to the TKFLG_DONTFOLD flag on the operator parameter. (user: drh, tags: trunk)
19:46
[65b86dc1] Add experimental API sqlite3_db_cacheflush(). (user: dan, tags: cacheflush)
16:05
[00185418] Factor out adding NOT expression nodes in the parser into a subroutine. (user: drh, tags: trunk)
2015-10-27
20:04
[a85c2a47] Have contentless and external content fts5 tables ignore "OR REPLACE" conflict handling. (user: dan, tags: trunk)
17:48
[3b5758c6] Fix problems with prefix queries in fts5. (user: dan, tags: trunk)
13:35
[45d3539e] Provide hints to the storage engine using the sqlite3BtreeCursorHint() interface when compiling with SQLITE_ENABLE_CURSOR_HINTS. (user: drh, tags: trunk)
13:24
[b3ec9a0d] Closed-Leaf: Split out sqlite3BtreeCursorHintFlags() from sqlite3BtreeCursorHint() the interface for improved performance. (user: drh, tags: cursor-hints)
2015-10-26
20:50
[bc195e1c] Merge latest trunk changes, including the SQLITE_IOERR_AUTH error code, with this branch. (user: dan, tags: apple-osx)
20:39
[b4e70dd0] Add new extended error code SQLITE_IOERR_AUTH. (user: dan, tags: trunk)
20:11
[20da0849] Merge the BTREE_FORDELETE enhancement with this branch. (user: dan, tags: cursor-hints)
18:51
[53d5a4ad] Merge in all trunk changes prior to the BTREE_FORDELETE enhancement. (user: drh, tags: cursor-hints)
18:01
[de697251] Capture BTREE_FORDELETE test cases that were mistakenly omitted from the previous merge. (user: drh, tags: trunk)
17:50
[871b1c78] Provide the BTREE_FORDELETE flag to sqlite3BtreeCursor() if the cursor will be used only for deletions and seeking. (user: drh, tags: trunk)
16:34
[7849662e] Closed-Leaf: Fix an uninitialized variable problem in the test code added by the previous commit. (user: dan, tags: btree-fordelete-flag)
16:31
[5bdc3c82] Test that the binary record "0x01 0x00" is interpreted by OP_Column as a vector of NULL (or default) values. (user: dan, tags: btree-fordelete-flag)
14:54
[138783b5] Fix a C99-ism and a harmless compiler warning. (user: drh, tags: trunk)
14:41
[e0ce3fc0] When compiling with SQLITE_HAS_CODEC, honor the hexkey= query parameter on URI pathnames in sqlite3_open_v2(). (user: drh, tags: trunk)
12:55
[a36b7fe9] Remove an unreachable branch in malloc.c. (user: drh, tags: trunk)
2015-10-24
20:31
[bfea226d] When creating an automatic-index on a sub-query, add a unique integer to the end of each index key to ensure the entire key is unique. Fix for [8a2adec1]. (user: dan, tags: trunk)
2015-10-23
11:50
[4c0ba8be] Remove an unused #define from whereInt.h. Add comments describing the new sqlite3BtreeCursor() flags. (user: dan, tags: btree-fordelete-flag)
2015-10-22
20:54
[cdc92919] Modifications to pass a flag to internal routine sqlite3BtreeCursor() when a cursor that is used solely for deleting b-tree entries, or for obtaining the components of keys to delete from other b-trees, is opened. (user: dan, tags: btree-fordelete-flag)
18:06
[4315d202] Alternate compiler warning fix for sqlite3StatusHighwater. (user: mistachkin, tags: trunk)
2015-10-21
22:08
[aa4e01ea] Fix harmless compiler warnings in FTS5. (user: mistachkin, tags: trunk)
22:07
[e31aa97a] Fix compilation of 'testfixture' with MSVC when the FTS5 and JSON1 extensions are enabled. (user: mistachkin, tags: trunk)
20:56
[ae350bfb] Remove some branches made unreachable by recent changes from fts5. (user: dan, tags: trunk)
20:07
[363b36d5] Minor optimization for fts5 queries. (user: dan, tags: trunk)
08:26
[b9c4aa52] Add extra debugging function to test_rbu.c. Enhance the documentation for sqlite3rbu_db() to define the validity of the returned database handles. (user: dan, tags: trunk)
2015-10-20
23:40
[12e869bb] Closed-Leaf: Fix compiler warnings. (user: mistachkin, tags: noWarn)
23:27
[0a903ec2] Fix harmless compiler warnings in FTS5. (user: mistachkin, tags: trunk)
21:05
[b8fb263e] More optimizations for fts5 prefix queries. (user: dan, tags: trunk)
19:55
[1f5f5804] Fix #line directives added to generated file fts5.c. (user: dan, tags: trunk)
15:49
[e979e2cc] Initialize variables in the fts5 integrity-check code to avoid compiler warnings. (user: dan, tags: trunk)
2015-10-19
20:49
[60a8bde0] Another optimization for fts5 prefix (and other) queries. (user: dan, tags: trunk)
17:43
[69be427c] Another tweak to improve performance of fts5 prefix queries. (user: dan, tags: trunk)
15:59
[68ee426a] Fix a problem in the fts5txt2db.tcl script causing it to fail when creating tables with more than 8 columns. (user: dan, tags: trunk)
2015-10-17
20:34
[cf618334] Add tests to cover new branches added to the fts5 code by the previous commit. (user: dan, tags: trunk)
19:49
[6020d96a] Handle equality and range constraints on the "term" column of fts5vocab tables. Also have the same module report columns using names instead of indexes. (user: dan, tags: trunk)
01:00
[c6239bf9] Leaf: Change the code generator for UPDATE to generate code in an order that might run more efficiently in many cases. (user: drh, tags: improved-update)
2015-10-16
23:55
[0df371d1] Fix a comment in expr.c and add a CORRUPT_DB to an assert() in btree.c. (user: drh, tags: trunk)
20:55
[bf866e6c] Merge the 3.9.1 updates from trunk. (user: drh, tags: begin-concurrent)
20:53
[26fa091d] Merge recent enhancements from trunk. Version now 3.9.1. (user: drh, tags: cursor-hints)
20:52
[dd07688d] Merge the 3.9.1 changes. (user: drh, tags: apple-osx)
20:20
[2bbb9595] Merge the version 3.9.1 updates. (user: drh, tags: sessions)
20:13
[39e8a5d9] Enhancements to the MSVC makefile. (user: mistachkin, tags: trunk)
20:12
[eb231742] Merge the 3.9.1 changes into trunk. (This only updates the version number and configure script since all the other changes in 3.9.1 were cherrypicked from trunk.) (user: drh, tags: trunk)
17:31
[767c1727] Version 3.9.1 (user: drh, tags: release, branch-3.9, version-3.9.1)
15:56
[746fcd2f] Cherrypick the json form-feed fix, and other #ifdef and build script changes to address minor issues that came to light after the 3.9.0 release. Update the version number to 3.9.1. No logic changes except for the form-feed bug-fix in json1 (ticket [57eec374ae1d0a1d4a]). (user: drh, tags: branch-3.9)
15:42
[d6fc616e] Fix the fuzzershell utility program so that it compiles with the amalgamation that includes JSON1 support. (user: drh, tags: trunk)
15:35
[bc9a9a60] Fix the JSON1 extension so that it does not depend on isdigit() and strtod() from the standard library when compiled into SQLite as part of the amalgamation. (user: drh, tags: trunk)
15:16
[28957d63] Form-feed is not valid whitespace for json. Fix for ticket [57eec374ae1d0a1d] (user: drh, tags: trunk)
14:54
[2ad72be1] Have the sqlite3VdbeSerialType() function go ahead and compute the serial length as well, since it is always needed. This avoids unnecessary calls to sqlite3VdbeSerialTypeLen(). (user: drh, tags: trunk)
14:23
[33957248] Use a lookup table to compute the content length for serial types less than 128, for a 1.2% performance improvement. (user: drh, tags: trunk)
13:50
[0114b45d] Simplify the OP_Column logic slightly. One very small performance improvement added. (user: drh, tags: trunk)
12:53
[8125b74c] OP_Column optimization: Do not check for an oversize row header unless the row header size is larger than the content available on the local page. (user: drh, tags: trunk)
12:39
[b17ad8fc] Improved header comment on the tool/vdbe_profile.tcl script. No changes to code. (user: drh, tags: trunk)
03:34
[08e8f04d] Leaf: Whenever two or more OP_Column opcodes on the same cursor occur in succession, try to reordering them so that the one that extracts the right-most column is first, so that it will warm up the row cache for all those that follow. This gives a small performance boost. (user: drh, tags: reorder-column-opcodes)
2015-10-15
21:30
[076be547] Performance optimization for the OP_Column opcode. (user: drh, tags: trunk)
21:13
[40493680] Leaf: Merge updates from trunk. (user: mistachkin, tags: mutexInitIsInitReCheck)
21:12
[a447cf90] Leaf: Merge updates from trunk. (user: mistachkin, tags: mutexInitSimpleCmpSwap)
20:17
[39ae92f5] Leaf: Experiments with an OP_Unpack opcode that extracts multiple columns from a record without caching. (user: drh, tags: unpack-opcode)
19:21
[871e091d] Enhance the use of the column cache for UPDATE statements, making them more efficient for the case where a column is modified to be an expression of other unmodified columns. (user: drh, tags: trunk)
18:04
[3a2f73a4] Add the OP_IntCopy opcode - an optimized version of OP_SCopy that only works for integer values. (user: drh, tags: trunk)
17:31
[79298fe8] Optimization to the out2Prerelease() helper routine in the VDBE engine. (user: drh, tags: trunk)
17:21
[9ccf8f8d] Remove a superfluous conditional from the memory allocation initialization. (user: drh, tags: trunk)
16:20
[cb65989b] Performance optimizations to the sqlite3MallocSize() by requiring the argument to always be non-NULL. (user: drh, tags: trunk)
15:28
[6422d223] Change sqlite3StatusSet() into sqlite3StatusHighwater() so that only the highwater mark is recorded. This gives a small size reduction and performance improvement. (user: drh, tags: trunk)
12:06
[a61880c2] Make sure sqlite.h is not #included by itself. (user: drh, tags: trunk)
07:44
[5c3a2a6e] Merge in the 3.9.0 changes from trunk. (user: drh, tags: begin-concurrent)
2015-10-14
23:04
[54127602] In the MSVC makefile, add LIBTCLPATH variable to make it easier to run tests when the Tcl library is not already present in the PATH. (user: mistachkin, tags: trunk)
22:46
[0a17ee49] In the MSVC makefile, make sure LDFLAGS is used for the tool executables as well. (user: mistachkin, tags: trunk)
21:08
[f4de6d45] Tests and minor fixes to improve coverage of FTS5 code. (user: dan, tags: trunk)
20:34
[1c46c194] Fix harmless compiler warnings. (user: mistachkin, tags: trunk)
20:09
[29444149] Merge in all the 3.9.0 updates from trunk. (user: drh, tags: cursor-hints)
20:03
[4bd0d43d] Update makefiles to remove all uses of "awk" - to make building SQLite easier on Windows systems. The only requirements now are tclsh, a C compiler, and common file utilities. (user: drh, tags: trunk)
20:01
[7d772333] Enable cross-compiling the various tool EXEs with MSVC. (user: mistachkin, tags: trunk)
19:52
[01d3ee7b] Fixes to the JSON1 extension and its use by fuzzcheck to avoid problems when building DLLs. (user: drh, tags: trunk)
19:44
[ec003958] Closed-Leaf: Fix fuzzcheck.c so that it assumes that JSON1 is already compiled in and does not need to be initialized further. (user: drh, tags: dll-build-fix)
18:45
[8463f7e7] Avoid exporting sqlite3_json_init() from amalgamation builds. (user: dan, tags: dll-build-fix)
12:29
[a721fc0d] Version 3.9.0 (user: drh, tags: trunk, release, version-3.9.0)
10:56
[47a2ce97] Add the missing 'extern "C" {...}' blocks to fts5.h and sqlite3rbu.h. (user: dan, tags: trunk)
2015-10-13
20:42
[e1afdbb5] Merge in the final few changes before the 3.9.0 release. (user: drh, tags: sessions)
17:49
[1900ce01] Merge 3.9.0 prerelease changes into the apple-osx branch. (user: drh, tags: apple-osx)
2015-10-12
22:31
[9ecafc0c] Remove the unused fts5ExprColsetTest() routine. (user: drh, tags: trunk)
22:20
[7f896a97] Fix a couple harmless compiler warnings. (user: mistachkin, tags: trunk)
19:12
[1c20c1c2] Further tweaks to improve fts5 prefix query performance. (user: dan, tags: trunk)
04:56
[6f2858f6] Change all references to 3.8.12 into 3.9.0. Comment changes only - no changes to code. (user: drh, tags: trunk)
03:56
[6d9cdb93] Closed-Leaf: Remove AWK requirement from the MSVC batch build tool. (user: mistachkin, tags: omit-awk)
03:44
[7c5d583b] The TclKit batch tool should not download the TclKit SDK when the TCLKIT_NOSDK environment variable is set. (user: mistachkin, tags: omit-awk)
2015-10-11
20:39
[9ab9c8c6] Detect and report circularly defined views even if the views have the columns defined in the CREATE VIEW statement. (user: drh, tags: trunk)
20:08
[46ee3453] Remove an unreachable branch in the query flattener substitution logic. (user: drh, tags: trunk)
19:46
[3d0bd95e] Improved substitution logic in the query flattener. Saves code space, and (more importantly) works correctly with table-valued functions. (user: drh, tags: trunk)
2015-10-10
23:39
[bc6223b1] Enhance TclKit batch tool (and MSVC makefile) to support targets that require the Tcl stub library. (user: mistachkin, tags: omit-awk)
20:35
[ed174ccf] Pull in the latest 3.9.0 tweaks from trunk. (user: drh, tags: sessions)
16:41
[fab6f090] Work around a "security feature" bug in memcpy() on OpenBSD. (user: drh, tags: trunk)
15:57
[35e6248a] Remove another instance of strcpy() from FTS5, to mollify OpenBSD. (user: drh, tags: trunk)
15:11
[bc24a5bb] Omit the use of strcpy() in FTS5 since OpenBSD hates strcpy(). (user: drh, tags: trunk)
14:41
[9ddef84d] Compiler warning fixes: Rename some local variables from "j1" to avoid a name collision with the j1() bessel function in the math library. Omit a dummy initializer that gcc 4.6.3 does not like. (user: drh, tags: trunk)
14:00
[de28acd4] Add some #ifdef-ery to json1.c to avoid a duplicate typedef when used in the amalgamation, since some compilers become upset over duplicate typedefs. (user: drh, tags: trunk)
02:06
[0f9e205b] Remove a couple superfluous double quotes in the MSVC makefile. (user: mistachkin, tags: omit-awk)
01:55
[f8c2193b] Fix typo in the MSVC makefile. Replace remaining uses of AWK in the MSVC makefile with a Tcl script. (user: mistachkin, tags: omit-awk)
00:53
[43addd8a] More fine-tuning to the new TclKit tools. (user: mistachkin, tags: omit-awk)
2015-10-09
20:40
[4a47f017] The previous fix to JSON1 was not complete. A few more tweaks are needed for correct handling of all oversized integers. (user: drh, tags: trunk)
18:48
[1d2f82df] Tweak batch tool added in the previous check-in to permit the base URI to be overridden. (user: mistachkin, tags: omit-awk)
18:21
[ae736e35] Fix the JSON1 extension so that it renders integers outside the range of -9223372036854775808 to +9223372036854775807 as floating-point numbers. (user: drh, tags: trunk)
17:54
[c1840639] Remove fts5 sources from TESTSRC2 in main.mk as there is no SQLITE_TEST code in said files. (user: dan, tags: trunk)
17:36
[50673dda] Add tool capable of downloading a TclKit (and its associated SDK) on Windows. (user: mistachkin, tags: omit-awk)
17:28
[1ccae39b] Merge all changes through the first 3.9.0 beta from trunk. (user: drh, tags: apple-osx)
15:29
[c1d96fb6] Merge the version 3.9.0 changes and the incorporation of JSON1 and FTS5 into the amalgamation from trunk. (user: drh, tags: sessions)
14:37
[8a4e1988] Add --enable-fts5 and --enable-json1 options to the amalgamation autoconf package. (user: dan, tags: trunk)
14:23
[92aa4b6b] In the MSVC makefile, adjust the names of two nmake variables for consistency. (user: mistachkin, tags: trunk)
13:42
[aa8fdadf] Change the version number of the next release to 3.9.0. (user: drh, tags: trunk)
13:39
[1eb76993] Add the JSON1 and FTS5 extensions to the amalgamation. Add new options to ./configure: --enable-json1 and --enable-fts5. (user: drh, tags: trunk)
13:29
[c8a12082] Closed-Leaf: Fix a typo in the MSVC Makefile (user: drh, tags: amalg-json1-fts5)
12:48
[a0c44f1d] Add configure script options --enable-fts5 and --enable-json1. Automatically search for -lm when using --enable-fts5. (user: drh, tags: amalg-json1-fts5)
11:09
[6ebac32d] Makefile and fts5 changes so that fts5 works with main.mk. Still does not work with Makefile.in. (user: dan, tags: amalg-json1-fts5)
01:42
[206174f9] Trying to get FTS5 tests to build and run using main.mk. Not yet working. (user: drh, tags: amalg-json1-fts5)
2015-10-08
23:37
[2928f8e8] Json1 tests are working. Builds without FTS5 enabled. Still some problems building with FTS5. (user: drh, tags: amalg-json1-fts5)
21:02
[53dd7c4c] Remove calls to "load_static_extension" from fts5 test scripts. (user: dan, tags: amalg-json1-fts5)
21:00
[97e11b79] Further tweaks to main.mk so that fts5 builds as part of testfixture. (user: dan, tags: amalg-json1-fts5)
20:40
[0d7f301f] Fix further fts5 compilation issues. (user: dan, tags: amalg-json1-fts5)
20:28
[5343e601] Fix two more warnings in fts5 code. (user: dan, tags: amalg-json1-fts5)
20:11
[e9e76e12] Fix a couple of errors in fts5 compilation. This branch still does not build with -Wall -Werror. (user: dan, tags: amalg-json1-fts5)
19:29
[d820a1bd] First attempt to add json1 and fts5 to the amalgamation. This check-in does not compile. (user: drh, tags: amalg-json1-fts5)
17:35
[df9ef61f] In the RBU extension, use MoveFile() instead of rename() on Windows CE. (user: mistachkin, tags: trunk)
14:55
[35b1b8d4] Merge the 3.8.12 beta changes from trunk. (user: drh, tags: sessions)
02:44
[77b707b7] Remove two unused lines of code - discovered by scan-build. (user: drh, tags: trunk)
2015-10-07
19:06
[83dc1ff7] Further optimizations for fts5 prefix queries without a prefix index. (user: dan, tags: trunk)
17:06
[13adcd03] Fix harmless compiler warning in FTS5. (user: mistachkin, tags: trunk)
17:01
[baec1b96] Allow the subsitute character (codepoint 26 - 0x1A) to appear in fts5 barewords. (user: dan, tags: trunk)
16:14
[d591e860] Adjustments to spellfix2.test so that it works reliably on mac. (user: drh, tags: trunk)
13:24
[f20f9f81] Add tests for fts5 phrase queries with column filters. (user: dan, tags: trunk)
12:36
[5b677521] Convert the tool/tostr.awk script into tool/tostr.tcl. Remove two obsolete Makefiles. Purge NAWK from the configure script and from unix makefiles. There are still two uses of NAWK in Makefile.msc. (user: drh, tags: omit-awk)
12:21
[8bbf3714] Change the addopcodes.awk script into tool/addopcodes.tcl. (user: drh, tags: omit-awk)
12:11
[1506cb33] Convert the mkopcodec.awk script into tool/mkopcodec.tcl. (user: drh, tags: omit-awk)
09:02
[accdc98b] Add further tests for fts5 prefix queries. (user: dan, tags: trunk)
04:20
[80027709] Fix a typo in the previous check-in. (user: mistachkin, tags: trunk)
03:07
[8a0a2aa5] When running tests on Tcl 8.6 under Windows, skip tests 'uri-1.12.*' due to a change in Tcl behavior related to NTFS ADS (alternate data streams). (user: mistachkin, tags: trunk)
02:52
[ed0ebc46] Change mkopcodeh.awk into tool/mkopcodeh.tcl. (user: drh, tags: omit-awk)
00:35
[0abd6529] Remove three obsolete and unused files from tool/ (user: drh, tags: trunk)
2015-10-06
21:49
[a05f903c] Fix typo in comments. No changes to code. (user: mistachkin, tags: trunk)
21:07
[041df7c2] Simplifications to the VDBE bytecode that handles LIMIT and OFFSET. (user: drh, tags: trunk)
20:53
[bf1607ac] Optimizations for fts5 expressions that filter on column. More still to come. (user: dan, tags: trunk)
17:27
[4b631364] Fix the LIMIT and OFFSET handling for UNION ALL queries that contain a subquery with ORDER BY on the right-hand side. Fix for ticket [b65cb2c8d91f668584]. (user: drh, tags: trunk)
01:44
[3168326e] Adjustments to sqlite3MemoryBarrier() when compiling with MSVC and/or WinCE. (user: mistachkin, tags: trunk)
2015-10-05
19:41
[f2f0184e] Improve performance of prefix queries without a prefix index on fts5 tables. (user: dan, tags: trunk)
15:39
[d6b66cd7] Update fts3 so that expressions to the left and right of a NOT operator are balanced. This prevents relatively small expressions (a dozen terms or so) that are children of NOT operators from triggering the "expression tree is too large" error. (user: dan, tags: trunk)
11:57
[44f1ce30] Add fts5txt2db.tcl, a tool for creating sample fts4/5 databases from text files. (user: dan, tags: trunk)
2015-10-03
15:38
[41d17d9e] Update fts5 to support the table function syntax. "... FROM fts5_tbl WHERE fts5_tbl MATCH ?1 AND rank MATCH ?1" can now be written "FROM fts5_tbl(?1, ?2)". (user: dan, tags: trunk)
12:23
[f653fce9] Add tests for the rtree module to verify that attempts to insert non-integer primary key values or non-numeric dimensions into an rtree table are handled correctly. (user: dan, tags: trunk)
2015-10-02
20:04
[5c83b9db] Update fts5 to avoid using a statement journal for UPDATE and DELETE operations that affect at most a single row. (user: dan, tags: trunk)
2015-10-01
18:31
[6f90839e] Fix an fts3 bug causing NEAR queries on uncommitted data to malfunction. (user: dan, tags: trunk)
16:35
[76958902] Changes to the sesssions module ensure that tables appear within changesets and patchsets in the same order that they were attached to the sessions object. (user: dan, tags: sessions)
2015-09-30
14:50
[b2face9a] Merge recent enhancements from trunk, and especially the fix for ticket [1b266395d6bc10]. (user: drh, tags: sessions)
14:30
[e796c0ef] Add a corrupt database to test/fuzzdata3.db to validate the previous check-in. (user: drh, tags: trunk)
14:19
[29f7227f] Fix an assert() in btree.c that is only true for non-corrupt databases. (user: drh, tags: trunk)
12:59
[a6d5e4e8] Clear the BTCF_ValidNKey flag when putting a cursor into REQUIRESEEK state. Fix for [1b266395]. (user: dan, tags: trunk)
11:19
[31a91ee7] Improve error handling in shell command ".tables". (user: dan, tags: trunk)
2015-09-29
17:51
[3e15dea5] Closed-Leaf: This condition was not always true after all.....    Change an always-true condition in the virtual table transaction interface into an assert(). (user: drh, tags: mistake)
17:20
[7d272aa6] Use symbolic names XN_ROWID and XN_EXPR in place of the (-1) and (-2) magic numbers in Index.aiColumn[]. Add asserts to help verify that Index.aiColumn[] is always used correctly. Fix one place in FK processing where Index.aiColumn[] was not being used correctly. (user: drh, tags: trunk)
16:47
[a1d08fd3] Add the sqlite3_index_info.idxFlags field, allowing xBestIndex() implementations to specify to SQLite that a strategy may visit at most one row. Add support for this to fts3/4. Omit the statement journal from virtual table UPDATE and DELETE operations that are guaranteed not to affect more than one row. (user: dan, tags: trunk)
16:41
[77948b5e] Ensure that the xSavepoint() virtual table method is correctly invoked if there are already open savepoints (or statement transactions) the first time a virtual table is written within a transaction. (user: dan, tags: trunk)
15:50
[0e317dda] Closed-Leaf: Remove dead code, replacing with assert() statements that make sure the code really was dead. (user: drh, tags: vtab-onepass)
13:25
[59662cd2] Create the sqlite3IsToplevel(Parse*) interface to check to see if a top-level VDBE is being coded (versus a trigger) and use that interface. (user: drh, tags: vtab-onepass)
12:32
[d1a07838] Fix compiler warnings. (user: drh, tags: vtab-onepass)
12:19
[3a9f0762] Fix an off-by-one error in test function fts5_decode(). (user: dan, tags: trunk)
11:59
[b519c0d6] Merge latest trunk change into this branch. (user: dan, tags: vtab-onepass)
11:57
[f61203bc] Change the name of the new sqlite3_index_info.flags field to "idxFlags". Add documentation for the same to sqlite.h.in. (user: dan, tags: vtab-onepass)
10:11
[820c8044] Add tests for fts3 and onepass update/delete operations. Also fix a problem with onepass updates that do not affect any rows. (user: dan, tags: vtab-onepass)
2015-09-28
23:45
[70ec88b2] Leaf: Avoid unnecessary cursors and seeking when running a DELETE against a WITHOUT ROWID table. (user: drh, tags: delete-without-rowid-opt)
20:03
[1aa27d70] Also allow UPDATE on virtual tables to use the onepass strategy. (user: dan, tags: vtab-onepass)
17:05
[c5566bb3] Extra information provided by .wheretrace on input flags to the query planner and on the result of sqlite3WhereOkOnePass(). (user: drh, tags: trunk)
15:23
[fffab4f7] Update fts3 to use the onepass strategy for delete operations. (user: dan, tags: vtab-onepass)
15:20
[e73f919f] Changes to allow DELETE operations on virtual tables to use the onepass strategy under some circumstances. (user: dan, tags: vtab-onepass)
15:08
[5c14d447] Add test cases to the ONEPASS optimization corruption problem fixed by the previous check-in. (user: drh, tags: trunk)
14:40
[9d057f52] Fix a database corruption bug caused by the ONEPASS optimization added in check-in [8b93cc5937000535]. Bug detected (prior to release) by sqllogictest. Test cases to follow. (user: drh, tags: trunk)
2015-09-26
17:44
[33404b20] Enable adding JSON1 by appending the json1.c source file to the amalgamation and compiling with -DSQLITE_ENABLE_JSON1 (user: drh, tags: trunk)
11:15
[f4704035] Fix a memory leak that can occur following a syntax error in CREATE VIEW. (user: drh, tags: trunk)
03:31
[b7902354] Fix the title of the documentation on sqlite3_value_subtype(). This is a comment change only. (user: drh, tags: trunk)
03:23
[b89495ae] Expand the header comment to clarify the purpose for the sqlite3MemoryBarrier() function. (user: drh, tags: trunk)
01:28
[d7bfb960] Remove an assert in the windows worker-thread logic that can fail in a race condition. (user: drh, tags: trunk)
2015-09-25
23:40
[2d867c05] Fix threads.c so that setting sqlite3FaultSim(200) using the SQLITE_TESTCTRL_FAULT_INSTALL callback causes both unix and windows worker threads to be sequential and deterministic, so that they can be tested reliably. (user: drh, tags: trunk)
20:49
[113181ce] Fix PRAGMA integrity_check so that it works with a UNIQUE index over expressions. (user: drh, tags: trunk)
20:18
[64f2cb8d] Leaf: Fix a faulty assert() on the benign-malloc controller callback in test_malloc.c. (user: drh, tags: malloc-testing)
16:29
[2c57b2f3] Disable the SQLITE_TESTCTRL_BENIGN_MALLOC_HOOKS mechanism and replace it with SQLITE_TESTCTRL_BENIGN_MALLOC_CTRL, which gives better control. (user: drh, tags: malloc-testing)
13:42
[6e4ac0be] Report an error if the number of named columns in a VIEW is different from the number of result columns in the SELECT statement that implements the VIEW. (user: drh, tags: trunk)
01:09
[1350dd42] Fix a problem computing affinities for indexes during skip-scan code generation when SQLITE_ENABLE_STAT4 is on. Bug introduced by check-in [1ee089a72d789002]. (user: drh, tags: trunk)
2015-09-24
18:47
[668fc1eb] Enhance the query planner so that it is able to use indexed expressions to help fulfill an ORDER BY clause. (user: drh, tags: trunk)
17:38
[1c8c5380] Fix over-length source code lines in where.c. No logic changes. (user: drh, tags: trunk)
15:17
[c63c1e15] Merge all recent trunk enhancements and fixes into the begin-concurrent branch. (user: drh, tags: begin-concurrent)
15:06
[fbe63762] Merge trunk changes into the cursor-hints branch. (user: drh, tags: cursor-hints)
14:43
[4dd06d8b] Merge recent trunk enhancements into the apple-osx branch. (user: drh, tags: apple-osx)
14:26
[c91065f8] Merge all the latest trunk enhancements into the sessions branch. (user: drh, tags: sessions)
12:40
[c6ab807b] Strengthen the implementations of xShmMemoryBarrier on both the unix and windows VFSes, so that they likely work even if SQLITE_THREADSAFE=0 is used. (user: drh, tags: trunk)
12:19
[c2fcb032] Make sure joins work correctly when both sides of the join are connected using indexed expressions. (user: drh, tags: trunk)
11:26
[d9b716a6] Correctly handle the case of a WHERE-clause term with indexed expressions on both sides of the == sign. (user: drh, tags: trunk)
11:06
[a4444c0f] Fix a JSON1 test case so that it works on builds that omit virtual tables. (user: drh, tags: trunk)
01:40
[c43daa8c] Another (smaller) performance optimization for the JSON parser. (user: drh, tags: trunk)
01:06
[7dd4b07a] Performance optimizations on the JSON parser. (user: drh, tags: trunk)
2015-09-23
19:17
[5b61b72f] Take care that the number of reserved bits per page is consistent between the source and destination databases when doing the back-copy on a VACUUM. (user: drh, tags: trunk)
16:35
[0a75ebd2] Merge updates from trunk. (user: mistachkin, tags: mutexInitIsInitReCheck)
16:33
[8d69983d] Correct superfluous whitespace difference. No functional changes. (user: mistachkin, tags: mutexInitSimpleCmpSwap)
16:24
[da0587c5] Simplify thread-safety of mutex initialization. (user: mistachkin, tags: mutexInitSimpleCmpSwap)
15:54
[6b85f8cd] Closed-Leaf: Merge updates from trunk. (user: mistachkin, tags: mutexInitCmpSwap)
11:59
[10a214fd] Capture AFL-generated fuzz tests for json1.c into the test/fuzzdata4.db file. (user: drh, tags: trunk)
01:10
[7c7a3f3e] Do not allow a comma at the end of a JSON array or object. (user: drh, tags: trunk)
2015-09-22
18:51
[760af445] Add the --export-sql and --export-db options to the fuzzcheck utility program. (user: drh, tags: trunk)
17:46
[b6ae61fe] Fix a typo in the --help screen of the fuzzcheck utility. (user: drh, tags: trunk)
01:15
[fcb1e327] Futher simplifications to json1.c. Also an obscure bug-fix in the initial output of json_tree() when using a path to an object contained within an array. (user: drh, tags: trunk)
00:21
[0f160416] Fix json_set() so that it can overwrite a value that was previously overwritten during the same call. (user: drh, tags: trunk)
2015-09-21
23:53
[737ac3fa] For MSVC, have the 'sqlite3.c' target depend on 'sqlite3ext.h' as well as other targets may depend on this behavior (e.g. extensions). (user: mistachkin, tags: trunk)
23:49
[17150ada] Fix compilation under older versions of MSVC. (user: mistachkin, tags: trunk)
22:53
[1646a2bd] Simplifications to the json1.c logic. (user: drh, tags: trunk)
2015-09-20
22:57
[825ce320] Fix an overly-strict assert() in the btree logic. (user: drh, tags: trunk)
2015-09-19
20:27
[97cfe346] Do not allow table-valued function syntax to be used on a view. (user: drh, tags: trunk)
19:36
[0b043744] Add the --disable-lookaside option to the fuzzershell utility program. (user: drh, tags: trunk)
18:54
[394b81b1] Fix a memory leak in json1.c that could occur after misuse of json_object(). (user: drh, tags: trunk)
18:11
[40fce67e] Add an assert() statement to delete.c. (user: dan, tags: trunk)
18:08
[5c31ee62] Fix compiler warnings. (user: drh, tags: trunk)
16:51
[809d67b6] Add json1.c to the fuzzer test shells. (user: drh, tags: trunk)
16:45
[91682ac3] Closed-Leaf: Adjust Makefiles to use SQLITE_CORE when statically linking json1.c into test shells. (user: drh, tags: json-fuzz)
14:57
[ca2d1e90] Adjust fuzzershell so that it adds the json1 extension separately for each no connection. (user: drh, tags: json-fuzz)
14:32
[c4b68eff] Include json1.c in fuzzcheck and fuzzershell. (user: drh, tags: json-fuzz)
12:04
[650605a8] Fix a documentation typo in sqlite3_bind_parameter_index(). No code changes. (user: drh, tags: trunk)
11:57
[d2a02737] Fix an off-by-one error (really off-by-2 in this case) in the buffer resize logic of json1. (user: drh, tags: trunk)
03:07
[b1278301] Do not allow rowid in a UNIQUE or PRIMARY KEY constraint. (This restores the same behavior exhibited by all prior releases.) (user: drh, tags: trunk)
2015-09-18
18:09
[25f34cb9] Fix a crash that can occur with a skip-scan on an index with expressions when SQLITE_ENABLE_EXPLAIN_COMMENTS is defined. (user: drh, tags: trunk)
15:38
[09a313fb] Adjustments to the spellfix2.test module so that it works reliably on windows. (user: drh, tags: trunk)
15:35
[228e3d7c] Adjust two test cases so that they conform to the current code. (user: drh, tags: trunk)
15:13
[acf5d87f] Fix sqlilimits.test module so that it knows that the SELECT in a CREATE VIEW is not checked until the view is actually used. (user: drh, tags: trunk)
14:45
[26f64986] Ensure that "PRAGMA integrity_check" reports an error if the free-list count header field contains a value smaller than the actual number of pages on the database free-list. (user: dan, tags: trunk)
14:42
[4b6af774] Fix the orderby9.test case so that it works with 32-bit versions of TCL (user: drh, tags: trunk)
14:22
[c88b62c2] Remove a test made obsolete by the ONEPASS DELETE optimization. (user: drh, tags: trunk)
2015-09-17
17:21
[6713e35b] Avoid passing (signed char) values directly to isspace(), isalnum() or isdigit() in json1.c. Cast the value to (unsigned char) first. (user: dan, tags: trunk)
09:48
[e8ed62f8] Fix a crash in FTS5 caused by specifying NULL as the rhs of a MATCH operator. (user: dan, tags: trunk)
2015-09-16
17:46
[0f3de2d3] Add a "flush" to force incremental output to releasetest-out.txt while running the test/releasetest.tcl. script. (user: drh, tags: trunk)
12:31
[07721c6c] Fix typo in fts5.h. (user: dan, tags: trunk)
2015-09-15
19:16
[fc4d1de8] Merge enhancements from trunk. (user: drh, tags: begin-concurrent)
17:31
[66fe0683] Merge enhancements from trunk. (user: drh, tags: cursor-hints)
17:20
[f12b8a0f] Merge trunk enhancements into the apple-osx branch. (user: drh, tags: apple-osx)
15:55
[b7469c44] Merge the latest trunk enhancements with this branch. (user: dan, tags: sessions)
14:39
[1d018c35] Add test cases to cover fts5 integrity-check code. (user: dan, tags: trunk)
13:42
[eade355f] Reformat some code to make it easier to merge with sessions. No logic changes. (user: drh, tags: trunk)
11:58
[b26d8f79] Fix a problem with fts5 "ORDER BY rowid DESC" queries and large terms. (user: dan, tags: trunk)
2015-09-14
22:54
[cf114c18] Remove a comment that is no longer accurate. (user: mistachkin, tags: mutexInitIsInitReCheck)
22:53
[25c15771] Merge updates from trunk. (user: mistachkin, tags: mutexInitIsInitReCheck)
22:52
[fea8c0b2] Re-check sqlite3GlobalConfig.isInit after the mutex subsystem has been initialized. (user: mistachkin, tags: mutexInitIsInitReCheck)
19:51
[c1f76686] Improve test coverage of fts5_index.c. (user: dan, tags: trunk)
19:26
[d2df93f2] Testability improvements for the ONEPASS_MULTI enhancement. (user: drh, tags: trunk)
14:49
[379455af] Fix a typo in an SQLITE_USER_AUTHENTICATION macro. (user: drh, tags: trunk)
14:45
[16e56bda] Use symbolic names ONEPASS_OFF, ONEPASS_SINGLE, and ONEPASS_MULTI for the various modes of the one-pass optimization. (user: drh, tags: trunk)
14:08
[2edd2e5e] Fix a compiler warning and providing missing VdbeCoverage() calls. (user: drh, tags: trunk)
11:09
[8b93cc59] Use a single-pass approach for DELETE statements on non-virtual tables that do not require trigger or foreign key processing. (user: dan, tags: trunk)
10:47
[22ce9218] Merge the latest trunk enhancements. (user: drh, tags: sessions)
09:23
[166d5af8] Closed-Leaf: Avoid calling sqlite3VdbeCursorMoveto() from more than one point in vdbe.c. Doing so prevents it from being inlined as part of OP_Column. (user: dan, tags: onepass-delete)
2015-09-13
20:15
[9a867d9f] Add static VFS mutexes to the primary header file comments. (user: mistachkin, tags: trunk)
18:45
[c9400ff1] Experimental changes to avoid recusrively calling xMutexInit. (user: mistachkin, tags: mutexInitCmpSwap)
18:43
[b42c2e20] Merge updates from trunk. (user: mistachkin, tags: mutexInitCmpSwap)
2015-09-12
19:50
[0a4d285e] Fix compiler warnings in delete.c. (user: dan, tags: onepass-delete)
19:27
[786333e0] Fix API documentation typos. Emphasize that the sqlite3_config() routine is not threadsafe. (user: drh, tags: trunk)
19:26
[eaeb2b80] Experimental change to use a single-pass approach for DELETE statements on non-virtual tables that do not fire triggers or require foriegn-key processing. (user: dan, tags: onepass-delete)
18:58
[d8051f61] Merge updates from trunk. (user: mistachkin, tags: mutexInitCmpSwap)
18:57
[334720c0] Import common changes from the mutex initialization branch. (user: mistachkin, tags: trunk)
16:59
[48597789] Merge updates from trunk. (user: mistachkin, tags: mutexInitCmpSwap)
04:22
[de3fa51e] Fix comments. (user: mistachkin, tags: mutexInitCmpSwap)
04:19
[1a97bc81] Specifying an invalid mutex implementation (via SQLITE_CONFIG_MUTEX) should cause the default one to be used instead. (user: mistachkin, tags: mutexInitCmpSwap)
03:40
[f9a03483] Clarify the new mutex implementation reset logic in sqlite3_shutdown(). (user: mistachkin, tags: mutexInitCmpSwap)
03:35
[7562f1fb] Add more asserts to the mutex subsystem. (user: mistachkin, tags: mutexInitCmpSwap)
01:17
[31a26a1d] Fix typo in the Win32 implementation of sqlite3CompareAndSwap. (user: mistachkin, tags: mutexInitCmpSwap)
2015-09-11
23:24
[dc2cf897] Make sure that the mutex implementation can be altered after calling sqlite3_shutdown(). (user: mistachkin, tags: mutexInitCmpSwap)
20:54
[86781093] Update evidence marks due to wording changes in requirements text. No changes to code. (user: drh, tags: trunk)
18:05
[bfc7b84b] Fix harmless compiler warnings. (user: mistachkin, tags: trunk)
15:32
[f599a42e] More test cases in test/json102.test corresponding to new examples in the json1 documentation. (user: drh, tags: trunk)
14:15
[0dc43611] Fix some compiler warnings in fts5 code. (user: dan, tags: trunk)
05:06
[f6a8f577] Enhance mutex initialization to prevent possible race conditions between sqlite3_initialize() and sqlite3_config(). Also, re-check sqlite3GlobalConfig.isInit after the mutex subsystem has been initialized. (user: mistachkin, tags: mutexInitCmpSwap)
01:22
[d6cadbe9] Updates to the sqlite3_value_subtype() and sqlite3_result_subtype() documentation and to test cases for json1 dealing with those interfaces. (user: drh, tags: trunk)
00:26
[db4152ae] Add new interfaces sqlite3_value_subtype() and sqlite3_result_subtype(). Update the json1.c extension to take advantages of those interfaces to avoid the goofy '$$' path syntax and to allow nested calls to json_array() and json_object() that work as expected. (user: drh, tags: trunk)
00:06
[8a80d645] Closed-Leaf: Take out the goofy '$$' path syntax. Instead, use subtypes to communicate when a string is JSON. Add the json() function that validates and minifies the JSON and sets the appropriate subtype. (user: drh, tags: subtypes)
2015-09-10
20:40
[c6fca0be] Make the sqlite3_value_subtype() and sqlite3_result_subtype() interfaces available to loadable extensions. (user: drh, tags: subtypes)
20:34
[7b5be299] Experimental implementation of sqlite3_result_subtype() and sqlite3_value_subtype() interfaces. (user: drh, tags: subtypes)
19:22
[f5580f08] Fix a potential NULL pointer deref in the testing logic of pcache1. NB: The -DSQLITE_TEST compile-time option is needed to hit the problem. (user: drh, tags: trunk)
17:23
[0c0c4ae9] Modify the fts5 leaf page format to permit faster seek operations. This is a file-format change. Any existing databases can be upgraded by running the fts5 'rebuild' command. (user: dan, tags: trunk)
17:20
[127cce3e] Create separate "path" and "root" columns in the json_each() and json_tree() virtual tables. "Root" is the 2nd parameter and is fixed. "Path" varies as json_tree() walks the hierarchy. (user: drh, tags: trunk)
16:39
[99de5e36] Closed-Leaf: Increment the fts5 version value to indicate that the on-disk format has changed. (user: dan, tags: fts5-incompatible)
16:19
[4931e37d] Fix a segfault in fts5 that could occur if the database contents were corrupt. (user: dan, tags: fts5-incompatible)
15:52
[716e7e74] Merge latest changes from trunk. Including fts5_expr.c fixes. (user: dan, tags: fts5-incompatible)
15:49
[85aac7b8] Update description of on-disk format in fts5_index.c. (user: dan, tags: fts5-incompatible)
15:24
[47a46a9f] Make the sqlite3ext.h header file responsive to -DSQLITE_OMIT_LOAD_EXTENSION. (user: drh, tags: trunk)
15:22
[bb8ee3b1] Disable tests for json_each() and json_tree() on builds where virtual tables are not supported (user: drh, tags: trunk)
15:20
[9ecf684d] Fix the --help option on test/releasetest.tcl. Also fix the final error count so that it includes a count of subtest crashes. (user: drh, tags: trunk)
10:40
[402704b1] Revert an accidentally committed makefile change. (user: dan, tags: fts5-incompatible)
10:01
[ffe2796a] Fix an fts5 problem that could occur if a term and the first associated rowid are on different leaf pages. (user: dan, tags: fts5-incompatible)
05:40
[fab245be] Change the array of 16-bit offsets at the end of each page to an array of varints. (user: dan, tags: fts5-incompatible)
04:17
[da8a288f] Attempt to declare sqlite3MemoryBarrier() correctly for all possible build configurations. (user: drh, tags: trunk)
03:29
[6adc7de7] Fix the json_tree() scan for the case when a path is supplied. Add new json1 test cases. (user: drh, tags: trunk)
01:22
[8250e2a4] No-op the sqlite3_memory_alarm() interface in a different way, that does not break legacy memory behavior. This is a re-do of check-in [5d3f5df4da9f40d5]. (user: drh, tags: trunk)
2015-09-09
23:54
[86146a73] Fix harmless compiler warning in FTS5. (user: mistachkin, tags: trunk)
19:44
[8d2ed150] Fix an assert() enabled by SQLITE_ENABLE_EXPENSIVE_ASSERT in wal.c. (user: dan, tags: trunk)
19:27
[89bfdbfe] Fix a possible NULL pointer deref when using SQLITE_ENABLE_MEMORY_MANAGEMENT. (user: drh, tags: trunk)
17:23
[280fd3a4] Fix harmless compiler warning. (user: mistachkin, tags: trunk)
17:17
[2cdb1877] Fix harmless compiler warnings in FTS5. (user: mistachkin, tags: trunk)
13:28
[4a18d8bd] When running a CREATE TABLE AS, make the initial temporary sqlite_master entry for the new table a real record rather than a NULL, in case the query after the AS actually tries to read the sqlite_master table. Fix for ticket [acd12990885d9276]. (user: drh, tags: trunk)
08:15
[0eb2b952] Fix a bug in preprocessor macros within fts5_main.c. (user: dan, tags: fts5-incompatible)
2015-09-08
21:16
[fe9ffe5e] Remove an unused local variable from Lemon. (user: drh, tags: trunk)
21:12
[6beb512c] Enhance the DBSTAT virtual table with a new hidden table "schema" that if set will cause the table to report on the specified schema rather than on "main". Also: Fix a faulty assert in sqlite3_context_db_handle(). (user: drh, tags: trunk)
20:26
[06f90bb2] Eponymous virtual tables exist in the "main" schema only. Enforce this rule. (user: drh, tags: trunk)
19:55
[00d99006] Remove the 0x00 terminators from the end of fts5 doclists stored on disk. (user: dan, tags: fts5-incompatible)
17:31
[33a14