SQLite
Timeline
Not logged in

200 most recent timeline items related to "trunk"

2014-11-21
14:37
[7ef44c5b5b] Leaf: Merge latest trunk changes with this branch. (user: dan, tags: experimental-bulk-update)
2014-11-20
23:21
[b1e6c02f8b] Leaf: 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] Leaf: Merge recent trunk enhancements. (user: drh, tags: apple-osx)
21:20
[f09055f3c4] Leaf: 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)
2014-10-21
21:56
[3e922208b6] 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. (user: drh, tags: trunk)
18:16
[a27861c28c] Further tuning of the cost estimates for skip-scan loops, especially for cases when skip-scan loops are in competition with regular loops. (user: drh, tags: trunk)
16:01
[ec1e942f08] Add WHERETRACE debugging output to the whereLoopAdjustCost() routine. (user: drh, tags: trunk)
01:05
[f4b22a2620] If a skip-scan is a proper subset of some other scan, then adjust the cost of the skip-scan upward so that it is more costly than the other scan. Such a cost imbalance can arise under STAT4 because of difficulties in getting an accurate estimate for skip-scans. (user: drh, tags: trunk)
2014-10-20
16:34
[d380a6482a] Merge version-3.8.7 changes with this branch. (user: dan, tags: experimental-bulk-update)
2014-10-17
21:35
[19fe4a0a47] Fix a (probably harmless) bug in the CSV output mode of the command-line shell. (user: drh, tags: trunk)
12:11
[aa7bbed10b] Merge the 3.8.7 changes into the apple-osx branch. (user: drh, tags: apple-osx)
11:53
[f4de9e07be] Merge all version 3.8.7 updates from trunk. (user: drh, tags: sessions)
11:24
[e4ab094f8a] Version 3.8.7 (user: drh, tags: trunk, release, version-3.8.7)
2014-10-16
21:39
[06c576c152] Work around MSVC not being able to deduce that a local variable was initialized in a called function. (user: mistachkin, tags: trunk)
18:34
[1418c006e3] Changes to work around Win32 and MSVCRT APIs that are not present on Windows CE 200x. (user: mistachkin, tags: trunk)
11:45
[640345d880] Update the vdbe-compress.tcl script to account for expressions of the form (123>var), where "var" should be replaced with a reference to a union member. (user: dan, tags: trunk)
2014-10-15
19:37
[1b2824f1d1] Merge latest trunk changes with this branch. (user: dan, tags: sessions)
15:28
[3c1e70f4d5] Update releasetest.tcl so that x86-64 runs a superset of the x86 tests. (user: dan, tags: trunk)
14:45
[b3e7b446bd] Fix a problem causing lock5.test to fail in mmap-mode. (user: dan, tags: trunk)
11:55
[9386bfca12] Add a four-byte prefix to the BtShared.pTmpSpace buffer to avoid reading before the beginning of an allocation. (user: drh, tags: trunk)
11:31
[4a7b3fa049] Rearrange an expression in vdbemem.c to avoid a (harmless) reference to a possibly unitialized variable. (user: dan, tags: trunk)
2014-10-14
20:25
[eab8233063] Make sure new sqlite3_vtab objects created by the xCreate() virtual table method are initialized by the system, in accordance with the documentation. (user: drh, tags: trunk)
14:17
[880df7568a] Merge from trunk recent micro-optimizations and the fix for the DESC index GROUP BY ORDER BY bug. (user: drh, tags: apple-osx)
13:41
[83d4114f2a] Merge recent trunk micro-optimizations and the DESC index GROUP BY ORDER BY bug fix into the sessions branch. (user: drh, tags: sessions)
2014-10-13
23:39
[005e5b388a] Optimize a database corruption test inside of the OP_Column opcode. (user: drh, tags: trunk)
20:12
[4b3b65ee5e] Use the padding word in the Mem object as temporary storage for serial_type value in OP_Record, and thus avoid a redundant computation of the serial_type for each column. (user: drh, tags: trunk)
18:09
[d5b7c5a88d] Merge trunk changes into this branch. (user: dan, tags: defrag-opt)
17:42
[04892f8ba6] Three small optimizations to vdbeaux.c. (user: drh, tags: trunk)
16:02
[c2799aece1] Reduce the CPU load imposed by sqlit3VdbeCursorMoveto() by factoring out some of its functions and by avoiding unnecessary calls. (user: drh, tags: trunk)
13:00
[20062f4942] Remove the OPFLAG_CLEARCACHE flag from OP_Column. In its place, change the P3 parameter of OP_SorterData to be the index of the pseudo-table cursor whose record header cache is to be cleared. This gives a small size reduction and performance increase. (user: drh, tags: trunk)
01:23
[b9c695e885] Add the OP_SorterColumns opcode - an experiment in using a special case opcode to decode the Sorter output rather than the generic OP_Column. This might be faster. And with further work, it could eventually eliminate the need for OP_OpenPseudo. (user: drh, tags: OP_SorterColumns)
2014-10-12
22:37
[91384a7d72] Remove the VdbeCursor.lastRowid cache of the current rowid, since maintaining the correct cache value uses more CPU cycles than just recomputing the rowid on the occasions when it is actually needed. Replace it with the VdbeCursor.aOffset field which used to be computed from VdbeCursor.aType when needed. Saves 100 bytes of code space and runs 0.2% faster. (user: drh, tags: trunk)
2014-10-11
23:31
[869c30e45c] Performance optimization and very slight size reduction for OP_Column. (user: drh, tags: trunk)
17:22
[66de15580d] Simplification to the insertCell() routine in btree.c, resulting in a performance boost and a very small size decrease. It turns out that the extra work involved in sometimes avoiding an memcpy() of the first four bytes of a record takes more time than just unconditionally copying those four bytes. (user: drh, tags: trunk)
10:52
[5d29a033b0] Require the SQLITE_ENABLE_RTREE compile-time option in speedtest1.c in order to enable the R-Tree tests. (user: drh, tags: trunk)
02:12
[7a32fdfd4b] Make sure that a GROUP BY that also implements an ORDER BY scans the table in the correct order. Fix for ticket [ba7cbfaedc7e6]. (user: drh, tags: trunk)
01:22
[c5dc83ebde] Remove an unnecessary conditional from the EXPLAIN QUERY PLAN logic. (user: drh, tags: trunk)
2014-10-10
20:52
[2a9573962b] Closed-Leaf: Account for the ASC/DESC properties of ORDER BY expressions when using the same index for GROUP BY and ORDER BY. Candidate fix for [ba7cbfaedc]. (user: dan, tags: experimental)
19:15
[c301245200] Restrict the scope of the explainIndexRange() function in where.c. (user: drh, tags: trunk)
19:10
[8541dfb3bb] Fix a failing test case in index5.test. Also tweak the way cache memory is divided between read-only and dirty pages when using SQLITE_CONFIG_PAGECACHE to reduce IO in some cases. (user: dan, tags: trunk)
18:09
[9ee5686ab3] Changes to enable compiling using VC6. (user: drh, tags: trunk)
17:47
[cf291cbe9f] When using the -config option to releasetest.tcl, default the testing type to "fulltest" if it is not specified on the command line. (user: drh, tags: trunk)
17:44
[d479e32be2] Provide the new "-config CONFIG" option to the test/releasetest.tcl script, which allows one to run a single test configuration selected by name. (user: drh, tags: trunk)
17:20
[daa8314fba] Add the estimated number of output rows to the EXPLAIN QUERY PLAN output if compiled with SQLITE_EXPLAIN_ESTIMATED_ROWS. This feature is off by default for the time being. (user: drh, tags: trunk)
15:47
[beea1efc3a] Simplify the code used to generate the text for EXPLAIN QUERY PLAN. (user: drh, tags: trunk)
15:01
[68e1b4de70] Fix a potential problem in the whereRangeScanEst() routine when STAT4 is active. The problem was introduced by recent enhancements. (user: drh, tags: trunk)
13:08
[177fff3b98] Cause the command-line shell to return non-zero if the final SQL statement is incomplete. (user: drh, tags: trunk)
12:56
[abfef25472] Merge all recent trunk changes. (user: drh, tags: sessions)
2014-10-09
15:08
[49dfee7cd1] Allow FTS tokenizers to choose whether or not to consider the "*" character part of tokens or not. This restores the pre-e21bf7a2ad behaviour. Also fix a problem causing FTS to interpret tokens beginning with "*" characters as EOF. (user: dan, tags: trunk)
14:10
[bae36d5446] Add a test case for the memory leak fixed by the previous check-in. (user: drh, tags: trunk)
14:00
[fb8da82411] Fix a memory leak associated with the FTS4 matchinfo() function. (user: drh, tags: trunk)
11:27
[6fc7207727] Merge the latest trunk enhancements into the apple-osx branch. (user: drh, tags: apple-osx)
2014-10-08
19:33
[42e48fd3a6] Remove an always-true branch in whereRangeScanEst(). Replace it with an assert(). (user: drh, tags: trunk)
15:53
[6483d426c4] Fix up test cases to account for the new SQLITE_LIMIT_WORKER_THREADS limit. (user: drh, tags: trunk)
14:28
[dff0f6422e] Set the connection-specific lastRowid value before calling any SQL function. (user: drh, tags: trunk)
13:34
[e4b43967fd] Ensure that the Pager.pTmpSpace allocation is correct even if an OOM error occurs while reducing the page size. (user: drh, tags: trunk)
11:11
[dedd15f7cd] Remove some temporary code in mallocA.test that was accidentally checked in. (user: dan, tags: trunk)
02:53
[e3fe840052] Fix the STAT4 range scan estimates for DESC indexes. (user: drh, tags: trunk)
00:08
[adcb3fed48] More intuitive labels on ".wheretrace" output. (user: drh, tags: trunk)
2014-10-07
23:02
[f672a380e2] Make sure the sqlite3VdbeMemClearAndResize() routine is never called with a zero size parameter, since a size of zero could lead to either a memory leak or an assertion fault. (user: drh, tags: trunk)
20:09
[e405b9e4a9] Fix the corruptI.test script so that it works with SQLITE_ENABLE_OVERSIZE_CELL_CHECK and with SQLITE_DEFAULT_AUTOVACUUM=1. (user: drh, tags: trunk)
16:59
[13c962b33d] Restrict the scope of the valueToText() routine. (user: drh, tags: trunk)
15:46
[ca5b789e33] Enhance (and fix) the MEMTYPE tags associated with heap memory allocations when SQLITE_MEMDEBUG is used. (user: drh, tags: trunk)
2014-10-06
18:33
[80e1baa5c2] Remove unreachable branches in decodeIntArray() when compiling without STAT3 or STAT4. (user: drh, tags: trunk)
14:37
[3aff9a9cac] Improve the accuracy of the estimates used when searching an index for values not present in any stat4 samples. (user: dan, tags: trunk)
12:41
[418f3c9ad2] Fix a harmless compiler warning inside an assert() in FTS4. (user: drh, tags: trunk)
2014-10-04
19:31
[b8f7f19dc0] Tweaks to documentation on sqlite3_open() and sqlite3_bind(). No code changes. (user: drh, tags: trunk)
11:59
[0f8102d71a] Updates to documentation and requirements marks. No code changes. (user: drh, tags: trunk)
10:22
[fc619be057] Closed-Leaf: Add a test to show that the change on this branch is effective. (user: dan, tags: stat4-avgeq)
2014-10-03
19:16
[e6f7f97dbc] Improve the accuracy of the estimates used when searching an index for values not present in any stat4 samples under some circumstances. (user: dan, tags: stat4-avgeq)
16:00
[d2fc322728] Add requirements marks on the sqlite3_db_status() interface implementation. Fix a typo in the documentation. Fix the new sqlite3_result_text64() routine so that it works correctly with an encoding parameter of SQLITE_UTF16. (user: drh, tags: trunk)
14:54
[440705b98a] Update to requirements marks related to changes in the memory allocation interface and enhancement of the documentation regarding DEFAULT clauses in CREATE TABLE. (user: drh, tags: trunk)
2014-10-02
21:52
[ffe7573636] Avoid a NULL pointer deference when processing the IS operator if the right-hand side is an illegal "#ID" style variable. Fix for ticket [8c32a33a53092c85a15b] (user: drh, tags: trunk)
2014-10-01
13:17
[07c89940c4] Show the TK_DOT operator in the TreeView debugging output. No changes to production code. (user: drh, tags: trunk)
12:01
[c3c15d20c6] Avoid ever writing before the start of an allocated buffer in the DIRECT_OVERFLOW_READ code. Fix for [e3a290961a6]. (user: dan, tags: trunk)
01:52
[2695772c98] Merge the latest enhancements from trunk. (user: drh, tags: sessions)
01:46
[2078454ac9] Merge the latest enhancements from trunk. (user: drh, tags: apple-osx)
2014-09-30
21:24
[0efc6859d1] Closed-Leaf: Draw the TreeView debugging graphs using unicode box-drawing characters. (user: drh, tags: box-character-graph)
19:04
[5ce05757aa] Improvements to the new syntax-tree output routines: Omit the "END SELECT" mark and instead terminate the graph at the last item. Increase the maximum tree depth to 100. (user: drh, tags: trunk)
17:31
[b6b289182f] Enable the query planner to deal with WHERE clauses that have OR terms nested within AND terms that are nested within OR terms. Also remove an unused function declaration. (user: drh, tags: trunk)
17:03
[670993eb81] Further enhancements to the "wheretrace" debugging output. (user: drh, tags: trunk)
14:14
[2e375eae47] Enhanced debug output for OR-logic in the query loop optimizer. (user: drh, tags: trunk)
13:46
[92e0b4bd4d] Show tree diagrams of data structures in the debugging output when the 0x100 bit is set on sqlite3WhereTrace or sqlite3SelectTrace. (user: drh, tags: trunk)
12:33
[4ff51325d6] Remove the SQLITE_ENABLE_TREE_EXPLAIN compile-time option. Add alternative debugging display routines: sqlite3TreeViewExpr(), sqlite3TreeViewExprList(), and sqlite3TreeViewSelect(). (user: drh, tags: trunk)
2014-09-29
18:47
[5e5d6e8680] Leaf: Add the OPFLAG_MULTICOLUMN flag to the OP_Column opcode. Rearrange OP_Column instructions to take advantage of the new flag for a small performance increase (user: drh, tags: faster-OP_Column)
15:42
[7fb1626866] Fix the header comment in sqlite3VdbeDeletePriorOpcode(). No changes to code. (user: drh, tags: trunk)
15:00
[414f0d6a64] Ensure that the OP_Prev opcode verifies that content has not been deleted out from under the cursor. Fix for ticket [209d31e3161b9e9ff]. (user: drh, tags: trunk)
2014-09-27
19:51
[497367cb57] Merge recent trunk changes (performance enhancements) into the sessions branch. (user: drh, tags: sessions)
05:00
[3edab9957c] Reduce the amount of memcpy() required by defragmentPage(). (user: drh, tags: defrag-opt)
2014-09-26
18:30
[d026f0c944] Add an assert() to verify the last-row-id for the database just prior to calling a SQL function. (user: mistachkin, tags: trunk)