SQLite
Timeline
Not logged in

200 most recent check-ins using file test/speedtest1.c version 83f6b331

2014-10-20
16:24
[0bf1301a] Have the ota extension perform an incremental checkpoint after generating the wal file. (user: dan, tags: ota-update)
2014-10-13
18:03
[6594f9b4] Further work on balance_nonroot(). (user: dan, tags: defrag-opt)
2014-10-11
20:00
[fec849dc] Attempt to further reduce memcpy() in balance_nonroot(). (user: dan, tags: defrag-opt)
02:12
[7a32fdfd] 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
[c5dc83eb] Remove an unnecessary conditional from the EXPLAIN QUERY PLAN logic. (user: drh, tags: trunk)
2014-10-10
20:52
[2a957396] 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
[c3012452] Restrict the scope of the explainIndexRange() function in where.c. (user: drh, tags: trunk)
19:10
[8541dfb3] 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
[9ee5686a] Changes to enable compiling using VC6. (user: drh, tags: trunk)
17:47
[cf291cbe] 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
[d479e32b] 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
[daa8314f] 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
[beea1efc] Simplify the code used to generate the text for EXPLAIN QUERY PLAN. (user: drh, tags: trunk)
15:01
[68e1b4de] 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
[177fff3b] Cause the command-line shell to return non-zero if the final SQL statement is incomplete. (user: drh, tags: trunk)
12:56
[abfef254] Merge all recent trunk changes. (user: drh, tags: sessions)
2014-10-09
19:35
[29304499] Change the balance_nonroot() routine to reduce the amount of memcpy work that takes place. This is a work in progress. (user: dan, tags: defrag-opt)
15:08
[49dfee7c] 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
[bae36d54] Add a test case for the memory leak fixed by the previous check-in. (user: drh, tags: trunk)
14:00
[fb8da824] Fix a memory leak associated with the FTS4 matchinfo() function. (user: drh, tags: trunk)
11:40
[2a6a0820] Record the errno on fstat() failures. (user: drh, tags: apple-osx)
11:27
[6fc72077] Merge the latest trunk enhancements into the apple-osx branch. (user: drh, tags: apple-osx)
2014-10-08
19:33
[42e48fd3] Remove an always-true branch in whereRangeScanEst(). Replace it with an assert(). (user: drh, tags: trunk)
15:53
[6483d426] Fix up test cases to account for the new SQLITE_LIMIT_WORKER_THREADS limit. (user: drh, tags: trunk)
14:28
[dff0f642] Set the connection-specific lastRowid value before calling any SQL function. (user: drh, tags: trunk)
13:34
[e4b43967] 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
[dedd15f7] Remove some temporary code in mallocA.test that was accidentally checked in. (user: dan, tags: trunk)
02:53
[e3fe8400] Fix the STAT4 range scan estimates for DESC indexes. (user: drh, tags: trunk)
00:08
[adcb3fed] More intuitive labels on ".wheretrace" output. (user: drh, tags: trunk)
2014-10-07
23:02
[f672a380] 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
[e405b9e4] 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
[13c962b3] Restrict the scope of the valueToText() routine. (user: drh, tags: trunk)
15:46
[ca5b789e] 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
[80e1baa5] Remove unreachable branches in decodeIntArray() when compiling without STAT3 or STAT4. (user: drh, tags: trunk)
14:37
[3aff9a9c] 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
[418f3c9a] Fix a harmless compiler warning inside an assert() in FTS4. (user: drh, tags: trunk)
2014-10-04
19:31
[b8f7f19d] Tweaks to documentation on sqlite3_open() and sqlite3_bind(). No code changes. (user: drh, tags: trunk)
11:59
[0f8102d7] Updates to documentation and requirements marks. No code changes. (user: drh, tags: trunk)
10:22
[fc619be0] Closed-Leaf: Add a test to show that the change on this branch is effective. (user: dan, tags: stat4-avgeq)
00:07
[efd87ba1] Avoid leaking Index.aiRowEst memory if an OOM causes a rollback which deletes the index before the aiRowEst deletion code in sqlite3AnalysisLoad() routine has a chance to run. Since the aiRowEst now might be deleted from freeIndex() which does not always have a db pointer, make sure the aiRowEst memory is not held in lookaside. (user: drh, tags: stat4-avgeq)
2014-10-03
19:29
[f9c053b2] Fix a division-by-zero error that might occur if the sqlite_stat1 table is corrupt. (user: dan, tags: stat4-avgeq)
19:16
[e6f7f97d] 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
[d2fc3227] 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
[440705b9] 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
[ffe75736] 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
[07c89940] Show the TK_DOT operator in the TreeView debugging output. No changes to production code. (user: drh, tags: trunk)
12:01
[c3c15d20] 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
[2695772c] Merge the latest enhancements from trunk. (user: drh, tags: sessions)
01:46
[2078454a] Merge the latest enhancements from trunk. (user: drh, tags: apple-osx)
2014-09-30
21:24
[0efc6859] Closed-Leaf: Draw the TreeView debugging graphs using unicode box-drawing characters. (user: drh, tags: box-character-graph)
19:04
[5ce05757] 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
[b6b28918] 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
[670993eb] Further enhancements to the "wheretrace" debugging output. (user: drh, tags: trunk)
14:14
[2e375eae] Enhanced debug output for OR-logic in the query loop optimizer. (user: drh, tags: trunk)
13:46
[92e0b4bd] 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
[4ff51325] 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
[5e5d6e86] 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
[7fb16268] Fix the header comment in sqlite3VdbeDeletePriorOpcode(). No changes to code. (user: drh, tags: trunk)
15:00
[414f0d6a] 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
20:45
[1f44bfdc] Change the names of the stream interface APIs to be of the form "_strm" instead of "_str". In other words, added an "m" to the end, to try to make it clear that we are talking about a "stream" and not a "string. (user: drh, tags: sessions)
19:51
[497367cb] Merge recent trunk changes (performance enhancements) into the sessions branch. (user: drh, tags: sessions)
18:18
[09985fa6] Fix a segfault in the sessions module that could follow an OOM. (user: dan, tags: sessions)
16:33
[d2642543] Fix a segfault in the streaming API functions triggered by a very long table name. (user: dan, tags: sessions)
12:26
[bfc8bd80] Improve sessions module documentation and comments. Fix some other code issues. (user: dan, tags: sessions)
05:00
[3edab995] Reduce the amount of memcpy() required by defragmentPage(). (user: drh, tags: defrag-opt)
2014-09-26
18:30
[d026f0c9] Add an assert() to verify the last-row-id for the database just prior to calling a SQL function. (user: mistachkin, tags: trunk)
10:52
[4d8537ea] Fix a problem with concatenating patchsets containing DELETE and INSERT operations on the same row. (user: dan, tags: sessions)
02:41
[83913515] Fix the "PRAGMA integrity_check" command so that it avoids formatting error message context messages until it actually needs to generate an error message. This avoids much formatting, and hence greatly improves the performance of "PRAGMA integrity_check" in the common case when there are no errors. It also makes the code a little smaller. (user: drh, tags: trunk)
01:10
[e93aecc0] If an SQL function makes a recursive call to do an INSERT into the same database, make sure that the last_insert_rowid() for that INSERT is recorded. (user: drh, tags: trunk)
2014-09-25
20:43
[88eb6656] Add streaming version of sqlite3changeset_concat(). (user: dan, tags: sessions)
17:42
[baeb72a3] Minor code reformatting and comment change, to improve clarity. No logic changes. (user: drh, tags: trunk)
14:54
[8ded6a46] Add streaming version of sqlite3changeset_invert() to sessions module. (user: dan, tags: sessions)
13:17
[3467049a] Simplifications to the SQL function and aggregate calling procedures. (user: drh, tags: trunk)
12:31
[1330c72e] Simplification to the random rowid picking logic that begins running when the maximum possible rowid has already been used. (user: drh, tags: trunk)
11:08
[6c8924ca] Still more performance enhancements to the LIKE and GLOB operators. (user: drh, tags: trunk)
03:51
[5ab1023d] More performance optimization for the LIKE and GLOB operators. (user: drh, tags: trunk)
02:44
[ef30e035] Change that might allow SQLite to build and work using the EBCDIC character set. (user: drh, tags: trunk)
00:56
[b2c89ef4] Size reduction and performance improvement in the LIKE and GLOB operators. (user: drh, tags: trunk)
2014-09-24
19:47
[99323552] Have each open database allocate its pTmpSpace when the first write cursor is opened, rather than on each insert or delete, for a small space savings and performance boost. (user: drh, tags: trunk)
18:31
[13c746f8] Small performance and size optimization for btreeUnlockIfUnused(). (user: drh, tags: trunk)
17:13
[b917fc14] Add streaming version of sqlite3changeset_apply(). Tests and fixes for the same and sqlite3changeset_start_str(). (user: dan, tags: sessions)
13:20
[1ad2bc1e] Do not allow parameters in a DEFAULT clause of a CREATE TABLE statement. Ticket [78c0c8c3c9f7c1]. (user: drh, tags: trunk)
04:38
[c705cf85] Closed-Leaf: Experiment using linear interpolation, instead of a strict binary search, when looking for integer-keyed rows on a single b-tree page. The experiment was not successful. The number of key comparisons is reduced by about 15%, but the added complexity of the search logic causes an overall reduction in performance. The patch is saved for historical reference only. (user: drh, tags: linear-interpolation)
02:05
[f21d2175] Have the clearCell() routine return the cell size to the caller, rather than have the caller make a separate call to cellSizePtr(). (user: drh, tags: trunk)
01:23
[5dd41cdb] Shorten all lines of source code in btree.c to at most 80 characters. No logical changes. (user: drh, tags: trunk)
00:59
[8e337531] Add the MemPage.noPayload boolean and use it to help cellSizePtr() and btreeParseCellPtr() run faster. (user: drh, tags: trunk)
2014-09-23
23:12
[f480582c] Remove an unused C-preprocessor macro. No functional changes to the code. (user: drh, tags: trunk)
22:36
[4147f667] Avoid calling btreeParseCellPtr() from within fillInCell() since most of what btreeParseCellPtr() computes is ignored by fillInCell(). Instead, have fillInCell() compute the values it needs inline. Performance improvement. (user: drh, tags: trunk)
21:25
[bf59df66] Simplify the CellInfo structure for a size reduction and performance improvement. (user: drh, tags: trunk)
20:39
[3c7d3d95] Begin adding 'streaming' APIs to sessions module. This is a work in progress. (user: dan, tags: sessions)
18:30
[d2962a5f] Add the "multiplex_truncate" PRAGMA to the multiplexor extension, for querying and setting the truncate flag on a database connection. (user: drh, tags: trunk)
01:40
[ae9a42b2] Adjust skip-scan cost estimates slightly so that a full table scan is preferred over a skip-scan to a column with only two distinct values. (user: drh, tags: trunk)
2014-09-22
20:38
[76097440] Fix to payload size overflow detection in the cellSizePtr() change of the previous check-in. (user: drh, tags: trunk)
19:51
[bc8bbf32] Size reduction and substantial performance increase for cellSizePtr(). (user: drh, tags: trunk)
14:30
[41de1643] Tune the query planner to be more aggressive about using automatic indexes on views and subqueries for which there is not opportunity to declare a persistent schema index. (user: drh, tags: trunk)
03:22
[10a6e510] Disable shared memory operations using the unix-nolock VFS. (user: drh, tags: trunk)
2014-09-21
23:08
[3967ebe8] Merge in all recent changes from trunk. (user: drh, tags: apple-osx)
22:49
[6406b77f] Merge all recent trunk changes into the sessions branch. (user: drh, tags: sessions)
22:31
[d5880abd] Correctly handle an ORDER BY clause on an outer query when applying the compound-subquery flattening optimization. Ticket [d11a6e908f]. Also add the SQLITE_ENABLE_SELECTTRACE option for additional debugging and analysis information about select statement processing. (user: drh, tags: trunk)
20:31
[9683e001] Closed-Leaf: Add test cases for ticket [d11a6e908f]. (user: drh, tags: select-trace)
17:51
[28d52c1c] Add the "showauth" extension in ext/misc. (user: drh, tags: select-trace)
00:27
[c0b61f70] Improved ".selecttrace" output. (user: drh, tags: select-trace)
2014-09-20
20:38
[89398880] Candidate fix for [d11a6e908f]. (user: dan, tags: select-trace)
20:24
[f1ba68f1] Fix the SELECTTRACE_ENABLE macro so that it doesn't cause problems for testfixture. Add new SELECTTRACE() calls. (user: drh, tags: select-trace)
18:18
[cbe0cf9d] Enable SELECT query planning tracing when compiled with SQLITE_ENABLE_SELECTTRACE and either SQLITE_DEBUG or SQLITE_TEST. (user: drh, tags: select-trace)
00:35
[59e2c9df] Fix the usage of the _GNU_SOURCE and _BSD_SOURCE macros in the main internal header file, sqliteInt.h. Set HAVE_STRCHRNUL to 1 by default on Linux only. (user: drh, tags: trunk)
00:29
[0fac2c04] Closed-Leaf: Only enable HAVE_STRCHRNUL by default on linux, as that is the only place it appears to work by default. (user: drh, tags: sqliteIntMacros)
00:02
[35db3e2f] Revise macro usage in 'sqliteInt.h'. (user: mistachkin, tags: sqliteIntMacros)
2014-09-19
22:44
[544664ca] Simplify two conditionals and add testcase() macros to the affinity transform logic in the comparison operators. (user: drh, tags: trunk)
22:30
[3b21cf2b] Recognize the invariant that a Mem object cannot be MEM_Dyn and have a non-zero szMalloc at the same time. Enforce this with assert()s and exploit it in the sqlite3VdbeMemClearAndResize() routine for a performance increase. (user: drh, tags: trunk)
22:01
[e996ca32] Tighten the conditions under which applyNumericAffinity() be called and add assert() statements to prove that it is never called otherwise. (user: drh, tags: trunk)
20:13
[3f3ca76a] Fix the affinity on inserts into the ANALYZE tables. Change the affinity characters to be upper case, to make the P5 parameter of comparison operators easier to read. (user: drh, tags: trunk)
19:43
[3ab20ba1] Do not attempt to extend the temp file if VFS version 3 is not supported and hence memory mapped I/O is unavailable. (user: drh, tags: trunk)
19:00
[3db78d61] Make the "nolock" VFS on unix a version-3 VFS so that the sorter can use memory-mapped I/O. (user: drh, tags: trunk)
18:08
[95ffdaa5] Add further tests to ota5.test. Add "ota.test", for running all ota tests. (user: dan, tags: ota-update)
16:56
[6199760d] Remove a local variable from the OP_Column implementation, resulting in a modest size reduction and a performance increase. (user: drh, tags: trunk)
16:13
[24cd32d6] Small size reduction and performance increase for releaseMemArray(). (user: drh, tags: trunk)
16:02
[9b42c3da] Updates to comments. No code changes. (user: drh, tags: trunk)
15:28
[36b613cc] The OP_Column opcode runs faster and is smaller by manually in-lining the code that persists string values in the output register. (user: drh, tags: trunk)
15:06
[1e468fe1] Add extra tests for the ota extension. (user: dan, tags: ota-update)
04:42
[987a7a21] Add the sqlite3VdbeMemClearAndResize() function. Fix a sorting-index prefilter problem. (user: drh, tags: trunk)
02:01
[72727b68] Closed-Leaf: Make sure that the sorting-index pre-filter recognizes that a rowid reference might be sortable. This fixes a performance regression. (user: drh, tags: Cplusplus-comment)
00:43
[5b9b8987] Add the sqlite3VdbeMemClearAndResize() interface to be used in place of sqlite3VdbeMemGrow(). A C++ style comment was left in this check-in by mistake, and so it has been moved into a branch to avoid problems in any future bisects on windows. (user: drh, tags: Cplusplus-comment)
2014-09-18
21:25
[9c09ac35] Add the Mem.szMalloc element to the Mem object and use it to keep track of the size of the Mem.zMalloc allocation. (user: drh, tags: trunk)
18:55
[55879932] Correct typos in comments. No changes to code. (user: mistachkin, tags: trunk)
17:57
[718da6de] Update the ota extension to support SQLITE_ENABLE_8_3_NAMES builds. (user: dan, tags: ota-update)
17:52
[4c8c89d7] Merge the Mem.r value into the MemValue union as Mem.u.r. Hence, a Mem can now store an integer or a real but not both at the same time. Strings are still stored in a separate element Mem.z, for now. (user: drh, tags: trunk)
16:38
[fce9c6cc] Use quotes instead of angle-brackets to include sqlite3.h from sqlite3ota.h. (user: dan, tags: ota-update)
16:28
[d7afdcba] Performance improvement for affinity transformations on comparison operators. (user: drh, tags: trunk)
15:57
[0da1862b] Remove some c++isms from sqlite3ota.c. (user: dan, tags: ota-update)
15:22
[3c6e1cbb] Add new file ext/ota/README.txt, containing notes regarding the implementation of the ota extension. (user: dan, tags: ota-update)
14:48
[e3943fa7] Add an API to query an ota handle for the total number of key/value operations performed so far. (user: dan, tags: ota-update)
14:36
[4ef4c9a7] Since numeric affinity is the most common case, check it first. Interchange the NONE and TEXT affinity codes for easier checking of no affinity. (user: drh, tags: trunk)
11:31
[67ea2979] Merge latest trunk changes with this branch. (user: dan, tags: ota-update)
11:15
[7da98ca2] Fix an ota bug causing attempts to write to tables with more than 8 columns to fail. (user: dan, tags: ota-update)
09:59
[3bd7c1b2] Modify an assert() within sqlite3PagerWalFramesize(), a function only ever used by zipvfs, to account for recent zipvfs changes. (user: dan, tags: trunk)
02:20
[5192f964] Fix harmless warnings on 32-bit MSVC builds. (user: drh, tags: trunk)
01:50
[ef1aa10b] Make sure of the strchrnul() library function on platforms where it is available. (user: drh, tags: trunk)
01:29
[1de558bc] Merge micro-optimizations into trunk after fixing the build on MSVC. Performance now shows 7.58% faster than the 3.8.6 release on x64 with gcc 4.8.1 and -Os. (user: drh, tags: trunk)
01:21
[163bfae8] Closed-Leaf: Fix compiler warnings and change the nullMem structure initializer into a format that MSVC can understand. (user: drh, tags: micro-optimizations)
2014-09-17
23:37
[14052a7d] Performance improvement and slight size reduction to the comparison operators in the VDBE. (user: drh, tags: micro-optimizations)
19:05
[01268607] Fix an unintialized variable problem in sqlite3ota.c. (user: dan, tags: ota-update)
16:41
[fdddb477] In the Mem object, stop requiring that Mem.xDel be NULL when the MEM_Dyn bit is clear. Also reduce the amount of initialization of Mem objects. All for a small size reduction and performance increase. (user: drh, tags: micro-optimizations)
15:20
[39df35c4] Add tests and fixes for "PRAGMA ota_mode". (user: dan, tags: ota-update)
14:52
[4e437844] Improved interface to the Mem object handling. Small size reduction and performance increase. (user: drh, tags: micro-optimizations)
2014-09-16
21:54
[2598aedc] Continuing cleanup of memory register memory allocation handling. (user: drh, tags: micro-optimizations)
20:05
[78fb8838] Make sure registers are cleared properly prior to being used to store the result of an OP_Column operator. (user: drh, tags: micro-optimizations)
20:02
[decaccc3] Clarify the effects of the pager_ota_mode pragma. Add tests and fixes for the same. (user: dan, tags: ota-update)
18:22
[f7367803] Simplification of the OP_Column logic for the case of rows with overflow. (user: drh, tags: micro-optimizations)
14:55
[a10a6bba] Remove an unused parameter from sqlite3VdbeIdxRowid(). This is cosmetic only as the C-compiler optimizers were already omitting this parameter on amalgamation builds. (user: drh, tags: micro-optimizations)
14:37
[8239c35a] Reduce the number of arguments to RecordCompare functions from 4 to 3, resulting in a small performance increase. (user: drh, tags: micro-optimizations)
14:16
[0be3019e] Reorder the elements of the Mem object for a small size reduction and performance improvement. Moved into a branch because MSVC is unable to handle named structure initializer on nullMem. (user: drh, tags: micro-optimizations)
13:30
[8fb90da7] Changes to sqlite3VdbeRecordUnpack() to make it slightly smaller and faster. (user: drh, tags: trunk)
03:24
[20ed2321] Performance improvement to the sqlite3MemCompare() routine by factoring out sqlite3BlobCompare(). (user: drh, tags: trunk)
2014-09-15
19:34
[48d201cd] Remove the experimental sqlite3_transaction_save() and restore() APIs. (user: dan, tags: ota-update)
16:57
[5efafef5] Merge latest trunk fixes into this branch. (user: dan, tags: ota-update)
16:53
[4060efb6] Fix tool/showwal.c so that it handles WAL files that contain 64KiB pages. (user: dan, tags: trunk)
16:50
[dedaa6fb] Avoid attempting to call the xFetch() method of an sqlite3_io_methods object with a version number less than 3. (user: dan, tags: trunk)
15:34
[55b8011d] Merge latest trunk changes with this branch. (user: dan, tags: ota-update)
15:22
[79f24184] Have sqlite3ota.c use grave accents instead of double-quotes to enclose identifiers in generated SQL. To avoid having the SQL engine substitute a literal string if a column reference cannot be resolved. (user: dan, tags: ota-update)
14:59
[69a64560] Remove the EXPENSIVE_ASSERTS in pcache.c having to do with the pSynced field of the Pcache object, as they are incorrect, as revealed by recent pcache enhancements. (user: drh, tags: trunk)
14:54
[473a72d7] Ensure the correct collation sequences are used when sorting data in sqlite3ota.c. (user: dan, tags: ota-update)
14:46
[0bdf1a08] Do not flatten aggregate subqueries that contain min() or max() functions so that if the min()/max() are discarded by the outer query, they still function and cause non-aggregate expression to be evaluated on the minimal or maximal row. (user: drh, tags: trunk)
12:18
[cca376bf] Have the sqlite3_index_writer() VMs check that the final values of records inserted into indexes on rowid tables are integers. (user: dan, tags: ota-update)
11:14
[4ff0eb96] Adjust comments to show that subquery flattening restriction (10) was removed from the code back in 2005. This is a comment change only. (user: drh, tags: trunk)
10:44
[b9b38cb8] Add OP_Affinity opcodes to the VMs generated by sqlite3_index_writer(). (user: dan, tags: ota-update)
2014-09-12
20:30
[b332a84d] Small performance improvement to the dirty list handling in the pager. (user: drh, tags: trunk)
17:41
[32055623] Simplify the way the column cache is managed around OP_Move instructions. (user: drh, tags: trunk)
04:28
[2f69a1fa] Fix a problem with parser memory allocation on 32-bit systems. (user: drh, tags: trunk)
2014-09-11
23:34
[34292b08] Fix an issue with sqlite3_bind_text64() with the SQLITE_UTF16 encoding parameter. Remove some unreachable code from the text64() and blob64() implementation. (user: drh, tags: trunk)
18:44
[7e4978c0] Add new APIs that take 64-bit length parameters: sqlite3_malloc64(), sqlite3_realloc64(), sqlite3_bind_blob64(), sqlite3_bind_text64(), sqlite3_result_blob64(), and sqlite3_result_text64(). Add the sqlite3_msize() interface. Internal memory allocation routines now use 64-bit unsigned length parameters for safety. Fix the sqlite3_get_table() to use sqlite3_realloc64() to avoid a integer overflow problem. (user: drh, tags: trunk)
17:27
[65884d4f] Add the SQLITE_USER_AUTHENTICATION extension to the trunk. This extension is disabled by default. Special compilation procedures are need to enable it. (user: drh, tags: trunk)
17:14
[b149ef5c] Closed-Leaf: Clean up some #includes in the extension API implementation. (user: drh, tags: user-auth)
16:36
[cda33c1e] Suppress the potential schema error that occurs when a non-user-auth SQLite library tries to parse the sqlite_user table definition in a user-auth database. (user: drh, tags: user-auth)
16:19
[842c6da8] Enhance the sqlite3_user_add() interface to initialize the user authentication logic. Add test cases for the extra argument on the end of the authorizer callback. (user: drh, tags: user-auth)
15:25
[96ea5c0b] All interfaces working and tested. (user: drh, tags: user-auth)
14:56
[974a9c65] Get the sqlite3_user_delete() interface working. (user: drh, tags: user-auth)
14:40
[52d440c7] Fix the sqlite3_user_change() interface so that it does allow a non-admin user to change their own password. (user: drh, tags: user-auth)
14:01
[70121e7c] Move user authentication blocking from sqlite3_prepare() over to the table lock generator, thus allowing SQL statements (like "PRAGMA locking_mode") that do not touch database content to run prior to authentication. (user: drh, tags: user-auth)
13:44
[596e728b] Add support for the extra parameter on the sqlite3_set_authorizer() callback and support for failing an ATTACH with an authentication-required database using bad credentials. The extension is now feature complete, but much testing and bug-fixing remains. (user: drh, tags: user-auth)
00:27
[2f6d8f32] Reorder parameters on the sqlite3_user_*() interfaces for consistency. Add the first TCL test cases. (user: drh, tags: user-auth)
2014-09-10
22:46
[4eaaa7fa] Complete the implementation of the various APIs. Fix several problems. This is another incremental check-in that does not completely work. (user: drh, tags: user-auth)
19:01
[a0455f9d] Add the ".user" shell command and implement the sqlite3_user_add() routine. Incremental check-in. The code compiles but does not work. (user: drh, tags: user-auth)
17:34
[c8171ecd] Further ideas on user authentication. Not yet working code. (user: drh, tags: user-auth)
2014-09-09
20:30
[6ab76c5f] Closed-Leaf: Change the name of the _texte64() interfaces to just _test64(), without the "e". (user: drh, tags: 64-bit-lengths)
18:41
[18d80cbc] Add new interfaces to the loadable extension mechanism. (user: drh, tags: 64-bit-lengths)
17:27
[94954850] Add new APIs that take 64-bit length parameters: sqlite3_malloc64(), sqlite3_realloc64(), sqlite3_bind_blob64(), sqlite3_bind_texte64(), sqlite3_result_blob64(), and sqlite3_result_texte64(). Internal memory allocation routines also now use 64-bit unsigned length parameters for safety. Also add the sqlite3_msize() interface. Fix the sqlite3_get_table() to use sqlite3_realloc64() to avoid a integer overflow problem. (user: drh, tags: 64-bit-lengths)
14:47
[8440f093] Non-working preliminary implementation attempts on user authentication. (user: drh, tags: user-auth)
2014-09-08
17:50
[e109b27e] Add support for update statements to sqlite3ota.c. (user: dan, tags: ota-update)
15:04
[c2885c6b] Merge support for large files on Android from trunk. (user: drh, tags: sessions)
2014-09-06
20:19
[f988234b] Add support for delete operations to the ota extension. (user: dan, tags: ota-update)
17:06
[ad7063aa] Fixes to os_unix.c to support database (and other) files larger than 2GiB on Android. (user: dan, tags: trunk)
16:52
[9dca7ce5] Closed-Leaf: Merge latest trunk changes with this branch. (user: dan, tags: android-large-filles)
16:49
[e7fae33c] Fixes to os_unix.c to support database (and other) files larger than 2GiB. (user: dan, tags: android-large-filles)
16:39
[e62aab5e] Fix typos in comments. No code changes. (user: peter.d.reid, tags: trunk)
03:38
[4d4fb197] Do not record a page-size change if the attempt to change the page size failed due to an OOM error. (user: drh, tags: trunk)
03:16
[27e3ca3e] Add the sqlite3_memdebug_title_count global variable, used during debugging to count the number of invocations of test_memdebug_settitle. By examining this variable in the debugger after a segfault, one can then set a breakpoint on test_memdebug_settitle that will fire just before the problem. (user: drh, tags: trunk)
02:00
[a758465e] Fix a couple of typos in comments. No changes to code. (user: mistachkin, tags: trunk)
01:35
[73954f93] Query planner heuristic update: When doing a full table scan on a table that has an equality constraint on an unindexed column, do not allow the estimated number of output rows to be greater than half the total number of rows in the table. (user: drh, tags: trunk)
2014-09-05
19:52
[3c2f4a07] Switch back to using a single database connection in sqlite3ota.c. (user: dan, tags: ota-update)