SQLite
Timeline
Not logged in

7279 descendants and 10581 ancestors of [4e6e07a6]

2017-02-27
17:16
[23a8917e] Leaf: Make PATH handling more robust in the batch tools for MSVC. (user: mistachkin, tags: trunk)
17:06
[2b210d69] Improve performance of fts5 writes by writing the "averages" record once at the end of each transaction instead of every time the table is updated. (user: dan, tags: trunk)
16:15
[952a3906] Add an sqlite3_set_last_insert_rowid() method. Use it to work around fts4 and fts5 modifying the last-insert-rowid unintuitively from within commit processing. (user: dan, tags: trunk)
14:52
[fe41bb56] Closed-Leaf: Add an sqlite3_set_last_insert_rowid() method. Use it to work around fts4 and fts5 modifying the last-insert-rowid unintuitively from within commit processing. (user: dan, tags: set-last-insert-rowid)
12:23
[660f9569] Remove references to special handling in virtual table methods from the documentation for sqlite3_last_insert_rowid(). (user: dan, tags: trunk)
2017-02-25
20:57
[ffd61fb4] Add an 'extern "C"' block to header file sqlite3userauth.h. (user: dan, tags: trunk)
17:47
[4cd2a967] Optimize defragmentPage() in the case where the page contains either one or two free-blocks and a small number of fragmented bytes. (user: dan, tags: trunk)
16:24
[f9863b39] Closed-Leaf: Tweak the code on this branch to detect b-tree page corruption in the same cases as the trunk. (user: dan, tags: defragmentpage-opt)
2017-02-24
19:58
[202b1c02] Optimize defragmentPage() in the case where the page contains either one or two free-blocks and a small number of fragmented bytes. (user: dan, tags: defragmentpage-opt)
2017-02-23
16:30
[a8fd7052] Save a few bytes and a few cycles by setting Vdbe.expmask to zero for statements prepared using legacy interface sqlite3_prepare(). (user: dan, tags: trunk)
02:15
[7a959f6d] Leaf: Add two NEVER() operators in the sqlite3BtreeRowCountEst() routine. (user: drh, tags: auto-analyze)
00:58
[188300a3] Do a single OP_Expire at the very end of "PRAGMA optimize", and omit the OP_Expire on ANALYZE commands invoked by the pragma. (user: drh, tags: auto-analyze)
2017-02-22
20:24
[9fced545] Change the name of the analyze_as_needed pragma to "optimize". Enhance the comment (which will become documentation, assuming these changes land on trunk) to explain that the optimize pragma is likely to be enhanced in various ways in future releases and that applications should not depend upon the current behavior. (user: drh, tags: auto-analyze)
19:49
[fe073905] Merge integrity_check and other improvements from trunk. (user: drh, tags: auto-analyze)
19:41
[d6afd98d] Move a branch condition in analyze.c inside an #ifdef SQLITE_ENABLE_STAT4 block. (user: dan, tags: trunk)
19:27
[737a8244] Improve the performance of ANALYZE when SQLITE_ENABLE_STAT4 is defined. (user: dan, tags: trunk)
18:53
[aa02bd3c] Improvements to PRAGMA integrity_check. Verify CHECK constraints. Verify NOT NULL constraints even on table that lack indexes. Verify CHECK and NOT NULL constraints with PRAGMA quick_check. (user: drh, tags: trunk)
18:04
[5af7d72e] Closed-Leaf: Cleanup and simplification of the output row count limit control of PRAGMA integrity_check. (user: drh, tags: integrity-check-improvements)
15:11
[5264844b] Fix integrity_check so that it verifies NOT NULL constraints even for tables that have no indexes. Enhance quick_check so that it verifies NOT NULL and CHECK constraints. (user: drh, tags: integrity-check-improvements)
14:15
[549bae08] Enhance "PRAGMA integrity_check" so that it verifies CHECK constraints. (user: drh, tags: integrity-check-improvements)
2017-02-21
21:24
[80adc0cb] In sqlite3VdbeHalt(), return as soon as possible if Vdbe.magic!=VDBE_MAGIC_RUN. This makes sqlite3_reset() slightly faster in some cases. (user: dan, tags: trunk)
17:52
[e400909f] Fix an FTS5 problem that could cause a crash when certain queries were interrupted using sqlite3_interrupt(). (user: dan, tags: trunk)
15:27
[3c3228ed] Very small enhancement to dispatch speed for SQL functions. (user: drh, tags: trunk)
14:04
[7a62fc6a] Leaf: The VDBE cycle counts for the sqlite3_progress_handler() callback are now cumulative. Leftovers from the previous statement are applied to the next statement. (user: drh, tags: cumulative-progress-count)
13:29
[9626b41e] Leaf: Proof of concept for a "PRAGMA vdbe_cycle_limit=N" command. When N>0, invoke sqlite3_interrupt() whenever any byte code program uses more than N virtual machine cycles. (user: drh, tags: vdbe_cycle_limit)
2017-02-20
23:32
[1589db01] Correct a harmless typo in the previous check-in. (user: mistachkin, tags: trunk)
19:13
[96b6a98e] Avoid unsigned integer overflows for SQLITE_WIN32_HEAP_INIT_SIZE when the Win32 heap subsystem is used with very large values of SQLITE_DEFAULT_CACHE_SIZE and/or SQLITE_DEFAULT_PAGE_SIZE. (user: mistachkin, tags: trunk)
14:30
[0d8a868a] Small grammar simplification. (user: drh, tags: trunk)
13:11
[ff213f2e] Merge fixes from trunk. (user: drh, tags: auto-analyze)
2017-02-18
22:52
[e842ad39] Updated comments. No code changes. (user: drh, tags: auto-analyze)
20:05
[c1adf959] Leaf: Add an optimization to OP_Column to speed up sequential OP_Column instructions that read earlier fields from the same cursor. Attempt to reorder OP_Column opcodes so as to take advantage of this. (user: dan, tags: sort-column-opcodes)
15:58
[d386015f] Add the OP_SqlExec opcode and use it to implement "PRAGMA analyze_as_needed", invoking ANALYZE subcommands as necessary. This simplifies the implementation. (user: drh, tags: auto-analyze)
13:47
[49181427] Add the SQLITE_BUG_COMPATIBLE_20160819 compile-time option to omit the error message when an unrecognized argument is provided to the VACUUM command. (user: drh, tags: trunk)
02:42
[4229caec] Fix errors in the table resize detection. (user: drh, tags: auto-analyze)
02:19
[882599a4] In the analyze_as_needed pragma, avoid running unnecessary OP_LoadAnalysis and OP_Expire opcodes. Make the analyze_as_needed pragma responsive to the schema name. (user: drh, tags: auto-analyze)
2017-02-17
23:52
[8cc9d74c] Fix the #endif location for an #ifndef SQLITE_UNTESTABLE macro in the command-line shell. (user: drh, tags: trunk)
21:23
[38298ef9] Leaf: Increase the estimated cost of sorting when sorting wide results sets, to account for the extra storage space and I/O required for the external sort. (user: drh, tags: apple-increased-sorting-cost)
19:24
[bfbdd074] The analyze_as_needed pragma now responds to table size growth and will automatically rerun the analysis after each 10x size increase. (user: drh, tags: auto-analyze)
16:26
[e93db237] Add the "PRAGMA analyze_as_needed" command. (user: drh, tags: auto-analyze)
15:26
[fb2b8ae8] Set the TF_StatsUsed flag on tables when the query planner outcome is affected by the sqlite_stat1 data. Also, change the column names of the "PRAGMA stats" command so that they are not keywords. (user: drh, tags: auto-analyze)
13:38
[85026c8e] Enhance the Index and Table objects so that they remember if their stats come from the sqlite_stat1 table. Make the "PRAGMA stats" an SQLITE_DEBUG only pragma. Add the flags column to "PRAGMA stats". These are all preliminary steps toward a "PRAGMA analyze_ifneeded;" feature. (user: drh, tags: auto-analyze)
02:07
[662e8ccf] Leaf: Merge fixes from trunk. (user: drh, tags: increased-sorting-cost)
02:04
[218b2bbb] Fix a test case that was made to fail by the LIKE optimization enhancement in check-in [158290c0ab] but which went unnoticed because test builds were running with ICU enabled and ICU disables the LIKE optimization. (user: drh, tags: trunk)
01:43
[8a03be1d] Enable the ".wheretrace" and ".selecttrace" extensions in the command-line shell when compiled on Windows using DEBUG=3 or higher. Fix a harmless warning in the shell that comes up when compiled this way. (user: drh, tags: trunk)
2017-02-16
21:29
[aa0703e5] Increase the estimated cost of sorting when sorting wide results sets, to account for the extra storage space and I/O required for the external sort. (user: drh, tags: increased-sorting-cost)
20:52
[9fc5cd50] Change the name of WhereInfo.pDistinctSet to pResultSet, since it is now used for more than just DISTINCT processing. (user: drh, tags: trunk)
17:18
[ff5e733c] Change two MallocZero() calls into MallocRaw() to avoid unnecessary memset(). (user: drh, tags: trunk)
16:26
[bb8e2642] Fix a comment on a field of the ExprList object. No changes to code. (user: drh, tags: trunk)
15:57
[7e14044c] Increase Table.tabFlags from 8 to 32 bits. (user: drh, tags: trunk)
15:06
[6bd82b95] Remove two redundant initializations from the virtual table logic. (user: drh, tags: trunk)
14:48
[6affb1c8] Always use the IsVirtual() macro to determine if a Table object is a virtual table. Slightly smaller and faster code. (user: drh, tags: trunk)
14:02
[325ccfa9] Leaf: Merge recent enhancements from trunk. (user: drh, tags: est_count_pragma)
2017-02-15
22:36
[58797e9b] Query planner optimization to detect empty tables in a join early and bail out without doing excess work. (user: drh, tags: trunk)
18:30
[830b9235] Minor enhancement to mutex tracing on Win32. (user: mistachkin, tags: trunk)
17:47
[1d4759c1] Leaf: simple test cases for carray_asc. (user: drh, tags: carray_asc)
16:11
[a2b4f60b] Add the companion "carray_asc" table-valued function to the carray extension. (user: drh, tags: carray_asc)
16:04
[396b9d99] Closed-Leaf: Bummer. Checked this in as a branch off of the wrong branch.... Was: Add the companion "carray_asc" table-valued function to the carray extension. (user: drh, tags: mistake)
15:11
[8d3f485d] Leaf: Remove the CLANG_VERSION macro, since we have learned that version numbers in clang are "marketing" and are inconsistent and unreliable. Builds using clang will still use the GCC_VERSION macro since clang works hard to be gcc compatible. (user: drh, tags: branch-3.17)
15:09
[810d2932] Remove the CLANG_VERSION macro, since we have learned that version numbers in clang are "marketing" and are inconsistent and unreliable. Builds using clang will still use the GCC_VERSION macro since clang works hard to be gcc compatible. (user: drh, tags: trunk)
04:16
[ee1e6896] Further reforms to Tcl_*Alloc() usage. (user: mistachkin, tags: trunk)
01:39
[1d267757] In the blob test code, avoid crashing on low-memory systems by using Tcl_AttemptAlloc(). (user: mistachkin, tags: trunk)
01:02
[4ca2b2f8] Leaf: Make SQLITE_GET_MUTEX_TIME a proper noop on non-Win32/non-POSIX. (user: mistachkin, tags: mutexDbg2)
00:52
[82ef47ea] Another compilation fix for POSIX. (user: mistachkin, tags: mutexDbg2)
00:45
[79057716] Make fine time granularity work on POSIX. (user: mistachkin, tags: mutexDbg2)
00:02
[9964ad24] Compilation fix for POSIX. (user: mistachkin, tags: mutexDbg2)
2017-02-14
23:58
[80481754] Experimental enhancements to mutex debugging. (user: mistachkin, tags: mutexDbg2)
21:47
[ca4f1e49] Clarification of the help text for the command-line shell. (user: drh, tags: trunk)
20:00
[54836270] Enable the SQLITE_ENABLE_NULL_TRIM option for WITHOUT ROWID tables. (user: drh, tags: trunk)
16:30
[e4731fd6] More realistic lengths of string values in speedtest1 with --testset orm. (user: drh, tags: trunk)
15:58
[58b2f911] Fix a testcase number on the ORM testset of speedtest1. (user: drh, tags: trunk)
15:57
[1836adc1] Add the new "--testset orm" to the speedtest1 utility. (user: drh, tags: trunk)
2017-02-13
16:17
[1913a758] Leaf: Merge all changes up through the 3.17.0 release. (user: drh, tags: apple-osx)
16:02
[ada05cfa] Version 3.17.0 (user: drh, tags: release, branch-3.17, version-3.17.0)
13:35
[670f10b2] Change all legacy instances of "#if SQLITE_DEBUG" to "#ifdef SQLITE_DEBUG" for consistency. (user: drh, tags: trunk)
13:26
[f3b65926] Fix typos in using the MSVC_VERSION macro. (user: drh, tags: trunk)
13:20
[c447441c] Avoid a duplication #define in FTS5 (user: drh, tags: trunk)
11:35
[25ebadd0] Fix typos in using the MSVC_VERSION macro. (user: drh, tags: branch-3.17)
2017-02-11
15:02
[b2e49ae3] Ensure that indexed expressions with collating sequences are handled correctly. Fix for ticket [eb703ba7b50c1a5] backported from trunk. (user: drh, tags: branch-3.17)
14:59
[e464b919] Fix indexes on expressions so that they can be actually used with a COLLATE clause. (user: drh, tags: trunk)
13:51
[9689d04b] Ensure that indexed expressions with collating sequences are handled correctly. Proposed fix for ticket [eb703ba7b50c1a5]. (user: drh, tags: trunk)
2017-02-10
21:40
[7520c238] Bump the version number up to 3.18.0. (user: drh, tags: trunk)
21:37
[158290c0] Enhance the LIKE optimization so that it works for arbitrary expressions on the LHS as long as the pattern on the RHS does not begin with a digit or a minus sign. (user: drh, tags: trunk)
19:38
[064445b1] Add the "," flag to printf(). (user: drh, tags: trunk)
17:38
[ad867e87] Version 3.17.0 release candidate (user: drh, tags: branch-3.17)
2017-02-09
17:12
[798fb9d7] Cleanup the usage of the SQLITE_DISABLE_INTRINSIC compile-time option. Remove the SQLITE_RUNTIME_BYTEORDER compile-time option. Use -DSQLITE_BYTEORDER=0 instead. Fix a bug in R-Tree that occurs when compiling on a known little-endian machine without the use of intrinsic byteswapping functions. (user: drh, tags: trunk)
2017-02-08
19:12
[1afec575] Avoid preparing a SELECT statement each time an UPDATE or DELETE by docid is executed against an fts3 table. (user: dan, tags: trunk)
19:10
[9962c10a] Leaf: Avoid preparing a SELECT statement each time an UPDATE or DELETE by docid is executed against an fts3 table. (user: dan, tags: fts3-seekstmt-cache)
18:13
[c09dd5c0] Typo fixes in comment. No changes to code. (user: mistachkin, tags: trunk)
16:55
[92dbd875] Merge the 3.17.0beta changes from trunk. (user: drh, tags: apple-osx)
16:01
[77b470b0] Always invoke the xRoundup() method of the memory allocator before calling xMalloc(). (user: drh, tags: trunk)
12:18
[c46e06fa] Round up the size of all memory allocations to a multiple of 8 bytes when using the system memory allocator. (user: drh, tags: trunk)
2017-02-07
21:44
[c8bfd99b] When generating the hash on the sqlite_master table in dbselftest, use an ORDER BY clause, since the sqlite_master table is reordered by VACUUM. (user: drh, tags: trunk)
21:09
[fc1dfe87] MSVC makefile enhancments for several command line tools and the session extensions. (user: mistachkin, tags: trunk)
21:00
[61242267] Fix harmless compiler warnings in dbfuzz. (user: drh, tags: trunk)
20:57
[db6b3993] Fix harmless compiler warnings in kvtest.c (user: drh, tags: trunk)
20:51
[e68829c9] The dbselftest utility now generates hashes in the selftest table with --init. It also accepts multiple database files on the command-line. (user: drh, tags: trunk)
19:36
[cb1e83f9] Omit fts5fault1.test from the inmemory_journal permutation. (user: dan, tags: trunk)
19:23
[be82d5ae] Update a test parameter in malloc5.test to account for the increase in default lookaside buffer size. (user: dan, tags: trunk)
17:36
[1fcac836] Add the initial version of the "dbselftest" utility program. (user: drh, tags: trunk)
16:15
[722e57fe] Update an error message in corruptC.test. (user: dan, tags: trunk)
14:45
[bb7f445b] Fix a build problem affecting non-amalgamation rtree builds. (user: dan, tags: trunk)
14:22
[e11cc523] Fix a test case to account for the fact that sqlite3_blob_reopen() now returns SQLITE_IOERR_NOMEM instead of SQLITE_NOMEM if an OOM occurs in the VFS layer. (user: dan, tags: trunk)
13:51
[a136609c] Fix SQLITE_BYTEORDER #defines in R-Tree when compiled separately from the amalgamation. (user: drh, tags: trunk)
12:58
[07fe6228] Make the cellMargin() routine of R-Tree slightly smaller and faster while also fixing a harmless compiler warning. (user: drh, tags: trunk)
03:44
[0611770d] Back out [ec8ff892ac] which is causing missed OOM errors on some tests. (user: drh, tags: trunk)
00:55
[f77ee9e9] Fix a minor typo in a comment in R-Tree. No changes to code. (user: drh, tags: trunk)
2017-02-06
16:52
[e5aea894] Remove a small amount of unnecessary code from R-Tree. (user: drh, tags: trunk)
15:27
[c54173b6] Add the "max-limits" utility program to the tools/ subdirectory. (user: drh, tags: trunk)
07:37
[6b0276f9] Fix a bug in kvtest causing "init --variance 0" runs to generate single byte blob values only. (user: dan, tags: trunk)
01:19
[853a58a7] Remove incorrect testcase() macros from R-Tree. (user: drh, tags: trunk)
2017-02-04
20:15
[ec8ff892] Simplification to the error handling to extension loading in sqlite3_open(). (user: drh, tags: trunk)
17:33
[b20ff81f] Allow sqlite3session_apply() to apply changesets to tables that have been extended using ALTER TABLE ADD COLUMN. (user: dan, tags: trunk)
15:29
[6c3f0902] Merge recent trunk enhancements. (user: drh, tags: apple-osx)
14:30
[61bd2a88] Leaf: Merge the latest trunk changes, especially the RTREE enhancement to use sqlite3_blob objects. (user: drh, tags: sqlite3_blob_reset)
14:24
[97ccf3e4] In RTREE, use an sqlite3_blob object rather than an sqlite3_stmt object for reading content out of the %_node shadow table. (user: drh, tags: trunk)
13:12
[95ee745f] Closed-Leaf: Close sqlite3_blob objects on xSync rather than waiting until xCommit. (user: drh, tags: rtree-blob-agressive-release)
2017-02-03
20:54
[5706d470] Improved performance and stack usage when processing VALUES clauses with a very large number of rows. (user: drh, tags: trunk)
19:16
[f5306ad6] Closed-Leaf: Avoid a performance problem when very large "VALUES(..), (..), (..)" terms are used in queries. (user: dan, tags: recursive-selectdup)
15:16
[83a099f1] Improved tests for the carray() table-valued function. (user: drh, tags: trunk)
14:44
[a7674ead] Modify the sqlite3SelectDup() routine to avoid recursing on Select.pPrior. (user: dan, tags: recursive-selectdup)
00:07
[e9c94a1f] Closed-Leaf: Merge in the sqlite3_blob_reset() interface. (user: drh, tags: rtree-sqlite3_blob)
2017-02-02
23:57
[53b77838] Add the sqlite3_blob_reset() interface. Enhance the behavior of sqlite3_blob objects so that they can go active again after encountering an error by rerunning sqlite3_blob_reopen(). More work needed on the documentation. (user: drh, tags: sqlite3_blob_reset)
20:32
[8e03a8e9] Ensure that all cursors have their positions saved prior to rolling back a savepoint. (user: drh, tags: trunk)
19:24
[5a0da77c] Fix issues in the sha1 extension seen with MSVC. (user: mistachkin, tags: trunk)
16:30
[e51dc0ec] Remove the unused pReadNode prepared statement from each RTREE object. (user: drh, tags: rtree-sqlite3_blob)
16:08
[a1c74e09] Fix a potential uninitialized (though harmless) variable in RTREE. (user: drh, tags: rtree-sqlite3_blob)
15:35
[88333441] The sqlite3_blob_close() interface can cause recursive invocations of nodeBlobReset() in RTREE. Make sure that does not cause problems. (user: drh, tags: rtree-sqlite3_blob)
14:40
[9bb4eafe] Change RTREE so that the sqlite3_blob object is closed whenever the cursor count drops to zero and there is not a pending write transaction. (user: drh, tags: rtree-sqlite3_blob)
02:28
[fc4917d7] Use the sqlite3_blob interface for reading values from the %_node shadow table in RTREE. This is a work in progress. There are still some minor problems. (user: drh, tags: rtree-sqlite3_blob)
00:46
[01d97e5b] Closed-Leaf: This is an experimental patch that ensures that all cursors have their position saved prior to starting a ROLLBACK TO. (user: drh, tags: savepoint-rollback)
2017-02-01
23:06
[0c66cf0f] Fix harmless compiler warnings seen with MSVC. (user: mistachkin, tags: trunk)
23:03
[aaae74d0] Backout the change in [02f6293f27] as it causes MSVC to complain. (user: mistachkin, tags: trunk)
22:59
[54d28546] Fix C99-style variable declaration issue seen with older versions of MSVC. (user: mistachkin, tags: trunk)
22:43
[997f765b] Closed-Leaf: Fix harmless compiler warnings seen with MSVC. (user: mistachkin, tags: msvcWarn)
22:32
[6a378c29] Add an option to the MSVC makefile to enable treating warnings as errors. (user: mistachkin, tags: trunk)
17:08
[4854ea9c] Unwind the RTREE dimension loop inside of rtreeCallbackConstraint(). (user: drh, tags: trunk)
16:41
[3c4c0126] Completely unroll the dimension loop inside of cellArea() in RTREE. (user: drh, tags: trunk)
15:49
[f1f3c8cc] Precompute the nDim2 value in the Rtree object and use that to make loops over coordinates faster. (user: drh, tags: trunk)
15:24
[82fcd54a] Use compiler intrinsic functions (when available) for byteswapping in RTREE. (user: drh, tags: trunk)
15:19
[510933cb] Fix the build by making the OPFLAG_ISNOOP macro available unconditionally. (user: drh, tags: trunk)
14:19
[7f857020] Update the documentation comment in sqlite.h.in for sqlite3_preupdate_hook(). (user: dan, tags: trunk)
14:10
[964bdc27] Changes so that the pre-update hook and the sessions module work with WITHOUT ROWID tables. (user: dan, tags: trunk)
02:25
[c5395e74] More RTREE performance optimizations related to decoding values. (user: drh, tags: trunk)
01:34
[9663eea2] Improved comments on the statGet() implementation in ANALYZE. No changes to code. (user: drh, tags: trunk)
2017-01-31
21:22
[0bf7b518] R-TREE optimization: unwrap the coordinate decode loop in rtreeCallbackConstraint(). (user: drh, tags: trunk)
19:10
[85dddf2b] Very small performance improvements and size reductions in sqlite3VdbeExec() and blobSeekToRow(). (user: drh, tags: trunk)
19:02
[495ea824] Closed-Leaf: Simplifications to blobSeekToRow(). (user: drh, tags: micro-optimizations)
17:31
[25f1275f] Leaf: Add a speed-test program for the sessions module. (user: dan, tags: preupdate-without-rowid)
16:49
[91eb6b62] Remove a C99-style comment. Fixes to the kvtest-speed.sh script. (user: drh, tags: micro-optimizations)
16:43
[2361b03b] Remove another unnecessary local variable initialization from sqlite3VdbeExec() (user: drh, tags: micro-optimizations)
16:34
[02f6293f] Remove an unnecessary initialization of the pOp variable in sqlite3VdbeExec(). (user: drh, tags: micro-optimizations)
15:29
[b63deed6] Add the "stat" command to kvtest.c. Also add the --variance option to the "init" command. Add the tool/kvtest-speed.sh script used for doing performance testing on key/value access patterns. (user: drh, tags: trunk)
15:27
[bd22bf9c] Fix a typo in a comment. (user: drh, tags: trunk)
14:08
[4a592abb] Merge latest trunk with this branch. (user: dan, tags: preupdate-without-rowid)
12:41
[eacfdcf2] Further minor enhancement and size reduction in sqlite3ExprAssignVarNumber(). (user: drh, tags: trunk)
03:52
[5987ca1f] Performance optimization in sqlite3ExprAssignVarNumber(). (user: drh, tags: trunk)
2017-01-30
19:44
[856f8604] Experimental change to invoke the preupdate hook when WITHOUT ROWID tables are written. (user: dan, tags: preupdate-without-rowid)
11:38
[e93d2c49] Fix building with SQLITE_OMIT_FOREIGN_KEY defined. (user: dan, tags: trunk)
2017-01-28
20:46
[4fe879d4] In the amalgamation, allocate the parser engine object from stack rather than from heap, for improved performance. This only happens in the amalgamation, since otherwise the sqlite3RunParser() routine does not know the object size. (user: drh, tags: trunk)
19:53
[2a2e7d86] Fix a couple comment typos. No changes to code. (user: mistachkin, tags: trunk)
19:45
[dc555b10] Avoid redundant table b-tree cursor seeks in UPDATE statements that use the two-pass strategy. (user: dan, tags: trunk)
15:26
[426b440a] Updates to the sqlite3_blob documentation. No changes to code. (user: drh, tags: trunk)
13:40
[aa1ab371] In the speed-check.sh script, automatically invoke "fossil test-diff --tk" on the cachegrind output against trunk, if not generating a trunk run. (user: drh, tags: trunk)
06:50
[7c029655] Fix a typo in the docs for sqlite3_update_hook(). (user: dan, tags: trunk)
2017-01-27
19:27
[24e77c1c] Add the sha1.c loadable extension that implements the sha1() and sha1_query() SQL functions. (user: drh, tags: trunk)
17:02
[fbb6bf1b] Fix a problem causing the pre-update hook to be invoked by DROP TABLE statements. (user: dan, tags: trunk)
16:39
[0e14fe1b] Merge all recent trunk enhancements into the apple-osx branch. (user: drh, tags: apple-osx)
16:24
[fe86ff54] Merge all recent enhancements from trunk. (user: drh, tags: est_count_pragma)
13:14
[d9752c8f] Alternative ICU fix (compare to check-in [50e60cb4]) that avoids casting integers to pointers. (user: drh, tags: trunk)
01:52
[58f02e6e] In the command-line shell, enhance the ".mode" command so that it restores the default column and row separators for modes "line", "list", "column", and "tcl". (user: drh, tags: trunk)
01:25
[c012619b] Another micro-optimization in accessPayload(). Slightly smaller and faster. (user: drh, tags: trunk)
01:13
[ebb1fd98] Performance optimization in accessPayload(). (user: drh, tags: trunk)
00:31
[68e7a8c6] Simplify the accessPayload() routine so that it always populates the overflow page cache. In the one case where populating the page cache can lead to problems, simply invalidate the cache as soon as accessPayload() returns. This simplification reduces code size and helps accessPayload() to run a little faster. This backs out the eOp==2 mode of accessPayload() added by check-in [da59198505]. (user: drh, tags: trunk)
2017-01-26
21:30
[293bf3ed] Remove an unreachable branch in the error handling logic for sqlite3BtreePayloadChecked(). (user: drh, tags: trunk)
18:00
[b4a98f65] Improvement to the OP_Permutation opcode to prevent it from using CPU cycles for initialization in prepared statements that do not use that opcode. (user: drh, tags: trunk)
17:26
[b4803184] Remove the obsolete lastRowid cache from the sqlite3VdbeExec() for a size reduction and performance improvement. (user: drh, tags: trunk)
17:11
[1e96e5ec] Performance optimization in sqlite3VdbeCloseStatement(). (user: drh, tags: trunk)
16:54
[7459f4b7] Performance optimization to sqlite3_blob_read(). (user: drh, tags: trunk)
16:27
[3e96d6ef] Minor simplification and performance optimization for Direct Overflow Read. (user: drh, tags: trunk)
02:26
[9879be18] Make SQLITE_DIRECT_OVERFLOW_READ work for in WAL mode as long as the page being read is not in the the -wal file. (user: drh, tags: trunk)
01:54
[62a4851c] Enhancements to the kvtest utility program. Add the --jmode option. Improved output formatting. (user: drh, tags: trunk)
00:58
[50e60cb4] Modify the ICU extension to use a static initializer, as VC++ complains about a dynamic initialization. Maybe the dynamic structure initialization is a GCC extension. This fixes a problem identified on the SQLite mailing list by Ziemowit Laski. (user: drh, tags: trunk)
2017-01-25
20:55
[4801bd59] Trim NULL values off the end of records when the SQLITE_ENABLE_NULL_TRIM compile-time option is used. Increase the size of the P5 operand to 16 bits. Fix a problem with short records in the sessions extension. (user: drh, tags: trunk)
18:53
[c7651d21] Closed-Leaf: Fix another pre-update hook issue, this time in sqlite3preupdate_old(). (user: dan, tags: trim-nulls)
18:12
[f66614dc] Fix a test script problem in exclusive2.test causing it to fail on this branch. (user: dan, tags: trim-nulls)
17:44
[6fc4fbfa] Fix a problem with the pre-update hook on this branch. (user: dan, tags: trim-nulls)
14:58
[118ded40] Experimental enhancement to automatically trim NULL values from the end of records, for a reduced disk footprint. This change also involves increasing the P5 operand from 8 to 16 bits. (user: drh, tags: trim-nulls)
14:38
[8cd1a445] Ensure that sqlite3_blob_reopen() correctly handles short rows. Fix for ticket [e6e962d6b0f06f46e]. (user: drh, tags: trunk)
13:54
[0803390c] Fix SQLITEINT_H macro usage in two extensions. (user: drh, tags: trunk)
04:41
[57d8dad3] Closed-Leaf: Ensure that sqlite3_blob_reopen() correctly handles short rows. Proposed fix for ticket [e6e962d6b0f06f46e]. Further testing needed. (user: drh, tags: blob_reopen-fix)
2017-01-23
21:12
[64131724] Leaf: Experimental changes to permit a VFS to directly override the initial page size. (user: mistachkin, tags: pagePerSector)
19:11
[175bda87] Document the --mmap option in the --help screen for kvtest. Enhance kvtest so that numeric arguments can have suffixes like "K" or "M". Add kvtest to the unix makefiles. (user: drh, tags: trunk)
18:40
[4948f7e6] Add the --mmap option to the kvtest utility program. (user: drh, tags: trunk)
16:56
[ee793d30] Optimization: Try to avoid unnecessary btree searching when repositioning a cursor to the next row. (user: drh, tags: trunk)
15:58
[7a4f512d] Add the missing SQLITE_API symbol to test_delete.c (it is not added automatically as this file is not part of the amalgamation). (user: dan, tags: trunk)
07:06
[03c60134] Fix a problem preventing FTS5 from correctly passing the FTS5_TOKENIZE_PREFIX flag to custom tokenizer implementations. (user: dan, tags: trunk)
2017-01-22
16:34
[06b8001a] Fix an uninitialized variable in the command-line shell. (user: drh, tags: trunk)
02:04
[772dcb08] Fixes to documentation comments in the public header file. (user: mistachkin, tags: trunk)
00:11
[ed62c5a6] Fix an initialized variable in kvtest. (user: drh, tags: trunk)
2017-01-21
21:47
[2c4ecb85] Closed-Leaf: A better implementation of the moveto-neighbor optimization that checks for nearby rows on adjacent pages. (user: drh, tags: btree-moveto-neighbor)
16:54
[8e5cfb20] B-tree optimization: When seeking on a rowid table that has already been positioned, check to see if the new row happens to be the next row on the same leaf page. That is a reasonably common case, and if it is true it avoids a full binary search. (user: drh, tags: btree-moveto-neighbor)
16:27
[347df3c1] Change sqlite3_blob_reopen() to call sqlite3VdbeExec() directly rather than going through sqlite3_step(). Performance enhancement. (user: drh, tags: trunk)
16:21
[74ad80eb] Leaf: Fix problems in the previous commit. (user: dan, tags: trigger-trace)
15:58
[ffda1d1e] Add extra (somewhat inefficient) trace callbacks for triggers if SQLITE_TRACE_TRIGGER is defined. (user: dan, tags: trigger-trace)
15:55
[0d1ad13a] In the kvtest.c test utility, reuse the buffer into which blobs are read, rather than reallocating it for each row. This is a closer match to how other test programs work, and thus provides a better comparison. (user: drh, tags: trunk)
15:30
[4cda3b30] Leaf: A proof-of-concept for running sqlite3_blob_open() without using OP_Column when operating on a pure key/value table. This demo does not include any corrupt database checking. Uses about 3% fewer CPU cycles on a key/value performance test. (user: drh, tags: kv-access-opt-demo)
14:11
[9d197a53] Remove an unnecessary sqlite3_bind_int64() call from sqlite3_blob_open(). Also other minor refactoring of the sqlite3_blob implementation. (user: drh, tags: trunk)
2017-01-20
20:43
[264e5c10] Minor performance optimization and size reduction to the accessPayload() routine in btree.c. (user: drh, tags: trunk)
16:47
[8971d98f] Fix a typo in the help message for kvtest. (user: dan, tags: trunk)
16:46
[90291327] Add option "--stats" to test program kvtest. Specifying --stats causes kvtest to output information similar to the shell tool option of the same name. (user: dan, tags: trunk)
16:09
[87b640c8] Get the "--testset rtree" option working on speedtest1. Add the --rtree, --lookaside, and --clang options to the speed-check.sh script. (user: drh, tags: trunk)
00:40
[52a61967] Minor performance optimizations to sqlite3_blob_open() and sqlite3_blob_reopen(). (user: drh, tags: trunk)
2017-01-19
21:20
[9ed38521] If compiled with SQLITE_INLINE_MEMCPY, all memcpy() calls are replaced with in-line code. With that change, cachegrind shows which memcpy() calls are taking the most time. This is a performance-measurement hack only and is not for production use. (user: drh, tags: trunk)
18:20
[ffd559af] In the 'vtshim' extension, avoid accessing freed memory when handling errors from xCreate/xConnect. (user: mistachkin, tags: trunk)
12:07
[088c5903] Leaf: Add a prototype of the sqlite3_kv_reset() interface. (user: drh, tags: sqlite3_kv)
11:52
[50ca94b9] Leaf: Add test cases for the instrumentation on this branch. Fix some OOM handling issues in the same. (user: dan, tags: transaction-pages)
2017-01-18
23:12
[47beb55c] Leaf: For Windows 8.x and higher, require the SQLITE_WIN32_WIN8_SECTOR_SIZE compile-time option in order to enable sector size determination. (user: mistachkin, tags: winSectorSize)
22:47
[a84a08d0] In the 'windirent' test module, use a macro for the hidden/system attribute checking. (user: mistachkin, tags: trunk)
22:19
[b92cc6e5] Remove superfluous option to Tcl 'lsort' in the vtabH test file. (user: mistachkin, tags: trunk)
22:16
[d3c91c1f] Make the vtabH-3.1 test more portable and robust. (user: mistachkin, tags: trunk)
22:16
[26dd42b4] Fix handling of initial hidden and/or system files in the opendir() implementation for Windows. No changes to non-test code. (user: mistachkin, tags: trunk)
20:14
[2a8f6c89] Add temporary code to record and report on the set of b-tree pages read and written by the current transaction. This is likely still buggy. (user: dan, tags: transaction-pages)
19:54
[02d60e19] Begin fleshing out the key/value accessor implementation. This is an incremental check-in. (user: drh, tags: sqlite3_kv)
19:36
[2dc16d34] Improve and update comments. (user: mistachkin, tags: winSectorSize)
19:06
[8d429a59] Minimize the requested permissions when opening the volume on Windows 7 and Vista. (user: mistachkin, tags: winSectorSize)
17:20
[a435841e] Baseline interface definition for the experimental sqlite3_kv accessor object. (user: drh, tags: sqlite3_kv)
01:11
[cb9d1ab3] Add runtime version checking for winSectorSize. (user: mistachkin, tags: winSectorSize)
00:27
[de699ead] When determining sector sizes on Windows 7 and Vista, make sure the target file is on the same volume as corresponding root directory. (user: mistachkin, tags: winSectorSize)
2017-01-17
10:41
[681d96eb] Fix a problem that could cause a spurious SQLITE_NOMEM error when attempting to resume an RBU operation if the previous client failed right after completing the incremental checkpoint. Also a "cannot vacuum wal db" error that could occur when resuming an RBU vacuum if an error (OOM or IO error) occurs during the incremental checkpoint. (user: dan, tags: trunk)
00:10
[7fd560c6] Disable intrinsic functions for Windows using Clang, due to reports of linkage errors. This causes a 0.6% performance reduction. We will want to revisit this change in the future. (user: drh, tags: trunk)
2017-01-16
18:10
[9b64af7b] Back out check-in [0b3174e0b1364c] and replace it with a better fix for \ticket [91e2e8ba6ff2e2] - a fix that does not cause the problem identified by ticket [7ffd1ca1d2ad4ec]. Add new test cases for both tickets. (user: drh, tags: trunk)
16:43
[06136652] Closed-Leaf: Back out check-in [0b3174e0b1364c] and replace it with a better fix for ticket [91e2e8ba6ff2e2] - a fix that does not cause the problem identified by ticket [7ffd1ca1d2ad4ec]. (user: drh, tags: automatic-index-affinity)
16:01
[9d0dfe0b] Add test cases for tickets [91e2e8ba6ff2e2] and [7ffd1ca1d2ad4ec]. (user: drh, tags: automatic-index-affinity)
11:54
[e42ed9b4] Leaf: An example showing how to improve performance of sqlite3VdbeSerialPut() using the GCC intrinsic function __builtin_bswap64(). (user: drh, tags: builtin-bswap64)
2017-01-13
22:21
[8b42b8e3] Merge updates from trunk. (user: mistachkin, tags: winSectorSize)
18:24
[97914266] Fix a problem preventing resumption of RBU operations after recovering from a process or system failure that occurs during the incremental-checkpoint phase. (user: dan, tags: trunk)
12:53
[8c85b8fd] Fix the build for SQLITE_ENABLE_MEMORY_MANAGEMENT. (user: drh, tags: trunk)
2017-01-12
23:37
[6e388423] Attempt to detect physical sector sizes on Windows Vista and higher. (user: mistachkin, tags: winSectorSize)
19:10
[9acc7238] Remove a branch that is probably unreachable, and which adds no value. (user: drh, tags: trunk)
16:21
[385db266] Fix harmless compiler warnings in the UPDATE code generator. (user: drh, tags: trunk)
16:14
[bddf3956] Remove an unnecessary corruption test from the btree balancer. If corruption is present, it will be found harmlessly by later tests. (user: drh, tags: trunk)
15:19
[bd8b977a] Leaf: Test case macros to show that the previous check-in is well tested. (user: drh, tags: extra-testcase-macros)
15:11
[8097712c] Improved detection of cells that extend into the reserved space at the end of the page while adjusting overflow page pointers during autovacuum. (user: drh, tags: trunk)
11:52
[163cc1b2] Remove invalid test case from cursorhints2.test (user: drh, tags: trunk)
11:50
[c07aef6f] Make sure Tcl_AppendResult() always has a NULL-pointer argument at the end. (user: drh, tags: trunk)
2017-01-11
21:03
[7ae6104a] Changes to allow some multi-row UPDATE statements to avoid the two-pass approach. (user: dan, tags: trunk)
20:10
[62257eb5] Closed-Leaf: Fix a problem causing the pre-update hook to be passed an incorrect rowid value in some single-pass multi-row updates. (user: dan, tags: onepass-update)
19:03
[0a2b8e1b] Fix a problem with single-pass multi-row UPDATE statements that invoke REPLACE conflict handling. (user: dan, tags: onepass-update)
16:52
[381fd34b] Attempt to detect physical sector sizes on Windows 8 and higher. (user: mistachkin, tags: winSectorSize)
15:42
[cab86c90] Fix a problem preventing UPDATE statements that use a range-scan on the PK index of a WITHOUT ROWID table from using a one-pass strategy. (user: dan, tags: onepass-update)
14:21
[4f83f680] Leaf: In the STAT4 computations, ensure that the aAvgEq values do not go negative. (user: drh, tags: branch-3.8.9)
14:15
[f58f75b5] In the STAT4 computations, ensure that the aAvgEq values do not go negative. (user: drh, tags: trunk)
2017-01-10
20:04
[46db23cc] Changes to allow some multi-row UPDATE statements to avoid the two-pass approach. (user: dan, tags: onepass-update)
17:37
[e500c15a] Add a test case for ticket [25e335f802dd]. (user: dan, tags: trunk)
17:33
[c92ecff2] Throw an error if the ON clause of a LEFT JOIN references tables to the right of the ON clause. Fix for ticket [25e335f802dd]. (user: drh, tags: trunk)
16:09
[4209b89e] Avoid unnecessary calls to the xRoundup() method of the memory allocator when the soft heap limit is not set. (user: drh, tags: trunk)
15:08
[71c03b59] Fix a potential assertion fault discovered by OSS-Fuzz. (user: drh, tags: trunk)
2017-01-09
20:57
[ff9eab95] Leaf: Merge latest changes from trunk, and also move the perf-counter into the inner loop of sqlite3BtreeMovetoUnpacked(). (user: drh, tags: vdbe-aux-perf)
19:55
[a5fa0965] Remove a redundant assignment statement. (user: drh, tags: trunk)
19:27
[237aa974] Performance optimization and size reduction in the OP_Variable opcode. (user: drh, tags: trunk)
18:22
[d38fd229] Fix typo in a comment. No changes to code. (user: mistachkin, tags: trunk)
18:20
[8a90f691] Closed-Leaf: Try to move OP_Concat operations outside the inner loop. This turns out to make things very slightly slower, at least in speedtest1.c. (user: drh, tags: failed-optimization)
15:44
[6e106acd] Modify the OP_RowData opcode so that when P3!=0 it is allowed to hold an ephemeral copy of the content. This avoids unnecessary memcpy() operations in the xfer-optimization and VACUUM. (user: drh, tags: trunk)
13:43
[a5fe03bc] Add the SQLITE_UINT64_TYPE compile-time option. (user: drh, tags: trunk)
07:00
[50fb1eb3] Leaf: Merge the "changebatch" functionality into this branch. (user: dan, tags: begin-concurrent)
06:53
[c8ca3e0a] Disable the optimization from [8cb8516d] (omit TableLock instructions for non-sharable databases) on this branch. This branch uses the TableLock instructions to ensure that the db schema is not written from within a BEGIN CONCURRENT transaction. (user: dan, tags: begin-concurrent)
06:33
[d0e212d0] Upgrade this branch to 3.16 plus the various fixes that appeared after its release. (user: dan, tags: begin-concurrent)
2017-01-07
14:47
[3178ec4c] Improvements to the iIdxNoSeek optimization of sqlite3GenerateRowDelete() so that it is automatically disabled for BEFORE triggers but works in all other cases. (user: drh, tags: trunk)
14:26
[db2c0960] Critical fix to the previous check-in so that it works when there are BEFORE triggers that move the cursor before the OP_Delete has a chance to be applied. (user: drh, tags: trunk)
03:26
[f0495c51] Avoid an unnecessary btree seek while deleting an index entry due to a conflict on a REPLACE operation. (user: drh, tags: trunk)
00:56
[d577dda0] Avoid duplicate b-tree searches in the duplicate row detector used to implement DISTINCT. (user: drh, tags: trunk)
00:42
[746b1836] This hack illustrates how to use the VDBE_PROFILE mechanism to show which bytecode operators are using resources other than time. In this case, the number of loops through the binary search code in sqlite3BtreeMovetoUnpacked() is measured, for the purpose of helping to identify unnecessary btree searches. (user: drh, tags: vdbe-aux-perf)
2017-01-06
17:01
[c59c8880] Merge the changes for version 3.16.2. (user: drh, tags: apple-osx)
16:32
[a65a6289] Leaf: Version 3.16.2 (user: drh, tags: release, branch-3.16, version-3.16.2)
13:53
[01b4cb26] Clarify the documentation on sqlite3_column_count(). (user: dan, tags: branch-3.16)
13:52
[4a97ba4e] Ensure that "PRAGMA case_sensitive_like" and "PRAGMA shrink_memory" set the number of output columns to 0 (as they are statements that return no data). (user: dan, tags: branch-3.16)
13:49
[6696cd18] Ensure that "PRAGMA case_sensitive_like" and "PRAGMA shrink_memory" set the number of output columns to 0 (as they are statements that return no data). (user: dan, tags: trunk)
11:56
[b0726941] Improve handling of corrupt databases in fts5. (user: dan, tags: branch-3.16)
11:55
[609ac1c7] Improve handling of corrupt data in fts5. (user: dan, tags: trunk)
01:09
[9ea0badd] Clarify the documentation on sqlite3_column_count(). (user: drh, tags: trunk)
00:02
[28d87789] Remove several non-portable tests for the deprecated temp_store_directory PRAGMA. (user: mistachkin, tags: trunk)
2017-01-05
20:01
[e745da6b] Ensure that sqlite3_column_count() returns 0 for the "set" mode of "get/set" PRAGMA statements that do not return a value in that case (e.g. page_size, cache_size, auto_vacuum). (user: dan, tags: branch-3.16)
20:00
[2f57939a] Ensure that sqlite3_column_count() returns 0 for the "set" mode of "get/set" PRAGMA statements that do not return a value in that case (e.g. page_size, cache_size, auto_vacuum). (user: dan, tags: trunk)
19:32
[5c05d8ec] Closed-Leaf: Ensure that sqlite3_column_count() returns 0 for the "set" mode of "get/set" PRAGMA statements that do not return a value in that case (e.g. page_size, cache_size, auto_vacuum). (user: dan, tags: pragma-columncount-fix)
17:27
[285c5a54] Version 3.16.2 second release candidate (user: drh, tags: branch-3.16)
17:25
[ec1e85a6] Fix handling the case where a sub-query in a FROM clause is itself a UNION ALL, and one side of that UNION ALL is a query on a view that includes an ORDER BY. Fix for ticket [190c2507]. (user: dan, tags: branch-3.16)
17:23
[590ca83b] Fix handling the case where a sub-query in a FROM clause is itself a UNION ALL, and one side of that UNION ALL is a query on a view that includes an ORDER BY. Fix for ticket [190c2507]. (user: dan, tags: trunk)
15:50
[9d8ffe13] Version 3.16.2 release candidate (user: drh, tags: branch-3.16)
14:05
[9592cbcf] Increase the version number to 3.16.2 (user: drh, tags: branch-3.16)
13:56
[8a788594] Fix problems in trigger and foreign key handling when doing REPLACE on a WITHOUT ROWID table that has no secondary indexes. Fix for ticket [30027b613b4]. (user: drh, tags: branch-3.16)
13:52
[ca185808] Ensure that the sqlite3_value_text() interface returns a buffer that is long enough to hold the complete string plus the zero terminator even when the input is a zeroblob. Fix for a problem detected by OSS-Fuzz. (user: drh, tags: branch-3.16)
13:50
[571f166e] Fix problems in trigger and foreign key handling when doing REPLACE on a WITHOUT ROWID table that has no secondary indexes. Fix for ticket [30027b613b4]. (user: drh, tags: trunk)
07:58
[2dc7eeb5] Ensure that the sqlite3_value_text() interface returns a buffer that is long enough to hold the complete string plus the zero terminator even when the input is a zeroblob. Fix for a problem detected by OSS-Fuzz. (user: drh, tags: trunk)
06:57
[c1220b1a] Closed-Leaf: Fix some problems with foreign key processing within REPLACE ops on WITHOUT ROWID tables with no triggers or auxiliary indexes. (user: dan, tags: replace-fix)
2017-01-04
22:02
[c6506b82] Improved the comment on the block of code the provides the performance optimization originally added by check-in [925840cfdb]. The original check-in omitted condition 4, which was the cause of bug [30027b613b]. (user: drh, tags: replace-fix)
20:13
[71ccb1f4] Possible fix for [30027b61]. There may still be problems surrounding foreign key processing. (user: dan, tags: replace-fix)
14:53
[8d670973] Adjust filename creation in test_sqllog.c so that it uses leading zeros on counters, so that files appear in order when sorted lexicographically. (user: drh, tags: trunk)
13:09
[82e4001b] Performance enhancements in the printf implementation. (user: drh, tags: trunk)
04:18
[80ad317f] Factor constant functions out of the inner loop since they are more expensive than the extra OP_Copy needed to move the result into place. (user: drh, tags: trunk)
04:10
[2ab997e4] Closed-Leaf: Clean up the implementation of constant function factorization. (user: drh, tags: factor-constant-funcs)
01:07
[62e9270a] Attempt to factor out constant functions from the interior of table scans, since functions can often be expensive to compute. (user: drh, tags: factor-constant-funcs)
00:26
[acdb8f6f] Closed-Leaf: Changes to the printf implementation for better performance. (user: drh, tags: printf-optimization)
2017-01-03
21:57
[d3ac32a6] Use compiler intrinsic functions for signed integer math when overflow detection is needed. (user: drh, tags: trunk)
21:50
[4c2efd42] Closed-Leaf: Back out the use of __sync_fetch_and_sub() as it does not appear to work. (user: drh, tags: gnu-safe-math)
21:03
[ae087123] Fix a typo in a comment. (user: drh, tags: gnu-safe-math)
20:20
[dcbec226] Merge changes from the 3.16.1 release (user: drh, tags: apple-osx)
20:01
[f8ebeec2] Use the CLANG_VERSION macro to control clang-specific features. (user: drh, tags: gnu-safe-math)
18:27
[979f0439] Version 3.16.1 (user: drh, tags: release, branch-3.16, version-3.16.1)
18:05
[f69ce75b] Use the GCC built-in __sync_fetch_and_sub() to make the sqlite3StatusDown() routine atomic, and thereby avoid some mutexing. (user: drh, tags: gnu-safe-math)
17:33
[82cbebb8] Make use of the __buildin_OP_overflow() functions from GCC when doing 64-bit signed integer arithmetic. (user: drh, tags: gnu-safe-math)
16:03
[a60b60d6] Bump the version number up to 3.16.1. (user: drh, tags: branch-3.16)
15:59
[5c892938] Defer size checking on row-value assignments for when the RHS is a SELECT until after the "*" wildcards have been expanded. (user: drh, tags: branch-3.16)
15:57
[bf984e98] Fix the row-values in UPDATE statements within TRIGGER problem identified by ticket [8c9458e7]. (user: drh, tags: branch-3.16)
14:45
[bed0eaa5] Add the experimental affinity() SQL function when SQLITE_DEBUG is defined. (user: drh, tags: trunk)
14:39
[f778f58a] Closed-Leaf: Put the affinity() function implementation inside of #ifdef SQLITE_DEBUG. (user: drh, tags: affinity-sql-func)
14:30
[c27cd8a8] Merge all the latest changes from trunk. (user: drh, tags: affinity-sql-func)
13:45
[36944be6] Defer size checking on row-value assignments for when the RHS is a SELECT until after the "*" wildcards have been expanded. (user: drh, tags: trunk)
11:59
[abc27b60] Fix a typo on a comment. No code changes. (user: drh, tags: trunk)
08:11
[548532fd] Add test cases for the fix in [f12ed3ce]. No problems discovered. (user: dan, tags: trunk)
02:58
[696219b1] Closed-Leaf: Improvements to the way vector assignment size checking is done. Size checks when the RHS is a SELECT are deferred until after "*" wildcards are expanded. (user: drh, tags: vector-size-check)
01:24
[f12ed3ce] Fix the row-values in UPDATE statements within TRIGGER problem identified by ticket [8c9458e7]. (user: drh, tags: trunk)
00:27
[14da99d4] Closed-Leaf: Improved assert()s on the sqlite3ExprListDup() logic for TK_SELECT_COLUMN. (user: drh, tags: rowvalue-update-trigger)
2017-01-02
23:43
[b9b96437] Test cases for the row-value UPDATE TRIGGER fix. (user: drh, tags: rowvalue-update-trigger)
23:18
[2caaaab5] Put an ALWAYS() on an unreachable branch in the sqlite3ExprListDup() routine. (user: drh, tags: rowvalue-update-trigger)
22:36
[61a442ea] Proposed fix for the row-value TRIGGER UPDATE problem described in ticket [8c9458e7]. (user: drh, tags: rowvalue-update-trigger)
19:10
[16415b5a] Increase the version number to 3.17.0 for the next release cycle. (user: drh, tags: trunk)
19:02
[584da48f] Provide the SQLITE_DEFAULT_LOOKASIDE compile-time option and make it's default value be 1200,100 (raised from 512,125 in the latest release). (user: drh, tags: trunk)
18:40
[12d9493c] Change SQLITE_DEFAULT_PCACHE_INITSZ from 100 to 20, which is experimentally determined to be slightly faster. (user: drh, tags: trunk)
18:19
[cfb31582] Avoid unnecessary calls to sqlite3BtreeEnterAll() and sqlite3BtreeLeaveAll() when no btree is using shared-cache. (user: drh, tags: trunk)
12:20
[cb338f36] Add the --all option to the wordcount test program. Fix the speedtest1 test program so that it builds on MSVC and so that the --lookaside 0 0 option works. (user: drh, tags: trunk)
11:57
[04ac0b75] Version 3.16.0 (user: drh, tags: trunk, release, version-3.16.0)
2017-01-01
12:44
[2c4d167c] Detect row-value comparison size mismatches even when the size of one operand is obscured by an unexpanded subquery. (user: drh, tags: trunk)
2016-12-31
21:55
[18baeadf] Closed-Leaf: Add the --help and --all options to the wordcount test utility. (user: drh, tags: wordcount-enhancement)
18:37
[52b99bcb] Closed-Leaf: In speedtest1.c, make the "--lookaside 0 0" option completely disable lookaside. (user: drh, tags: speedtest1)
14:33
[8c28fde0] Minor #include change to speedtest1.c so that it will compile under MSVC. (user: drh, tags: speedtest1)
2016-12-30
17:40
[14d855d2] Fix a crash that could occur following an OOM in the group_concat() function if the second argument is an SQLITE_BLOB value. (user: dan, tags: trunk)
15:16
[a0971e71] Strengthen the defense against OOM in the instr() SQL function. (user: drh, tags: trunk)
14:25
[0bdbe49c] Add a test to ensure that the app-defined pcache xFetch() method is never passed a key of zero. (user: drh, tags: trunk)
14:15
[56ff72ab] Avoid passing NULL pointers to memcmp() or memcpy(), even when the "number-of-bytes" argument is passed 0. (user: dan, tags: trunk)
13:55
[b0810ac1] Closed-Leaf: Clarify the expectations for the behavior of the xFetch method on the sqlite3_pcache_methods object for the case when the key is zero. (user: drh, tags: pcache1-zero-page)
13:40
[5550e815] Improved detection of zero page numbers in the page cache. (user: drh, tags: pcache1-zero-page)
12:10
[2842bc60] Fix a harmless compiler warning in fuzzcheck.c (user: drh, tags: trunk)
12:06
[3e25ba6e] Disable the pagerAcquireMapPage() routine if memory-mapped I/O is disabled. This fixes a harmless compiler warning on OpenBSD. (user: drh, tags: trunk)
00:09
[f57952ba] Encode a 64-bit integer literal in date.c as a constant expression so that it works on older compilers. Also fix a harmless compiler warning in vdbe.c. (user: drh, tags: trunk)
2016-12-29
19:48
[afcdc4a6] Fix harmless compiler warnings in the command-line shell and in Lemon. (user: drh, tags: trunk)
17:25
[a7dca29f] In kvtest.c, use stat() instead of fseek()/ftell() to determine the size of a BLOB to be read directly from disk. This makes the pile-of-files database more competative against SQLite. (user: drh, tags: trunk)
16:58
[8074d59c] Add the kvtest.c test program used to show that it is many times faster to read thumbnail and similar BLOBs out of an SQLite database than it is to read them as separate files from the filesystem. (user: drh, tags: trunk)
16:49
[55d29839] Closed-Leaf: Add more detail to the header command to further explain how to compile and use the kvtest.c utility. (user: drh, tags: kvtest)
16:18
[e2bbeae7] Fix kvtest.c so that it compiles using MSVC. (user: drh, tags: kvtest)
15:26
[b0f58d24] In kvtest.c: do not show the --cache-size setting on fopen() runs. Show progress for the (potentially slow) "export" command. (user: drh, tags: kvtest)
14:44
[f6fcac6a] Improvements to the kvtest.c utility. Added the --cache-size option. Additional reporting of version and settings at the end of "./kvtest run". (user: drh, tags: kvtest)
03:57
[489e0787] Add the kvtest.c test program for measuring key/value read performance under various scenarios. (user: drh, tags: kvtest)
2016-12-27
15:59
[a6af06f1] Do not allow the nockpt.test module to run under the inmemory_journal permutation. (user: drh, tags: trunk)
13:33
[7854bee2] Allow sqlite3_interrupt() to be invoked on a database connection that is in the process of being closed even if SQLITE_ENABLE_API_ARMOR is defined. (user: drh, tags: trunk)
12:45
[4cb0945f] Adjust a corruption test case to accommodate the sqlite3BtreeInsert() optimization of check-in [0b86fbca66]. (user: drh, tags: trunk)
12:35
[a54e619e] Disable new test modules nockpt.test and interrupt2.test for incompatible permutations. Add a CORRUPT_DB term to an assert() in vdbe.c. (user: drh, tags: trunk)
12:08
[2d71cbdf] Avoid a potential (harmless) signed integer overflow in memory usage accounting when calling sqlite3_realloc() to reduce the size of an allocation. (user: drh, tags: trunk)
02:43
[382eea36] Minor changes to make some newer test cases work under more compile-time options. (user: drh, tags: trunk)
2016-12-26
12:25
[edc9db41] During fuzz testing with the fuzzcheck utility program, impose a record length limit of 100MB and a limit on the length of LIKE strings of 50 bytes. (user: drh, tags: trunk)
12:14
[a37c00dc] Enable ossfuzz.c to build even if SQLITE_OMIT_PROGRESS_CALLBACK is defined. (user: drh, tags: trunk)
01:41
[e447b23c] Remove an incorrect ALWAYS() macro from balance_nonroot(), which could result in corrupt databases if it were optimized out. This ALWAYS was added only two weeks ago (check-in [f9f2e23bbd68a]) and has never appeared in an official release. (user: drh, tags: trunk)
00:18
[57e40e1c] Add the built-in affinity() SQL function. (user: drh, tags: affinity-sql-func)
00:15
[8c5187f6] Enhance the fuzztest utility with the --prng-seed option. Always reseed the PRNG prior to each test. (user: drh, tags: trunk)
2016-12-24
21:32
[def29333] Combine the implementations of the ".tables" and ".indexes" commands in the command-line shell. The ".indexes" command now puts the indexes in multiple columns, just like ".tables" and shows all indexes in all attached databases. (user: drh, tags: trunk)
19:37
[2f481b85] The schema name "main" is always an acceptable alias for the primary database even if the primary database is renamed using SQLITE_DBCONFIG_MAINDBNAME. (user: drh, tags: trunk)
18:18
[8558512e] Change the output format of the ".databases" command in the command-line shell so that it shows the schema name, a colon, and the corresponding filename. (user: drh, tags: trunk)
18:04
[c0d5626e] In the command-line shell, improve the formatting to the ".databases" command and on the ".tables" command, only show the schema prefix for databases past the first ("main") database. (user: drh, tags: trunk)
2016-12-23
16:05
[2940661b] Fill in missing opcode documentation entries for OP_SorterNext and OP_SorterSort. (user: drh, tags: trunk)
13:54
[99fddf2e] Use the VList object to capture the mapping between SQL parameter names and variable numbers in a single memory allocation. (user: drh, tags: trunk)
13:52
[aa23d7ea] Closed-Leaf: Add check to prevent a VList from growing after pointers to labels have been taken. (user: drh, tags: VList)
13:30
[9dcd8569] Fix the VList object so that it actually works. (user: drh, tags: VList)
03:59
[68ecafa1] Use the VList object to replace Parse.azVar for tracking the mapping between SQL parameter names and parameter numbers. There is a performance improvement, though there are still a few hiccups in the current code. (user: drh, tags: VList)
2016-12-22
14:53
[fa86db2f] Fix harmless compiler warnings. (user: drh, tags: trunk)
2016-12-21
21:26
[52a12e47] Change the default lookaside configuration from 500 slots of 128 bytes each to 125 slots of 512 bytes each. This uses the same amount of memory (64,000 bytes) but seems to perform much better in test applications. (user: drh, tags: trunk)
19:45
[f7ab01f2] Simplifications to the way UnpackedRecord objects are allocated. Smaller and faster code that also fixes a subtle (currently unreachable) bug. (user: drh, tags: trunk)
2016-12-18
17:42
[165c0446] Change the OP_IfNotZero opcode so that it decrements register P1 by 1 rather than the value in P3, and so that it only decrements if originally positive. This avoids decrementing the smallest 64-bit signed integer. (user: drh, tags: trunk)
2016-12-17
21:07
[50325abe] Refinements to the new dbfuzz test program. (user: drh, tags: trunk)
20:27
[ef6e071a] Enhance fuzzershell.c to read and execute SQL commands in the autoexec table of the database under test. Add the dbfuzz.c test program combining selected features of fuzzershell.c and fuzzcheck.c. (user: drh, tags: trunk)
08:18
[8dedd6ad] Fix a problem in the shell tools readfile() command causing blobs to be truncated at the first embedded 0x00 byte in release builds, or an assert() to fail in a debug build. (user: dan, tags: trunk)
2016-12-16
21:29
[4b1e7804] Merge recent enhancements from trunk, and especially the pragma-as-vtab change. (user: drh, tags: apple-osx)
21:15
[89250777] Merge the pragma-as-vtab enhancement from trunk. (user: drh, tags: est_count_pragma)
21:02
[396ab8f8] Fix a potential memory leak following an OOM error in the pragma processing. (user: drh, tags: est_count_pragma)
18:43
[94689e3b] Add the ".lint fkey-indexes" command to the command-line shell. (user: drh, tags: trunk)
18:41
[1268dc77] Closed-Leaf: Fix minor issues with the ".lint" command implemention in the shell and the shell help text related to ".lint". (user: drh, tags: fkey-missing-indexes)
18:14
[d66ec5cf] Built-in PRAGMA statements without side-effects can be invoked as table-valued functions by prefixing their name with "pragma_". (user: drh, tags: trunk)
17:28
[ee621ade] Change ".fkey_missing_indexes" to ".lint fkey-indexes". (user: dan, tags: fkey-missing-indexes)
16:49
[4b73ee33] Closed-Leaf: Experimental merge of the est_count_pragma and the pragma-as-vtab branches. (user: drh, tags: est-count-pragma-vtab)
16:44
[3ab05987] Update .fkey_missing_indexes to use the built-in pragma vtabs. (user: dan, tags: fkey-missing-indexes)
16:13
[4ba45e72] Merge the pragma-as-vtab change into this branch. (user: dan, tags: fkey-missing-indexes)
15:57
[74a0ca1f] Merge recent trunk enhancements. (user: drh, tags: est_count_pragma)
15:05
[053a149c] Fix a problem causing the planner to generate sub-optimal plans for some queries that use recursive WITH sub-queries with LIMIT clauses. (user: dan, tags: trunk)
04:20
[546821e2] Closed-Leaf: Fix an error in the way the "schema" argument to some pragma virtual tables is handled. (user: drh, tags: pragma-as-vtab)
02:31
[01afc515] Simplifications to facilitate full test coverage. (user: drh, tags: pragma-as-vtab)
02:14
[3f8f4615] Minor bug fixes and enhancements to the pragma eponymous virtual tables. (user: drh, tags: pragma-as-vtab)
01:09
[994a4401] Merge enhancements from trunk, and especially the ability to use temp.sqlite_master as an alias for sqlite_temp_master. (user: drh, tags: pragma-as-vtab)
01:00
[8d646905] All temp.sqlite_master to be used as an alias for sqlite_temp_master. (user: drh, tags: trunk)
2016-12-15
21:33
[7126807a] Fix the cost estimation in the BestIndex method of the eponymous pragma virtual table implementation. (user: drh, tags: pragma-as-vtab)
21:11
[2c274a1a] The pragma as eponymous virtual table mechanism now appears to work. (user: drh, tags: pragma-as-vtab)
20:59
[988a61e8] Code to automatically create eponymous virtual tables for read-only pragmas. Compiles, but does not yet work. (user: drh, tags: pragma-as-vtab)
18:59
[4e374912] Do exponential rather than linear expansion of the SrcList.a array when appending new elements, to reduce the number of malloc() calls. (user: drh, tags: trunk)
16:01
[a88ca352] Closed-Leaf: Do more pragma processing from tables rather than in-line code. (user: drh, tags: table-driven-pragma)
06:01
[976c51b4] Add the -groupbyparent option to the ".fkey_missing_indexes" command. (user: dan, tags: fkey-missing-indexes)
2016-12-14
19:28
[7df23aca] Add the experimental ".fkey_missing_indexes" command to the shell tool. To identify indexes that should be created on child keys if FK processing is to be enabled. (user: dan, tags: fkey-missing-indexes)
14:07
[9cae4c2e] Refactor the Table.nRef field as Table.nTabRef for easier grepping. (user: drh, tags: trunk)
13:54
[d08b72c3] Increase the size of the reference count on Table objects to 32 bits. (user: drh, tags: trunk)
11:39
[00a184b6] Fix the configure makefile to align it with the manual makefile. Unsaved changes from the previous check-in. (user: drh, tags: trunk)
11:23
[bb48f7a5] Adjust the unix makefiles so that "make test" runs fuzzcheck prior to even attempting to build the other test programs. (user: drh, tags: trunk)
11:14
[0ea2762f] Three times faster sqlite3SrcListAppend() in the common case by avoiding the call to sqlite3SrcListEnlarge() for the first allocation. (user: drh, tags: trunk)
10:30
[6aa9b265] Fix the optimization that prevents writing freelist pages to the journal. (user: drh, tags: trunk)
2016-12-13
23:22
[c7021960] In the command-line shell, in the output of the ".dump", ".schema", and ".fullschema" commands, convert CREATE TABLE statements that appear to come from shadow tables into CREATE TABLE IF NOT EXISTS statements. (user: drh, tags: trunk)
20:30
[ed2c9f37] Fix harmless compiler warnings. (user: drh, tags: trunk)
18:47
[7f88bb44] Convert sqlite3PagerGet() into a pointer-dispatched virtual method. This makes it about 25% faster. (user: drh, tags: trunk)
18:34
[dee20ba9] Closed-Leaf: In the pager, avoid checking for the illegal page number 0 except when creating a new page. (user: drh, tags: pager-get-method)
16:57
[850877d1] Fix a problem causing SQLite to return false "foreign key violation" errors when there is a partial (i.e. WHERE constrained) UNIQUE index on the parent key columns. This bug did not cause SQLite to allow illegal data to be inserted into the database, only to reject legal operations. (user: dan, tags: trunk)
15:53
[67df4446] Further refinements to the virtual method implementation of sqlite3PagerGet(). (user: drh, tags: pager-get-method)
14:32
[df5bb90d] Make the sqlite3PagerGet() interface into a virtual method, with different implementations based on the current state of the pager. This gives a small performance increase by avoiding unnecessary branches inside the various methods. (user: drh, tags: pager-get-method)
2016-12-12
23:24
[1a636d5e] Add the --mmap option to the speedtest1 program and to the speed-check.sh script that is frequently used to run speedtest1. (user: drh, tags: trunk)
18:12
[1b36fbb9] Remove unnecessary MemPage initialization resets in the autovacuum ptrmap processing. (user: drh, tags: trunk)
16:15
[a24f805b] Merge all the latest performance enhancements from trunk. (user: drh, tags: apple-osx)
16:08
[9675518b] Faster operation for large in-memory databases. (user: drh, tags: trunk)
12:58
[dc006e08] Merge recent enhancements from trunk. (user: drh, tags: est_count_pragma)
11:05
[d4dff10a] Performance optimization in sqlite3PagerWrite(). (user: drh, tags: trunk)
01:53
[4fc6580f] Updates to the tokenizer for EBCDIC. No changes for standard builds. (user: drh, tags: trunk)
01:30
[57deb1b4] Size and performance optimization in btreeInitPage() in the freeblock validation step. (user: drh, tags: trunk)
00:58
[f9f2e23b] Change the order of comparison for divider cell overflow in balance non-root to avoid a (harmless) reference to an uninitialized variable. (user: drh, tags: trunk)
2016-12-10
13:12
[35ecd4eb] Avoid an unnecessary memset() in the sqlite3BtreeInsert() routine. (user: drh, tags: trunk)
12:58
[8165f88b] Reorder the fields in the VdbeCursor object so that those that need to be bulk zeroed on allocation are grouped at the beginning, and the memset() only runs over those fields that really need it. (user: drh, tags: trunk)
04:06
[c9bdf7ad] Avoid signed integer overflow when dealing with a LIMIT and OFFSET whose sum exceeds the maximum integer value. (user: drh, tags: trunk)
00:14
[478627c9] Closed-Leaf: In balance_nonroot, try to combine dropCell/insertCell combinations for the dividers into a cell overwrites. This results in a very small (0.05%) performance gain which is probably not worth the added complexity. (user: drh, tags: failed-dropCell-opt)
2016-12-09
19:42
[684ef458] When doing the sqlite3BtreeInsert() overwrite optimization, make sure the memcpy() does not extend off the end of the page. (user: drh, tags: trunk)
18:09
[c1f0ae9d] Additional comments and an assert on the sqlite3BtreeInsert() overwrite optimization. (user: drh, tags: trunk)
17:32
[0b86fbca] In sqlite3BtreeInsert() when replacing a re-existing row, try to overwrite the cell directly rather than deallocate and reallocate the cell. (user: drh, tags: trunk)
16:12
[0ea3ece9] Fix an fts5 bug that could cause a crash following an OOM error or sqlite3_interrupt() interrupt. (user: dan, tags: trunk)
16:02
[01ada3d1] Avoid unnecessary zeroing of fields in the MemPage object that are going to be reinitialized before use anyhow. A smaller and faster binary results. (user: drh, tags: trunk)
00:15
[1f16c9a7] Fix an obscure problem in range estimation with STAT4. (user: drh, tags: trunk)
2016-12-08
23:52
[92998e4a] Fix the showstat4 utility program so that is displays strings using standard SQL notation (single quotes) rather than C-style notation. (user: drh, tags: trunk)
19:04
[b26df26e] Fix a minor error in the cg_anno.tcl script causing the cycles-per-file counts to be miscomputed. (user: drh, tags: trunk)
18:36
[254a83bf] Update the tool/cg_anno.tcl script to give a summary of cycle counts by canonical source file name. (user: drh, tags: trunk)
01:38
[83bc5e40] More changes to take advantage of the sqlite3VdbeAppendP4() method. (user: drh, tags: trunk)
2016-12-07
21:35
[28883e8f] 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] 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] 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] Closed-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. Later: This also introduced bug [30027b613b]. Bummer. (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] 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] Closed-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] 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