SQLite

Timeline
Login

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

100 check-ins occurring around 7d445e593a.

2014-06-17
13:23
Add the autoindex2.test testing module. check-in: ffe3fea4 user: drh tags: autoindex-improvements
12:33
A different approach to the autoindex problem that deletes query-planner code rather than adding it. check-in: f270fb6e user: drh tags: autoindex-improvements
09:52
Simplification to the logic that prevents automatic indexes from being formed on constant expressions. check-in: 36d67e1d user: drh tags: autoindex-improvements
09:00
Allow an automatic index on a WHERE constraint where the RHS is does not reference another table as long as the RHS is not a constant. check-in: 58acc2a8 user: drh tags: autoindex-improvements
02:46
Do not attempt to create an automatic index on a constant constraint, as doing so is pointless. check-in: d6883e96 user: drh tags: autoindex-improvements
2014-06-16
22:45
Fix CSV import issue, reported via the mailing list, in the shell when the file to be imported ends with an empty line. check-in: fc918f7d user: mistachkin tags: trunk
21:30
In the "wheretrace" logic (disabled for normal builds) expand the print width of the flags field to be wide enough for all 17 bits. check-in: 3181d206 user: drh tags: trunk
18:35
Add the SQLITE_UNLINK_AFTER_CLOSE compile-time option. If enabled, the unlink of temporary files on unix is deferred until after the file is closed. check-in: e43a2f92 user: drh tags: trunk
18:17
Add an application ID for MBTiles tilesets. check-in: 837f6404 user: drh tags: trunk
16:41
Back out the unix VFS changes that seeks to avoid fstat() calls after an unlink(). That change did not clear the problem on FuseFS. check-in: 0617e20a user: drh tags: trunk
15:01
Add the ".eqp" dot-command to the ".help" output in the command-line shell. This was accidently omitted when the ".eqp" command was originally implemented for SQLite 3.8.4 (check-in [e6ecf7337658624]). check-in: b0b4c776 user: drh tags: trunk
12:51
Fix the extension01.test script so that it works on windows. Fix a harmless compiler warning in the fileio extension. check-in: baf95a19 user: drh tags: trunk
12:44
Add test cases for the fileio extension. check-in: 86343331 user: drh tags: trunk
2014-06-13
13:43
Add the fileio.c loadable extension, that implements readfile() and writefile() SQL functions. check-in: 0ca104d8 user: drh tags: trunk
13:08
Add an extension that implements compress() and uncompress() SQL functions. check-in: d5c17d1a user: drh tags: trunk
2014-06-12
17:10
Increase the WAL-mode SQLITE_PROTOCOL timeout to 10 seconds. check-in: 2aeacf81 user: drh tags: trunk
15:46
Simplify the estLog() routine. check-in: 6c68d758 user: drh tags: trunk
2014-06-10
20:18
Proposed change to the fix for ticket [1c69be2dafc28b] such that legacy applications that were exploiting the older buggy behavior in SQLite continue to work. Leaf check-in: 401a0ca3 user: drh tags: group-by-name-resolution
2014-06-09
20:39
Avoid an unnecessary initialization of the szFile field of unixFile in the unix VFS. check-in: 6484fb5a user: drh tags: trunk
20:24
Enhance the unix VFS so that it keeps track of the size of unlinked files internally and thus avoids the need to call fstat() on those files, since fstat() does not work reliably on unlinked files on some implementations of FuseFS. check-in: 10707d35 user: drh tags: trunk
20:06
Enhance the unix VFS so that it keeps track of the size of unlinked files internally and thus avoids the need to call fstat() on those files, since fstat() does not work reliably on unlinked files on some implementations of FuseFS. Closed-Leaf check-in: c41df393 user: drh tags: omit-fstat-after-unlink
13:11
Modify the %nonassoc directive in lemon so that it generates a run-time error rather than a parsing conflict. This changes is due to a bug report on the mailing list. SQLite does not use the %nonassoc directive in its grammar so this change does not affect SQLite. check-in: 1925f3a0 user: drh tags: trunk
2014-06-06
20:49
Add a test case to ensure that estLog() works for negative numbers. check-in: 813469d9 user: drh tags: trunk
20:20
Make sure the estLog() routine in the query planner handles negative values correctly (always returning 1). Prior to this change, estLog(-1) would return a large number which could throw off the cost computations in the query planner in obscure circumstances. check-in: 75437bee user: drh tags: trunk
17:09
Fix an obsolete comment on the whereRangeScanEst() routine. No changes to code. check-in: b16bf851 user: drh tags: trunk
2014-06-05
13:22
Bring the threads branch up-to-date with the 3.8.5 release. check-in: e4b01676 user: drh tags: threads
12:53
Merge in the 3.8.5 release changes and the FTS integrity-check fix. check-in: 2dbdfa51 user: drh tags: apple-osx
11:15
Fix a problem that was causing the FTS4 integrity-check command to fail if the table had one or more "notindexed" columns. check-in: 7123bb26 user: dan tags: trunk
2014-06-04
14:06
Version 3.8.5 check-in: b1ed4f2a user: drh tags: trunk, release, version-3.8.5
2014-06-03
20:09
Merge the 3.8.5 release candidate changes into the sessions branch. check-in: 09e75d82 user: drh tags: sessions
14:42
Avoid closing a pseudo-table associated with sorting in a co-routine since that pseudo-table might be used again in an outer loop. check-in: 6d818052 user: drh tags: trunk
11:32
Add a test to double-check that [1cbe7a0883] did not affect anything. check-in: c6b512a7 user: dan tags: trunk
2014-06-02
21:00
Remove the WHERE_LIKELIHOOD bit, as it does not seem to effect any result. check-in: 1cbe7a08 user: drh tags: trunk
18:24
Fix a typo in a requirements mark comment in a test script. No changes to code. check-in: 75ff459b user: drh tags: trunk
11:26
Fix the query planner so that it once again knows that queries without a FROM clause will never return more than one row and hence do not require sorting. check-in: 9f18b303 user: drh tags: trunk
09:39
Add the "valgrind-nolookaside" permutation to permutations.test. check-in: 8e8472d9 user: dan tags: trunk
2014-05-31
15:43
Fix a harmless "scan-build" compiler warning in the command-line shell. check-in: 39fafe0a user: drh tags: trunk
15:39
Fix a compile of harmless static analyzer warnings. check-in: 7e287f20 user: drh tags: trunk
2014-05-30
21:01
Revise locking retry semantics in Win32 VFS to abort early if the file handle is reported as invalid. check-in: a4df4a5b user: mistachkin tags: trunk
16:54
Add extra checking of the database extended error code. Closed-Leaf check-in: f2906c44 user: mistachkin tags: winLockHandle
16:42
Add tests for the invalid file handle detection logic in the winLock() function. check-in: ed5a9eb4 user: mistachkin tags: winLockHandle
2014-05-29
20:39
Fix a harmless compiler warning in the command-line shell code. check-in: a80527f6 user: drh tags: trunk
20:36
Merge trunk changes into the apple-osx branch. check-in: b9fad449 user: drh tags: apple-osx
20:29
Merge trunk changes into the sessions branch. check-in: 9f18e78f user: drh tags: sessions
20:24
Merge changes from the trunk into the threads branch. check-in: 416cb091 user: drh tags: threads
20:17
Fix to the EXPLAIN indentation logic in the command-line shell. check-in: 8f916ed1 user: drh tags: trunk
12:36
Improvements to error messages for errors in the dot-commands of the command-line shell. Add the ".once" command. The output of ".help" now goes to the designated output channel. check-in: 48dce821 user: drh tags: trunk
03:17
Only quote the arguments to the ".shell" and ".system" commands if they contain spaces. check-in: e58f4bd3 user: drh tags: trunk
2014-05-28
20:22
Add the ".shell" and the ".system" commands (aliases for the same thing) to the command-line shell. check-in: d018a34a user: drh tags: trunk
10:00
Add an extra test to verify that the FTS notindexed option is working. check-in: c461c0fe user: dan tags: trunk
09:56
Moved to "mistake" because this commit contains a typo causing a test to fail. Was: Add an extra test to further verify that the FTS notindexed option is working properly. Leaf check-in: 7d445e59 user: dan tags: mistake
03:27
Revise locking retry semantics in Win32 VFS to abort early if the file handle is reported as invalid. check-in: d43e2e59 user: mistachkin tags: winLockHandle
03:23
Revise how OSTRACE reports logically boolean results in the Win32 VFS. check-in: c405f971 user: mistachkin tags: trunk
2014-05-27
20:19
Remove an incorrect assert() in the sorter. check-in: b8b66103 user: drh tags: trunk
19:18
Fix harmless compiler warnings. check-in: 20b75460 user: drh tags: trunk
18:18
Change the name of the Index.autoIndex field to Index.idxType and provide symbolic names for the various values of that field rather than using magic numbers. check-in: d16e575d user: drh tags: trunk
17:57
Avoid unnecessary cursor opens and seeks when running the OR-optimization on a WITHOUT ROWID table. check-in: 9c785c58 user: drh tags: trunk
16:41
Improved comments on the OR-optimization logic in the query planner. check-in: 77fef5a3 user: drh tags: trunk
15:21
Remove unused code (previously #ifdef-ed out) from btree.c. check-in: 8bc97371 user: drh tags: trunk
11:54
Fix a harmless compiler warning in the FTS4 logic. check-in: 64a869ad user: drh tags: trunk
11:42
Add a test to whereI.test that uses a multi-column PK. check-in: aa183e60 user: dan tags: trunk
10:57
Fix for (unsupported) SQLITE_USE_FCNTL_TRACE code. check-in: 994b2b7a user: drh tags: trunk
2014-05-26
22:05
Add the OR-optimization to WITHOUT ROWID tables. check-in: 06a23b8b user: drh tags: trunk
22:01
Minor enhancements to comments and clarification of the code. Closed-Leaf check-in: cbec30d0 user: drh tags: without-rowid-or-opt
20:25
Add a missing VdbeCoverage() macro on an OP_Found opcode added in the previous check-in. check-in: b4980a07 user: drh tags: without-rowid-or-opt
20:15
Merge recent trunk changes into the threads branch. check-in: 82152027 user: drh tags: threads
20:08
Merge recent trunk changes into the apple-osx branch. check-in: 54b5fa77 user: drh tags: apple-osx
20:06
Enable the OR optimization for WITHOUT ROWID tables. Use a temp table instead of the RowSet object to track the rows that have already been included in the result set. check-in: 2c7e277b user: dan tags: without-rowid-or-opt
20:00
Merge recent trunk changes into the sessions branch. check-in: a769c7e0 user: drh tags: sessions
18:27
Fix a problem in the shell when importing CSV files. If the leftmost field of the first row in the CSV file was both zero bytes in size and unquoted, no data was imported. check-in: 856d44a2 user: dan tags: trunk
16:40
Fix a problem in FTS4 where columns with names that are prefixes of any notindexed column were also being (incorrectly) marked as not indexed. For example in "CREATE ... t1(abc, bc, abcd, notindexed=abcd)", both abc and abcd were being treated as notindexed. check-in: d90c4964 user: dan tags: trunk
2014-05-24
17:15
Remove references in comments to VDBE opcodes that no longer exist. This is a documentation change only; no changes to code. check-in: ebfb51fe user: drh tags: trunk
2014-05-23
17:17
Changes to the output of EXPLAIN QUERY PLAN to make it clearer when a query uses the PRIMARY KEY index of a WITHOUT ROWID table. check-in: 9268df30 user: dan tags: trunk
12:03
In the command-line shell, if three or more interrupt signals (control-c) are received in a row without a response from sqlite3_interrupt() then call exit(1) immediately. This allows control-C to interrupt the shell even if it is stuck in a computation or loop that does not involve the VDBE. check-in: b5cde571 user: drh tags: trunk
11:48
Make sure sufficient VDBE registers are allocated for an INSERT...SELECT when there is an idlist on the insert table that includes an explicit rowid. Ticket [e9654505cfda93610585fde5a9bbf2e730c8a8d5] check-in: 9a2dd187 user: drh tags: trunk
2014-05-22
09:58
Add a test for the EQP output of a skip-scan query that uses the PK index of a WITHOUT ROWID table. check-in: 10238fad user: dan tags: trunk
2014-05-21
08:48
Do not burn memory remembering CHECK constraints in a read-only database. check-in: 34ddf02d user: drh tags: trunk
08:21
Fix the sqlite3_db_readonly() API so that it reports true if the database is readonly because the file format write version (byte 18 of the header) is too large. check-in: 8d8af114 user: drh tags: trunk
2014-05-20
19:11
Improvements to the testability of the threads.c module. check-in: 386e0888 user: drh tags: threads
11:03
In vdbesort.c, change the names of PmaReader variables "pIter" to "pReadr". Other related comment changes. The generated object code should be the same. check-in: 99efb235 user: drh tags: threads
00:27
Merge all recent trunk changes into the apple-osx branch. check-in: 23722be4 user: drh tags: apple-osx
00:20
Merge recent trunk changes into the sessions branch. check-in: 2d33afe0 user: drh tags: sessions
2014-05-19
23:17
Merge recent changes from trunk. check-in: 6eefdad9 user: drh tags: threads
19:26
Fix harmless compiler warnings in MSVC. Leaf check-in: aa7e2041 user: drh tags: safer-malloc
15:16
Changes to help ensure that a multiplication does not overflow when computing the number of bytes needed for a memory allocation, and cause a malfunction. No problems existing problems were discovered. However, these changes should help to ensure that no problems arise in the future. check-in: 17349a49 user: drh tags: safer-malloc
2014-05-17
16:56
Internally, use a 64-bit integers for segment level numbers. check-in: 8180e320 user: dan tags: trunk
15:10
Fix a broken test case in fts4growth2.test. check-in: 9fde5b96 user: dan tags: trunk
2014-05-16
23:38
Fix harmless compiler warnings. Closed-Leaf check-in: 7e60347e user: mistachkin tags: ftsWarnings
23:15
Work around compilation issue with MSVC. check-in: 9623a29c user: mistachkin tags: trunk
20:24
Rearrange some conditionals and add #if statements to make the code more testable. check-in: 17afd770 user: drh tags: threads
17:31
Add a pair of sqlite3FaultSim(100) calls to vdbesort.c to facilitate testing of obscure and hard to reach error conditions. check-in: cceac14f user: drh tags: threads
16:16
Fixes to prevent an FTS index from growing indefinitely as the corresponding table is updated. Change the FTS 'automerge' option to allow the user to specify the number of segments that should be merged simultaneously by auto-merges. check-in: a75f1800 user: dan tags: trunk
15:48
Add extra test to backcompat.test to ensure that old and new versions of FTS may work together on the same incremental merge operation. Closed-Leaf check-in: 3997d47b user: dan tags: fts4-experimental
14:27
Merge all recent changes from trunk, and especially the new sqlite3FaultSim() interface. check-in: 43fcbd91 user: drh tags: threads
14:17
Repurpose the SQLITE_TESTCTRL_FAULT_INSTALL test-control to register a callback to be invoked by sqlite3FaultSim(). That test-control has been unused since 2008-06-20 and was never used in any official release. check-in: 0d43a7ad user: drh tags: trunk
12:18
Use #ifdef logic to avoid an always-true branch when SQLITE_MAX_WORKER_THREADS=0 check-in: 88cfe6d7 user: drh tags: threads
10:30
Fix a bug causing an incorrect segment size value to be stored if both an old and new FTS version performed work on the same incremental merge operation. check-in: a9a2aeab user: dan tags: fts4-experimental
2014-05-15
19:05
Merge latest trunk changes with this branch. check-in: 5809986f user: dan tags: fts4-experimental
18:36
Fix a problem with the handling of delete markers by automerge on large databases. check-in: 2b09bd17 user: dan tags: fts4-experimental
16:56
Use #ifdef to omit code that is not used when SQLITE_MAX_WORKER_THREADS is zero. check-in: 2e8d287d user: drh tags: threads