SQLite
Timeline
Not logged in

200 most recent timeline items related to "trunk"

2014-12-17
15:03
[8c5dd6cc25] Leaf: Experimental opimizations to speed up FK constraint CASCADE and SET NULL action processing. (user: dan, tags: trunk)
14:38
[210cb2a6aa] Leaf: Fix some comments in fkey.c. Add tests to fkey8.test. (user: dan, tags: experimental-fk-actions)
2014-12-16
20:13
[35a20a5f22] Experimental opimizations to speed up FK constraint CASCADE and SET NULL action processing. Requires further testing. (user: dan, tags: experimental-fk-actions)
12:46
[7d092ebb67] Fix the e_walauto.test script so that it works on windows. (user: drh, tags: trunk)
01:05
[9817a2864e] Leaf: Merge threading fixes from trunk into the sessions branch. (user: drh, tags: sessions)
00:29
[2c1d8ddab2] Leaf: Merge latest fixes and enhancements from trunk into apple-osx. (user: drh, tags: apple-osx)
00:20
[ae43539e62] Enhanced "stress2" testing in the threadtest3.c test program. (user: drh, tags: trunk)
00:08
[5b1b697040] Make sure the sqlite3BtreeCount() routine does not leave index cursors in an inconsistent state, as doing so might result in an assertion fault inside of sqlite3BtreeKey() called from saveAllCursors() if content is deleted out from under the statement that issued the sqlite3BtreeCount() call. (user: drh, tags: trunk)
2014-12-15
20:49
[5648af96d8] Closed-Leaf: Changes to threadtest3 so that "stress2" is more similar to the SDS stress test. (user: dan, tags: threadtest3)
16:27
[62ef45140c] Add new test file e_walauto.test. (user: dan, tags: trunk)
08:46
[1d44f1b1a9] Fix errors in threadtest3 tests caused by earlier tests neglecting to close database handles. (user: dan, tags: trunk)
2014-12-13
17:41
[ba772cff60] Further enhancements to threadtest3 stress tests. (user: dan, tags: trunk)
2014-12-12
23:17
[d7bb7ea4ab] Add extra tests to threadtest4.c. Fix a benign data race accessing the text encoding using ENC(db). (user: drh, tags: trunk)
16:39
[f6bf86f907] Add extra tests to threadtest3. (user: dan, tags: trunk)
01:27
[d8d3e6d04c] Add new tests to the threadtest4.c program. Fix a long-standing data race in WAL mode for shared-cache. (user: drh, tags: trunk)
00:52
[03c443eaf2] Remove the KeyInfo cache (for now - perhaps we will add it back in later - or maybe not since it provides negligible benefit but adds a lot of complexity and thread-safety risk). Add a mutex to ATTACH to deal with a data race. (user: drh, tags: trunk)
00:40
[6bef7ede2b] Closed-Leaf: Make sure the Btree mutex is held when setting the locking mode and the secure delete flag when attaching a shared-cache database. (user: drh, tags: threadtest4)
00:26
[cefad47ec2] Merge the cell overflow page number cache thread race fix from trunk. (user: drh, tags: threadtest4)
2014-12-11
19:29
[ec3a74469c] Add the threadtest4.c test program. Not yet working. (user: drh, tags: threadtest4)
16:38
[fc157dd7f1] Fix a race condition to do with very large index keys in shared-cache mode. (user: dan, tags: trunk)
15:27
[258e747bb7] Fix a typo in the documentation for sqlite3_threadsafe(). (user: drh, tags: trunk)
02:28
[5b5d3e4d0d] Merge updates from trunk. (user: mistachkin, tags: asciiMode)
2014-12-10
20:57
[d9f916ba09] Fix a typo causing a test error in e_walhook.test. (user: dan, tags: trunk)
20:29
[2eb6d3e4fb] Add new test file e_walhook.test. (user: dan, tags: trunk)
17:34
[eacb3b7baa] Revise mutex handling by the sqlite3_win32_reset_heap() function. (user: mistachkin, tags: trunk)
04:58
[3528f8dd39] Fix typos in the documentation for sqlite3_table_column_metadata(). No changes to code. (user: drh, tags: trunk)
2014-12-09
22:24
[cf9be419a1] Fix the sqlite3_table_column_metadata() routine so that it gives the correct answer for the "rowid" column in a WITHOUT ROWID table. Enhance it so that it can be used to check for the existence of a table by setting the column name parameter to NULL. The routine is now included in the build by default, even without the SQLITE_ENABLE_COLUMN_METADATA compile-time option. (user: drh, tags: trunk)
20:13
[84f9581019] Add extra tests to e_walckpt.test. (user: dan, tags: trunk)
19:16
[1ba8911c18] Lower the default SQLITE_SORTER_PMASZ value back to 10, where it has been for the past couple of releases. Applications that need a larger value can set one. (user: drh, tags: trunk)
19:07
[4f7549ff92] Make the sqlite3_table_column_metadata() interface available by default and without requiring the SQLITE_ENABLE_COLUMN_METADATA compile-time option. Other sqlite3_column_* interfaces that have a run-time penalty even if they are unused still require the SQLITE_ENABLE_COLUMN_METADATA option at compile-time. (user: drh, tags: trunk)
15:12
[75a803e694] Add the SQLITE_REVERSE_UNORDERED_SELECTS compile-time option that causes the "PRAGMA reverse_unordered_selects" setting to be on by default. (user: drh, tags: trunk)
15:01
[6e2da589ad] Increase the default PMA size from 10 to 250 pages and provide the SQLITE_SORTER_PMASZ compile-time option to change this default. Add needed mutex call when clearing the KeyInfo cache in shared-cache mode. (user: drh, tags: apple-osx)
14:54
[f0940c73bd] Merge the KeyInfo cache mutex fix from trunk. (user: drh, tags: sessions)
14:42
[b05340fe3c] Increase the default minimum PMA size for multi-threaded sorting from 10x the page size to 250x the page size. Provide the SQLITE_SORTER_PMASZ compile-time option to change this default. (user: drh, tags: trunk)
04:26
[e97b7a8b4d] Fix harmless compiler warning. (user: mistachkin, tags: trunk)
2014-12-08
20:29
[d6832aa24c] Add extra tests to e_walckpt.test. (user: dan, tags: trunk)
20:20
[45415899545767888d] Add missing mutex calls around a call to sqlite3SchemaGet() within sqlite3_open(). (user: dan, tags: trunk)
18:08
[7047ce32a2] Add a missing mutex around calls to clear the KeyInfo cache when closing a database connection. (user: drh, tags: trunk)
07:50
[69a312ad3f] Leaf: Update this branch with latest trunk changes. (user: dan, tags: experimental-bulk-update)
2014-12-06
14:56
[6aeece19a2] Avoid accessing a single uninitialized byte when moving a rare 3-byte cell from an internal page to a leaf. This was not actually causing a problem, just a valgrind warning. (user: dan, tags: trunk)
02:05
[dd1dd4451f] Fix a (harmless) uninitialized variable reference in b-tree balancing for auto-vacuumed tables with overflow pages. (user: drh, tags: trunk)
2014-12-05
21:18
[42d44adc13] Avoid a potential NULL pointer deference in the sqlite3_stmt_scanstatus() logic. (user: drh, tags: trunk)
21:04
[c1ae1268b9] Fix a buffer overread that might occur in analyze.c if SQLITE_ENABLE_STAT4 was defined. (user: dan, tags: trunk)
20:46
[e4db3db3a6] Add new test file e_walckpt.test. Still some tests to come. (user: dan, tags: trunk)
20:16
[8a9b43f930] Merge the shared-cache KeyInfo fix from trunk. (user: drh, tags: apple-osx)
20:05
[5a73da6a30] Merge the fix for the shared-cache KeyInfo cache bug from trunk. (user: drh, tags: sessions)
19:50
[fdb667335c] Make sure the WhereTerm objects are fully zeroed when they are allocated. (user: drh, tags: trunk)
15:31
[7ed3346e8c] The KeyInfo cache must be cleared before closing the btree, not after. Revised fix for ticket [e4a18565a36884b00edf]. (user: drh, tags: trunk)
14:44
[adca7688de] When closing a (shared-cache) database connection, be sure to clear out all KeyInfo objects cached on Index objects. Fix for ticket [e4a18565a36884b00edf]. (user: drh, tags: trunk)
14:34
[71f589e3f8] Leaf: Improved comment on the sharedB.test test script. (user: drh, tags: fix-stale-keyinfo-cache)
05:38
[651ed97de1] When closing a (shared-cache) database connection, be sure to clear out all KeyInfo objects cached on Index objects. Proposed fix for ticket [e4a18565a36884b00edf]. (user: drh, tags: fix-stale-keyinfo-cache)
00:49
[5437e0534a] Import compiler warning and autoconf makefile fixes from trunk. (user: drh, tags: apple-osx)
00:41
[c9f20eb2fb] Import from trunk the fix the "test" target on the autoconf and MSVC makefiles and some minor compiler warning fixes. (user: drh, tags: sessions)
00:32
[e9955c0e14] Fix compiler warnings. (user: drh, tags: trunk)
00:17
[520c2b838d] Fix the autoconf and MSVC makefiles, which have been broken for nearly a month. :-( (user: drh, tags: trunk)
2014-12-04
23:42
[463ad971d2] Import from trunk support for SQLITE_CHECKPOINT_TRUNCATE and fixes for a couple of obscure bugs. (user: drh, tags: apple-osx)
23:35
[34ffa3b3c0] Incorporate the SQLITE_CHECKPOINT_TRUNCATE enhancement and a couple of obscure bug fixes from trunk. (user: drh, tags: sessions)
21:54
[0d3aef97eb] Make sure that a DISTINCT query with an ORDER BY works correctly even if it uses a descending index. Fix for ticket [c5ea805691bfc4204b1cb9e]. (user: drh, tags: trunk)
20:24
[1461d543ac] Performance enhancement for single-table queries with many OR-connected WHERE clause terms and multiple indexes with the same left-most columns. (user: drh, tags: trunk)
16:27
[6f6fcbe473] If a table is the right operand of a LEFT JOIN, then any column of that table can be NULL even if that column has a NOT NULL constraint. Fix for ticket [6f2222d550f5b0ee7ed]. (user: drh, tags: trunk)
15:02
[1e2bc484f8] Clarification of the meaning of the second parameter to the busy-handler callback. No changes to code. (user: drh, tags: trunk)
14:01
[93a71c9f05] Fix comment typos reported on the mailing list. No changes to code. (user: drh, tags: trunk)
04:50
[7475b90c55] Add an implementation mark and fix a comment describing the OP_Checkpoint opcode. (user: drh, tags: trunk)
2014-12-03
19:25
[b2da8afc76] Add evidence marks and assert()s used as evidence for checkpoint requirements. (user: drh, tags: trunk)
19:08
[cbd357fd8c] Fix over-length comment lines in sqlite.h.in. No changes to code. (user: drh, tags: trunk)
18:32
[026c44ff2c] Simplify the sqlite3_wal_checkpoint() documentation. Add some source code evidence marks. (user: drh, tags: trunk)
16:30
[7d284d047b] Futher tweaks to the sqlite3_wal_checkpoint_v2() documentation. (user: drh, tags: trunk)
15:50
[1e212d9899] Updates to the documentation for sqlite3_wal_checkpoint_v2() and related interfaces, including adding many requirements marks. (user: drh, tags: trunk)
2014-12-02
20:51
[edda2b9e7a] Add support for SQLITE_CHECKPOINT_TRUNCATE. (user: drh, tags: trunk)
19:35
[6ee08769f0] Closed-Leaf: When attempting to restart a wal file, make any required calls to sqlite3_randomness() before waiting on or checking for wal file readers. This restores the behaviour exhibited by the trunk. (user: dan, tags: checkpoint-truncate)
19:04
[8e20a43419] Add the SQLITE_CHECKPOINT_TRUNCATE option. (user: dan, tags: checkpoint-truncate)
16:38
[43c4ba26a2] Merge all recent enhancements and bug fixes from trunk into the apple-osx branch. (user: drh, tags: apple-osx)
16:31
[2617d93713] Merge all recent fixes and enhancements from trunk into sessions. (user: drh, tags: sessions)
16:16
[61b31e7714] Convert two unreachable branches into assert() statements. (user: drh, tags: trunk)
13:46
[0d04f380e1] Work around overzealous NULL pointer checking in memcpy() and memset() for some systems. (user: drh, tags: trunk)
2014-11-28
13:35
[24fa2e9832] Remove the ill-designed "-end" option from the command-line shell. Instead, allow multiple SQL or dot-commands as command-line arguments. Any -cmd commands are processed first, followed by other command-line arguments, for backwards compatibility. (user: drh, tags: trunk)
11:54
[b59397b1f1] Add the -end option to the command-line shell, which forces it to exit after reading prior command-line options (presumably including one or more -cmd options) and without reading standard input. (user: drh, tags: trunk)
2014-11-27
11:36
[f095cde579] Fix a buffer overread during compilation of CREATE VIRTUAL TABLE statements that featured an explicit database name but no virtual table arguments. For example, "CREATE VIRTUAL TABLE main.ft USING fts4". (user: dan, tags: trunk)
04:23
[358ea818f7] More test cases for the balancer. (user: drh, tags: trunk)
03:46
[f242394e07] Fix a problem in the new b-tree balancer that was causing corruption of the fragmentation count. (user: drh, tags: trunk)
2014-11-25
18:59
[623827192532f] Fix an integer overflow bug in vdbesort.c. (user: dan, tags: trunk)
2014-11-22
21:37
[1e1221fc48] Always reinitialized the Index.bUnordered and Index.noSkipscan flags before rereading the sqlite_stat1 table, even if SQLITE_ENABLE_STAT4 is defined. (user: drh, tags: trunk)
19:52
[9660ce5418] Fix an error in the comments from the previous check-in. (user: drh, tags: trunk)
18:50
[221659945c] Deploy heuristics (well-commented) to better estimate how much unindexed terms in the WHERE clause filter the number of output rows from a single table. (user: drh, tags: trunk)
16:14
[e1f893c606] Closed-Leaf: Unintentional edits mistakenly checked in. Was: Remove an obsolete and incorrect comment from the whereLoopOutputAdjust() routine in the query planner. No changes to working code. (user: drh, tags: mistake)
12:22
[eea4793349] Remove a redundant test case (probably a copy/paste error). Add an assert() to where.c to ensure that automatic indexes do not have there output row counts adjusted downward by supplementary constraints. (user: drh, tags: trunk)
2014-11-21
14:37
[7ef44c5b5b] Merge latest trunk changes with this branch. (user: dan, tags: experimental-bulk-update)
2014-11-20
23:21
[b1e6c02f8b] Fix a typo in a requirements mark on the abs() SQL function. (user: drh, tags: trunk)
23:11
[332cc9591d] Fix a benign test error on PRAGMA collation_list introduced by a recent checkin. (user: drh, tags: trunk)
23:03
[fcf8b7e4c6] Updates to requirements tags on the mutex documentation. (user: drh, tags: trunk)
19:22
[4b608b62ac] Add requirements marks on the built-in collating functions. (user: drh, tags: trunk)
15:30
[ef9fbc08b0] Ensure that when the number of cells on a page drops to zero that the freelist and fragment counter are both cleared. Also add evidence marks corresponding to file-format documentation. (user: drh, tags: trunk)
02:58
[2d7c8da5f1] Fix the encoding of some integers to use the minimum amount of space: -128, -32768, -8388608, -217483648, and -140737488355328. (user: drh, tags: trunk)
02:18
[9a9627e178] Add some requirements marks to the record formatting logic. Comment changes only - the code is unaltered. (user: drh, tags: trunk)
2014-11-19
16:36
[6d00bcca6e] Add new requirements marks associated with the file format documentation. No changes to code. (user: drh, tags: trunk)
14:31
[89b3c1c455] Completely remove an assert() that had previously been commented out. (user: drh, tags: trunk)
14:05
[9ed97a85fe] Add an ALWAYS on an always-true branch in wal.c. Fix the ANALYZE command so that it resets the "unordered" and "noskipscan" flags on indices when reloading the sqlite_stat1 table. (user: drh, tags: trunk)
2014-11-18
21:54
[4461bf045d] Adding the "noskipscan" token to an sqlite_stat1.stat field prevents an index for being used with the skip-scan algorithm. (user: drh, tags: trunk)
21:45
[c52f7971e9] Allow an automatic index to be used if the only uses of declared indexes for the same loop use the skip-scan algorithm. (user: drh, tags: trunk)
21:27
[ccb601f6df] Merge recent trunk enhancements. (user: drh, tags: apple-osx)
21:20
[f09055f3c4] Merge recent trunk enhancements, including the read-after-ROLLBACK change and the addition of sqlite3_stmt_scanstatus() support, as well as various minor bug fixes. (user: drh, tags: sessions)
20:49
[296b0c7397] Merge in all the other ROLLBACK fixes from the branch-3.8.7 branch. I don't know why I was doing them one-by-one. (user: drh, tags: trunk)
20:22
[2896f2640a] Fix a bug in the sqlite3TripAllCursors() routine that prevents it from reporting errors. It is unknown at this time whether or not this omission can result in any incorrect result in an actual query. (user: drh, tags: trunk)
20:16
[abccda769a] Update a couple of test cases to account for the fact that ROLLBACK does not always abort all running SELECT statements. (user: drh, tags: trunk)
12:28
[945a9e687f] Increment the version number to 3.8.7.2 (user: drh, tags: branch-3.8.7)
2014-11-17
19:42
[54e7d3fcb1] Avoid calling sqlite3BtreeKeysize() on a b-tree cursor in SKIPNEXT or SKIPPREV state. (user: dan, tags: trunk)
2014-11-15
19:08
[00fe095057] Closed-Leaf: Adding the "noskipscan" token to an sqlite_stat1.stat field prevents an index for being used with the skip-scan algorithm. (user: drh, tags: noskipscan-token)
2014-11-14
19:34
[93642a65ef] Closed-Leaf: Consider using an automatic-index for a scan even if there exists a possible skip-scan that uses one or more "=" operators. (user: dan, tags: experimental-autoindex-fix)
15:28
[55e453aadb] Do not automatically remove the DISTINCT keyword from "a IN (SELECT DISTINCT ...)" expressions. Fix for [db87229497]. (user: dan, tags: trunk)
2014-11-13
14:30
[ef03a20335] Modify the documentation for sqlite3_backup_init() to indicate that it will fail if there is already a read or read-write transaction open on the destination database. (user: dan, tags: trunk)
14:18
[169b550549] Have calls to sqlite3_backup_init() fail if there is already a read or read-write transaction open on the destination database. (user: dan, tags: trunk)
2014-11-12
17:45
[eaf3aae014] Add further tests for rollback operations in the presence of ongoing selects. (user: dan, tags: trunk)
14:56
[dd03a2802f] When a transaction or savepoint rollback occurs, save the positions of all open read-cursors so that they can be restored following the rollback operation. (user: dan, tags: trunk)
2014-11-11
19:07
[1412fcc480] Remove some calls to the 'breakpoint' test command. (user: mistachkin, tags: trunk)
16:11
[a066a3832a] Add tests for sqlite3_blob_bytes(). (user: dan, tags: trunk)
14:59
[b5df5ac052] Permit read operations to continue after a ROLLBACK as long as the schema does not change. (user: drh, tags: trunk)
12:20
[5a1eac2419] Add new test file e_blobclose.test, containing tests for sqlite3_blob_close(). (user: dan, tags: trunk)
01:33
[fa6e6a9ae2] Closed-Leaf: Experimental changes that permit read operations to continue after a ROLLBACK, as long as the schema is unchanged. (user: drh, tags: read-after-rollback)
2014-11-10
19:16
[8289c3e9b4] New test cases for deleting content out from under a SELECT statement. (user: drh, tags: trunk)
17:53
[1df77e5f1b] Add test file e_blobwrite.test, containing tests for the sqlite3_blob_write() interface. (user: dan, tags: trunk)
16:49
[27cf665b95] Add the eval() SQL function extension in ext/misc/eval.c. (user: drh, tags: trunk)
14:42
[7f3819f642] Shorten over-length source code lines in shell.c. (user: drh, tags: trunk)
2014-11-07
14:41
[ecbccd0e59] Add new test file e_blobopen.test, containing tests for sqlite3_blob_open(). (user: dan, tags: trunk)
14:37
[b45bc80bb1] Fix another harmless comment typo. (user: drh, tags: trunk)
13:52
[5700508535c] In the ".scanstats on" output from the shell, round the estRows value to the nearest integer, rather than rounding toward zero. (user: drh, tags: trunk)
13:24
[94c564da4c] Fix harmless typos in comments. (user: drh, tags: trunk)
11:39
[402703212a] Fix typo in sqlite3.h reported on the mailing list. (user: drh, tags: trunk)
01:43
[360c8ca11c] Update documentation on sqlite3_config() and add corresponding evidence marks. (user: drh, tags: trunk)
2014-11-06
14:43
[20c7614add] Added SQLITE_SCANSTAT_SELECTID. Change the value returned by SQLITE_SCANSTAT_EST from sqlite3_int64 to double. Enhanced the formatting and display of scan statistics using the ".scanstats on" command in the shell. (user: drh, tags: trunk)
12:46
[ee922682bb] Closed-Leaf: Further improvements to the ".scanstats on" display in the shell. Be sure to show the results of all subqueries even if there are gaps in the SELECTID values. Add ".scanstats" to the ".help" output. (user: drh, tags: scanstatus)
03:55
[f968400066] Change the SQLITE_SCANSTAT_EST parameter so that it returns a double for the estimated number of output rows per loop, rather than a 64-bit integer. Revise the output format for the ".scanstats on" in the shell to make use of this new capability. (user: drh, tags: scanstatus)
2014-11-05
21:34
[272fddc14c] Fixes to the Windows VFS to allow memory mapped files to work without WAL support. (user: drh, tags: trunk)
21:21
[83a1e5db92] Fix harmless compiler warnings in the new balance_nonroot() routine. (user: drh, tags: trunk)
19:26
[2d36be5d9a] Change the query planner to do a better job of estimating the number rows selected by a BETWEEN operator using STAT4 when both upper and lower bounds are contained within the same sample. (user: drh, tags: trunk)
15:57
[42705fd7d8] Make sure that NULL results from OP_Column are fully and completely NULL and do not have the MEM_Ephem bit set. Fix for ticket [094d39a4c95ee4]. (user: drh, tags: trunk)
14:19
[948d6e5d07] Add a test case to check that the previous commit is effective. (user: dan, tags: trunk)
13:13
[c106b75536] Enhance whereLoopCheaperProperSubset(X,Y) so that it does not report true if X uses skip-scan less than Y, since in that case X might deserve to be cheaper even if it is a proper subset. (user: drh, tags: trunk)
09:07
[7974c0ed10] Add the ".scanstats on" command to the shell tool. Executing this command causes the shell tool to print values from sqlite3_stmt_scanstatus() after each query is run. (user: dan, tags: trunk)
2014-11-04
21:38
[7df82c46da] Improved output formatting for the showstat4 tool. (user: drh, tags: trunk)
19:52
[6fc4ead26d] Closed-Leaf: Skip tests that require WAL mode when it is not enabled. (user: mistachkin, tags: winMmapNoWal)
19:37
[1fc7e2f3d3] For the Win32 VFS, allow memory mapped files to work when compiled without WAL support. (user: mistachkin, tags: winMmapNoWal)
17:23
[d423349d2c] Add various requirements evidence marks for sqlite3_config() options. (user: drh, tags: trunk)
14:22
[391c9b85ab] Change the definition of SQLITE_CONFIG_SCRATCH so that at most one scratch buffer is used per thread. Use the generic heap memory allocator for the WalIterator object when running a checkpoint. (user: drh, tags: trunk)
13:41
[681031a436] Improved documentation and addition of source-code evidence marks for the sqlite3_config() interface. (user: drh, tags: trunk)
12:11
[6eb03e62a3] Add the SQLITE_CONFIG_PCACHE_HDRSZ option for sqlite3_config(). (user: drh, tags: trunk)
2014-11-03
18:03
[d97c324eb1] Updates to the sqlite3_stmt_scanstatus() documentation. No changes to code. (user: drh, tags: trunk)
16:56
[ab3b0fc576] Add the experimental sqlite3_stmt_scanstatus() API. For comparing the number of rows actually visited by a loop with the estimate used by the query planner. (user: dan, tags: trunk)
16:39
[4c5714ab3d] Closed-Leaf: Fix a typo preventing this from building with SQLITE_ENABLE_STMT_SCANSTATUS defined. (user: dan, tags: scanstatus)
14:46
[a518bc3318] Use exponential buffer size growth in StrAccum, as long as the size does not grow to large, to avoid excess memory allocation resize operations. Also, document the fact that setting scratch memory causes SQLite to try to avoid large memory allocations. (user: drh, tags: trunk)
13:24
[3dda3c9374] When enlarging the size of a StrAccum object, use sqlite3DbMallocSize() to record the entire size of the allocation, not just the requested size. (user: drh, tags: trunk)
2014-11-01
18:32
[49188b2bb5] Add requirements marks and make minor tweaks to documentation. (user: drh, tags: trunk)
2014-10-31
20:11
[6a9bab34ae] Add the experimental sqlite3_stmt_scanstatus() API. (user: dan, tags: scanstatus)
15:20
[fef8430f12] Merge all recent trunk enhancements into the apple-osx branch. (user: drh, tags: apple-osx)
14:53
[28b044a512] Merge recent trunk enhancements, and in particular the improvements to the b-tree balancing logic, into the sessions branch. (user: drh, tags: sessions)
14:46
[67f0d469da] Change the command-line shell man-page to use the ".tr" troff directive instead of ".cc" for escaping the initial "." characters in the ".help" output. (user: drh, tags: trunk)
14:26
[a07078b600] Simplify the logic in the cell redistribution loop of balance_nonroot(). Enhance and clarify comments and add assert() statements for additional verification of correctness. (user: drh, tags: trunk)
12:22
[2e838db82e] Simplify the math slightly, and reduce by one the number of loop iterations, for the loop in balance_nonroot() that moves cells between pages. (user: drh, tags: trunk)
10:31
[ea5d56be5f] Add the "varint.c" utility program in the tool directory. (user: drh, tags: trunk)
02:51
[9fc7c88e3f] Remove an unnecessary branch from balance_nonroot(). (user: drh, tags: trunk)
00:05
[69c3924fe8] In the balance_nonroot() routine, protect the values in aPgno[] array from change during the page sort, so that aPgno[] can be used to avoid unnecessary pointer-map updates for auto_vacuum databases. (user: drh, tags: trunk)
2014-10-30
23:14
[67adb44838] Improvements to the wording of some comments. Reinstate an assert() that is only true for non-corrupt database files by adding an "|| CORRUPT_DB" term. (user: drh, tags: trunk)
20:48
[c7d9aa3a1c] Tweaks to comments in btree.c. Minor code changes to enhance testability. (user: drh, tags: trunk)
2014-10-29
18:20
[08a27440f1] Fix the %c format character in sqlite3VXPrintf() so that it correctly handles precisions larger than 70. (user: drh, tags: trunk)
01:07
[a8f9bd1e89] Call fsync() right after ftruncate() when in journal_mode=TRUNCATE and when synchronous=FULL in order to ensure that transactions are durable across a power loss that happens moments after the commit. Proposed fix for https://bugzilla.mozilla.org/show_bug.cgi?id=1072773. This is a cherrypick of 3e922208b68563489. (user: drh, tags: branch-3.8.7)
00:58
[24780f8ddc] In the OP_Column opcode, when extracting a field that is past the end of a short record (because the row was originally inserted prior to ALTER TABLE ADD COLUMN) then make sure the output register is fully NULL and does not contain leftover flags (such as MEM_Ephem) from its previous use. Fix for ticket [43107840f1c02]. (user: drh, tags: trunk)
2014-10-28
20:49
[f84af4adcc] Add new test file e_totalchanges.test, containing tests of the sqlite3_total_changes() interface. (user: dan, tags: trunk)
20:35
[96e9917c35] Update the documentation on the sqlite3_randomness() interface to conform to enhancements associated with the SQLITE_ENABLE_API_ARMOR change. (user: drh, tags: trunk)
18:24
[41cdd0c422] Modify the documentation for sqlite3_changes() to make it more testable. Add tests and minor fixes for the same. (user: dan, tags: trunk)
16:50
[8523670d50] Fix a crash that could occur if the WHERE clause of an UPDATE statement on a view that does not feature a column named "rowid" contains a term such as "rowid=?". (user: dan, tags: trunk)
16:19
[95f8ebdbf8] Fix a faulty assert() in the DELETE code generator. (user: drh, tags: trunk)
15:58
[23073a0539] Trivial simplification to the automatic index logic. (user: drh, tags: trunk)
12:35
[1a7e711ed1] Bump the version number to 3.8.8 (user: drh, tags: trunk)
00:56
[30f86eb3f9] Correct the documentation on the maximum size of a scratch allocation. (user: drh, tags: trunk)
2014-10-27
22:06
[7857d27caa] Add special handling for static mutexes in sqlite3_mutex_alloc() when automatic calls to sqlite3_initialize() are enabled. (user: mistachkin, tags: trunk)
20:14
[2b9340c868] Remove a small amount of unnecessary #ifdeffery from random.c. (user: drh, tags: trunk)
19:58
[9588b345d0] Fix compilation issue with MSVC due to a misplaced variable declaration. (user: mistachkin, tags: trunk)
19:42
[d33a1ff3aa] Fix harmless compiler warning in an assert statement. (user: mistachkin, tags: trunk)
19:39
[9646a136e6] Fix a typo in the macro name of an #ifdef (user: drh, tags: trunk)
18:42
[10aaf3b148] Merge latest enhancements, including the SQLITE_ENABLE_API_ARMOR patch, from trunk. (user: drh, tags: apple-osx)
18:34
[ffb9d8144b] Add the SQLITE_ENABLE_API_ARMOR compile-time option for extra API parameter validation. Enhance sqlite3_stricmp(), sqlite3_strnicmp(), and sqlite3_uri_parameter() for improved NULL parameter handling. (user: drh, tags: trunk)
18:21
[637246165a] Fix an unused variable in btree.c:allocateSpace(). (user: drh, tags: trunk)
14:26
[face33bea1] Optimizations aimed at reducing the number of memcpy() operations required by balance_nonroot(). (user: dan, tags: trunk)
11:25
[fc6920b548] Add test file e_wal.test. (user: dan, tags: trunk)
08:02
[1f80f8c136] Leaf: If a free-slot is found within a page, but using that free-slot would fragment the page further and there are already at least 60 fragmented bytes, degragment the page. This matches the behaviour of the trunk. (user: dan, tags: defrag-opt)
07:01
[a13df3013b] Merge trunk with this branch. (user: dan, tags: defrag-opt)
2014-10-25
13:42
[0f08924fe0] Increase the resolution of the second parameter to the likelihood() SQL function (the probability value) so that it can handle probabilities as small as 0.00000001. Formerly, it ran out of precision at 0.001. (user: drh, tags: trunk)
12:28
[b9ad601eab] Do not use virtual (and hence redundant) WHERE-clause terms to restrict the content of a automatic partial index. Show when an automatic partial index is used in the EXPLAIN QUERY PLAN output. (user: drh, tags: trunk)
2014-10-24
19:28
[d95d0313c4] Enhance the automatic index logic so that it creates a partial index when doing so gives the same answer for less work. (user: drh, tags: trunk)
15:26
[401235edf4] Honor a high likelihood() on range constraints. (user: drh, tags: trunk)
14:32
[03d0498d0f] Get the likelihood() functions working on operators like BETWEEN that create virtual terms in the WHERE-clause analysis. (user: drh, tags: trunk)
12:37
[1c220b806d] Closed-Leaf: Fix two problems. Tests now passing. (user: drh, tags: api-armor)
00:35
[c297a84bc6] Add the SQLITE_ENABLE_API_ARMOR compile-time option. This is a work in progress and is not yet completely functional. (user: drh, tags: api-armor)
2014-10-23
17:26
[c6a5b67ae1] Leaf: Add debugging code to count the number of iterations of each loop made as part of statement execution. (user: dan, tags: debug-loopcounters)
01:01
[9762ad0639] Implement sqlite3_create_collation() by invoking sqlite3_create_collation_v2() with a NULL destructor argument. This saves a little space. (user: drh, tags: trunk)
2014-10-22
20:07
[e580470db7] Disable the use of strchrnul() unless specifically enabled by compile-time options. (user: drh, tags: trunk)
19:57
[ca3b00c44e] Change the 0x800 bit of SQLITE_TESTCTRL_OPTIMIZATIONS so that it disables the loading of STAT3 and STAT4 content, not just the using of that content. Change the internal name of that bit to SQLITE_Stat34. (user: drh, tags: trunk)
18:42
[854a54c6c2] Merge latest trunk with this branch. (user: dan, tags: defrag-opt)
16:25
[1a5a5da331] Leaf: The _beginthreadex() / _endthreadex() functions should only be used when compiling with MSVC. (user: mistachkin, tags: msvcThreads)
15:27
[3c933bf95f] Take steps to avoid misestimating range query costs based on STAT4 data due to the roundoff error of converting from integers to LogEst and back to integers. (user: drh, tags: trunk)
02:43
[674848070e] Call fsync() right after ftruncate() when in journal_mode=TRUNCATE and when synchronous=FULL in order to ensure that transactions are durable across a power loss that happens moments after the commit. Proposed fix for https://bugzilla.mozilla.org/show_bug.cgi?id=1072773. This is a cherry-pick of 3e922208b68563 (user: drh, tags: branch-3.8.6)