SQLite

Timeline
Login

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

100 events occurring around 968fec44d7fde3ad.

2014-03-23
17:45
Use only a single OP_MakeRecord instead of two when constructing entries to go onto a sorter. (check-in: d696cded user: drh tags: orderby-planning)
16:29
Avoid a possible use of an uninitialized variable following an I/O or OOM error. (check-in: 641408a1 user: drh tags: trunk)
2014-03-22
02:19
Clear the sort-order flags on the KeyInfo object associated with the OP_Compare/OP_Jump of the block-sort logic, in order to make the OP_Jump fully testable. (check-in: 9b2838f2 user: drh tags: trunk)
01:52
Increase the version number to 3.8.5. (check-in: 9760879d user: drh tags: trunk)
00:27
Fix the ORDER BY optimization logic so that it will do a block-sort on a partial DESC ORDER BY. This enhancement uncovered a memory leak in pushUntoSorter() which is also fixed. (check-in: c36f7461 user: drh tags: trunk)
2014-03-21
20:58
Add the ability to use indices for the first few terms of an ORDER BY clause, then sort in batches to handle the later terms. (check-in: fa06a6fe user: drh tags: trunk)
19:56
Change the names of SRT_DistTable and SRT_Table used by CTE to more meaningful SRT_DistFifo and SRT_Fifo, respectively. Simplify the IgnorableOrderby() macro in the process. (check-in: 45d8cc67 user: drh tags: trunk)
19:27
Avoid leaking memory in an obscure case where the flattener adds an ORDER BY clause to the recursive part of a recursive query. (check-in: 1f413aca user: dan tags: trunk)
18:45
Merge the OFFSET-on-query-without-FROM fix from trunk. (check-in: 71e9ae72 user: drh tags: orderby-planning)
18:16 Fixed ticket [07d6a045]: OFFSET ignored if there is no FROM clause plus 5 other changes (artifact: 9c43cbdc user: drh)
18:16
Fix the OFFSET clause so that it works correctly on queries that lack a FROM clause. Ticket [07d6a0453d4ed8]. (check-in: 179ef816 user: drh tags: trunk)
18:04 New ticket [07d6a045] OFFSET ignored if there is no FROM clause. (artifact: c9ba18a7 user: drh)
15:24
New test case for block-sorting. (check-in: e70cfa28 user: drh tags: orderby-planning)
2014-03-20
20:56
Merge trunk fixes for "x IN (?)" handling. (check-in: eca35871 user: drh tags: orderby-planning)
19:04
Remove a testcase() that is now always true due to the "x IN (?)" optimization. Add an ALWAYS() around a conditional in the parser that cannot be false. (check-in: d5a1530b user: drh tags: trunk)
18:56
Only use the direct-overflow-read optimization if all data from the overflow page in question is being read. (check-in: d8e1f75d user: dan tags: overflow-pgno-cache)
18:45
Fix the EXPLAIN indenter in the command-line shell to correctly handle NextIfOpen and PrevIfOpen opcodes. (check-in: 01944c53 user: drh tags: trunk)
17:03
The "x IN (?)" optimization in check-ins [2ff3b25f40] and [e68b427afb] is incorrect, as demonstrated by the in4-5.1 test case in this check-in. The "COLLATE binary" that was being added to the RHS of IN was overriding the implicit collating sequence of the LHS. This change defines the EP_Generic expression node property that blocks all affinity or collating sequence information in the expression subtree and adds that property to the expression taken from RHS of the IN operator. (check-in: 2ea4a9f7 user: drh tags: trunk)
15:14
Fix harmless compiler warnings. (check-in: b1435f26 user: drh tags: trunk)
14:56
Previous check-in is not quite correct. "x IN (?)" is not exactly the same as "x==?" do to collation and affinity issues. The correct converstion should be to "x==(+? COLLATE binary)". The current check-in fixes this problem and provides test cases. Ticket [e39d032577df69] (check-in: 2ff3b25f user: drh tags: trunk)
13:32 Edit [eae6dfbe5535f481|eae6dfbe]: Mark "Closed". (artifact: 5d2bec0f user: drh)
13:31 Fixed ticket [e39d0325]: Assertion fault on a query containing "x IN (?)" plus 6 other changes (artifact: 8a7c5a08 user: drh)
13:26
Convert expressions of the form "X IN (?)" with exactly one value on the RHS of the IN into equality tests: "X=?". Add test cases to verify that statements work correctly on this corner case. Fix for ticket [e39d032577df6942]. (check-in: e68b427a user: drh tags: trunk)
12:36
One possible fix for the [e39d032577d] problem it to replace the failing assert() with a testcase() as shown here. (Closed-Leaf check-in: eae6dfbe user: drh tags: tkt-e39d0325)
12:17
Fix an unnecessarily obtuse use of a bitmask flag. (check-in: ca314081 user: drh tags: trunk)
11:52 New ticket [e39d0325] Assertion fault on a query containing "x IN (?)". (artifact: c3311ddb user: drh)
09:42
Add a test to ensure os_unix.c works with 64KiB OS pages. (Closed-Leaf check-in: e3d2be3b user: dan tags: shm-mapping-fix)
08:59
Add an experimental fix to avoid attempting to mmap memory from an offset that is not a multiple of the system page size on systems with page sizes larger than 32KB. (check-in: 6f3a5c24 user: dan tags: shm-mapping-fix)
2014-03-19
23:42
Merge the vdbesort.c optimization from trunk. (check-in: e4bfffb9 user: drh tags: orderby-planning)
23:24
Fix query planner weights associated with choosing block-sorting. Fix block sorting of tables with collating functions. Fix various test cases. All "veryquick" tests are now passing, though more tests need to be added. (check-in: 01afbf97 user: drh tags: orderby-planning)
20:01
Avoid some unnecessary calls to sqlite3VdbeRecordUnpack() that were being made when merging data from two or more temp files together in vdbesort.c (check-in: 707ea170 user: dan tags: trunk)
17:41
Make it possible for block-sort to use the OP_SorterOpen sorter in addition to a generic OP_OpenEphemeral. (check-in: 7ce2daaf user: drh tags: orderby-planning)
16:56
Fix a problem in the block-sort logic that can arise if the VDBE opcode array is resized while the block-sort logic is being coded. "make test" now runs to completion, though there are still 17 failures. (check-in: 62f3a220 user: drh tags: orderby-planning)
15:17
Avoid reusing temporary registers in co-routines when doing block-sorting. (check-in: 463d921b user: drh tags: orderby-planning)
14:30
Make sure the where.c query planner never reports that the number of ORDER BY terms that are satisfied by indices is negative. (check-in: b186d8d1 user: drh tags: orderby-planning)
14:10
First attempt at getting block-sort to work. This is an incremental check-in. There are many problems still to be worked out. (check-in: 59742dd4 user: drh tags: orderby-planning)
2014-03-18
20:33
Make the partial-ORDER-BY information in the query planner available to the SELECT code generator. Still doesn't make a difference in the generated code. (check-in: e258df23 user: drh tags: orderby-planning)
18:59
Adjust the query planner to keep track of the number of ORDER BY terms satisfied. Still doesn't do anything with this information. Some tests fail after this check-in, but all failures are believed to be benign. The failures will be addressed at a later stage. (check-in: 59d49b7f user: drh tags: orderby-planning)
15:30
Experiments with the optimization of ORDER BY and GROUP BY clauses. (check-in: b1509025 user: drh tags: orderby-planning)
2014-03-17
15:43
Add an experimental multi-threaded capability to vdbesorter.c. (check-in: ff0b5c85 user: dan tags: threads)
15:06
Clean up some obsolete "register" declarations in printf.c. (check-in: ecd9d3f9 user: drh tags: trunk)
14:24
Performance enhancements and size reduction for sqlite3VXPrintf() (check-in: eb071eb5 user: drh tags: trunk)
2014-03-14
11:46
Fix a harmless compiler warning that crops up with SQLITE_MAX_MMAP_SIZE=0. (check-in: 1277932b user: drh tags: trunk)
2014-03-13
15:41
Merge latest trunk changes into this branch. (check-in: d17231b6 user: dan tags: threads)
2014-03-12
19:38
Fix an obscure bug causing sqlite3_close() to fail if there are virtual tables on the disconnect list when it is called. (check-in: 6504aa47 user: dan tags: trunk)
19:20
Changes to FTS to ensure that it does not access the database from within the xConnect method. (check-in: c67a52c3 user: dan tags: trunk)
12:44
Prevent the rtree module from reading sqlite_stat1 data from the wrong database. (check-in: 7ce03c1b user: dan tags: trunk)
10:03
Bump the version number to 3.8.4.1., to conform with trunk. (check-in: 42c9d8fc user: drh tags: sessions)
2014-03-11
23:44
Remove a stray C99-style comment. (check-in: f500e87d user: drh tags: overflow-pgno-cache)
23:40
Combine the various boolean fields of the BtCursor object into a single bit-vector. This allows setting or clearing more than one boolean at a time and makes the overflow-pgno-cache branch faster than trunk on speedtest1. (check-in: 968fec44 user: drh tags: overflow-pgno-cache)
20:34 Edit [da59198505990a4f|da591985]: Edit check-in comment. (artifact: d21fe9a6 user: dan)
20:33
Enable the b-tree cursor object's overflow page-number cache, which is normally enabled only for incr-blob cursors, for all cursors. (check-in: da591985 user: dan tags: overflow-pgno-cache)
15:27
Version 3.8.4.1 (check-in: 018d317b user: drh tags: trunk, release, version-3.8.4.1)
15:26 Edit [04caffcef33ab0d2|04caffce]: Mark "Closed". (artifact: 217ffb97 user: drh)
15:25
Update version number to 3.8.4.1 (check-in: 33f5694f user: drh tags: trunk)
15:22 Edit [04caffcef33ab0d2|04caffce]: Move to branch mistake. Edit check-in comment. Cancel background color. (artifact: d9e3bbf3 user: drh)
14:44
Forgot to change the VERSION file. (Closed-Leaf check-in: 04caffce user: drh tags: mistake)
13:20 Closed ticket [0841d0f5]: Exclusive transactions do not work if same database multiply attached plus 4 other changes (artifact: e4ce6e45 user: drh)
13:20 Closed ticket [13137dcc]: FTS3 and last_insert_rowid() plus 3 other changes (artifact: 81c931a1 user: drh)
13:20 Closed ticket [08494146]: Some minor asyncvfs issues plus 2 other changes (artifact: 0895c699 user: drh)
13:19 Closed ticket [25e09aa2]: Lint mode plus 3 other changes (artifact: c165b8c8 user: drh)
13:18 Fixed ticket [5ac9b497]: Some issues with aliases, fully qualified identifiers, and * plus 3 other changes (artifact: 57162871 user: drh)
13:18 Closed ticket [030632f5]: make sqlite2 detect sqlite3 plus 3 other changes (artifact: dc3fdfa0 user: drh)
13:18 Closed ticket [72b01a98]: Per page/region checksums plus 4 other changes (artifact: 1b2cd924 user: drh)
13:17 Closed ticket [36712658]: No error reporting on file open failure plus 3 other changes (artifact: a8c0cf87 user: drh)
13:17 Closed ticket [af3450b7]: Recursive virtual tables plus 3 other changes (artifact: 46e25d4b user: drh)
13:17 Fixed ticket [c25aab7e]: The ".import" command does not parse CSV correctly. plus 3 other changes (artifact: 5733c490 user: drh)
13:16 Closed ticket [f817a457]: CantOpen doesn't include name of file that can't be opened plus 4 other changes (artifact: 03099653 user: drh)
13:15 Fixed ticket [775b39dd]: Poor query planning with virtual tables, joins and ORDER BY. plus 2 other changes (artifact: f9f600d9 user: drh)
13:15 Closed ticket [2e047cbe]: select DISTINCT performance could be better plus 4 other changes (artifact: 397b2b89 user: drh)
13:14 Fixed ticket [23b21282]: Uninformative error message on check constraint failure plus 3 other changes (artifact: 56d0f014 user: drh)
13:14 Closed ticket [61d35ac2]: A way to tell if a journal should exist plus 3 other changes (artifact: 8cfcaee0 user: drh)
13:13 Closed ticket [33fdaab1]: Need to cancel an integrity check in progress with sqlite3_interrupt plus 3 other changes (artifact: 6cf22fec user: drh)
13:12 Closed ticket [293860ac]: Allow triggers to reference other databases plus 3 other changes (artifact: 72175e60 user: drh)
13:12 Closed ticket [65a1fd4b]: Shell should call rl_readline_name plus 4 other changes (artifact: 1553d737 user: drh)
13:11 Fixed ticket [bcff482d]: Explicit extended error code for deadlock with sqlite_busy plus 4 other changes (artifact: 17a60b18 user: drh)
13:11 Closed ticket [5896edbe]: List available SQL functions plus 4 other changes (artifact: 902c8260 user: drh)
13:10 Closed ticket [c276ee2e]: null should not be allowed in primary key plus 5 other changes (artifact: 9e0a2c0b user: drh)
13:09 Fixed ticket [f711d5a9]: Windows DLL should have versioninfo resource plus 4 other changes (artifact: 3a0f9058 user: drh)
13:08 Closed ticket [4d5c039d]: Truncated database not detected well plus 3 other changes (artifact: af431220 user: drh)
13:07 Fixed ticket [de3ae967]: Insert multiple rows at once plus 3 other changes (artifact: 23340708 user: drh)
13:06 Closed ticket [c060923a]: VFS filename truncation issues plus 3 other changes (artifact: fc3c4605 user: drh)
13:06 Fixed ticket [f6ee7c19]: Negative widths should right justify plus 4 other changes (artifact: 96dd07a8 user: drh)
13:05 Fixed ticket [ba7fdb56]: Page size should auto default to file system block size plus 3 other changes (artifact: 14d40231 user: drh)
13:05 Closed ticket [08595ca4]: INTERSECT operator should have higher precedence plus 5 other changes (artifact: 376a460d user: drh)
13:04 Closed ticket [ed2ff2f4]: Call progress callback while doing pragma integrity_check plus 4 other changes (artifact: 76095684 user: drh)
13:04 Closed ticket [ebde3f66]: Shared cache has different busy behaviour than non-shared plus 3 other changes (artifact: 5d117cb6 user: drh)
13:03 Closed ticket [d8fe6cef]: Error return from VFS xUnlock ignored plus 4 other changes (artifact: 149285a5 user: drh)
13:02 Closed ticket [1c67bd6c]: Shell Control-C (break) handling could be better plus 4 other changes (artifact: d49cecf2 user: drh)
13:00 Closed ticket [1a1790ca]: No way to signal an error in collation callback plus 4 other changes (artifact: 1d03e369 user: drh)
13:00 Closed ticket [62359d65]: xGetLastError should be dumped plus 4 other changes (artifact: b2d8d111 user: drh)
12:59 Closed ticket [efeeb90f]: error messages should be per-thread not global plus 4 other changes (artifact: 0fa3cc5d user: drh)
12:59 Closed ticket [15e11a2c]: IfEmpty(a,b) : a function like IfNull(a,b) but for empty strings plus 3 other changes (artifact: 19526150 user: drh)
12:58 Closed ticket [eaa105fe]: (...) WHERE col IN (val1) not reflected in xBestIndex plus 3 other changes (artifact: d685d603 user: drh)
12:58 Closed ticket [b803a45d]: Feature Request: MATCHES(VAL1%, VAL2, %VALn%, ...) plus 4 other changes (artifact: 2882bfb8 user: drh)
12:57 Ticket [08494146] Some minor asyncvfs issues status still Open with 4 other changes (artifact: 1f0b55dd user: drh)
12:56 Closed ticket [e33452c9]: Query plan doesn't use existing index plus 3 other changes (artifact: 78867f00 user: drh)
12:56 Closed ticket [89f7b558]: RFE - Documentation in PDF format? plus 4 other changes (artifact: 44da06a8 user: drh)
12:56 Closed ticket [2c5661c2]: Thread safety: does SQLite handle pthread_cancel cleanly? plus 4 other changes (artifact: 766bc52d user: drh)
12:54 Closed ticket [1248e6cd]: Insufficient precision of sqlite3_column_text16() for floating point values plus 4 other changes (artifact: 467b6acb user: drh)