/ History for src/vdbe.c
Login

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

History for src/vdbe.c

2020-09-04
17:40
[eedd0e3c] part of check-in [ca8deb44] Update this branch with latest changes from trunk. (check-in: [ca8deb44] user: dan branch: reuse-schema, size: 274817)
2020-09-01
02:02
[2263fce9] part of check-in [49b7631e] Improvements to the IN-early-out optimization so that it works more efficiently when there are two or more indexed IN clauses on a single table. (check-in: [49b7631e] user: drh branch: branch-3.28, size: 260453)
01:52
[6430a540] part of check-in [35505c68] Improvements to the IN-early-out optimization so that it works more efficiently when there are two or more indexed IN clauses on a single table. (check-in: [35505c68] user: drh branch: trunk, size: 274817)
00:09
[bc2a53bf] part of check-in [07222dce] Minor changes - fix a compiler warning and add an assert(). (check-in: [07222dce] user: drh branch: in-early-out-fail, size: 276914)
2020-08-31
19:19
[8ca4a5aa] part of check-in [8301da31] An attempt to improve the performance of the IN-early-out optimization (see check-in [09fffbdf9f2f6ce3]) by avoiding unnecessary calls to the b-tree search algorithm in OP_IfNoHope when the index key is at hand and the same answer can be obtained by doing a quick key comparison. Update: Experiment did not work out. (check-in: [8301da31] user: drh branch: branch-3.28-in-early-out-fail, size: 262705)
16:31
[a0ce31a5] part of check-in [e9d983c6] An attempt to improve the performance of the IN-early-out optimization (see check-in [09fffbdf9f2f6ce3]) by avoiding unnecessary calls to the b-tree search algorithm in OP_IfNoHope when the index key is at hand and the same answer can be obtained by doing a quick key comparison. Update 2020-08-31: This experiment did not work out. A better approach is now on trunk. (check-in: [e9d983c6] user: drh branch: in-early-out-fail, size: 276873)
12:29
[c5da1456] part of check-in [62f7d2a6] Fix the documentation for the OP_IdxGT family of opcodes to show that the P5 operand is not used. (check-in: [62f7d2a6] user: drh branch: trunk, size: 274046)
2020-08-25
19:09
[e88c94a5] part of check-in [ad195e3d] Add support for the sqlite3_txn_state() interface. (check-in: [ad195e3d] user: drh branch: trunk, size: 274088)
2020-08-17
21:03
[9f449f47] part of check-in [0ecda433] When doing an UPDATE or DELETE using a multi-column index where only a few of the earlier columns of the index are useful for the index lookup, postpone doing the main table seek until after all WHERE clause constraints have been evaluated, in case those constraints can be covered by unused later terms of the index, thus avoiding unnecessary main table seeks. (check-in: [0ecda433] user: dan branch: branch-3.28, size: 259682)
2020-08-11
14:55
[9ae5113f] part of check-in [b1a77b7e] Merge all changes since the 3.32.0 release into the reuse-schema branch. (check-in: [b1a77b7e] user: drh branch: reuse-schema, size: 274057)
14:06
[c45eb006] part of check-in [3ee73880] Update this branch with latest from begin-concurrent-pnu. (check-in: [3ee73880] user: dan branch: begin-concurrent-report, size: 276629)
13:22
[6b86ee94] part of check-in [ebefcb86] Merge all the latest changes into the begin-concurrent-pnu-wal2 branch. (check-in: [ebefcb86] user: drh branch: begin-concurrent-pnu-wal2, size: 276015)
11:34
[d4caea3c] part of check-in [91262e66] Merge latest trunk changes into this branch. (check-in: [91262e66] user: dan branch: wal2, size: 274456)
2020-08-10
21:16
[7b7d4bdb] part of check-in [ed4c742c] Merge recent trunk enhancements into begin-concurrent. (check-in: [ed4c742c] user: drh branch: begin-concurrent, size: 275616)
14:18
[e9f7f818] part of check-in [9d670a31] Fix harmless compiler warnings that surface in newer versions of GCC. (check-in: [9d670a31] user: drh branch: trunk, size: 274057)
2020-08-04
16:11
[332717db] part of check-in [af07d845] Fix compilation issues with MSVC. (check-in: [af07d845] user: mistachkin branch: msvcWarn, size: 273863)
2020-07-31
17:08
[01909cb3] part of check-in [ebd39665] Merge latest wal2 changes into this branch. (check-in: [ebd39665] user: dan branch: begin-concurrent-pnu-wal2, size: 275800)
16:01
[a8a69553] part of check-in [0c0d0a77] Merge latest trunk changes into this branch. (check-in: [0c0d0a77] user: dan branch: wal2, size: 274241)
2020-07-30
19:56
[e6ece05b] part of check-in [fd01e788] Merge begin-concurrent-pnu changes into this branch. (check-in: [fd01e788] user: dan branch: begin-concurrent-report, size: 276414)
19:19
[dd83e5f9] part of check-in [e8a66515] Merge latest trunk changes into this branch. (check-in: [e8a66515] user: dan branch: begin-concurrent, size: 275401)
2020-07-29
16:18
[dec49069] part of check-in [a80ae2c9] Dozens and dozens of typo fixes in comments. This change adds no value to the end product and is disruptive, so it is questionable whether or not it will ever land on trunk. (check-in: [a80ae2c9] user: drh branch: typos, size: 273919)
12:23
[aeb19f08] part of check-in [1d69eee8] Fix signed/unsigned compiler warnings. (check-in: [1d69eee8] user: drh branch: larger-databases, size: 273842)
2020-07-22
18:03
[120fdb1a] part of check-in [6c3a2727] When parsing the schema, detect out-of-bounds rootpage values and throw an error. (check-in: [6c3a2727] user: drh branch: rootpage-bounds-check, size: 273832)
13:38
[44ac1776] part of check-in [9ce1710a] Continuing work toward supporting unsigned 32-bit page numbers. (check-in: [9ce1710a] user: drh branch: larger-databases, size: 273770)
2020-07-17
11:07
[edc60524] part of check-in [12a909fb] Bring this branch up to date with begin-concurrent-pnu. (check-in: [12a909fb] user: dan branch: begin-concurrent-report, size: 275658)
2020-07-16
20:57
[a6133920] part of check-in [2160ede1] Allow BEGIN CONCURRENT transactions to contain schema modifications. However, this causes them to conflict with all other transactions. (check-in: [2160ede1] user: dan branch: begin-concurrent-pnu-wal2, size: 275044)
20:10
[03054bb2] part of check-in [24eead92] Allow BEGIN CONCURRENT transactions to contain schema modifications. However, this causes them to conflict with all other transactions. (check-in: [24eead92] user: dan branch: mistake, size: 274645)
2020-07-09
14:05
[981666c4] part of check-in [610ee8d5] Fix a comment typo. No changes to code. (check-in: [610ee8d5] user: drh branch: trunk, size: 273919)
2020-07-06
12:13
[b48b332a] part of check-in [612eb590] Increase the resolution of the vdbe opcode counters to 64 bits, as apparently some users run single prepared statements that go for longer than 4 billion instructions. See forum post "Possible freeze in the progress loop" (check-in: [612eb590] user: drh branch: trunk, size: 273918)
2020-07-01
16:19
[1208cbee] part of check-in [27d4a9a7] Ensure that the "PRAGMA schema_version" command causes the schema to be reparsed and reloaded. (check-in: [27d4a9a7] user: drh branch: trunk, size: 273906)
2020-06-29
20:09
[b9ff6800] part of check-in [a73f80f2] Document the dual-use of the P5 operand to the OP_MakeRecord opcode. (check-in: [a73f80f2] user: drh branch: trunk, size: 273602)
2020-06-19
15:24
[6651629d] part of check-in [7a876209] Extend the refactoring into extensions. Clean up stray newlines. (check-in: [7a876209] user: drh branch: trunk, size: 273039)
13:33
[ab55c096] part of check-in [9536fa0a] Further refactoring of the schema table name. (check-in: [9536fa0a] user: drh branch: trunk, size: 273039)
2020-06-18
14:30
[f1502f70] part of check-in [c2d36763] Merge the 3.32.3 release into the reuse-schema branch. (check-in: [c2d36763] user: drh branch: reuse-schema-3.32, size: 273141)
2020-06-17
12:37
[907af2a6] part of check-in [d55b8e79] Merge miscellaneous fixes from trunk into the 3.32 branch. (check-in: [d55b8e79] user: drh branch: branch-3.32, size: 273141)
2020-06-16
15:19
[169b4340] part of check-in [dc081336] Merge 3.32.2 changes into the reuse-schema branch. (check-in: [dc081336] user: drh branch: reuse-schema-3.32, size: 273139)
2020-06-15
20:27
[985f92b5] part of check-in [61782a7a] Provide "sqlite_schema" as an alternative name to the table that holds the database schema. (check-in: [61782a7a] user: drh branch: trunk, size: 273039)
2020-06-14
13:40
[2f5cdcd6] part of check-in [90b1169d] Check-in [1d4f86201dab9a22] changed a testcase() to an assert() because we didn't know how to reach that condition any more. But YongHeng's fuzzer found a way. So now we change it back. Ticket [9fb26d37cefaba40]. (check-in: [90b1169d] user: drh branch: trunk, size: 273040)
2020-06-03
22:57
[133ee3a0] part of check-in [9cfefef5] Fix for ticket [810dc8038872e212]. (check-in: [9cfefef5] user: drh branch: branch-3.32, size: 273139)
19:28
[a154f278] part of check-in [89af93d7] Fix for ticket [810dc8038872e212]. Thank to user "Maxulite" for tracking down the problem! (check-in: [89af93d7] user: drh branch: trunk, size: 273038)
15:59
[0b58285c] part of check-in [43e0e59b] Simplification to the interrupt handling logic in sqlite3VdbeExec() saves a few bytes of code space. (check-in: [43e0e59b] user: drh branch: trunk, size: 272985)
2020-05-18
19:55
[92a24cea] part of check-in [5dc355cc] Merge latest trunk changes into this branch. (check-in: [5dc355cc] user: dan branch: begin-concurrent-pnu-wal2, size: 274946)
17:18
[d8a95ca5] part of check-in [16b1eca9] Merge latest trunk changes into this branch. (check-in: [16b1eca9] user: dan branch: wal2, size: 273485)
15:41
[6c2fdb92] part of check-in [9e4a7b3e] Merge latest trunk changes into this branch. (check-in: [9e4a7b3e] user: dan branch: begin-concurrent, size: 274547)
2020-05-16
19:00
[56860bb9] part of check-in [5af4abe9] Merge trunk enhancements in the reuse-schema branch. (Actual date of this check-in is 2020-05-18.) (check-in: [5af4abe9] user: drh branch: reuse-schema, size: 273086)
2020-05-05
18:42
[e3dba0de] part of check-in [f339f31f] Earlier detection of index corruption caused by missing index entries. (check-in: [f339f31f] user: drh branch: trunk, size: 273086)
2020-04-09
19:00
[9a6d025e] part of check-in [6c11b67b] Merge recent trunk changes into begin-concurrent-pnu-wal2. (check-in: [6c11b67b] user: drh branch: begin-concurrent-pnu-wal2, size: 274267)
18:51
[5eb49e06] part of check-in [d6fda470] Merge recent trunk changes into the apple-osx branch. (check-in: [d6fda470] user: drh branch: apple-osx, size: 272450)
18:46
[6e8d20b7] part of check-in [6fb87062] Merge recent trunk enhancements into the wal2 branch. (check-in: [6fb87062] user: drh branch: wal2, size: 272806)
18:29
[2375edd8] part of check-in [92f71a88] Merge recent trunk enhancements into the begin-concurrent branch. (check-in: [92f71a88] user: drh branch: begin-concurrent, size: 273868)
2020-03-31
18:41
[f55fe7db] part of check-in [c705ce26] Merge recent enhancements from trunk. (check-in: [c705ce26] user: drh branch: approximate-analyze, size: 272650)
2020-03-30
13:35
[97299939] part of check-in [a49f8ec5] Use __atomic_load_n() and __atomic_store_n() for a few more things where they are available. (check-in: [a49f8ec5] user: dan branch: trunk, size: 272407)
2020-03-20
16:13
[b7b9ec1d] part of check-in [e9e17e21] Revamp the EXPLAIN infrastructure to facilitate sqlite3_stmt_mode(). The currently code mostly works, but there are test failures. This is an incremental check-in. (check-in: [e9e17e21] user: drh branch: sqlite3_stmt_mode, size: 272685)
2020-03-19
21:17
[ca986d3f] part of check-in [3cf7537b] Initial code for a proposed new sqlite3_stmt_mode() API. This is an incomplete snapshot of a work-in-progress. (check-in: [3cf7537b] user: drh branch: sqlite3_stmt_mode, size: 272386)
2020-03-17
17:11
[45896ffb] part of check-in [714419fe] Provide an estimated row count to stat_init() for STAT1 analysis. (check-in: [714419fe] user: drh branch: approximate-analyze, size: 272611)
13:41
[1f5e82e7] part of check-in [a9bfa47a] Remove the SQLITE_OMIT_BTREECOUNT option. Btree count is required. (check-in: [a9bfa47a] user: drh branch: approximate-analyze, size: 272330)
2020-03-12
17:28
[c1c123c6] part of check-in [23174921] Fix comments and strengthen assert() statements associated with the OPFLAG_SEEKEQ and BTREE_SEEK_EQ flags. (check-in: [23174921] user: drh branch: trunk, size: 272368)
2020-03-11
19:41
[6d0cf7ac] part of check-in [d7f18489] Rename sqlite3ExprCodeAtInit() to sqlite3ExprCodeRunJustOnce(). Other changes to make the new code cleaner. Test cases added. (check-in: [d7f18489] user: drh branch: do-not-factor-functions, size: 272029)
2020-03-07
16:51
[3a09496d] part of check-in [d28d1739] Fix reporting cases related to UPDATE. And of WITHOUT ROWID tables. (check-in: [d28d1739] user: dan branch: begin-concurrent-report, size: 274281)
2020-03-06
20:51
[4a084f3e] part of check-in [1c1f180e] Enhancement to log logical writes as well as reads. (check-in: [1c1f180e] user: dan branch: begin-concurrent-report, size: 274276)
2020-03-05
20:59
[e8370c65] part of check-in [ab458a31] Fix reporting for indexed range scans that extend past the end of the data. (check-in: [ab458a31] user: dan branch: begin-concurrent-report, size: 273959)
16:30
[988413f3] part of check-in [9d068e1e] Merge trunk enhancements into the reuse-schema branch. (Actual check-in date is 2020-05-18) (check-in: [9d068e1e] user: drh branch: reuse-schema, size: 272055)
2020-03-04
19:17
[0a930c53] part of check-in [6ec5a899] Fix cases to do with index scans. (check-in: [6ec5a899] user: dan branch: begin-concurrent-report, size: 274008)
2020-03-03
21:01
[8b62e98c] part of check-in [427e2c9d] Extend begin_concurrent_report() so that it reports on accesses to non-intkey tables as well. (check-in: [427e2c9d] user: dan branch: begin-concurrent-report, size: 273869)
20:48
[8ad7906c] part of check-in [0463576b] Fix a false-positive in the debugging logic that attempts to detect the use of uninitialized registers inside triggers. Ticket [c4c56482ced89d90] (check-in: [0463576b] user: drh branch: trunk, size: 272055)
2020-03-02
21:00
[4224e258] part of check-in [ad961aee] Fix reporting for some range scan cases. (check-in: [ad961aee] user: dan branch: begin-concurrent-report, size: 273806)
15:05
[ccc18c7d] part of check-in [b1880b18] Merge latest begin-concurrent-pnu changes with this branch. (check-in: [b1880b18] user: dan branch: begin-concurrent-report, size: 273610)
2020-02-27
15:20
[4af1cafa] part of check-in [3f5650aa] Merge latest trunk changes into this branch. (check-in: [3f5650aa] user: dan branch: reuse-schema, size: 272054)
2020-02-06
13:57
[15cae95d] part of check-in [447d71f0] Separate OP_IdxInsert and OP_SorterInsert into completely separate opcodes, helping each one to run a little faster. (check-in: [447d71f0] user: drh branch: trunk, size: 272054)
2020-02-05
18:28
[0fdca82c] part of check-in [ae6dd8d3] Small size reduction and performance improvement in the sqlite3VdbeMemFromBtree() interface used to pull content out of the b-tree and into an sqlite3_value object. (check-in: [ae6dd8d3] user: drh branch: trunk, size: 271819)
2020-02-04
20:22
[46ad511d] part of check-in [76668b55] Merge latest trunk/wal2 changes, including the SQLITE_ENABLE_CORRUPT_PGNO patch, with this branch. (check-in: [76668b55] user: dan branch: begin-concurrent-pnu-wal2, size: 273667)
20:11
[a8af6d54] part of check-in [6ad4d6b7] Merge latest trunk changes into this branch. (check-in: [6ad4d6b7] user: dan branch: wal2, size: 272206)
20:08
[0e367e66] part of check-in [f253618a] Merge latest trunk changes, including the SQLITE_ENABLE_CORRUPT_PGNO patch, into this branch. (check-in: [f253618a] user: dan branch: begin-concurrent, size: 273268)
2020-02-01
21:03
[b34d430a] part of check-in [1d4f8620] On an INSERT or UPDATE, perform affinity conversions on new data prior to running CHECK constraints. Ticket [86ba67afafded936]. (check-in: [1d4f8620] user: drh branch: trunk, size: 271807)
17:38
[9a3bf747] part of check-in [4248980a] Fix the comment display for the OP_Function opcode. And at the same time, improve the comment generating logic to make use of the newer sqlite3_str_appendf() interface. (check-in: [4248980a] user: drh branch: trunk, size: 271802)
2020-01-22
21:18
[b8e91e2c] part of check-in [9c3f4638] Merge version 3.31.0 (check-in: [9c3f4638] user: drh branch: begin-concurrent-pnu-wal2, size: 273662)
21:12
[3c109dd8] part of check-in [3bb267de] Merge version 3.31.0 (check-in: [3bb267de] user: drh branch: wal2, size: 272201)
20:56
[261df05c] part of check-in [bbbc2881] Merge version 3.31.0 (check-in: [bbbc2881] user: drh branch: begin-concurrent, size: 273263)
20:36
[e9f71d25] part of check-in [0eae87ad] Merge version 3.31.0 (check-in: [0eae87ad] user: drh branch: apple-osx, size: 271845)
2020-01-21
21:01
[507e704e] part of check-in [c39e3c14] Begin adding instrumentation to record and report on the set of key-ranges a concurrent transaction reads from the database. (check-in: [c39e3c14] user: dan branch: begin-concurrent-report, size: 273625)
2020-01-20
15:32
[bc12e1fe] part of check-in [9c920bba] Merge recent fixes from trunk. (check-in: [9c920bba] user: drh branch: reuse-schema, size: 271802)
2020-01-18
19:02
[e3dd230e] part of check-in [cd0437ba] Fix harmless compiler warning seen with MSVC. (check-in: [cd0437ba] user: mistachkin branch: trunk, size: 271802)
13:53
[562acbbe] part of check-in [a1be6ee0] Fix the VDBE so that it correctly handles the sequence of operations OP_OpenEphemeral, OP_OpenDup, OP_OpenEphemeral, and OP_OpenDup in that order on the same cursor. (check-in: [a1be6ee0] user: drh branch: trunk, size: 271806)
2020-01-17
15:24
[63db3831] part of check-in [3d13fbf2] Validate the type, name, and tbl_name fields of the sqlite_master table when loading the schema, unless writable_schema is engaged. (check-in: [3d13fbf2] user: drh branch: branch-3.28, size: 259180)
2020-01-16
13:02
[bd36fa36] part of check-in [f8801ffd] Very small performance improvement by ensuring that the argument to sqlite3VdbeFreeCursor() is non-NULL. Hold for the next sprint. (check-in: [f8801ffd] user: drh branch: close-cursor-faster, size: 271857)
2020-01-15
14:26
[8877d4f3] part of check-in [f7839178] Merge all recent enhancements and fixes from trunk. (check-in: [f7839178] user: drh branch: reuse-schema, size: 271822)
14:21
[78851748] part of check-in [350627f3] Merge in the latest trunk changes via the begin-concurrent-pnu branch. (check-in: [350627f3] user: drh branch: begin-concurrent-pnu-wal2, size: 273682)
14:11
[0fe7bdf9] part of check-in [35eae71a] Merge recent enhancements and fixes from trunk. (check-in: [35eae71a] user: drh branch: wal2, size: 272221)
13:34
[cdad729e] part of check-in [95ba2f50] Merge fixes and enhancements from trunk into begin-concurrent. (check-in: [95ba2f50] user: drh branch: begin-concurrent, size: 273283)
12:49
[bb6cc5fb] part of check-in [dadedf41] Merge all recent enhancements and fixes from trunk into the apple-osx branch. (check-in: [dadedf41] user: drh branch: apple-osx, size: 271865)
2020-01-08
11:36
[35dcc7d4] part of check-in [29544288] Fix a minor formatting error in the display of BLOB values during VDBE tracing. (check-in: [29544288] user: drh branch: trunk, size: 271822)
2020-01-06
20:48
[b557ecd9] part of check-in [e1154c39] In the typeof() optimization in OP_Column, expand the size of the bogus buffer provided for data so that it is big enough to cover the increased number of bytes displayed during register tracing from check-in [54553bf16fabd72d]. This is the correct fix for ticket [bbd55a97e66ff50d], though the earlier one does not hurt and is useful to retain. (check-in: [e1154c39] user: drh branch: trunk, size: 271821)
19:23
[80598853] part of check-in [69f6a7e4] Rewrite the (debugging use only) sqlite3VdbeMemPrettyPrint() function to use the safer StrAccum interface rather than writing directly into a static string buffer. Perhaps this will address ticket [bbd55a97e66ff50d], which we are unable to reproduce. (check-in: [69f6a7e4] user: drh branch: trunk, size: 271734)
2020-01-04
19:12
[d0e32097] part of check-in [8452fe03] Fix harmless compiler warnings. (check-in: [8452fe03] user: drh branch: trunk, size: 272013)
18:33
[8a1cf75f] part of check-in [182a898b] Record when the OP_IfNotOpen branch is and is not taken. (check-in: [182a898b] user: drh branch: trunk, size: 271774)
16:55
[204a59d9] part of check-in [95ef6896] Fix a problem where the loop for the RHS of a LEFT JOIN uses values from an IN() clause as the second or subsequent field of an index. (check-in: [95ef6896] user: dan branch: trunk, size: 271730)
2020-01-02
19:50
[459a233a] part of check-in [28900e5c] Fix some test logic in the OP_Delete opcode so that it works after a cursor-trip. (check-in: [28900e5c] user: drh branch: trunk, size: 271404)
17:46
[a8c88ee0] part of check-in [937be221] Have the OP_ReleaseReg opcode also invalidate the registers if P5 is non-zero. (check-in: [937be221] user: drh branch: trunk, size: 271346)
15:02
[af35d7ad] part of check-in [5377add4] Fix the OP_Move opcode so that it correctly manages dependency tracking. This change impacts debugging builds only. (check-in: [5377add4] user: drh branch: trunk, size: 271292)
14:42
[62f0a6d1] part of check-in [9886cb4b] Enhancements to aid testing and debugging: In PRAGMA vdbe_trace=on output, show pScopyFrom dependencies on register values. Add the sqlite3VdbeRegisterDump() procedure, callable from a debugger, that shows the values of all registers. Pass the VDBE pointer into test_trace_breakpoint() so that sqlite3VdbeRegisterDump() is callable from the breakpoint. (check-in: [9886cb4b] user: drh branch: trunk, size: 271230)
13:26
[9d432abf] part of check-in [49a6368c] Add the test_trace_breakpoint() subroutine that is invoked after each instruction is printed while running PRAGMA vdbe_trace=on. Only works for SQLITE_DEBUG builds. Also add parameters "pc" and "pOp" to test_addop_breakpoint() to make it easier to set conditionals. (check-in: [49a6368c] user: drh branch: trunk, size: 270878)
2019-12-31
12:18
[119ddfe1] part of check-in [1dc83c5d] The OP_ResultRow opcode releases the SCopy dependences on all its registers, as the values in those registers will not be reused. (check-in: [1dc83c5d] user: drh branch: trunk, size: 270197)
2019-12-29
22:08
[28132ce0] part of check-in [db4b7e1d] Do not allow triggers that run as part of REPLACE conflict resolution during an UPDATE to modify the the table being updated. Otherwise, those triggers might delete content out from under the update operation, leading to all kinds of problems. Ticket [314cc133e5ada126] (check-in: [db4b7e1d] user: drh branch: trunk, size: 269829)
00:52
[7235823b] part of check-in [21ef6e99] Add the OP_FinishSeek opcode which completes an OP_DeferredSeek if the seek has not already completed. Also add the sqlite3WhereUsesDeferredSeek() interface to the query planner. The UPDATE implementation adds an OP_FinishSeek before running the final OP_Insert if one is needed. Ticket [ec8abb025e78f40c] and also an assertion fault reported by Yongheng. (check-in: [21ef6e99] user: drh branch: trunk, size: 269089)
2019-12-28
01:52
[4d91d635] part of check-in [6afadd3b] When an INSERT is receiving content from a SELECT, run an OP_ReleaseReg opcode at the top of each iteration of the loop in order to prevent spurious OP_SCopy misuse complaints. Ticket [de4b04149b9fdeae] (check-in: [6afadd3b] user: drh branch: trunk, size: 268551)
2019-12-24
21:42
[8b0f3445] part of check-in [76f54ee8] Fix a minor performance regression from check-in [401c9d30e06191d9] (check-in: [76f54ee8] user: drh branch: trunk, size: 268168)
01:53
[8691c41f] part of check-in [401c9d30] Allow comparison operators of a register against itself. Ticket [188f912b51cd802a], (check-in: [401c9d30] user: drh branch: trunk, size: 268150)
2019-12-23
14:20
[46695ae0] part of check-in [0b1dbd60] For expressions like (x, y) IN (SELECT ...) where the SELECT uses window-functions, require that all columns on the LHS be indexed before an index can be used. Fix for [d9ed4ebe]. (check-in: [0b1dbd60] user: dan branch: trunk, size: 268146)
13:24
[2efa3b39] part of check-in [bff38e2b] Fix a shift-overflow problem in yesterday's check-in [36fdeb4f0a66970a] that OSSFuzz helpfully discovered overnight. Thanks Google. (check-in: [bff38e2b] user: drh branch: trunk, size: 268127)
03:37
[f23ba176] part of check-in [f347744e] Fix the OP_Cast operator so that when casting to TEXT, it always leaves the result in the encoding of the database. Ticket [0911b5d161b039c6]. Test cases in TH3. (check-in: [f347744e] user: drh branch: trunk, size: 268118)
02:43
[edbd3ce5] part of check-in [2c44c734] Change the assert() back into a testcase(). See also check-ins [9ab985a9c8160b90] and [ddb17d92df194337] and other check-ins that those reference. Fix for ticket [9d708e474201c001] (check-in: [2c44c734] user: drh branch: trunk, size: 268077)
02:18
[979cb8e1] part of check-in [36fdeb4f] Enhance the sqlite3VdbeMemAboutToChange() shallow-copy validation mechanism by adding the new OP_ReleaseReg opcode to tell MemAboutToChange() that a range of registers is no longer needed so that the source register can be freely changed. This is a change to debugging and test builds only and does not impact release builds. Fix for ticket [c62c5e58524b204d] and [5ad2aa6921faa1ee]. The previous fix to ticket [5ad2aa6921faa1ee] is backed out by this change since this change is a better fix. (check-in: [36fdeb4f] user: drh branch: trunk, size: 268400)
2019-12-22
18:23
[a5883b94] part of check-in [ddb17d92] Back out the asserts of check-ins [a500893b6f64aced] and [d9c9fe9f5ad3fc91] as ticket [1b06916e01c82b66] demonstrates a case that refutes them. (check-in: [ddb17d92] user: drh branch: trunk, size: 265598)
2019-12-20
17:25
[c1e35ead] part of check-in [dc5f1d28] Debugging improvement: when tracing the VDBE, output the register value for OP_Cast after the cast is completed. (check-in: [dc5f1d28] user: drh branch: trunk, size: 265921)
14:37
[d25f832b] part of check-in [c538601e] Improved assert() statements on the OP_Column opcode. (check-in: [c538601e] user: drh branch: trunk, size: 265888)
2019-12-18
02:12
[ab3f6e64] part of check-in [a96d02b4] Correctly unwind the savepoint stack if the database goes read-only in the middle of a savepoint. (check-in: [a96d02b4] user: drh branch: trunk, size: 265869)
2019-12-15
00:36
[ed52f3e6] part of check-in [672e749a] Abort the OP_Savepoint opcode early if a virtual table xSync method fails, perhaps due to an interrupt. (check-in: [672e749a] user: drh branch: trunk, size: 265794)
2019-12-14
18:08
[9195f223] part of check-in [5b4a88cd] Due to the previous change, the p5 parameter to OP_VColumn no longer ever contains extraneous bits, so change a testcase() into an assert() to show as much. (check-in: [5b4a88cd] user: drh branch: trunk, size: 265754)
2019-12-10
02:48
[30fc70ea] part of check-in [d47d66e3] Set the affinity of regular columns prior to computing the values of generated columns. Ticket [d7c3f125c925c522] (check-in: [d47d66e3] user: drh branch: trunk, size: 265762)
2019-11-15
02:52
[da91e9d3] part of check-in [2c8af352] Merge the version 3.30.1 changes into the apple-osx branch. (check-in: [2c8af352] user: drh branch: apple-osx, size: 266237)
2019-10-30
16:29
[b67d6af8] part of check-in [84e02d77] Simplify the bytecode generation for SQL function calls such that the OP_Function or OP_PureFunc opcodes are coded directly, rather than using the intermediate OP_Function0 or OP_PureFunc0 - opcodes that are now removed. (check-in: [84e02d77] user: drh branch: trunk, size: 265729)
2019-10-23
15:47
[9e4ba6bb] part of check-in [30065716] Minor adjustments for clarity and test coverage. (check-in: [30065716] user: drh branch: generated-columns, size: 266211)
2019-10-11
14:21
[9a3f4c2e] part of check-in [bf875dc5] Faster response to sqlite3_interrupt() in the OP_IntegrityCk and OP_Count opcodes. (check-in: [bf875dc5] user: drh branch: trunk, size: 266244)
11:21
[c434e158] part of check-in [eff7cd7f] Merge the 3.30.1 changes into reuse-schema. (check-in: [eff7cd7f] user: drh branch: reuse-schema-3.30, size: 266194)
2019-10-10
15:57
[da4030a7] part of check-in [b02630fe] Fix the OP_SeekRowid opcode so that it works correctly with a Real argument without damaging the value in the register that is the argument. Ticket [b2d4edaffdc156cc]. Test cases in TH3. (check-in: [b02630fe] user: drh branch: branch-3.30, size: 266194)
2019-10-07
01:05
[6df0a99d] part of check-in [3cde82c8] Fix the OP_SeekRowid opcode so that it works correctly with a Real argument without damaging the value in the register that is the argument. Ticket [b2d4edaffdc156cc]. Test cases in TH3. (check-in: [3cde82c8] user: drh branch: trunk, size: 266198)
2019-10-05
15:28
[c988e4e2] part of check-in [d7667f65] Reorder two comparisons for a small performance gain in OP_Transaction. (check-in: [d7667f65] user: drh branch: trunk, size: 266047)
2019-10-04
16:24
[a81238e5] part of check-in [dd09f7ce] Bring the begin-concurrent-pnu-wal2 branch up-to-date with 3.30.0. (check-in: [dd09f7ce] user: drh branch: begin-concurrent-pnu-wal2, size: 267903)
16:15
[e72bbea7] part of check-in [16e1dced] Bring the wal2 branch up to date with version 3.30.0 (check-in: [16e1dced] user: drh branch: wal2, size: 266442)
15:52
[3cae92bf] part of check-in [abd1b4df] Bring the begin-concurrent branch up-to-date with the 3.30.0 release. (check-in: [abd1b4df] user: drh branch: begin-concurrent, size: 267504)
15:41
[ba31e329] part of check-in [76b26aca] Bring the apple-osx branch up-to-date with the 3.30.0 release. (check-in: [76b26aca] user: drh branch: apple-osx, size: 266086)
15:31
[a70a294f] part of check-in [6e09afec] Bring the reuse-schema branch up-to-date with version 3.30.0. (check-in: [6e09afec] user: drh branch: reuse-schema, size: 266043)
2019-10-03
14:51
[7f43ed8e] part of check-in [a561a656] Increase the precision of floating point value display in VDBE debugging output. No changes to normally deployed code. (check-in: [a561a656] user: drh branch: trunk, size: 266043)
2019-09-30
16:57
[95df858e] part of check-in [06796124] Merge in the 3.30.0 beta 1 changes. (check-in: [06796124] user: drh branch: reuse-schema, size: 266040)
16:49
[ca8912c3] part of check-in [ebf88726] Merge in the 3.30.0 beta 1 enhancements. (check-in: [ebf88726] user: drh branch: begin-concurrent-pnu-wal2, size: 267900)
16:44
[0e5124a3] part of check-in [918bd97d] Merge 3.30.0 beta 1 changes from trunk. (check-in: [918bd97d] user: drh branch: wal2, size: 266439)
16:14
[cdfafd2d] part of check-in [a003818f] Merge the 3.30.0 beta 1 changes from trunk. (check-in: [a003818f] user: drh branch: begin-concurrent, size: 267501)
16:13
[71769977] part of check-in [9ce4c791] Merge the 3.30.0 beta 1 changes from trunk. (check-in: [9ce4c791] user: drh branch: apple-osx, size: 266083)
2019-09-17
21:28
[a3ff3898] part of check-in [8efd6259] Do not change the OP_String8 opcode into OP_String until *after* any necessary encoding conversions are accomplished. Otherwise, a rerun of the prepared statement after an OOM can result in errors. Test case in TH3. (check-in: [8efd6259] user: drh branch: trunk, size: 266040)
2019-09-16
20:16
[9108e2e6] part of check-in [ee83d8e3] Improved type information display when tracing VDBE execution. (check-in: [ee83d8e3] user: drh branch: trunk, size: 266040)
12:35
[968f911f] part of check-in [27eb2236] Merge all recent trunk enhancements into the reuse-schema branch. (check-in: [27eb2236] user: drh branch: reuse-schema, size: 266019)
12:29
[a6e8b7c5] part of check-in [15593bf3] Bring the begin-concurrent-pnu-wal2 branch up to date with all the latest enhancements on trunk. (check-in: [15593bf3] user: drh branch: begin-concurrent-pnu-wal2, size: 267879)
12:23
[2b019ff8] part of check-in [da8bc974] Merge recent trunk enhancements into the wal2 branch. (check-in: [da8bc974] user: drh branch: wal2, size: 266418)
12:08
[1f015e2e] part of check-in [93b9ef3f] Merge recent trunk enhancements into the begin-concurrent branch. (check-in: [93b9ef3f] user: drh branch: begin-concurrent, size: 267480)
12:02
[3167d8ff] part of check-in [a95191de] Merge the latest changes from trunk into the apple-osx branch. (check-in: [a95191de] user: drh branch: apple-osx, size: 266062)
2019-09-01
23:36
[145e417f] part of check-in [f6d8956c] Remove an obsolete paragraph from the OP_Column documentation. No code changes. (check-in: [f6d8956c] user: drh branch: trunk, size: 266019)
2019-08-30
21:52
[351129b4] part of check-in [54553bf1] Improvements to VDBE tracing. No changes to code in normal deliverables. (check-in: [54553bf1] user: drh branch: trunk, size: 266300)
2019-08-27
19:59
[fca0f376] part of check-in [94085fb3] Add support for "ORDER BY ... NULLS FIRST" and "ORDER BY ... NULLS LAST". Use this to fix ticket [f8a7060e]. (check-in: [94085fb3] user: dan branch: trunk, size: 266246)
17:01
[cdd90f4c] part of check-in [7f5168a7] Omit the "x IN (y)" to "x==y" optimization of check-in [e68b427afbc82e20] (and ticket [e39d032577df6942]) as it causes difficult affinity problems as demonstrated by ticket [dbaf8a6820be1ece] and the original assertion fault is no longer a factor due to countless other changes of the previous 5 years. (check-in: [7f5168a7] user: drh branch: trunk, size: 266036)
2019-08-22
19:35
[237b6c27] part of check-in [63e625c8] Merge fixes from trunk. Also fix a reference to the KeyInfo.aSortOrder field, which should now be KeyInfo.aSortFlags (check-in: [63e625c8] user: drh branch: nulls-last, size: 266185)
00:53
[7cd09c6c] part of check-in [81b9f0f5] Fix the OP_SeekGE, OP_SeekGT, OP_SeekLE, and OP_SeekLT opcodes so that they preserve the datatype of the value in the register used as the key. Ticket [d9f584e936c7a8d0] (check-in: [81b9f0f5] user: drh branch: trunk, size: 265975)
2019-08-13
15:22
[a1962622] part of check-in [5b4689d8] Merge latest trunk changes with this branch. (check-in: [5b4689d8] user: dan branch: reuse-schema, size: 265753)
2019-08-12
16:36
[bc43c994] part of check-in [07babb0f] Experimental implementation of NULLS FIRST/LAST. This branch still has problems - the most significant of which is that ORDER BY clauses with a non-default NULLS FIRST/LAST qualifier can never use an index. (check-in: [07babb0f] user: dan branch: nulls-last, size: 265963)
00:08
[10416102] part of check-in [724f4df9] Validate the type, name, and tbl_name fields of the sqlite_master table when loading the schema, unless writable_schema is engaged. (check-in: [724f4df9] user: drh branch: trunk, size: 265753)
2019-08-06
14:37
[d0c302d9] part of check-in [e8234f69] Use 0x40 (ASCII '@') instead of 0x00 to mean "no affinity" so that columns with no affinity can appear in a zero-terminated string. Use the new SQLITE_AFF_NONE macro for this new magic number. (check-in: [e8234f69] user: drh branch: pending, size: 265772)
2019-07-30
21:00
[4d542e9f] part of check-in [b9eda224] Fix the build for when -DSQLITE_SMALL_STACK is used. (check-in: [b9eda224] user: drh branch: trunk, size: 265752)
2019-07-29
06:06
[8e9afa99] part of check-in [2b221bb1] Fix the OP_Affinity operator so that when applying REAL affinity, it only sets MEM_IntReal if the integer value will fit in 6 bytes or less. Fix for ticket [ba2f4585cf495231] (check-in: [2b221bb1] user: drh branch: trunk, size: 265733)
05:23
[a6ee4cdf] part of check-in [cea8a892] Fix a minor typo in a comment. (check-in: [cea8a892] user: drh branch: trunk, size: 265194)
2019-07-26
20:54
[c6c38a31] part of check-in [7f1e4e4b] Merge latest changes from trunk into this branch. (check-in: [7f1e4e4b] user: dan branch: reuse-schema, size: 265194)
2019-07-13
16:15
[e9493a76] part of check-in [0d7287e1] Remove unreachable "break" statements to silence harmless compiler warnings from ICC. (check-in: [0d7287e1] user: drh branch: trunk, size: 265194)
2019-07-11
19:50
[0f2927b8] part of check-in [18bfb217] Improved comments and extra testcase() macros on the serial-type computation logic in the OP_MakeRecord opcode. (check-in: [18bfb217] user: drh branch: trunk, size: 265182)
19:22
[6747c7db] part of check-in [d837ab0d] Move the sqlite3VdbeSerialType() routine in-line in the OP_MakeRecord opcode. Optimizing compilers were doing this already. By doing it manually, we can omit some redundant tests and make the whole thing run a million cycles faster and use about 80 bytes less code space. (check-in: [d837ab0d] user: drh branch: trunk, size: 263854)
2019-07-08
21:32
[ca5c7d05] part of check-in [fae92fee] Merge recent trunk enhancements into the reuse-schema branch. (check-in: [fae92fee] user: drh branch: reuse-schema, size: 262264)
21:25
[617a6a71] part of check-in [08dcb459] Merge enhancments from wal2, which also merges trunk enhancements. (check-in: [08dcb459] user: drh branch: begin-concurrent-pnu-wal2, size: 264124)
21:19
[2c7d64b3] part of check-in [dcbcbc2a] Merge all enhancements from trunk into the wal2 branch. (check-in: [dcbcbc2a] user: drh branch: wal2, size: 262663)
21:06
[2aa04772] part of check-in [7fff0803] Merge recent trunk enhancements into the begin-concurrent branch. (check-in: [7fff0803] user: drh branch: begin-concurrent, size: 263725)
20:59
[78bf0030] part of check-in [de88ed86] Merge recent enhancements from trunk into apple-osx. (check-in: [de88ed86] user: drh branch: apple-osx, size: 262307)
2019-06-26
21:04
[aaa36d1a] part of check-in [5fd20e09] Ensure that when an ephemeral cursor is reopened with a second invocation of to OP_OpenEphemeral, the sequence counter is reset and the cache marked as stale. Fix for [9cdc5c46]. (check-in: [5fd20e09] user: dan branch: trunk, size: 262264)
2019-06-10
18:33
[42a79668] part of check-in [c0c90961] Make sure a CAST to "NUMERIC" results in an integer if the value can be losslessly expressed as an integer, as the documentation requires. Ticket [dd6bffbfb6e61db9]. (check-in: [c0c90961] user: drh branch: trunk, size: 262207)
2019-06-07
22:26
[51989be8] part of check-in [67a68af5] When casting string values into numeric and the string has a prefix that looks like a number but total string is not a well-formed number, then take extra care that the result is either integer or real depending on what the prefix looks like. Fix for tickets [e8bedb2a184001] and [4c2d7639f076aa]. (check-in: [67a68af5] user: drh branch: trunk, size: 262610)
2019-05-29
21:18
[e6fb674e] part of check-in [c1d8a3f6] Much faster implementation of applyNumericAffinity() by avoiding some unnecessary calls to sqlite3Atoi64(). (check-in: [c1d8a3f6] user: drh branch: trunk, size: 262609)
2019-05-24
13:04
[2a543ecb] part of check-in [ff9f3e09] Merge recent enhancements from trunk. (check-in: [ff9f3e09] user: drh branch: reuse-schema, size: 261743)
2019-05-17
15:59
[0380e947] part of check-in [14c00b10] Always store a REAL value in a column with REAL affinity if the integer equivalent would require 8 bytes of storage. Fix for [3c27b97e3]. (check-in: [14c00b10] user: dan branch: trunk, size: 261743)
2019-05-16
20:13
[41d8cc6e] part of check-in [915388ab] Fix an assert() in the OP_Delete opcode that could fail with a corrupt database. (check-in: [915388ab] user: dan branch: trunk, size: 261594)
01:22
[27fe1628] part of check-in [d612fb78] Make sure the OP_Concat opcode always correctly zero-terminates a UTF16 string, even if the input strings are ill-formed. This is a followup to check-in [3a16ddf91f0c9c516a7] that fixes a case the previous check-in missed. Also add assert()s to prove correct zero termination. (check-in: [d612fb78] user: drh branch: trunk, size: 261580)
2019-05-14
22:25
[28d2d2a8] part of check-in [018f3199] Merge all the latest trunk enhancements into the reuse-schema branch. (check-in: [018f3199] user: drh branch: reuse-schema, size: 261556)
22:07
[5399f07c] part of check-in [3deaa6e2] Merge the latest trunk and wal2 enhancements. (check-in: [3deaa6e2] user: drh branch: begin-concurrent-pnu-wal2, size: 263416)
22:02
[e2c3aee0] part of check-in [23ec34e4] Merge the latest trunk enhancements into the wal2 branch. (check-in: [23ec34e4] user: drh branch: wal2, size: 261955)
21:51
[aaf959e1] part of check-in [5d3a6e18] Merge the latest trunk enhancements into begin-concurrent. (check-in: [5d3a6e18] user: drh branch: begin-concurrent, size: 263017)
20:25
[d14841dc] part of check-in [bc7d2c16] Fix a problem with the fix for [9cf6c9bb51] (commit [658b84d7]) that could cause a cursor to be left in an invalid state following a (rowid < text-value) search. (check-in: [bc7d2c16] user: dan branch: trunk, size: 261556)
19:39
[af557399] part of check-in [40362d51] Merge recent enhancements from trunk into apple-osx. (check-in: [40362d51] user: drh branch: apple-osx, size: 261599)
2019-05-10
14:03
[4ab7c36d] part of check-in [e80b2d9f] Improved comments and extra assert() statements on the OP_Savepoint opcode, just to make the code a little easier to read and reason about. (check-in: [e80b2d9f] user: drh branch: trunk, size: 261556)
2019-05-09
16:22
[d4efd6e5] part of check-in [ac790729] Improved debugging output from the OP_MakeRecord opcode. (check-in: [ac790729] user: drh branch: trunk, size: 261339)
11:19
[5612b064] part of check-in [7ccf2e7d] Fix a problem in the new code introduced by [658b84d7] causing corruption and other errors to be ignored. (check-in: [7ccf2e7d] user: dan branch: trunk, size: 261264)
2019-05-08
11:42
[02d6df64] part of check-in [a870c196] Fix VDBE opcodes OP_SeekLT and OP_SeekLE so that they work on intkey tables with non-numeric text values. (check-in: [a870c196] user: dan branch: tkt-9cf6c9bb, size: 261204)
2019-05-04
01:41
[20e60985] part of check-in [5a8a23ee] In the sqlite3_value or Mem object, make the MEM_IntReal type completely independent from MEM_Int and MEM_Real. This helps avoid problems when inserting non-float values into a "REAL" column. (check-in: [5a8a23ee] user: drh branch: trunk, size: 261167)
01:29
[b0c87760] part of check-in [8b8ef445] New testcase macros to ensure that MEM_IntReal is fully tested. (check-in: [8b8ef445] user: drh branch: int-real, size: 261076)
2019-05-03
18:50
[81aa6fe0] part of check-in [a9b90aa1] Fix a memory-leak/segfault caused by using OP_OpenDup and OP_OpenEphemeral on the same VM cursor. (check-in: [a9b90aa1] user: dan branch: trunk, size: 260391)
2019-05-02
21:36
[ddb6bb72] part of check-in [dba836e3] Make MEM_IntReal a completely independent type, meaning a floating point value stored as an integer. This fixes a problem with arithmetic within arguments to string functions on indexes of expressions. But it is a big change and needs lots of new testcase() macros for MC/DC and so it is initially put on this branch. (check-in: [dba836e3] user: drh branch: int-real, size: 260581)
00:52
[36993059] part of check-in [3e897702] Fix an issue (discovered by OSSFuzz) in the enhanced OP_Concat operator from check-in [713caa382cf7dd] earlier today. (check-in: [3e897702] user: drh branch: trunk, size: 260300)
2019-05-01
18:59
[c15d6a10] part of check-in [5997d075] When values have real affinity and are converted into strings for CHECK constraints or index expressions, do the conversions into a real-number format even if the values are stored as integers for efficiency. This appears to fix ticket [ae0f637bddc5290b446]. (check-in: [5997d075] user: drh branch: trunk, size: 260152)
15:32
[57b0b697] part of check-in [713caa38] Avoid unwelcomed side effects on the input operands in the OP_Concat operator. Fix for ticket [3be1295b264be2fac49b681] (check-in: [713caa38] user: drh branch: trunk, size: 259762)
14:41
[74ee707e] part of check-in [56604bb6] In "PRAGMA vdbe_trace" output, show the results of OP_Affinity opcodes. (check-in: [56604bb6] user: drh branch: trunk, size: 259231)
2019-04-30
01:08
[2782da51] part of check-in [3bdce7ef] Slightly smaller and faster implementation of the OP_MakeRecord opcode. (check-in: [3bdce7ef] user: drh branch: trunk, size: 259187)
2019-04-15
15:35
[47d08dda] part of check-in [5c6c9e7f] Merge recent changes from trunk into reuse-schema (check-in: [5c6c9e7f] user: drh branch: reuse-schema, size: 259199)
15:28
[9c5a4921] part of check-in [1cd536ec] Merge all recent enhancements. (check-in: [1cd536ec] user: drh branch: begin-concurrent-pnu-wal2, size: 261059)
15:17
[8e6ec9ee] part of check-in [8950f119] Merge the latest trunk enhancements. (check-in: [8950f119] user: drh branch: wal2, size: 259598)
14:59
[aa390c70] part of check-in [7c328e88] Merge the latest enhancements from trunk. (check-in: [7c328e88] user: drh branch: begin-concurrent, size: 260660)
2019-04-02
00:34
[694e81e2] part of check-in [0b35aebb] Merge enhancements from trunk. (check-in: [0b35aebb] user: drh branch: apple-osx, size: 259242)
00:28
[711ef421] part of check-in [b3f2c320] Add the sqlite3_value_frombind() interface. Use that interface to improve fts3_tokenizer(). (check-in: [b3f2c320] user: drh branch: trunk, size: 259199)
2019-04-01
20:57
[09a2d9b2] part of check-in [1dc7993b] Performance improvement on the OP_Variable opcode. (check-in: [1dc7993b] user: drh branch: value_frombind, size: 258285)
14:01
[eeaf0af9] part of check-in [8681750e] Improved comments on the VDBE branch coverage testing logic. Fix the VDBE branch coverage measurement on the OP_MustBeInt opcode. (check-in: [8681750e] user: drh branch: trunk, size: 259078)
13:06
[1528ce3b] part of check-in [1fcf3307] Fix a defect in the VDBE branch coverage testing logic. (check-in: [1fcf3307] user: drh branch: trunk, size: 257933)
2019-03-29
15:21
[75d5ccb1] part of check-in [c2edbf3b] Remove the unused P5 flag from the OP_Rewind opcode. (check-in: [c2edbf3b] user: drh branch: trunk, size: 257932)
11:13
[bc3632f4] part of check-in [98da62df] Initial implementation of the sqlite3_value_frombind() interface. (check-in: [98da62df] user: drh branch: value_frombind, size: 258195)
2019-03-19
11:56
[8f824b42] part of check-in [c02f77b1] Revert the OP_MustBeInt opcode implementation on this branch so that it again matches trunk. The extra functionality is no longer required. (check-in: [c02f77b1] user: dan branch: window-functions, size: 258164)
2019-03-18
18:55
[26da7a98] part of check-in [2879a691] Always evaluate window functions using the alternative path usually only used by EXCLUDE frames if the SQLITE_QueryFlattener test flag is set. (check-in: [2879a691] user: dan branch: window-functions, size: 258427)
16:51
[1bad4337] part of check-in [723c84be] Fixes for RANGE windows and NULL values. (check-in: [723c84be] user: dan branch: window-functions, size: 258386)
2019-03-14
16:36
[ec26b53c] part of check-in [7d66cd20] Add things to this branch that will be required to support the EXCLUDE clause. (check-in: [7d66cd20] user: dan branch: window-functions, size: 258414)
2019-03-12
18:28
[6e7a279e] part of check-in [25ff7091] Allow real values to be used in PRECEDING and FOLLOWING expressions for RANGE window frames. (check-in: [25ff7091] user: dan branch: window-functions, size: 258377)
2019-03-08
16:06
[df9ad6a3] part of check-in [543ecb30] Merge the latest enhancements and fixes from trunk. (check-in: [543ecb30] user: drh branch: begin-concurrent-pnu-wal2, size: 259974)
15:57
[9043f116] part of check-in [bf20d4ff] Merge the latest enhancements and fixes from trunk. (check-in: [bf20d4ff] user: drh branch: wal2, size: 258513)
15:30
[2abbb53b] part of check-in [667cce3d] Merge all the latest enhancements from trunk. (check-in: [667cce3d] user: drh branch: begin-concurrent-pnu, size: 259575)
2019-03-01
18:27
[52a36c07] part of check-in [e64ded7b] Merge the latest enhancements from trunk. (check-in: [e64ded7b] user: drh branch: apple-osx, size: 258157)
2019-02-25
18:07
[e172d158] part of check-in [5c1cf308] Merge latest trunk changes into this branch. (check-in: [5c1cf308] user: dan branch: reuse-schema, size: 258114)
2019-02-23
00:56
[2c61090f] part of check-in [0e64ac12] Import from trunk the new fix to ticket [df46dfb631f75694] in which all ephemeral tables used as the RHS of an IN operator be index btrees and never table btrees so that they can always be reused. (check-in: [0e64ac12] user: drh branch: branch-3.27, size: 258085)
2019-02-22
23:29
[f1e7b532] part of check-in [c2d50df8] Make all ephemeral tables built to hold the RHS of an IN operator be index-btrees, never table-btrees, regardless of whether or not they are used as IN_INDEX_LOOP or IN_INDEX_MEMBERSHIP. That way, the same ephmerial table can be reused for both cases. (check-in: [c2d50df8] user: drh branch: tkt-df46dfb631, size: 258114)
17:44
[c89fcead] part of check-in [001771af] Merge latest trunk changes into this branch. (check-in: [001771af] user: dan branch: reuse-schema, size: 258465)
2019-02-21
16:41
[c2ebe27a] part of check-in [c13d5639] Detect oversized strings in the OP_String opcode even if the P4 argument is originally UTF8 and has to be converted to UTF16 to match the database file and that conversion causes the string to become shorter and cross below SQLITE_LIMIT_LENGTH threshold. This might fix an OSSFuzz problem that we have been so far unable to reproduce. (check-in: [c13d5639] user: drh branch: trunk, size: 258465)
2019-02-20
18:44
[fbf91457] part of check-in [ba0ab042] Further test cases and fixes for SQLITE_OPEN_SHARED_SCHEMA. (check-in: [ba0ab042] user: dan branch: reuse-schema, size: 258445)
13:55
[f11f5b93] part of check-in [0c5db18d] Progress handler improvements: (1) Invoke the callback after OP_Program opcodes (2) Invoke the callback multiple times in a row to catch up after a long run of no progress checks. (check-in: [0c5db18d] user: drh branch: trunk, size: 258471)
13:23
[2a2b4cf4] part of check-in [be71d1e2] Merge the latest performance enhancements and fixes from trunk. (check-in: [be71d1e2] user: drh branch: apple-osx, size: 258488)
2019-02-14
15:56
[33953552] part of check-in [577d1638] Merge latest trunk into this branch. (check-in: [577d1638] user: dan branch: reuse-schema, size: 258996)
2019-02-13
19:17
[361c8525] part of check-in [53220ad7] Fix for sqlite3_table_column_metadata() on REUSE_SCHEMA databases. (check-in: [53220ad7] user: dan branch: reuse-schema, size: 258987)
13:48
[5f0e3dc9] part of check-in [e002666a] Performance optimization in the VDBE, and a fix for a harmless compiler warning. (check-in: [e002666a] user: drh branch: reuse-schema-vdbe-opt, size: 259268)
2019-02-12
22:58
[c67c8c46] part of check-in [167b91df] Ensure that the nProgressLimit variable is always initialized in sqlite3VdbeExec(), even if the routine jumps to its exit processing early. (check-in: [167b91df] user: drh branch: trunk, size: 258445)
21:04
[f72cc550] part of check-in [68cce272] Enhancement the progress callback mechanism so that the progress callback is always invoked at least once at the end of a prepared statement if the opcode count has been exceeded. This makes the progress callback more effective at limiting run times. This check-in also includes and unrelated performance enhancement to OP_Column. (check-in: [68cce272] user: drh branch: trunk, size: 258445)
19:20
[a9a47fee] part of check-in [ea611d7c] Share schemas between databases attached to the same database handle. (check-in: [ea611d7c] user: dan branch: reuse-schema, size: 258791)
2019-02-08
19:30
[4b593855] part of check-in [2b2e9f81] Add test cases and fix problems on this branch. (check-in: [2b2e9f81] user: dan branch: reuse-schema, size: 258747)
2019-01-29
19:17
[1e83f448] part of check-in [31efcc37] Merge enhancements from trunk. (check-in: [31efcc37] user: drh branch: apple-osx, size: 258479)
2019-01-26
16:34
[e5f6b9a3] part of check-in [d536be69] Roll back the transaction if a write statement fails with OE_Abort but there is no open statement transaction. (check-in: [d536be69] user: dan branch: rollback-abort, size: 258448)
2019-01-25
20:09
[b7b6f965] part of check-in [13f6942e] Do not accidently truncate zeroblob values when doing an arithmetic operation. Fix for ticket [bb4bdb9f7f654b0bb9f34cfba]. (check-in: [13f6942e] user: drh branch: trunk, size: 258436)
19:29
[2c99f790] part of check-in [98b3b975] Reinitialize debugging information on registers of a trigger prior to each invocation of the trigger. This prevents false-positives from the sqlite3VdbeMemAboutToChange() test logic. (check-in: [98b3b975] user: drh branch: trunk, size: 258416)
2019-01-18
17:53
[090d40c6] part of check-in [048add13] Handle oversize floating point values carefully when converting to integers for the '%' binary operator. (check-in: [048add13] user: drh branch: trunk, size: 258039)
2019-01-17
15:47
[a369d426] part of check-in [475a179a] Sync up with the latest enhancements on trunk. (check-in: [475a179a] user: drh branch: apple-osx, size: 258046)
2019-01-05
21:09
[1919d490] part of check-in [598d7358] If the OP_ParseSchema opcode with a non-NULL P4 operand does not parse any rows out of the sqlite_master table, that indicates that the sqlite_master table is corrupt, so raise an SQLITE_CORRUPT error. (check-in: [598d7358] user: drh branch: trunk, size: 258003)
2019-01-04
12:35
[66d07754] part of check-in [ccc4f742] Fix a typo in a comment used to generate documentation. No functional changes. (check-in: [ccc4f742] user: drh branch: trunk, size: 257680)
2019-01-02
16:30
[3a60858c] part of check-in [c31eeb3c] Merge latest wal2 changes into this branch. (check-in: [c31eeb3c] user: dan branch: begin-concurrent-wal2, size: 259539)
16:15
[fd859022] part of check-in [87ef68f9] Merge latest trunk changes into this branch. (check-in: [87ef68f9] user: dan branch: wal2, size: 258078)
16:08
[fcfecea4] part of check-in [5bf212f1] Merge latest trunk changes into this branch. (check-in: [5bf212f1] user: dan branch: begin-concurrent, size: 259140)
2019-01-01
18:00
[98c7a06d] part of check-in [5c188361] Ensure that when a new cursor is opened by OP_OpenDup, any existing cursor with the same id opened by a previous OP_OpenDup is closed first. (check-in: [5c188361] user: dan branch: trunk, size: 257679)
2018-12-31
18:30
[0be19a62] part of check-in [9fb646f2] Merge enhancements and bug fixes from trunk. (check-in: [9fb646f2] user: drh branch: reuse-subqueries, size: 257385)
17:58
[5c3d05e7] part of check-in [f856676c] Small changes to the OP_OpenEphemeral opcode to improve testability. (check-in: [f856676c] user: drh branch: trunk, size: 257348)
16:36
[0321eb48] part of check-in [4678cb10] Fix the OP_OpenEphemeral opcode in the bytecode engine so that if it is called a second or subsequent time, it merely clears the existing table rather than creating a new one. Proposed fix for ticket [d0866b26f83e9c55e30de0821f5d]. (check-in: [4678cb10] user: drh branch: trunk, size: 257292)
2018-12-28
19:23
[14952143] part of check-in [da53f3d3] Merge patches and enhancements from trunk. (check-in: [da53f3d3] user: drh branch: reuse-subqueries, size: 256887)
17:45
[8869a60f] part of check-in [0140f6db] Fix a problem causing the sqlite_master entry corresponding to a virtual table to be removed by a DROP TABLE even if the call to the vtabs xDestroy() method failed. (check-in: [0140f6db] user: dan branch: trunk, size: 256785)
2018-12-27
17:11
[ba573da2] part of check-in [ea96001e] Merge latest wal2 changes with this branch. (check-in: [ea96001e] user: dan branch: begin-concurrent-wal2, size: 258585)
2018-12-26
19:10
[f71d8ca9] part of check-in [404f9d99] Merge latest trunk changes with this branch. (check-in: [404f9d99] user: dan branch: wal2, size: 257124)
2018-12-24
02:34
[8d11da49] part of check-in [6c44838a] Experimental code that tries to put the computation of subqueries inside a subroutine, and reuse that subroutine if the same subquery is evaluated more than once. Current code does not work for CHECK constraints. (check-in: [6c44838a] user: drh branch: reuse-subqueries, size: 256827)
2018-12-22
00:34
[1f8e6c71] part of check-in [a3fdb2c7] The OP_Eq and OP_Ne operators have a special P5 value SQLITE_NOTNULL that asserts that the values are not null. Except that is not always true for a corrupt database. Adjust the assert() and add a testcase() to make this point clear. (check-in: [a3fdb2c7] user: drh branch: trunk, size: 256725)
2018-12-20
22:08
[8ced1263] part of check-in [98f34307] Do not set the Cursor.seekOp test variable in the OP_NotExists opcode. This is a change to test logic only and does not affect deliverable builds. (check-in: [98f34307] user: drh branch: trunk, size: 256659)
2018-12-18
17:20
[256dbfc0] part of check-in [123cbb33] Merge latest trunk changes into this branch. (check-in: [123cbb33] user: dan branch: begin-concurrent, size: 258061)
2018-12-15
20:59
[80b4a906] part of check-in [06bb80ee] Merge latest wal2 changes into this branch. (check-in: [06bb80ee] user: dan branch: begin-concurrent-wal2, size: 258460)
2018-12-14
21:58
[2f53edc4] part of check-in [33a1924e] Experimental support for new sqlite3_bind_blob() and sqlite3_bind_text() interfaces that take an extra void* argument that is passed into the destructor in front of the object that is to be destroyed. (check-in: [33a1924e] user: drh branch: custom-destructors, size: 256622)
20:20
[6ea32aa0] part of check-in [b29e02f8] Add the OP_ColumnsUsed opcode (when compiled with SQLITE_ENABLE_COLUMN_USED_MASK) as a hint to the b-tree layer as to which columns of a btree cursor will be used. (Backport from 3.8.11) (check-in: [b29e02f8] user: drh branch: branch-3.8.9, size: 216985)
2018-12-11
13:44
[c173ac2c] part of check-in [d8dd98a3] Merge latest trunk changes into this branch. (check-in: [d8dd98a3] user: dan branch: wal2, size: 256999)
2018-12-10
02:00
[b686909f] part of check-in [b1bbc718] Merge enhancements from trunk. (check-in: [b1bbc718] user: drh branch: apple-osx, size: 256643)
2018-12-08
00:43
[55bafc42] part of check-in [af172b53] Allow the INTO clause of VACUUM to be a text-valued expression. (check-in: [af172b53] user: drh branch: vacuum-into, size: 256600)
2018-12-07
17:28
[872bdd34] part of check-in [036e3320] Prototype implementation for the VACUUM INTO command. (check-in: [036e3320] user: drh branch: vacuum-into, size: 256568)
2018-12-06
17:06
[c7312c90] part of check-in [53d3b169] When masking bits off of sqlite3.flags, make sure the mask is 64 bits in size so as not to accidentally mask of high-order bits. (check-in: [53d3b169] user: drh branch: trunk, size: 256343)
2018-12-03
20:49
[accf8663] part of check-in [b7281a1c] Merge the wal2 and begin-concurrent code. Both features work, but not at the same time. (check-in: [b7281a1c] user: dan branch: begin-concurrent-wal2, size: 258198)
2018-12-01
20:14
[ee46b31b] part of check-in [7a44fa5a] Sync this branch with the latest trunk. (check-in: [7a44fa5a] user: dan branch: wal2, size: 256737)
2018-11-15
21:20
[10391332] part of check-in [31b6aee7] Fix some problems with the feature on this branch. Many problems remain. (check-in: [31b6aee7] user: dan branch: reuse-schema1, size: 256517)
2018-10-09
22:58
[6659e80c] part of check-in [1b60e7a9] Merge enhancements from trunk. (check-in: [1b60e7a9] user: drh branch: apple-osx, size: 256381)
22:50
[fdddd07e] part of check-in [ddf6a54e] Merge changes for the 3.25.0 release. (check-in: [ddf6a54e] user: drh branch: apple-osx, size: 255764)
2018-10-01
11:00
[b1b21424] part of check-in [31ac8dba] Ensure that the OP_VColumn opcode does set sqlite3_vtab_nochange() unless the OPFLAG_NOCHNG bit is set in P5. Fix for ticket [69d642332d25aa3b7315a6d385] (check-in: [31ac8dba] user: drh branch: branch-3.25, size: 255993)
2018-09-28
20:58
[d2672a54] part of check-in [86750c92] Merge latest trunk into this branch. (check-in: [86750c92] user: dan branch: begin-concurrent, size: 257799)
2018-09-27
20:20
[005e691e] part of check-in [322ab1fc] Ensure that the OP_VColumn opcode does set sqlite3_vtab_nochange() unless the OPFLAG_NOCHNG bit is set in P5. Fix for ticket [69d642332d25aa3b7315a6d385] (check-in: [322ab1fc] user: drh branch: trunk, size: 256338)
00:04
[35844c26] part of check-in [bd250533] Minor simplification: In OP_ParseSchema, read the p1 register once. (check-in: [bd250533] user: mistachkin branch: trunk, size: 256220)
2018-09-21
13:07
[c7416f6b] part of check-in [d10e6362] Optimization to the OP_MakeRecord opcode makes speed-check.sh run about 1.1 million cycles faster, and results in a slightly smaller library. (check-in: [d10e6362] user: drh branch: trunk, size: 256224)
2018-09-20
17:21
[7433ac76] part of check-in [71947337] By default, make all "ALTER TABLE RENAME" statements executed within a virtual table xRename() method exhibit the legacy behaviour. (check-in: [71947337] user: dan branch: legacy-alter-table, size: 255875)
2018-09-07
11:08
[80603eb6] part of check-in [725808d4] Fix an uninitialized variable in the OP_ParseSchema opcode that comes up only if the schema is corrupt. (check-in: [725808d4] user: drh branch: trunk, size: 255721)
2018-09-01
15:49
[dea0115a] part of check-in [589186c0] Merge fixes and enhancements from trunk. (check-in: [589186c0] user: drh branch: alter-table-rename-table, size: 255692)
2018-08-29
20:24
[74671dff] part of check-in [f48e9feb] Also free up the MEM_RowSet bit in the Mem.flags field and have RowSet objects be destroyed using Mem.xDel. This change results in faster code. (check-in: [f48e9feb] user: drh branch: trunk, size: 255365)
18:47
[a44a1cd2] part of check-in [62db5fd4] Free up the MEM_Frame bit in Mem.flags object. Store VdbeFrame objects as MEM_Blob with a special Mem.xDel pointer instead. (check-in: [62db5fd4] user: drh branch: trunk, size: 255277)
2018-08-24
17:55
[7a8fc343] part of check-in [a0e06d2c] After modifying and reparsing the schema as part of an ALTER TABLE RENAME COLUMN, check that no new schema errors have been introduced (e.g. ambiguous column names in views) before committing the operation. (check-in: [a0e06d2c] user: dan branch: alter-table-rename-column, size: 255411)
2018-08-14
19:27
[18482b9a] part of check-in [37d11b8e] Improved error messages when an ALTER TABLE RENAME COLUMN fails due to a duplicate column name. (check-in: [37d11b8e] user: drh branch: alter-table-rename-column, size: 255391)
2018-08-11
18:34
[a8dbb4ce] part of check-in [520c1c75] Avoid an assert() sometimes triggered by ALTER TABLE RENAME COLUMN in non-debug builds. (check-in: [520c1c75] user: dan branch: alter-table-rename-column, size: 255330)
13:40
[9cb95e16] part of check-in [f4497b01] Reload the entire schema after renaming a column in order to ensure that the schema for any tables for which parent key definitions were changed are reloaded. (check-in: [f4497b01] user: dan branch: alter-table-rename-column, size: 255287)
2018-08-06
01:21
[b11baa48] part of check-in [d9c9fe9f] Fix an overzealous assert() statement discovered by OSSFuzz. (check-in: [d9c9fe9f] user: drh branch: trunk, size: 255084)
2018-08-04
20:12
[8744e9e8] part of check-in [a500893b] Remove a testcase() that is no longer reachable without the column cache. Provide an assert() to help prove that the testcase is no longer reachable. (check-in: [a500893b] user: drh branch: omit-column-cache, size: 255310)
16:54
[7ab5a3cb] part of check-in [80236e81] Remove more column-cache residue: The OP_SetColTab and OP_VerifyColTab opcodes and the associated SQLITE_DEBUG_COLUMNCACHE logic. (check-in: [80236e81] user: drh branch: omit-column-cache, size: 254790)
2018-08-03
15:58
[8fbefa50] part of check-in [fa94b49e] Fix the OP_SeekRowid opcode so that it has no type-change side-effects on the key register in P3. This fixes an obcure problem that arises when doing equi-joins between a table with a TEXT column against another table with an INTEGER PRIMARY KEY. The original problem was discovered when OSSFuzz created such a query and hit an assert() in OP_VerifyTabCol that was specifically designed to catch these kinds of errors at run-time. Test cases for this fix are in TH3. (check-in: [fa94b49e] user: drh branch: trunk, size: 256245)
13:56
[259a0c17] part of check-in [0f881955] Improve "PRAGMA vdbe_trace=ON" to always show the key values for the OP_IdxGT and related opcodes. (check-in: [0f881955] user: drh branch: trunk, size: 255864)
2018-07-25
15:12
[f6358d39] part of check-in [6ee2950b] Keep generated opcode values grouped together when required, even when they do not correspond to a token. (check-in: [6ee2950b] user: mistachkin branch: trunk, size: 255790)
2018-07-24
22:02
[f5e6c0ea] part of check-in [2bd59333] Do not abort running queries due to a CREATE INDEX statement. Allow them to run to completion before being reprepared. Fix for ticket [c694113e50321afdf9]. (check-in: [2bd59333] user: drh branch: trunk, size: 255666)
2018-07-12
19:28
[c8b095bc] part of check-in [6a00a34e] Merge latest trunk changes into this branch. (check-in: [6a00a34e] user: dan branch: begin-concurrent, size: 256728)
2018-07-10
17:10
[9933ec03] part of check-in [76e42b70] Further improvements to bytecode branch testing. Fix cases where the macros said a branch could not be taken when in fact it could be. Alter some window function branch coverage macros to indicate that comparison operands cannot be NULL. (check-in: [76e42b70] user: drh branch: trunk, size: 255267)
16:04
[d8b06bfa] part of check-in [cd2da7e1] Enhancements and improved documentation to the byte-code branch coverage testing logic. Provide new macros that allow the code to specify that some branch instructions can never take the NULL path and that the OP_Jump opcode is only interested in equal/not-equal. The SQLITE_TESTCTRL_VDBE_COVERAGE file control callback now works slightly differently (it provides the callback with a bitmask of the branch action, rather than an integer). (check-in: [cd2da7e1] user: drh branch: trunk, size: 255236)
15:45
[5040613b] part of check-in [e9a3e864] Merge latest trunk changes into this branch. (check-in: [e9a3e864] user: dan branch: begin-concurrent, size: 255431)
2018-07-07
19:36
[800c69a8] part of check-in [42138891] Add an assert() to help verify that OP_AggInverse is never called on an accumulator that has not previously been processed by OP_AggStep. (check-in: [42138891] user: drh branch: trunk, size: 253970)
2018-07-05
21:22
[4e2768e8] part of check-in [fa653805] Use separate opcodes, OP_AggValue and OP_AggInverse, for the new callbacks associated with Window Functions, for improved readability of EXPLAIN output. (check-in: [fa653805] user: drh branch: trunk, size: 253538)
20:05
[ff748307] part of check-in [916cdc83] Get the json_group_array() and json_group_object() SQL functions working as window functions. (check-in: [916cdc83] user: drh branch: trunk, size: 252679)
2018-06-22
20:51
[37b942cc] part of check-in [5f04b016] Omit all window-function related code when building with SQLITE_OMIT_WINDOWFUNC. (check-in: [5f04b016] user: dan branch: exp-window-functions, size: 252690)
2018-06-18
16:55
[16385bc8] part of check-in [da03fb43] Add new API function sqlite3_create_window_function(), for creating new aggregate window functions. (check-in: [da03fb43] user: dan branch: exp-window-functions, size: 252540)
2018-06-14
19:06
[55bc870d] part of check-in [43eb1e75] Fix problem with window functions min() and max() when used with a PARTITION clause and a frame starting point other than "UNBOUNDED PRECEDING". (check-in: [43eb1e75] user: dan branch: exp-window-functions, size: 252513)
14:30
[f68624da] part of check-in [5cf5f180] Merge latest trunk changes into this branch. (check-in: [5cf5f180] user: dan branch: exp-window-functions, size: 252121)
2018-06-13
11:11
[f1bf4e51] part of check-in [e9a7e4d5] Check that malloc() has not already failed when invoking the xUpdate() method of a virtual table implementation. This fixes an assert() failure in FTS5 that could occur following an OOM condition. (check-in: [e9a7e4d5] user: dan branch: trunk, size: 251929)
2018-06-12
13:52
[7509cbda] part of check-in [b2973f23] Improvements to SCopy correctness tracking when SQLITE_DEBUG is enabled. (check-in: [b2973f23] user: drh branch: trunk, size: 251891)
13:16
[eb958898] part of check-in [acd78df6] Fix the "Synopsis" on the OP_BitNot opcode. (check-in: [acd78df6] user: drh branch: trunk, size: 251824)
2018-06-11
17:35
[e0ac1d7c] part of check-in [b37614a3] Add the OP_SetTabCol and OP_VerifyTabCol opcodes, only when compiling with SQLITE_DEBUG, to do run-time verification of the column cache. (check-in: [b37614a3] user: drh branch: trunk, size: 251824)
2018-06-07
20:35
[ed57efaa] part of check-in [25102203] Merge latest trunk changes with this branch. (check-in: [25102203] user: dan branch: exp-window-functions, size: 250588)
18:01
[d7a475ce] part of check-in [4b0b4e14] Fix the assert()s in the byte-code engine that prove that cursors are unidirectional. (check-in: [4b0b4e14] user: drh branch: multikey-opt-idea, size: 250396)
17:32
[3b8517d4] part of check-in [439c8162] Remove the NextIfOpen and PrevIfOpen opcodes which are no longer needed when the IN-early-out optimization is working. (check-in: [439c8162] user: drh branch: multikey-opt-idea, size: 250250)
14:32
[ed88889c] part of check-in [e9d7bf4f] Merge recent trunk enhancements. (check-in: [e9d7bf4f] user: drh branch: multikey-opt-idea, size: 250871)
2018-06-06
17:45
[ffa02701] part of check-in [d80077ae] Another minor optimization to OP_Transaction. (check-in: [d80077ae] user: drh branch: trunk, size: 248940)
17:03
[e74bd748] part of check-in [d7299bfe] Merge changes from trunk, including all the 3.24.0 changes plus some later enhancements. (check-in: [d7299bfe] user: drh branch: begin-concurrent, size: 250471)
16:28
[6d399cc8] part of check-in [a10662aa] Change sqlite3BtreeBeginTrans() to return the BTREE_SCHEMA_COOKIE, for a small speed improvement when starting new transactions. (check-in: [a10662aa] user: drh branch: trunk, size: 249010)
2018-06-05
20:45
[1c429876] part of check-in [6bf251af] Add the OP_IfNoHope and OP_SeekHit opcodes used to reduce the number of unnecessary sqlite3BtreeMovetoUnpacked() calls when checking for an early exit on IN-operator loops. Futher optimizations are likely possible here. (check-in: [6bf251af] user: drh branch: multikey-opt-idea, size: 251020)
13:43
[fcec6e9a] part of check-in [8a0b730d] Update and correct the documentation on the OP_OpenRead, OP_OpenWrite, and OP_ReopenIdx opcodes. No code changes other than the addition of an assert(). (check-in: [8a0b730d] user: drh branch: trunk, size: 249089)
2018-06-04
14:10
[e0164a0f] part of check-in [95fbac39] Merge changes from trunk. (check-in: [95fbac39] user: drh branch: apple-osx, size: 248521)
08:28
[29f34031] part of check-in [83d6416a] Merge latest trunk changes into this branch. (check-in: [83d6416a] user: dan branch: exp-window-functions, size: 248670)
2018-05-31
19:14
[71e5a72d] part of check-in [66c24513] More documentation typo fixes. No code changes. (check-in: [66c24513] user: drh branch: trunk, size: 248478)
19:00
[68ecba9c] part of check-in [5a2a88cb] Fix a harmless typo in a comment used to generate documentation. (check-in: [5a2a88cb] user: drh branch: trunk, size: 248481)
2018-05-28
17:31
[3771a25d] part of check-in [5a4542db] When compiling with SQLITE_DEBUG, add run-time checks to ensure that no statement aborts unless either there have been no writes or else there is a statement journal. (check-in: [5a4542db] user: drh branch: stmt-journal-testing, size: 248482)
2018-05-25
09:36
[976746c8] part of check-in [62325198] Merge latest trunk changes into this branch. (check-in: [62325198] user: dan branch: exp-window-functions, size: 247620)
2018-05-24
17:25
[565f7ccc] part of check-in [36cdfbf2] Fix a typo in a comment used to generate VDBE opcode documentation. No code changes. (check-in: [36cdfbf2] user: drh branch: trunk, size: 247428)
2018-05-23
20:55
[89c76c95] part of check-in [3a203660] Add support for "ROWS BETWEEN <expr> PRECEDING AND <expr> FOLLOWING" window frames. (check-in: [3a203660] user: dan branch: exp-window-functions, size: 247680)
17:53
[b67ec60f] part of check-in [06674269] Remove a branch that is no longer used due to the fix to the sqlite_sequence schema problem, ticket [d8dc2b3a58cd5dc2918a1d4acbba4676a23ada4c] (check-in: [06674269] user: drh branch: trunk, size: 247428)
2018-05-16
20:58
[d83cfec9] part of check-in [3781e520] Start of experimental implementation of SQL window functions. Does not yet work. (check-in: [3781e520] user: dan branch: exp-window-functions, size: 247590)
2018-04-10
18:05
[41eafba4] part of check-in [e20fcb51] Merge all version 3.23.1 changes and enhancements from trunk. (check-in: [e20fcb51] user: drh branch: apple-osx, size: 247531)
2018-03-28
15:41
[6a454c0f] part of check-in [df52e89f] Update this branch with latest trunk changes. (check-in: [df52e89f] user: dan branch: server-process-edition, size: 248317)
2018-03-20
13:52
[6f4b0624] part of check-in [b0c2f760] Merge all recent enhancements from trunk. (check-in: [b0c2f760] user: drh branch: begin-concurrent, size: 248949)
2018-03-16
23:59
[066a4e1d] part of check-in [525deb7a] Detect corruption in the form of the sqlite_sequence table pointing to the wrong type of btree. (check-in: [525deb7a] user: drh branch: trunk, size: 247488)
2018-03-14
17:17
[13dc41a8] part of check-in [a658f80c] Merge the latest enhancements from trunk. (check-in: [a658f80c] user: drh branch: apple-osx, size: 247446)
2018-03-02
17:40
[21309721] part of check-in [36801eff] Merge latest trunk changes into this branch. (check-in: [36801eff] user: dan branch: begin-concurrent, size: 248864)
2018-03-01
18:09
[88d8e079] part of check-in [1293d4f6] Typo fixes in comments. No changes to code. (check-in: [1293d4f6] user: mistachkin branch: trunk, size: 247403)
2018-02-27
14:49
[99a0f275] part of check-in [6445519e] Clean up comments and variable names prior to merge. (check-in: [6445519e] user: drh branch: is-true-operator, size: 247401)
2018-02-26
18:49
[39675332] part of check-in [cf2abd59] Refactor for correct NULL handling in the IS TRUE, IS FALSE, IS NOT TRUE, and IS NOT FALSE operators. (check-in: [cf2abd59] user: drh branch: is-true-operator, size: 247347)
15:31
[2d133827] part of check-in [003dc140] Merge the fix for determining truth of floating point values from trunk. (check-in: [003dc140] user: drh branch: is-true-operator, size: 246406)
15:27
[bf51a88d] part of check-in [a983fa85] Always interpret non-zero floating-point values as true even if their integer part is zero. Fix for ticket [36fae083b450e3af857a459e20]. (check-in: [a983fa85] user: drh branch: trunk, size: 246405)
03:20
[d221ab77] part of check-in [40314bc9] Experimental implementation of IS TRUE and IS FALSE operators. All TRUE and FALSE to act like constants if the names do not resolve to a column name. (check-in: [40314bc9] user: drh branch: is-true-operator, size: 246602)
2018-02-12
20:27
[72f5a4b9] part of check-in [d44d5936] When compiling with VDBE_PROFILE, add the sqlite3NProfileCnt global variable which can be used to measure per-opcode values other than elapse time, if non-zero. (check-in: [d44d5936] user: drh branch: trunk, size: 246600)
2018-02-01
01:13
[a6892805] part of check-in [88e2ce91] When an index is based on a text representation of a numeric column in the original table, make sure the indexed value uses the canonical text representation of the numeric value in the table. Proposed fix for ticket [343634942dd54ab57b70]. (check-in: [88e2ce91] user: drh branch: trunk, size: 246516)
2018-01-30
18:33
[619d385f] part of check-in [71e3b715] If a virtual table xColumn method sets an error message using sqlite3_result_error(), use that message in preference to any error message left in the sqlite3_vtab object. (check-in: [71e3b715] user: dan branch: trunk, size: 246192)
2018-01-25
01:20
[0e13b8c3] part of check-in [6ab42934] Slightly smaller and faster implementation of OP_If and OP_IfNot. (check-in: [6ab42934] user: drh branch: trunk, size: 246134)
2018-01-24
12:14
[d4684bd5] part of check-in [61a44961] Prevent a harmless unused variable warning when compiling with SQLITE_OMIT_TRACE. (check-in: [61a44961] user: drh branch: trunk, size: 246143)
2018-01-23
03:44
[5aa6fb85] part of check-in [edd4e687] Slightly faster function dispatch in the virtual machine by avoiding unnecessary reinitialization of variables that are already correctly initialized. (check-in: [edd4e687] user: drh branch: trunk, size: 246110)
2018-01-15
21:59
[0537452b] part of check-in [c9d2ec51] Merge the enhancements associated with the first 3.22.0 beta. (check-in: [c9d2ec51] user: drh branch: apple-osx, size: 245796)
2018-01-12
23:18
[ccc1e17a] part of check-in [a1b3f285] Improved comments. Slightly tighter implementation, but no big changes. (check-in: [a1b3f285] user: drh branch: sqlite3_value_nochange, size: 245753)
21:00
[07dd1909] part of check-in [8b7be15e] Add the experimental sqlite3_value_nochange() interface usable by xUpdate methods of virtual tables to see if a column has actually changed values. (check-in: [8b7be15e] user: drh branch: sqlite3_value_nochange, size: 245361)
19:33
[e660530c] part of check-in [6acbdba5] Simplification to the implementation of OP_Insert. (check-in: [6acbdba5] user: drh branch: trunk, size: 245079)
18:46
[a7d0f831] part of check-in [ec96707e] Avoid an unnecessary branch when not using pre-update hooks. (check-in: [ec96707e] user: drh branch: trunk, size: 245172)
16:44
[5d83f28a] part of check-in [bd46c442] Experimental change to include changes made to the sqlite_stat1 table in changesets generated by the sessions module. sqlite_stat1 entries in such changesets are ignored by legacy clients. (check-in: [bd46c442] user: dan branch: sessions-stat1, size: 245117)
2018-01-11
17:04
[4d066674] part of check-in [d444b1ff] Add the sqlite3_vtab_nochange() method which virtual table implementations can use to optimize UPDATEs. (check-in: [d444b1ff] user: drh branch: sqlite3_vtab_nochange, size: 245024)
2017-12-29
17:21
[c7026761] part of check-in [4f1f1f52] Add support for the sqlite_unsupported_offset() SQL function if and only if compiled using -DSQLITE_ENABLE_OFFSET_SQL_FUNC. Use that definition when compiling the command-line shell. (check-in: [4f1f1f52] user: drh branch: trunk, size: 244623)
15:04
[cb3b5035] part of check-in [7a7f826e] Change the function name to sqlite_unsupported_offset(X). Only enable the function if compiled with -DSQLITE_ENABLE_OFFSET_SQL_FUNC. The makefiles add that definition to shell builds. (check-in: [7a7f826e] user: drh branch: location-function, size: 244616)
14:33
[42e79ef2] part of check-in [dd94d6a8] Enhance location(X) so that it works with indexes and WITHOUT ROWID tables. The function might return an offset to the main table or to an index, depending on whether the column X would be loaded from the main table or from the index. (check-in: [dd94d6a8] user: drh branch: location-function, size: 244417)
13:35
[74281243] part of check-in [6251e438] Merge recent enhancements from trunk. (check-in: [6251e438] user: drh branch: location-function, size: 244157)
2017-12-27
20:38
[e0a1ca75] part of check-in [fe3d2b97] Show the text of individual statements within a trigger, as they execute, as comments in the output from sqlite3_trace() and sqlite3_trace_v2(). (check-in: [fe3d2b97] user: drh branch: span-refactor, size: 243582)
2017-12-16
20:20
[beed55b5] part of check-in [51be9558] Add an experimental location(X) SQL function that attempt to return the location of the payload within the database for the record that contains column X. location(X) returns NULL if X is not an ordinary table column or if SQLite cannot figure out the location because it is using a covering index. (check-in: [51be9558] user: drh branch: location-function, size: 243894)
2017-11-06
20:02
[1834769e] part of check-in [7f217eda] Merge latest trunk changes into this branch. (check-in: [7f217eda] user: dan branch: begin-concurrent, size: 244780)
10:04
[8b7313c7] part of check-in [0fb6d91c] Allow "BEGIN CONCURRENT" transactions to modify the temp schema. (check-in: [0fb6d91c] user: dan branch: begin-concurrent, size: 244866)
2017-10-24
19:12
[bdf4118f] part of check-in [13be3a44] Merge all enhancements and fixes from the 3.21.0 release. (check-in: [13be3a44] user: drh branch: apple-osx, size: 243362)
2017-10-23
16:03
[3393b508] part of check-in [58e5bb49] Avoid passing a NULL value as the second argument to memcpy(). (check-in: [58e5bb49] user: dan branch: branch-3.21, size: 243319)
2017-10-04
20:57
[c3c3fe95] part of check-in [e2fc5c81] Add experimental mode that uses two wal files. Activated using "PRAGMA journal_mode = wal2". (check-in: [e2fc5c81] user: dan branch: wal2, size: 243804)
2017-09-22
20:18
[1c0a8c8e] part of check-in [8d2a1cca] Merge in all the trunk enhancements of the previous 7 months. The LIKE optimization has stopped working when there is an ESCAPE - that problem will be addressed in a subsequent check-in. (check-in: [8d2a1cca] user: drh branch: est_count_pragma, size: 244118)
10:49
[96467c73] part of check-in [307b802e] Merge latest trunk changes into this branch. (check-in: [307b802e] user: dan branch: begin-concurrent, size: 244838)
2017-09-21
00:49
[176c0897] part of check-in [adc12c83] Fix the rendering of the P4_INTARRAY argument to the OP_IntegrityCk opcode in the output of EXPLAIN. (check-in: [adc12c83] user: drh branch: trunk, size: 243405)
2017-09-20
10:47
[2664b89e] part of check-in [7f2bd4ff] Improved resolution of large integer values in "CAST(x AS NUMERIC)". (check-in: [7f2bd4ff] user: drh branch: trunk, size: 243401)
2017-09-13
00:13
[0a0ef7f0] part of check-in [81f62e99] PRAGMA integrity_check returns SQLITE_OK even if it encounters corruption while scanning indexes. (check-in: [81f62e99] user: drh branch: improved-integrity-check, size: 243409)
2017-09-09
06:10
[c0ec6e73] part of check-in [6a0b9d9d] Merge trunk enhancements (check-in: [6a0b9d9d] user: drh branch: apple-osx, size: 243266)
2017-08-28
17:19
[5d1f7944] part of check-in [d53108e7] Merge recent enhancements from trunk. (check-in: [d53108e7] user: drh branch: begin-concurrent, size: 244656)
2017-08-18
14:34
[82fc4553] part of check-in [eb1202b5] Combine the OP_CreateTable and OP_CreateIndex opcodes of the bytecode engine into a single OP_CreateBtree opcode. This simplifies the implementation and makes the bytecode programs clearer. (check-in: [eb1202b5] user: drh branch: trunk, size: 243223)
2017-08-16
19:20
[711a1b2c] part of check-in [f078deb2] Avoid a test for CURTYPE_BTREE in sqlite3VdbeCursorMoveto() in order to reduce the size and improve the performance of OP_Column. (check-in: [f078deb2] user: drh branch: trunk, size: 243772)
17:06
[0db0d75f] part of check-in [380a7b7a] Update this branch with the latest changes from trunk. (check-in: [380a7b7a] user: dan branch: server-process-edition, size: 244178)
14:16
[c8e7bec8] part of check-in [39543903] Remove an unnecessary local variable from OP_Column, for a small size reduction and performance increase. (check-in: [39543903] user: drh branch: trunk, size: 243349)
11:04
[8530c38f] part of check-in [dc98a92f] Performance improvement in the OP_Column opcode. (check-in: [dc98a92f] user: drh branch: trunk, size: 243394)
2017-08-15
14:14
[ebfc41ca] part of check-in [2cf3f3de] Small size and performance improvement in the OP_Column opcode. (check-in: [2cf3f3de] user: drh branch: trunk, size: 242746)
2017-08-11
19:16
[1fdd90ce] part of check-in [47e71695] Merge the latest enhancements from trunk. (check-in: [47e71695] user: drh branch: begin-concurrent, size: 244318)
2017-08-07
14:15
[d410ca56] part of check-in [17bc7ded] Update this branch with latest trunk changes. (check-in: [17bc7ded] user: dan branch: server-process-edition, size: 243714)
2017-08-03
00:29
[821b3edd] part of check-in [654935c7] Optimization to the comparison opcodes in the byte-code engine. (check-in: [654935c7] user: drh branch: trunk, size: 242885)
2017-08-02
22:43
[54dfa970] part of check-in [aea5990e] In the KeyInfo object, refactor the nField and nXField elements into nKeyField and nAllField, which are more useful and run a little faster. (check-in: [aea5990e] user: drh branch: trunk, size: 242304)
2017-08-01
19:53
[5752a157] part of check-in [3e02474c] Split the OP_Last opcode into OP_Last and OP_SeekEnd. Use OP_SeekEnd to position a cursor prior to appending. Ticket [cb91bf4290c211d]. (check-in: [3e02474c] user: drh branch: trunk, size: 242316)
13:54
[6dd23d2c] part of check-in [aafe1fec] Merge recent enhancements from trunk. (check-in: [aafe1fec] user: drh branch: begin-concurrent, size: 243737)
2017-07-29
17:10
[708d45a5] part of check-in [b42c8779] Merge latest trunk changes with this branch. (check-in: [b42c8779] user: dan branch: server-process-edition, size: 243133)
2017-07-27
03:48
[d8437d81] part of check-in [3d9e841f] Add a destructor argument to sqlite3_bind_pointer() and sqlite3_result_pointer(). (check-in: [3d9e841f] user: drh branch: pointer-with-destructor, size: 242418)
2017-07-26
19:59
[ac9cc205] part of check-in [3808a00f] Add the new sqlite3.mDbFlags field. Factor out bits of sqlite3.flags that do not interact with PRAGMA statements into sqlite3.mDbFlags. (check-in: [3808a00f] user: drh branch: trunk, size: 242304)
2017-07-24
19:43
[69eafa03] part of check-in [d0719ad7] Update this branch with latest changes from trunk. (check-in: [d0719ad7] user: dan branch: server-process-edition, size: 243140)
2017-07-20
17:47
[1fd60b07] part of check-in [213c61cb] Merge all the latest trunk enhancements. (check-in: [213c61cb] user: drh branch: begin-concurrent, size: 243744)
16:55
[53f3f4d1] part of check-in [10556ee4] Experimental API sqlite3_stmt_refresh() to force a prepared statement to recompile if it needs to due to a schema change or other factor. (check-in: [10556ee4] user: drh branch: sqlite3_stmt_refresh, size: 242396)
2017-07-19
19:48
[1e541ec7] part of check-in [0a5e1c04] Allow indexes to be created on date/time functions as long as the 'now' date and the 'localtime' and 'utc' modifiers are not used. (check-in: [0a5e1c04] user: drh branch: index-on-date-func, size: 242311)
2017-07-13
21:06
[51a564dd] part of check-in [dcc40797] Make the freelist format a separate feature from the page-level locking. Freelist format is now configure using "PRAGMA freelist_format". (check-in: [dcc40797] user: dan branch: server-process-edition, size: 243026)
2017-07-08
20:46
[e4493b09] part of check-in [5a043aa8] Support read-only MVCC transactions in server-mode. Started using "BEGIN READONLY". (check-in: [5a043aa8] user: dan branch: server-process-edition, size: 242296)
2017-07-07
22:58
[2a79b738] part of check-in [7f48f6ab] Merge in all the latest trunk enhancements. (check-in: [7f48f6ab] user: drh branch: apple-osx, size: 242240)
2017-07-05
16:20
[1e2abdae] part of check-in [fcbd6abd] Make use of covering indexes in the OR optimization. (check-in: [fcbd6abd] user: drh branch: branch-3.8.9, size: 216346)
2017-06-29
12:49
[adc8a378] part of check-in [b0b0c8f8] Add the SQLITE_STMTSTATUS_REPREPARE and SQLITE_STMTSTATUS_RUN options to sqlite3_stmt_status(). Use this for two new columns in the stmts virtual table. (check-in: [b0b0c8f8] user: drh branch: stmts-vtab, size: 242197)
2017-06-26
13:57
[50f4f47b] part of check-in [7076e828] Add the SQLITE_DBCONFIG_ENABLE_QPSG option to activate the query planner stability guarantee. This involves refactoring the sqlite3.flags bitvector to carve out a free bit to use. (check-in: [7076e828] user: drh branch: enable-QPSG, size: 242157)
2017-06-23
21:05
[992ca8b1] part of check-in [53b14a38] Merge all recent trunk enhancements into the apple-osx branch. (check-in: [53b14a38] user: drh branch: apple-osx, size: 242203)
2017-06-08
16:10
[aa018a14] part of check-in [e2d38d51] Merge 3.19.3 changes with this branch. (check-in: [e2d38d51] user: dan branch: begin-concurrent, size: 243261)
15:54
[3cffe073] part of check-in [0f59bb94] Merge changes for version 3.19.0 with this branch. (check-in: [0f59bb94] user: dan branch: begin-concurrent, size: 243227)
2017-06-02
15:44
[6783778d] part of check-in [ab33d299] Change the name of the OP_Seek opcode into OP_DeferredSeek for better clarity of function. No functional code changes. (check-in: [ab33d299] user: drh branch: trunk, size: 242160)
2017-05-30
18:34
[cce462ad] part of check-in [e972a386] Change sqlite3BtreeNext() and sqlite3BtreePrevious() so that they return SQLITE_DONE if they have already reached the end (or beginning) of the table. This gives a performance increase and size reduction. (check-in: [e972a386] user: drh branch: trunk, size: 242024)
2017-05-25
17:36
[b10b07d8] part of check-in [12964240] Merge all fixes from the 3.19.2 release. (check-in: [12964240] user: drh branch: apple-osx, size: 241871)
2017-05-23
01:21
[70f1c27d] part of check-in [92c17850] When flattening a query, make sure iTable attribute of TK_IF_NULL_ROW operators (that result from a prior flattening of a LEFT JOIN) are updated correctly. Fix for ticket [cad1ab4cb7b0fc344]. (check-in: [92c17850] user: drh branch: trunk, size: 241828)
2017-05-22
19:24
[60cf5013] part of check-in [bbd2d0e1] Pull in all changes from the 3.19.0 release. (check-in: [bbd2d0e1] user: drh branch: apple-osx, size: 241837)
2017-05-19
22:51
[b24b9806] part of check-in [c2de178f] Prevent a possible NULL pointer dereference in the OP_Found opcode that can follow an OOM error. Problem found by OSS-Fuzz. (check-in: [c2de178f] user: drh branch: trunk, size: 241794)
2017-05-15
17:34
[bf4d2b29] part of check-in [14ea8400] Merge the latest changes from trunk. (check-in: [14ea8400] user: drh branch: begin-concurrent, size: 243153)
2017-05-11
18:49
[68581144] part of check-in [b55c0f14] Merge recent enhancements from trunk. (check-in: [b55c0f14] user: drh branch: apple-osx, size: 241763)
2017-05-02
19:45
[356042d1] part of check-in [a7dcf6a7] Merge the latest enhancements from trunk. (check-in: [a7dcf6a7] user: drh branch: schemalint, size: 241666)
17:54
[9bac2bc2] part of check-in [9e35c89d] Reuse the same materialization of a view when that view appears in a query more than once, such as in a self-join. (check-in: [9e35c89d] user: drh branch: trunk, size: 241720)
2017-05-01
15:15
[7c37c36f] part of check-in [478c34b9] Initial implementation of an optimization that attempts to reuse the same materialization of a view on a self-join of the view. (check-in: [478c34b9] user: drh branch: materialized-view-reuse, size: 241519)
14:25
[a4e1810c] part of check-in [11f4761c] Update this branch with latest trunk changes. (check-in: [11f4761c] user: dan branch: schemalint, size: 240526)
2017-04-29
18:02
[349eb678] part of check-in [e54c9f8d] Improvements to opcode documentation in the bytecode engine. No changes to code. (check-in: [e54c9f8d] user: drh branch: trunk, size: 240580)
2017-04-24
16:14
[b96842a8] part of check-in [031feebc] Bring in all the latest enhancements from trunk. (check-in: [031feebc] user: drh branch: apple-osx, size: 240658)
2017-04-20
17:35
[857fd5fe] part of check-in [b1533bc4] Merge latest trunk changes into this branch. (check-in: [b1533bc4] user: dan branch: schemalint, size: 240561)
2017-04-18
11:20
[1eba07ff] part of check-in [41c27bc0] Improved optimizations of views as the right operand of a LEFT JOIN. (check-in: [41c27bc0] user: drh branch: trunk, size: 240615)
2017-04-17
23:23
[11604e6c] part of check-in [56845256] Defer checking for null in the comparison operators, since that is an uncommon case. (check-in: [56845256] user: drh branch: trunk, size: 240098)
20:50
[51c6e166] part of check-in [e698db19] Do not allow a Mem object to be both NULL and some other type at the same time. (check-in: [e698db19] user: drh branch: trunk, size: 240087)
17:03
[314f0a70] part of check-in [159e8022] Add support for analyzing trigger programs to the sqlite3_expert code. (check-in: [159e8022] user: dan branch: schemalint, size: 239983)
2017-04-14
19:03
[ef0fd44a] part of check-in [3a5860d8] Add the TK_IF_NULL_ROW opcode to deal with non-NULL result columns in the result set of a view or subquery on the RHS of a LEFT JOIN that gets flattened. (check-in: [3a5860d8] user: drh branch: left-join-view, size: 240554)
2017-04-08
18:24
[94a909c5] part of check-in [c23ef5e2] Merge all recent changes from trunk. (check-in: [c23ef5e2] user: drh branch: apple-osx, size: 240080)
14:11
[808fda3d] part of check-in [b9a8c2b9] Expand on the comment above OP_Destroy to explain why it throws an error if there are any active reader VMs. (check-in: [b9a8c2b9] user: dan branch: trunk, size: 240037)
00:25
[ca1e58fc] part of check-in [dd16439e] Merge the latest trunk changes. (check-in: [dd16439e] user: drh branch: apple-osx, size: 239680)
2017-04-05
12:39
[b070c9c8] part of check-in [ad90e8bb] Split off sqlite3DbFreeNN() from sqlite3DbFree() and use it in cases where we know that the argument to be freed is never NULL. (check-in: [ad90e8bb] user: drh branch: trunk, size: 239637)
2017-04-03
13:17
[1be564c6] part of check-in [777b43e6] Fix typos in the documentation for OP_Column. (check-in: [777b43e6] user: drh branch: trunk, size: 239633)
2017-04-01
20:44
[d275c79e] part of check-in [e6e36b28] Remove an unnecessary setting of the Mem.enc field for the output of the OP_Record opcode, for a performance improvement and size reduction. (check-in: [e6e36b28] user: drh branch: trunk, size: 239633)
20:14
[73ddbad8] part of check-in [c45cd3b9] Minor performance enhancements to the OP_Affinity opcode. (check-in: [c45cd3b9] user: drh branch: trunk, size: 239710)
2017-03-30
20:35
[839999e0] part of check-in [785c37d9] Merge changes from the 3.18.0 release. (check-in: [785c37d9] user: drh branch: begin-concurrent, size: 241185)
20:26
[316eae26] part of check-in [ed28f15e] Merge all changes from the 3.18.0 release. (check-in: [ed28f15e] user: drh branch: apple-osx, size: 239795)
2017-03-24
18:38
[f1acf574] part of check-in [8194dd28] Previous check-in was not correct. This is a better fix for the OP_Once problem of ticket [06796225f59c057cd120f1]. (check-in: [8194dd28] user: drh branch: trunk, size: 239752)
17:59
[e59bd341] part of check-in [25560145] Fix the OP_Once opcode so that it works correctly for recursive triggers. Ticket [06796225f59c057cd120f1]. (check-in: [25560145] user: drh branch: trunk, size: 239703)
15:09
[9a6b75f8] part of check-in [fd5676fe] Merge all recent enhancements from trunk. (check-in: [fd5676fe] user: drh branch: begin-concurrent, size: 240217)
2017-03-20
15:29
[89a12451] part of check-in [673a7b67] Ensure that a "--" prefix is added to sqlite3_trace_v2() output for nested SQL statements. (check-in: [673a7b67] user: drh branch: trunk, size: 238784)
2017-03-17
13:59
[3b422147] part of check-in [f336fba7] Fix a buffer overread in debugging routine sqlite3VdbeMemPrettyPrint(). Problem discovered by OSS-Fuzz. (check-in: [f336fba7] user: dan branch: trunk, size: 238607)
2017-03-16
13:30
[0e6e5e01] part of check-in [e3d48716] Fix an uninitialized variable reference in the text generator for "PRAGMA vdbe_trace=ON" output. Problem discovered by OSS-Fuzz. (check-in: [e3d48716] user: drh branch: trunk, size: 238375)
2017-03-06
20:00
[b6dfec95] part of check-in [1650c3f4] Merge all pending 3.18 enhancements from trunk. (check-in: [1650c3f4] user: drh branch: apple-osx, size: 238553)
2017-02-23
00:58
[f520378e] part of check-in [188300a3] Do a single OP_Expire at the very end of "PRAGMA optimize", and omit the OP_Expire on ANALYZE commands invoked by the pragma. (check-in: [188300a3] user: drh branch: auto-analyze, size: 238510)
2017-02-22
19:49
[37e95d52] part of check-in [fe073905] Merge integrity_check and other improvements from trunk. (check-in: [fe073905] user: drh branch: auto-analyze, size: 238474)
18:04
[83f387d9] part of check-in [5af7d72e] Cleanup and simplification of the output row count limit control of PRAGMA integrity_check. (check-in: [5af7d72e] user: drh branch: integrity-check-improvements, size: 237592)
2017-02-21
15:27
[16542e32] part of check-in [3c3228ed] Very small enhancement to dispatch speed for SQL functions. (check-in: [3c3228ed] user: drh branch: trunk, size: 237572)
14:04
[aab9f3ca] part of check-in [7a62fc6a] The VDBE cycle counts for the sqlite3_progress_handler() callback are now cumulative. Leftovers from the previous statement are applied to the next statement. (check-in: [7a62fc6a] user: drh branch: cumulative-progress-count, size: 237748)
2017-02-18
20:05
[33742908] part of check-in [c1adf959] Add an optimization to OP_Column to speed up sequential OP_Column instructions that read earlier fields from the same cursor. Attempt to reorder OP_Column opcodes so as to take advantage of this. (check-in: [c1adf959] user: dan branch: sort-column-opcodes, size: 238016)
15:58
[02f9db52] part of check-in [d386015f] Add the OP_SqlExec opcode and use it to implement "PRAGMA analyze_as_needed", invoking ANALYZE subcommands as necessary. This simplifies the implementation. (check-in: [d386015f] user: drh branch: auto-analyze, size: 238496)
2017-02-17
19:24
[ac8538b9] part of check-in [bfbdd074] The analyze_as_needed pragma now responds to table size growth and will automatically rerun the analysis after each 10x size increase. (check-in: [bfbdd074] user: drh branch: auto-analyze, size: 238281)
2017-02-16
14:02
[35a632d4] part of check-in [325ccfa9] Merge recent enhancements from trunk. (check-in: [325ccfa9] user: drh branch: est_count_pragma, size: 238327)
2017-02-13
13:35
[16f37864] part of check-in [670f10b2] Change all legacy instances of "#if SQLITE_DEBUG" to "#ifdef SQLITE_DEBUG" for consistency. (check-in: [670f10b2] user: drh branch: trunk, size: 237614)
2017-02-04
15:29
[2830f9c2] part of check-in [6c3f0902] Merge recent trunk enhancements. (check-in: [6c3f0902] user: drh branch: apple-osx, size: 237654)
2017-02-01
23:03
[e7b1e860] part of check-in [aaae74d0] Backout the change in [02f6293f27] as it causes MSVC to complain. (check-in: [aaae74d0] user: mistachkin branch: trunk, size: 237611)
14:10
[ec059d33] part of check-in [964bdc27] Changes so that the pre-update hook and the sessions module work with WITHOUT ROWID tables. (check-in: [964bdc27] user: dan branch: trunk, size: 237611)
2017-01-31
16:49
[d3765f4d] part of check-in [91eb6b62] Remove a C99-style comment. Fixes to the kvtest-speed.sh script. (check-in: [91eb6b62] user: drh branch: micro-optimizations, size: 237513)
16:43
[c0e9bd3f] part of check-in [2361b03b] Remove another unnecessary local variable initialization from sqlite3VdbeExec() (check-in: [2361b03b] user: drh branch: micro-optimizations, size: 237536)
16:34
[7c53c4b6] part of check-in [02f6293f] Remove an unnecessary initialization of the pOp variable in sqlite3VdbeExec(). (check-in: [02f6293f] user: drh branch: micro-optimizations, size: 237534)
15:27
[a5bcdb61] part of check-in [bd22bf9c] Fix a typo in a comment. (check-in: [bd22bf9c] user: drh branch: trunk, size: 237534)
2017-01-30
19:44
[57f41c8c] part of check-in [856f8604] Experimental change to invoke the preupdate hook when WITHOUT ROWID tables are written. (check-in: [856f8604] user: dan branch: preupdate-without-rowid, size: 237631)
2017-01-27
16:39
[761edd8f] part of check-in [0e14fe1b] Merge all recent trunk enhancements into the apple-osx branch. (check-in: [0e14fe1b] user: drh branch: apple-osx, size: 237576)
16:24
[bf7274a1] part of check-in [fe86ff54] Merge all recent enhancements from trunk. (check-in: [fe86ff54] user: drh branch: est_count_pragma, size: 238246)
2017-01-26
18:00
[c27cc34b] part of check-in [b4a98f65] Improvement to the OP_Permutation opcode to prevent it from using CPU cycles for initialization in prepared statements that do not use that opcode. (check-in: [b4a98f65] user: drh branch: trunk, size: 237533)
17:26
[96f16393] part of check-in [b4803184] Remove the obsolete lastRowid cache from the sqlite3VdbeExec() for a size reduction and performance improvement. (check-in: [b4803184] user: drh branch: trunk, size: 237302)
2017-01-25
20:55
[1fa3e8f3] part of check-in [4801bd59] Trim NULL values off the end of records when the SQLITE_ENABLE_NULL_TRIM compile-time option is used. Increase the size of the P5 operand to 16 bits. Fix a problem with short records in the sessions extension. (check-in: [4801bd59] user: drh branch: trunk, size: 237562)
14:58
[b1f24481] part of check-in [118ded40] Experimental enhancement to automatically trim NULL values from the end of records, for a reduced disk footprint. This change also involves increasing the P5 operand from 8 to 16 bits. (check-in: [118ded40] user: drh branch: trim-nulls, size: 237524)
2017-01-21
16:21
[132f5520] part of check-in [74ad80eb] Fix problems in the previous commit. (check-in: [74ad80eb] user: dan branch: trigger-trace, size: 238131)
15:58
[a2e8ea84] part of check-in [ffda1d1e] Add extra (somewhat inefficient) trace callbacks for triggers if SQLITE_TRACE_TRIGGER is defined. (check-in: [ffda1d1e] user: dan branch: trigger-trace, size: 238308)
2017-01-10
20:04
[c7add597] part of check-in [46db23cc] Changes to allow some multi-row UPDATE statements to avoid the two-pass approach. (check-in: [46db23cc] user: dan branch: onepass-update, size: 237052)
2017-01-09
20:57
[efd0792e] part of check-in [ff9eab95] Merge latest changes from trunk, and also move the perf-counter into the inner loop of sqlite3BtreeMovetoUnpacked(). (check-in: [ff9eab95] user: drh branch: vdbe-aux-perf, size: 237078)
19:55
[4c239b73] part of check-in [a5fa0965] Remove a redundant assignment statement. (check-in: [a5fa0965] user: drh branch: trunk, size: 237034)
19:27
[51f0fb39] part of check-in [237aa974] Performance optimization and size reduction in the OP_Variable opcode. (check-in: [237aa974] user: drh branch: trunk, size: 237063)
18:22
[5c7338cc] part of check-in [d38fd229] Fix typo in a comment. No changes to code. (check-in: [d38fd229] user: mistachkin branch: trunk, size: 237071)
15:44
[b7f39cec] part of check-in [6e106acd] Modify the OP_RowData opcode so that when P3!=0 it is allowed to hold an ephemeral copy of the content. This avoids unnecessary memcpy() operations in the xfer-optimization and VACUUM. (check-in: [6e106acd] user: drh branch: trunk, size: 237069)
06:33
[0254dc5b] part of check-in [d0e212d0] Upgrade this branch to 3.16 plus the various fixes that appeared after its release. (check-in: [d0e212d0] user: dan branch: begin-concurrent, size: 237957)
2017-01-07
00:42
[2d97b195] part of check-in [746b1836] This hack illustrates how to use the VDBE_PROFILE mechanism to show which bytecode operators are using resources other than time. In this case, the number of loops through the binary search code in sqlite3BtreeMovetoUnpacked() is measured, for the purpose of helping to identify unnecessary btree searches. (check-in: [746b1836] user: drh branch: vdbe-aux-perf, size: 236568)
2017-01-03
20:20
[5870d9f6] part of check-in [dcbec226] Merge changes from the 3.16.1 release (check-in: [dcbec226] user: drh branch: apple-osx, size: 236567)
2016-12-30
00:09
[88bd6c32] part of check-in [f57952ba] Encode a 64-bit integer literal in date.c as a constant expression so that it works on older compilers. Also fix a harmless compiler warning in vdbe.c. (check-in: [f57952ba] user: drh branch: trunk, size: 236524)
2016-12-27
12:35
[a35ad517] part of check-in [a54e619e] Disable new test modules nockpt.test and interrupt2.test for incompatible permutations. Add a CORRUPT_DB term to an assert() in vdbe.c. (check-in: [a54e619e] user: drh branch: trunk, size: 236538)
2016-12-23
16:05
[73ded9a6] part of check-in [2940661b] Fill in missing opcode documentation entries for OP_SorterNext and OP_SorterSort. (check-in: [2940661b] user: drh branch: trunk, size: 236510)
03:59
[54b12d95] part of check-in [68ecafa1] Use the VList object to replace Parse.azVar for tracking the mapping between SQL parameter names and parameter numbers. There is a performance improvement, though there are still a few hiccups in the current code. (check-in: [68ecafa1] user: drh branch: VList, size: 235902)
2016-12-21
19:45
[0106e0d4] part of check-in [f7ab01f2] Simplifications to the way UnpackedRecord objects are allocated. Smaller and faster code that also fixes a subtle (currently unreachable) bug. (check-in: [f7ab01f2] user: drh branch: trunk, size: 235881)
2016-12-18
17:42
[4537452b] part of check-in [165c0446] Change the OP_IfNotZero opcode so that it decrements register P1 by 1 rather than the value in P3, and so that it only decrements if originally positive. This avoids decrementing the smallest 64-bit signed integer. (check-in: [165c0446] user: drh branch: trunk, size: 235968)
2016-12-16
21:29
[6521a150] part of check-in [4b1e7804] Merge recent enhancements from trunk, and especially the pragma-as-vtab change. (check-in: [4b1e7804] user: drh branch: apple-osx, size: 235949)
15:57
[accfa787] part of check-in [74a0ca1f] Merge recent trunk enhancements. (check-in: [74a0ca1f] user: drh branch: est_count_pragma, size: 236619)
01:00
[64c34268] part of check-in [8d646905] All temp.sqlite_master to be used as an alias for sqlite_temp_master. (check-in: [8d646905] user: drh branch: trunk, size: 235906)
2016-12-12
16:15
[3e4ca5a3] part of check-in [a24f805b] Merge all the latest performance enhancements from trunk. (check-in: [a24f805b] user: drh branch: apple-osx, size: 235955)
12:58
[d631e04a] part of check-in [dc006e08] Merge recent enhancements from trunk. (check-in: [dc006e08] user: drh branch: est_count_pragma, size: 236625)
2016-12-10
12:58
[2d90c42f] part of check-in [8165f88b] Reorder the fields in the VdbeCursor object so that those that need to be bulk zeroed on allocation are grouped at the beginning, and the memset() only runs over those fields that really need it. (check-in: [8165f88b] user: drh branch: trunk, size: 235912)
04:06
[74a0b006] part of check-in [c9bdf7ad] Avoid signed integer overflow when dealing with a LIMIT and OFFSET whose sum exceeds the maximum integer value. (check-in: [c9bdf7ad] user: drh branch: trunk, size: 235912)
2016-12-07
15:49
[3986f226] part of check-in [f3608187] Rename the SQLITE_OMIT_BUILTIN_TEST compile-time option to SQLITE_UNTESTABLE. (check-in: [f3608187] user: drh branch: trunk, size: 235349)
2016-11-30
16:39
[ae5d86ad] part of check-in [7ca58a07] Merge all the latest changes from trunk. (check-in: [7ca58a07] user: drh branch: est_count_pragma, size: 236069)
05:08
[336a3e56] part of check-in [9d0d8c2e] Change the OP_DecrJumpZero opcode back to its old behavior of always decrementing, except top the decrementing when it reaches the largest negative number. (check-in: [9d0d8c2e] user: drh branch: trunk, size: 235356)
01:05
[1802a109] part of check-in [96106d56] Prevent a warning about integer overflow when using a very large negative LIMIT. (check-in: [96106d56] user: drh branch: trunk, size: 235382)
2016-11-26
20:44
[87cfd557] part of check-in [41a3af54] Merge all recent trunk changes, and especially the new sqlite3_snapshot_recover() interface. (check-in: [41a3af54] user: drh branch: apple-osx, size: 235378)
2016-11-25
19:32
[4a3ff567] part of check-in [6ac7b07a] Remove the OP_RowKey opcode. Use OP_RowData in its place. (check-in: [6ac7b07a] user: drh branch: trunk, size: 235335)
19:18
[e8802d83] part of check-in [49ebc219] Refactor the sqlite3BtreeKey() and sqlite3BtreeData() internal interfaces into sqlite3BtreePayload() and sqlite3BtreePayloadChecked(), respectively. This is a continuation of the optimization started by check-in [2d831074cf]. The result is a slightly smaller and faster binary. (check-in: [49ebc219] user: drh branch: trunk, size: 235732)
17:03
[54a1d3e1] part of check-in [a9498407] Small performance increase and size reduction in the OP_Column opcode. (check-in: [a9498407] user: drh branch: trunk, size: 235916)
2016-11-15
04:00
[e76ee960] part of check-in [66347385] Change the OP_Last opcode so that it is a no-op if the cursor is already pointing at the end of the b-tree. (check-in: [66347385] user: drh branch: trunk, size: 235857)
2016-11-10
21:19
[d9e17f98] part of check-in [9a64a4f2] Break up the sqlite3BtreeMovetoUnpacked() routine into an eponymous routine and sqlite3BtreeMovetoIntkey(). Each routine specializes in a single kind of btree. (check-in: [9a64a4f2] user: drh branch: split-moveto, size: 235348)
2016-11-09
20:14
[f1a8e5bf] part of check-in [345b46be] Comment changes that attempt to better explain the behavior of the "seekResult" field on VdbeCursor objects and the seekResult parameter to sqlite3BtreeInsert() and the OPFLAG_USESEEKRESULT flag on insert opcodes. No changes to code. (check-in: [345b46be] user: drh branch: unpacked-IdxInsert, size: 235372)
01:19
[e6bf36b1] part of check-in [e4acd982] Fix a typo on the OP_IdxInsert documentation. No code changes. (check-in: [e4acd982] user: drh branch: unpacked-IdxInsert, size: 235466)
00:10
[8044db96] part of check-in [89d958ab] Enhance the OP_IdxInsert opcode to optionally accept unpacked key material. (check-in: [89d958ab] user: drh branch: unpacked-IdxInsert, size: 235465)
2016-11-08
19:22
[20307c93] part of check-in [bec5b6d4] Avoid superfluous cursor seeks in "INSERT OR REPLACE" statements. (check-in: [bec5b6d4] user: dan branch: trunk, size: 235114)
2016-11-04
19:09
[682df010] part of check-in [0e5ffd91] Merge recent trunk changes, including all the fixes that appeared in version 3.15.1. (check-in: [0e5ffd91] user: drh branch: apple-osx, size: 235113)
2016-11-02
13:18
[2edc4fa8] part of check-in [d18f61b7] Fix a requirement mark. No changes to code. (check-in: [d18f61b7] user: drh branch: trunk, size: 235070)
2016-10-21
17:25
[55ea5eb9] part of check-in [affc2ef5] Add the btree_sample(INDEX,LOCATION,LIMIT) pragma. (check-in: [affc2ef5] user: drh branch: est_count_pragma, size: 235783)
2016-10-20
22:02
[c07f9a77] part of check-in [340822af] Experimental est_count pragma. (check-in: [340822af] user: drh branch: est_count_pragma, size: 235705)
2016-10-18
16:36
[c93ae647] part of check-in [56474ebc] Minor simplification of the comparison opcodes. (check-in: [56474ebc] user: drh branch: trunk, size: 235070)
2016-10-17
23:44
[4cddfd42] part of check-in [29997f79] Fix SQLITE_DBCONFIG_REQUIRE_TXN so that it allows BEGIN IMMEDAITE and BEGIN EXCLUSIVE to run outside of a transaction. (check-in: [29997f79] user: drh branch: require-write-txn, size: 231542)
15:28
[6aa65e22] part of check-in [c88d36e2] Changes to support interrupting a checkpoint using sqlite3_interrupt(). (check-in: [c88d36e2] user: dan branch: trunk, size: 235094)
2016-10-15
18:37
[ad4b4df4] part of check-in [16d88a90] Add documentation for the OP_SorterInsert opcode, formerly omitted by mistake. No changes to code. (check-in: [16d88a90] user: drh branch: trunk, size: 235090)
2016-10-04
00:47
[f43aa96f] part of check-in [b10d0f93] Do not bother to initialize unused fields in the BtreePayload object. (check-in: [b10d0f93] user: drh branch: trunk, size: 234864)
2016-09-30
17:46
[51e754ee] part of check-in [47ae1cda] Avoid unnecessary Mem initializations when generating a new sqlite3_stmt object. (check-in: [47ae1cda] user: drh branch: trunk, size: 234915)
2016-09-28
16:15
[5860e52c] part of check-in [06014163] Merge recent enhancements from trunk. (check-in: [06014163] user: drh branch: apple-osx, size: 234926)
16:05
[67813297] part of check-in [40c0fb0a] Two more typo fixes in comments. (check-in: [40c0fb0a] user: drh branch: trunk, size: 234883)
16:04
[8b2e9f88] part of check-in [5bbd071d] Fix typos in comments. No code changes. (check-in: [5bbd071d] user: drh branch: trunk, size: 234886)
2016-09-27
00:09
[8ceb2069] part of check-in [bf903b2e] Update requirements marks due to improvements in the wording of documentation. No changes to code. (check-in: [bf903b2e] user: drh branch: trunk, size: 234885)
2016-09-20
17:49
[0f879945] part of check-in [72429063] Fix harmless compiler warning. (check-in: [72429063] user: mistachkin branch: trunk, size: 234993)
01:19
[373b186a] part of check-in [5e196fd1] Avoid unnecessary calls to ExpandBlob() for smaller and faster code. (check-in: [5e196fd1] user: drh branch: trunk, size: 234993)
2016-09-19
23:39
[c21ff59f] part of check-in [46002511] Very small optimization in the bytecode engine. (check-in: [46002511] user: drh branch: trunk, size: 234991)
2016-09-18
16:08
[cdac9f8c] part of check-in [6bf5ba10] Revise the implementation of OP_Once so that it is smaller, faster, and uses less memory. This also fixes an obscure bug introduced 3 days ago by check-in [5990a1bdb4a073]. (check-in: [6bf5ba10] user: drh branch: trunk, size: 234981)
2016-09-17
17:39
[bd7e890b] part of check-in [e011435e] Improved description of the ElseNotEq opcode in comments. No changes to code. (check-in: [e011435e] user: drh branch: trunk, size: 235048)
2016-09-16
17:50
[108964db] part of check-in [e3d9efa2] Merge recent changes from trunk. (check-in: [e3d9efa2] user: drh branch: apple-osx, size: 235125)
2016-09-15
14:54
[31a17090] part of check-in [b9f5bdbf] Remove no-op code (adding an assert() to prove that the code was no-op) in the text affinity logic of the bytecode engine comparison operators. (check-in: [b9f5bdbf] user: drh branch: trunk, size: 235082)
2016-09-10
19:51
[bac0b2ed] part of check-in [711c5917] Changes to give a warning-free build with SQLITE_OMIT_INCRBLOB and SQLITE_OMIT_SHARED_CACHE. (check-in: [711c5917] user: drh branch: trunk, size: 235152)
2016-09-09
19:33
[2087dfd6] part of check-in [37803b19] Performance improvements to the comparison operators in the bytecode engine. (check-in: [37803b19] user: drh branch: trunk, size: 235134)
2016-09-07
19:47
[326034bf] part of check-in [c844f3da] Fix the extra comments (added with -DSQLITE_ENABLE_EXPLAIN_COMMENTS) so that the sense of <, <=, >, and >= tests is correct and so that the SQLITE_STOREP2 version is shown correctly. Cherrypick of [4d43c4698eef4e3d]. (check-in: [c844f3da] user: mistachkin branch: branch-3.14, size: 232295)
18:20
[4581775c] part of check-in [00759af0] Merge recent enhancements from trunk. (check-in: [00759af0] user: drh branch: apple-osx, size: 232344)
2016-09-05
15:02
[3148d5d4] part of check-in [96269f01] Simplifications to the SQLITE_KEEPNULL flag on VDBE comparison operators. (check-in: [96269f01] user: drh branch: rowvalue, size: 234813)
2016-09-03
01:46
[d8fb59a3] part of check-in [f1d06c49] Performance optimizations. (check-in: [f1d06c49] user: drh branch: rowvalue, size: 234242)
2016-08-27
14:05
[751dd0a1] part of check-in [4d43c469] Fix the extra comments (added with -DSQLITE_ENABLE_EXPLAIN_COMMENTS) so that the sense of <, <=, >, and >= tests is correct and so that the SQLITE_STOREP2 version is shown correctly. These changes are already in the rowvalue branch but are added here since they are technically unrelated to rowvalue. (check-in: [4d43c469] user: drh branch: trunk, size: 232301)
01:41
[4be39068] part of check-in [f51248dc] Fix the "Synopsis" on the OP_Lt, OP_Le, OP_Gt, and OP_Ge opcodes, which has been backwards for time out of mind. (check-in: [f51248dc] user: drh branch: rowvalue, size: 234144)
2016-08-24
21:24
[68d56c11] part of check-in [bbc1b016] Improved extended comments of comparison operators when the SQLITE_STOREP2 flags is set on P5. No changes to non-debug code. (check-in: [bbc1b016] user: drh branch: rowvalue, size: 234144)
2016-08-19
15:41
[766d363e] part of check-in [b1787236] Merge recent enhancements from trunk. (check-in: [b1787236] user: drh branch: rowvalue, size: 234215)
14:20
[15376952] part of check-in [29d63059] Add the capability to VACUUM an attached database by specifying the schema name as an argument to the VACUUM command. Since version 2.0, VACUUM has accepted an argument which was silently ignored. Now it has meaning. (check-in: [29d63059] user: drh branch: vacuum-attached-db, size: 232349)
2016-08-18
15:21
[9a1c5a2d] part of check-in [4768a106] Merge recent enhancements from trunk. (check-in: [4768a106] user: drh branch: rowvalue, size: 234221)
14:33
[6242a21f] part of check-in [92a22f01] Rename the Db.zName field to Db.zDbSName to make it more descriptive and to distinguish it from all of the other "zName" variables scattered throughout the code. (check-in: [92a22f01] user: drh branch: zDbSName, size: 232355)
2016-08-13
14:17
[1b66646c] part of check-in [c54bd9c8] Remove an unnecessary stack variable from sqlite3VdbeExec(). (check-in: [c54bd9c8] user: drh branch: vector-compare, size: 234209)
13:03
[3961408d] part of check-in [18f5a3be] Improvements to commits. No code changes. (check-in: [18f5a3be] user: drh branch: vector-compare, size: 234266)
10:02
[9816bc4f] part of check-in [dfc028cf] Attempt to simplify the logic and generated code for vector comparisons. Basic comparison operators are working, but there are many indexing test failures still to be worked through. (check-in: [dfc028cf] user: drh branch: vector-compare, size: 234153)
2016-08-12
16:21
[94c114b3] part of check-in [8a5f41c7] Have wal file checkpoints exit early if the sqlite3_interrupt() API function is called. (check-in: [8a5f41c7] user: dan branch: interruptible-checkpoint, size: 232347)
2016-08-11
19:12
[75556e9c] part of check-in [d9f8918c] Merge version 3.14 plus some subsequent patches (including the page-cache performance patch) from trunk. (check-in: [d9f8918c] user: drh branch: begin-concurrent, size: 233776)
2016-07-30
21:02
[9f151292] part of check-in [059d0d05] Fix problems with vector == comparisons and NULL values. (check-in: [059d0d05] user: dan branch: rowvalue, size: 234683)
2016-07-26
18:15
[44d75e35] part of check-in [d4f3d52c] Merge latest trunk changes into this branch. (check-in: [d4f3d52c] user: dan branch: rowvalue, size: 233520)
2016-07-25
17:31
[52600257] part of check-in [e98cefb1] Merge 3.14 alpha changes from trunk. (check-in: [e98cefb1] user: drh branch: apple-osx, size: 232386)
02:42
[ea260b61] part of check-in [e1e02238] Evidence marks and code reformatting for SQLITE_TRACE_STMT operation. (check-in: [e1e02238] user: drh branch: trunk, size: 232343)
02:31
[7718d724] part of check-in [163e1522] Change SQLITE_TRACE_STMT to return unexpanded SQL text in the X argument. Add documentation on how and when to use sqlite3_expanded_sql(P) to compute the expanded text for legacy sqlite3_trace() compatibility. (check-in: [163e1522] user: drh branch: trunk, size: 232045)
2016-07-14
01:09
[7b5570f7] part of check-in [99ee7ee5] Add the sqlite3_expanded_sql() interface. Refinements to the sqlite3_trace_v2() interface to make it more useful. (check-in: [99ee7ee5] user: drh branch: sqlite3_trace_v2, size: 231815)
2016-07-13
22:55
[c6bb62aa] part of check-in [cb0062fe] First cut at implementing the new sqlite3_trace_v2() interface. (check-in: [cb0062fe] user: drh branch: sqlite3_trace_v2, size: 232024)
2016-07-09
20:23
[680c118a] part of check-in [b2204215] Add some support for using row value constructors in certain parts of SQL expressions. There are many bugs on this branch. (check-in: [b2204215] user: dan branch: rowvalue, size: 232616)
2016-06-25
11:43
[22b46c3b] part of check-in [507014e4] Fix the handling of OP_Eq opcodes that compare a register against itself and that require an affinity change. (check-in: [507014e4] user: drh branch: trunk, size: 231439)
2016-06-15
10:21
[ed526904] part of check-in [0f707d15] Merge changes from trunk. (check-in: [0f707d15] user: drh branch: apple-osx, size: 231420)
2016-06-04
20:58
[e23a15d3] part of check-in [aa53a36e] Fix a C99-ism and a compiler warning for MSVC. (check-in: [aa53a36e] user: drh branch: btree-refactor, size: 231377)
20:37
[f6d37b36] part of check-in [bef35e18] Change the sqlite3BtreeKeySize() interface into sqlite3BtreeIntegerKey() and make it only work for table btrees. Change sqlite3BtreeDataSize() into sqlite3BtreePayloadSize() and make it work for all btrees. Combine sqlite3BtreeDataFetch() and sqlite3BtreeKeyFetch() into a single sqlite3BtreePayloadFetch() routine. These changes seem to make the b-tree interface more rational and they reduce both binary size and CPU usage. (check-in: [bef35e18] user: drh branch: btree-refactor, size: 231372)
2016-05-26
20:56
[45e4da73] part of check-in [ffe80a1b] Add a new OP_SeekRowid opcode, that combines the functions of OP_MustBeInt and OP_NotExists. This makes the code slightly smaller and faster. (check-in: [ffe80a1b] user: drh branch: trunk, size: 232659)
2016-05-23
02:57
[b7ab0953] part of check-in [815cc2bb] Merge changes from trunk. (check-in: [815cc2bb] user: drh branch: apple-osx, size: 231126)
2016-05-21
20:03
[f2706d55] part of check-in [55f348cd] Simplify the sqlite3BtreeInsert() interface by gathering the five arguments describing the content to be inserted into the new BtreePayload structure, and thus reducing the number of parameters from eight to four. (check-in: [55f348cd] user: drh branch: trunk, size: 231083)
2016-05-20
21:40
[975ac1d3] part of check-in [1765672c] Another optimization on the OP_Column opcode. (check-in: [1765672c] user: drh branch: trunk, size: 231133)
19:51
[9d0872c7] part of check-in [5c157474] Slight performance improvement in the OP_Column opcode. (check-in: [5c157474] user: drh branch: trunk, size: 231135)
2016-05-19
17:51
[d71b935d] part of check-in [cf273741] Optimization marks in vdbe.c. No logic changes. (check-in: [cf273741] user: drh branch: trunk, size: 231095)
16:58
[ee42e2b8] part of check-in [4737cadc] Performance improvement in the OP_Column opcode. (check-in: [4737cadc] user: drh branch: trunk, size: 231023)
11:12
[d9701a72] part of check-in [0d773061] Small size reduction and performance improvement in the OP_Column opcode. (check-in: [0d773061] user: drh branch: trunk, size: 230976)
2016-05-02
15:00
[c375dd8c] part of check-in [f52765ee] Merge enhancements and bug fixes from trunk. (check-in: [f52765ee] user: drh branch: apple-osx, size: 231019)
10:25
[4bad0421] part of check-in [54c63b32] Improvements to the way the LIKE optimization is implemented, resulting in slightly smaller and faster code that is easier to test. (check-in: [54c63b32] user: drh branch: trunk, size: 230976)
2016-04-30
18:10
[465bb820] part of check-in [459a0b45] Remove an unnecessary branch from the OP_String8 opcode. (check-in: [459a0b45] user: drh branch: trunk, size: 231352)
02:59
[b2067cd0] part of check-in [daf4630f] Simplifications to the OP_Halt opcode implementation. (check-in: [daf4630f] user: drh branch: trunk, size: 231360)
2016-04-29
16:01
[4f0378eb] part of check-in [91e5c07e] Merge the latest enhancements from trunk. (check-in: [91e5c07e] user: drh branch: begin-concurrent, size: 232989)
15:52
[ccc79856] part of check-in [81b76901] Merge enhancements from trunk, and in particular the TEMP file deferred I/O enhancements. (check-in: [81b76901] user: drh branch: apple-osx, size: 231599)
02:55
[08fbea00] part of check-in [e7c22e3b] Some optimization comments added to vdbe.c. No functional changes to code. (check-in: [e7c22e3b] user: drh branch: trunk, size: 231556)
2016-04-21
15:35
[4c31c327] part of check-in [a15c49ae] Merge all recent enhancements from trunk. (check-in: [a15c49ae] user: drh branch: apple-osx, size: 231336)
2016-04-20
12:16
[226c51cc] part of check-in [1f709fbf] Merge all recent enhancements from trunk. (check-in: [1f709fbf] user: drh branch: begin-concurrent, size: 232726)
2016-04-11
13:36
[d3843a66] part of check-in [099478fa] Remove the VdbeOp.opflags field and its associated initialization overhead. Update mkopcodeh.tcl to reorder opcode numbers to help the resolveP2Values() routine run faster. (check-in: [099478fa] user: drh branch: trunk, size: 231293)
2016-04-07
14:16
[e16e8625] part of check-in [153135bf] Avoid decrementing a pointer off the front end of the buffer in OP_MakeRecord. (check-in: [153135bf] user: drh branch: trunk, size: 231185)
2016-04-05
17:50
[260c47de] part of check-in [b7570ac1] Add the SQLITE_DBCONFIG_REQUIRE_TXN argument for sqlite3_dbconfig() which when set requires an explicit transaction before updating the database. (check-in: [b7570ac1] user: drh branch: require-write-txn, size: 231334)
2016-04-04
13:46
[936166d3] part of check-in [e375fe52] Minor performance optimization in the comparison opcodes of the VDBE. (check-in: [e375fe52] user: drh branch: trunk, size: 231160)
2016-03-30
15:30
[0f0e4a62] part of check-in [47887ef8] Simplifications and clarification to update callback handling in the OP_Delete and OP_Insert opcodes. (check-in: [47887ef8] user: drh branch: trunk, size: 231101)
12:56
[04e0606b] part of check-in [5ab46d76] Avoid compiler warnings and excess opcodes when SQLITE_ENABLE_PREUPDATE_HOOK is not used. Fix the EXPLAIN output for P4_TABLE opcodes. (check-in: [5ab46d76] user: drh branch: sessions, size: 231061)
2016-03-29
10:36
[ada5fe38] part of check-in [d7381eff] Merge 3.12.0 changes. (check-in: [d7381eff] user: drh branch: begin-concurrent, size: 230142)
10:30
[53884a06] part of check-in [eef55744] Merge 3.12.0 changes. (check-in: [eef55744] user: drh branch: apple-osx, size: 228752)
10:19
[da8f4d04] part of check-in [ed22eb65] Merge changes for 3.12.0. (check-in: [ed22eb65] user: drh branch: sessions, size: 230791)
2016-03-25
12:10
[cd990451] part of check-in [99fd194c] Fix two instances of undefined behavior in the C code - both harmless for all current compilers. (check-in: [99fd194c] user: drh branch: trunk, size: 228709)
2016-03-21
15:54
[c96ca245] part of check-in [8ee7d346] Merge all recent changes from trunk. (check-in: [8ee7d346] user: drh branch: begin-concurrent, size: 230085)
15:32
[399bb1d3] part of check-in [3296a0ce] Merge 3.12.0 beta changes from trunk. (check-in: [3296a0ce] user: drh branch: sessions, size: 230734)
14:52
[1cdbff44] part of check-in [063f1b37] Merge the sqlite3_system_errno() change from trunk. (check-in: [063f1b37] user: drh branch: apple-osx, size: 228695)
12:28
[f19741f2] part of check-in [b4a1114f] Make sure system errors that occur durign sqlite3_step() are captured for use by sqlite3_system_errno(). (check-in: [b4a1114f] user: drh branch: sqlite_system_errno, size: 228652)
00:30
[3b542ffd] part of check-in [c5677ecd] Remove an unreachable branch. Improvements to comments. (check-in: [c5677ecd] user: drh branch: zero-base-aMem, size: 228622)
2016-03-19
23:32
[90d18d0a] part of check-in [e07b0c47] Change the Vdbe.aMem array so that it is zero-based instead of one-based. (check-in: [e07b0c47] user: drh branch: zero-base-aMem, size: 228605)
2016-03-16
19:34
[1ea96d12] part of check-in [a7978ab6] Merge the latest enhancements from trunk. (check-in: [a7978ab6] user: drh branch: begin-concurrent, size: 229780)
01:16
[8e9452b8] part of check-in [6a7ee04b] Merge all recent enhancements from trunk. (check-in: [6a7ee04b] user: drh branch: sessions, size: 230429)
01:09
[3c7f4d44] part of check-in [161d91e4] Merge the SQLITE_OMIT_CODEC_FROM_TCL compile-time option from trunk. (check-in: [161d91e4] user: drh branch: apple-osx, size: 228390)
2016-03-15
22:00
[8cf45bb8] part of check-in [15e4a272] Change the OP_IntegrityCk opcode to accept the list of root pages as an intarray argument in P4. Slightly smaller and faster. (check-in: [15e4a272] user: drh branch: trunk, size: 228347)
2016-02-25
18:54
[9ccb138c] part of check-in [b8659004] Merge all the latest changes from trunk. (check-in: [b8659004] user: drh branch: sessions, size: 230673)
2016-02-22
16:32
[5c09ebeb] part of check-in [18c3ab47] Merge the master-journal optimization and other recent changes from trunk. (check-in: [18c3ab47] user: drh branch: apple-osx, size: 228634)
16:04
[87ae3a56] part of check-in [64386fa3] Always use the sqlite3VdbeDeleteAuxdata() routine for clearing auxdata on function parameter, rather than having a separate deleteAuxdataFromFrame() for doing the job for trigger frames. (check-in: [64386fa3] user: drh branch: trunk, size: 228591)
2016-02-19
18:54
[822e44c1] part of check-in [c4295725] Use a separate list of aux-data structures for each trigger program at the VDBE level. Fix for [dc9b1c91]. (check-in: [c4295725] user: dan branch: trunk, size: 228576)
2016-02-18
01:36
[af223358] part of check-in [b7fa0fb3] Merge recent performance enhancements and the enhanced API_ARMOR from trunk. (check-in: [b7fa0fb3] user: drh branch: apple-osx, size: 228533)
2016-02-17
18:44
[4eef77da] part of check-in [a444633a] Fix up all VDBE opcodes so that they cause an immediate exit on any kind of error, and thereby eliminate the need to test "rc" at the top of the loop. Resulting code is a little smaller and faster. (check-in: [a444633a] user: drh branch: vdbe-performance, size: 228490)
2016-02-13
23:43
[ad4d5b7a] part of check-in [6a9c4a3e] Enhance ability to debug out-of-memory errors. (check-in: [6a9c4a3e] user: mistachkin branch: noMemBkpt, size: 226833)
2016-02-05
14:34
[642df098] part of check-in [332c8036] Merge PRAGMA synchronous=EXTRA and OOM performance enhancements from trunk. (check-in: [332c8036] user: drh branch: begin-concurrent, size: 228211)
14:29
[d76cf7d7] part of check-in [201fcbee] Merge OOM handling optimizations and PRAGMA synchronous=EXTRA as well as other enhancements from trunk. (check-in: [201fcbee] user: drh branch: apple-osx, size: 226856)
14:15
[830c927c] part of check-in [a533608c] Merge enhancements from trunk. (check-in: [a533608c] user: drh branch: sessions, size: 228878)
13:38
[c193299e] part of check-in [0a802e96] Add the slightly faster sqlite3DbMallocRawNN(db,n) routine for the majority cases where db is guaranteed to be not NULL. (check-in: [0a802e96] user: drh branch: oom-handling, size: 226813)
01:55
[2e49c5d1] part of check-in [c3ef0347] Improvements to the way that OOM errors are processed. (check-in: [c3ef0347] user: drh branch: oom-handling, size: 226805)
2016-02-03
22:14
[f0c2e2fb] part of check-in [632071ba] In the VDBE loop, only check for OOM errors at jumps rather than after every opcode, for about a 0.5% performance increase. (check-in: [632071ba] user: drh branch: trunk, size: 226863)
19:52
[16ca0c1e] part of check-in [ef252bc4] Fix markup errors in comments used to generate the documentation - specifically in the documentation on the OP_Seek opcode. (check-in: [ef252bc4] user: drh branch: trunk, size: 226813)
2016-02-02
02:53
[f4a056b9] part of check-in [347f6a80] Merge recent enhancements from trunk. (check-in: [347f6a80] user: drh branch: begin-concurrent, size: 228213)
02:30
[464142f9] part of check-in [e6a4a163] Merge recent enhancements from trunk. (check-in: [e6a4a163] user: drh branch: apple-osx, size: 226858)
02:22
[c5244f97] part of check-in [f3f92001] Merge all recent enhancements from trunk. (check-in: [f3f92001] user: drh branch: sessions, size: 228880)
00:59
[0b5df64b] part of check-in [7453790c] Add the SQLITE_DBCONFIG_REQUIRE_WRITE_TXN connection setting, which if enabled requires all write operations to be enclosed within BEGIN ... COMMIT. (check-in: [7453790c] user: drh branch: require-write-txn, size: 227304)
2016-02-01
21:48
[a0a0ada4] part of check-in [6d7d4703] Change the OP_SetCookie instruction to write the literal P3 value, not the value in register P3. (check-in: [6d7d4703] user: drh branch: trunk, size: 226815)
13:21
[755b1e21] part of check-in [a9b6a067] Minor simplification to the OP_AutoCommit opcode. Fix some code comments related to transaction control. (check-in: [a9b6a067] user: drh branch: trunk, size: 226946)
2016-01-30
16:59
[73f0f61e] part of check-in [9bec50a1] Merge the implementation of OP_IdxRowid and OP_Seek so that OP_Seek no longer requires the rowid register and a separate OP_IdxRowid call. Shorter and faster prepared statements result. (check-in: [9bec50a1] user: drh branch: trunk, size: 226991)
15:46
[49e0a224] part of check-in [2e9fb129] A different way to clear the subtype on VDBE registers when the value of the register is overwritten with new content. To fix [[f45ac567eaa9f93]. (check-in: [2e9fb129] user: dan branch: clear-subtype-flag, size: 226455)
14:53
[dadd5775] part of check-in [ec653cbc] Take care to clear the subtype on VDBE registers when the value of the register is overwritten with new content. (check-in: [ec653cbc] user: drh branch: clear-subtype-fail, size: 226462)
14:17
[bd4d2cab] part of check-in [96b78020] Output subtype information on register traces for PRAGMA vdbe_trace. (check-in: [96b78020] user: drh branch: trunk, size: 226444)
13:32
[d9d2406d] part of check-in [85c46704] Add the BTREE_FORDELETE and BTREE_AUXDELETE flags to the b-tree layer interface and use them. Add assert() statement to verify that they are correct. (check-in: [85c46704] user: drh branch: trunk, size: 226384)
00:45
[0686ef5e] part of check-in [6c520d57] Change the P4_INTARRAY so that always begins with a length integer. Print the content of the INTARRAY on EXPLAIN output. (check-in: [6c520d57] user: drh branch: covering-or, size: 225297)
2016-01-29
19:29
[2e0c42bb] part of check-in [a323ac3a] Experimental attempt to make better use of covering indexes within OR queries. (check-in: [a323ac3a] user: dan branch: covering-or, size: 225170)
18:04
[e86e100a] part of check-in [2a055ed0] Prepend "rc!=SQLITE_OK || " to the nExtraDelete assert() condition. (check-in: [2a055ed0] user: dan branch: fordelete-assert, size: 225762)
2016-01-28
17:06
[66c42989] part of check-in [f43ff8f8] Modifications to ensure the nExtraDelete-related assert() statement does not fail. (check-in: [f43ff8f8] user: dan branch: fordelete-assert, size: 225734)
2016-01-27
16:26
[c367615f] part of check-in [1d3bf6be] Change the name of the BTREE_IDXDELETE flag to BTREE_AUXDELETE, to better reflect its purpose. (check-in: [1d3bf6be] user: drh branch: fordelete-assert, size: 225923)
15:49
[a27a3fdc] part of check-in [dde1db0d] Add assert() statements on the nExtraDelete variable in vdbe.c to try to verify that the FORDELETE and IDXDELETE flags are being generated correctly. Those flags are not currently generated correctly, and so the assert()s trip on this check-in. (check-in: [dde1db0d] user: drh branch: fordelete-assert, size: 225762)
2016-01-26
23:32
[6039096e] part of check-in [9a71d56d] Merge all recent trunk enhancements. (check-in: [9a71d56d] user: drh branch: btree-fordelete-flag, size: 225096)
2016-01-25
15:57
[3ffbcc41] part of check-in [7ac017a4] Replace the OP_SetIfNotPos operator with OP_OffsetLimit in the VDBE, for simpler and smaller code. (check-in: [7ac017a4] user: drh branch: trunk, size: 224675)
2016-01-21
17:06
[e21a506d] part of check-in [ac2cbadd] Add a new hint bit on the flags parameter of sqlite3BtreeDelete(). The new BTREE_IDXDELETE bit indicates that the call is to delete an index entry corresponding to a table row that has already been deleted. (check-in: [ac2cbadd] user: drh branch: btree-fordelete-flag, size: 224490)
2016-01-20
12:18
[7013f866] part of check-in [5520f600] Merge recent enhancements from trunk. (check-in: [5520f600] user: drh branch: begin-concurrent, size: 225451)
11:40
[2a3f8fd4] part of check-in [3ed49691] Merge all recent enhancements from trunk. (check-in: [3ed49691] user: drh branch: apple-osx, size: 224112)
11:33
[1443ca69] part of check-in [327af5f6] Merge recent enhancements from trunk. (check-in: [327af5f6] user: drh branch: sessions, size: 226133)
2016-01-15
15:06
[b90d9d38] part of check-in [c52ca2c0] Work toward making the schema parsing logic simplier and more compact. (check-in: [c52ca2c0] user: drh branch: trunk, size: 224069)
2016-01-14
22:19
[4f358548] part of check-in [0d1b3d7d] Combine the xFunc and xStep pointers of the FuncDef object into a single pointer xSFunc. (check-in: [0d1b3d7d] user: drh branch: trunk, size: 224046)
15:46
[fd831237] part of check-in [fccc5f20] Merge the latest enhancements and fixes from trunk. (check-in: [fccc5f20] user: dan branch: begin-concurrent, size: 225426)
15:03
[fac06dbf] part of check-in [d85774e0] Merge the latest enhancements and fixes from trunk. (check-in: [d85774e0] user: drh branch: apple-osx, size: 224087)
14:48
[9b4da74d] part of check-in [007e5c6d] Merge the latest fixes and enhancements from trunk. (check-in: [007e5c6d] user: drh branch: sessions, size: 226108)
2016-01-11
18:05
[6572d00e] part of check-in [ecc98bef] Performance optimization on the Column opcode. (check-in: [ecc98bef] user: drh branch: trunk, size: 224044)
2016-01-06
15:49
[83c09bc7] part of check-in [e1d2ffc0] Merge changes for version 3.10.0. (check-in: [e1d2ffc0] user: drh branch: begin-concurrent, size: 225500)
14:35
[5678e937] part of check-in [77c28c2b] Merge all version 3.10.0 updates. (check-in: [77c28c2b] user: drh branch: apple-osx, size: 224161)
2016-01-04
19:02
[a479a4bd] part of check-in [c785cd78] Merge in last-minute patches for the 3.10.0 beta. (check-in: [c785cd78] user: drh branch: sessions, size: 226182)
03:48
[6ac8e5d8] part of check-in [4b404a99] Fix a harmless compiler warning. (check-in: [4b404a99] user: drh branch: trunk, size: 224118)
2016-01-02
05:00
[638c20ba] part of check-in [2047d2de] Fix a (harmless) typo in an #ifdef for SQLITE_ENABLE_CURSOR_HINTS (check-in: [2047d2de] user: drh branch: trunk, size: 224171)
2016-01-01
14:14
[7a9e7011] part of check-in [6bea792c] Merge recent trunk enhancements. (check-in: [6bea792c] user: drh branch: begin-concurrent, size: 225552)
13:31
[a01c8ccd] part of check-in [5b700f31] Merge all recent trunk enhancements. (check-in: [5b700f31] user: drh branch: apple-osx, size: 224213)
13:25
[a415f784] part of check-in [c0be246a] Merge the latest enhancements from trunk. (check-in: [c0be246a] user: drh branch: sessions, size: 226234)
2015-12-31
04:34
[39d7628b] part of check-in [7a0b9413] Small size and performance optimization to the VDBE comparison opcodes. (check-in: [7a0b9413] user: drh branch: trunk, size: 224170)
2015-12-17
19:17
[3bedca4a] part of check-in [896a06cc] Make the VdbeCursor object even smaller. But the resulting library is bigger and slower than trunk. This branch is a failed experiment. (check-in: [896a06cc] user: drh branch: optimize-vdbecursor, size: 224647)
17:30
[18792363] part of check-in [98b710c3] Reduce the size of the VdbeCursor object by a pointer (the pBt pointer used for ephemeral tables). (check-in: [98b710c3] user: drh branch: optimize-vdbecursor, size: 224365)
2015-12-16
21:09
[984c2be6] part of check-in [18a4c054] Fix compiler warning seen with MSVC. (check-in: [18a4c054] user: mistachkin branch: msvcWarn, size: 224250)
19:55
[75beda48] part of check-in [cb22efaf] Merge recent enhancements from trunk. (check-in: [cb22efaf] user: drh branch: begin-concurrent, size: 225555)
19:47
[c47b3bfc] part of check-in [f6c9273c] Merge recent enhancements from trunk. (check-in: [f6c9273c] user: drh branch: sessions, size: 226237)
2015-12-14
19:42
[0bc683e6] part of check-in [1a247911] Add a missing memAboutToChange() macro to vdbe.c, the lack of which was causing an assert() to fail incorrectly. Problem found by libfuzzer. (check-in: [1a247911] user: dan branch: trunk, size: 224173)
2015-12-02
20:53
[ff460358] part of check-in [9130661a] Merge recent enhancements from trunk. (check-in: [9130661a] user: drh branch: begin-concurrent, size: 225520)
20:40
[5c3dd0f4] part of check-in [d1a1278d] Merge recent enhancements from trunk. (check-in: [d1a1278d] user: drh branch: sessions, size: 226202)
20:22
[5cd1221f] part of check-in [e1fb33c7] Merge all recent trunk enhancements, especially the unix VFS changes. (check-in: [e1fb33c7] user: drh branch: apple-osx, size: 224181)
2015-12-01
21:23
[4d75375f] part of check-in [9e1d6d4c] Add the SQLITE_LIKE_DOESNT_MATCH_BLOBS compile-time option. (check-in: [9e1d6d4c] user: drh branch: trunk, size: 224138)
2015-11-21
17:53
[8694c0e6] part of check-in [093e0d10] Add a new OP_BColumn opcode where the cursor is guaranteed to be of type CURTYPE_BTREE and is thus able to skip some checks and run slightly faster. (check-in: [093e0d10] user: drh branch: btree-column-opcode, size: 224232)
17:27
[b56b2fc9] part of check-in [198d191b] Fix over-length source code lines. No logic changes. (check-in: [198d191b] user: drh branch: trunk, size: 224092)
2015-11-20
19:22
[9ef1b170] part of check-in [9b1d174d] Refactor the VdbeCursor object. It is now slightly smaller and faster and is easier to understand. (check-in: [9b1d174d] user: drh branch: trunk, size: 224049)
13:49
[6b125884] part of check-in [41c8b8e3] Merge all the latest enhancements and fixes from trunk. (check-in: [41c8b8e3] user: drh branch: begin-concurrent, size: 224511)
13:33
[7a4efb96] part of check-in [35c7f6cb] In the OP_Column opcode, only test the btree payload size for exceeding the string length limit if the payload does not fit on a single page. (check-in: [35c7f6cb] user: drh branch: trunk, size: 223129)
2015-11-07
01:57
[c9869b29] part of check-in [5429f99b] Merge recent enhancements and fixes from trunk. (check-in: [5429f99b] user: drh branch: apple-osx, size: 223174)
01:33
[9539aa0c] part of check-in [78bc42e6] Merge recent enhancements and bug fixes from trunk. (check-in: [78bc42e6] user: drh branch: sessions, size: 225196)
01:19
[7a9b1802] part of check-in [0f5b147d] The OPFLAG_SEEKEQ optimization is only applicable to equality comparisons against an index, not against a rowid table. (check-in: [0f5b147d] user: drh branch: trunk, size: 223131)
2015-11-05
22:30
[a9b0ec9f] part of check-in [997ce6c9] Improvements and simplifications to the equality seek logic. Tests are adjusted so that they all pass now. (check-in: [997ce6c9] user: drh branch: seekeq-experiment, size: 223002)
20:25
[1f9ef1ef] part of check-in [32e31b9b] The top of an index equality loop normally starts with OP_SeekGE and OP_IdxGT. This check-in adds a flag to OP_SeekGE such that it fails immediately if the key is not equal, then jumps over the OP_IdxGT, saving a call to the key comparison functions. Consider this check-in a proof-of-concept. It needs improvement before going on trunk. Some tests fail, but only because they new use fewer key comparisons than expected (which is a good thing!). (check-in: [32e31b9b] user: drh branch: seekeq-experiment, size: 221769)
2015-10-30
17:17
[4ab87640] part of check-in [f2cde4cf] Merge the sqlite3_db_cacheflush() enhancements and other changes from trunk. (check-in: [f2cde4cf] user: drh branch: begin-concurrent, size: 223018)
16:50
[755ebcef] part of check-in [395a153f] Merge all the latest enhancements from trunk. (check-in: [395a153f] user: drh branch: sessions, size: 223701)
16:23
[b8606b0a] part of check-in [6e4306ef] Merge latest trunk changes, including sqlite3_db_cacheflush(), with this branch. (check-in: [6e4306ef] user: dan branch: apple-osx, size: 221679)
2015-10-27
13:24
[dfbaae25] part of check-in [b3ec9a0d] Split out sqlite3BtreeCursorHintFlags() from sqlite3BtreeCursorHint() the interface for improved performance. (check-in: [b3ec9a0d] user: drh branch: cursor-hints, size: 221636)
2015-10-26
20:50
[cb8eee39] part of check-in [bc195e1c] Merge latest trunk changes, including the SQLITE_IOERR_AUTH error code, with this branch. (check-in: [bc195e1c] user: dan branch: apple-osx, size: 220894)
20:11
[1cdfa13e] part of check-in [20da0849] Merge the BTREE_FORDELETE enhancement with this branch. (check-in: [20da0849] user: dan branch: cursor-hints, size: 221643)
2015-10-22
20:54
[3f22833a] part of check-in [cdc92919] Modifications to pass a flag to internal routine sqlite3BtreeCursor() when a cursor that is used solely for deleting b-tree entries, or for obtaining the components of keys to delete from other b-trees, is opened. (check-in: [cdc92919] user: dan branch: btree-fordelete-flag, size: 220851)
2015-10-20
23:40
[ca0bbae5] part of check-in [12e869bb] Fix compiler warnings. (check-in: [12e869bb] user: mistachkin branch: noWarn, size: 220819)
2015-10-16
20:55
[80c332d7] part of check-in [bf866e6c] Merge the 3.9.1 updates from trunk. (check-in: [bf866e6c] user: drh branch: begin-concurrent, size: 222201)
20:53
[10d66354] part of check-in [26fa091d] Merge recent enhancements from trunk. Version now 3.9.1. (check-in: [26fa091d] user: drh branch: cursor-hints, size: 221611)
14:54
[e9315575] part of check-in [2ad72be1] Have the sqlite3VdbeSerialType() function go ahead and compute the serial length as well, since it is always needed. This avoids unnecessary calls to sqlite3VdbeSerialTypeLen(). (check-in: [2ad72be1] user: drh branch: trunk, size: 220819)
14:23
[f84d2241] part of check-in [33957248] Use a lookup table to compute the content length for serial types less than 128, for a 1.2% performance improvement. (check-in: [33957248] user: drh branch: trunk, size: 220862)
13:50
[612bf3ee] part of check-in [0114b45d] Simplify the OP_Column logic slightly. One very small performance improvement added. (check-in: [0114b45d] user: drh branch: trunk, size: 220909)
12:53
[ece04358] part of check-in [8125b74c] OP_Column optimization: Do not check for an oversize row header unless the row header size is larger than the content available on the local page. (check-in: [8125b74c] user: drh branch: trunk, size: 221135)
03:34
[32865d7e] part of check-in [08e8f04d] Whenever two or more OP_Column opcodes on the same cursor occur in succession, try to reordering them so that the one that extracts the right-most column is first, so that it will warm up the row cache for all those that follow. This gives a small performance boost. (check-in: [08e8f04d] user: drh branch: reorder-column-opcodes, size: 221125)
2015-10-15
21:30
[c33faa48] part of check-in [076be547] Performance optimization for the OP_Column opcode. (check-in: [076be547] user: drh branch: trunk, size: 221108)
20:17
[a0a2aea6] part of check-in [39ae92f5] Experiments with an OP_Unpack opcode that extracts multiple columns from a record without caching. (check-in: [39ae92f5] user: drh branch: unpack-opcode, size: 222431)
18:04
[61bd96c7] part of check-in [3a2f73a4] Add the OP_IntCopy opcode - an optimized version of OP_SCopy that only works for integer values. (check-in: [3a2f73a4] user: drh branch: trunk, size: 221194)
17:31
[eac08984] part of check-in [79298fe8] Optimization to the out2Prerelease() helper routine in the VDBE engine. (check-in: [79298fe8] user: drh branch: trunk, size: 220795)
07:44
[9e42ca33] part of check-in [5c3a2a6e] Merge in the 3.9.0 changes from trunk. (check-in: [5c3a2a6e] user: drh branch: begin-concurrent, size: 222010)
2015-10-14
20:09
[4d4d88a6] part of check-in [29444149] Merge in all the 3.9.0 updates from trunk. (check-in: [29444149] user: drh branch: cursor-hints, size: 221420)
2015-10-09
17:28
[1f3280cf] part of check-in [1ccae39b] Merge all changes through the first 3.9.0 beta from trunk. (check-in: [1ccae39b] user: drh branch: apple-osx, size: 220671)
2015-10-08
14:55
[fd0fba1b] part of check-in [35b1b8d4] Merge the 3.8.12 beta changes from trunk. (check-in: [35b1b8d4] user: drh branch: sessions, size: 222693)
2015-10-06
21:49
[1e0bf8d6] part of check-in [a05f903c] Fix typo in comments. No changes to code. (check-in: [a05f903c] user: mistachkin branch: trunk, size: 220628)
21:07
[d263ec6b] part of check-in [041df7c2] Simplifications to the VDBE bytecode that handles LIMIT and OFFSET. (check-in: [041df7c2] user: drh branch: trunk, size: 220628)
2015-09-15
19:16
[34fb6d59] part of check-in [fc4d1de8] Merge enhancements from trunk. (check-in: [fc4d1de8] user: drh branch: begin-concurrent, size: 221919)
17:31
[1704a79d] part of check-in [66fe0683] Merge enhancements from trunk. (check-in: [66fe0683] user: drh branch: cursor-hints, size: 221329)
17:20
[cc4a5aeb] part of check-in [f12b8a0f] Merge trunk enhancements into the apple-osx branch. (check-in: [f12b8a0f] user: drh branch: apple-osx, size: 220580)
15:55
[b61897b3] part of check-in [b7469c44] Merge the latest trunk enhancements with this branch. (check-in: [b7469c44] user: dan branch: sessions, size: 222602)
2015-09-14
19:26
[5048103a] part of check-in [d2df93f2] Testability improvements for the ONEPASS_MULTI enhancement. (check-in: [d2df93f2] user: drh branch: trunk, size: 220537)
09:23
[a8a5cb11] part of check-in [166d5af8] Avoid calling sqlite3VdbeCursorMoveto() from more than one point in vdbe.c. Doing so prevents it from being inlined as part of OP_Column. (check-in: [166d5af8] user: dan branch: onepass-delete, size: 220427)
2015-09-12
19:26
[5587d76b] part of check-in [eaeb2b80] Experimental change to use a single-pass approach for DELETE statements on non-virtual tables that do not fire triggers or require foriegn-key processing. (check-in: [eaeb2b80] user: dan branch: onepass-delete, size: 220389)
2015-09-03
15:17
[8e1d1597] part of check-in [f8ae9bfd] Changes from ENABLE_CONCURRENT (default off) to OMIT_CONCURRENT (default on). This is not a clear-cut decision and might be changed back. (check-in: [f8ae9bfd] user: drh branch: begin-concurrent, size: 221408)
2015-08-28
02:12
[30e368a0] part of check-in [da864658] Merge trunk enhancements into the apple-osx branch. Most tests works, but there are yet a few issues to be resolved. (check-in: [da864658] user: drh branch: apple-osx, size: 220069)
2015-08-24
22:06
[791a2876] part of check-in [47280f2a] Remove duplicated line of code. (check-in: [47280f2a] user: mistachkin branch: begin-concurrent, size: 221410)
19:56
[84ac0688] part of check-in [ba1ab858] Change "BEGIN UNLOCKED" to "BEGIN CONCURRENT". (check-in: [ba1ab858] user: dan branch: begin-concurrent, size: 221433)
19:08
[cb555e4a] part of check-in [5b9f2721] Fix handling of attempts to modify the database schema, application_id or user_version within an UNLOCKED transaction. (check-in: [5b9f2721] user: dan branch: begin-concurrent, size: 221397)
2015-08-21
16:22
[97b07a1a] part of check-in [deaf3b18] Merge trunk changes with this branch. (check-in: [deaf3b18] user: dan branch: begin-concurrent, size: 220974)
2015-08-20
23:54
[76304f37] part of check-in [e9196d56] Merge recent trunk enhancements, include table-valued functions. (check-in: [e9196d56] user: drh branch: sessions, size: 221983)
23:45
[9d85fa72] part of check-in [b9927c87] Merge recent enhancements from trunk, including table-valued expressions. (check-in: [b9927c87] user: drh branch: cursor-hints, size: 220818)
17:18
[6d85be99] part of check-in [fd13dd95] Make SQLITE_BUSY_SNAPSHOT and SQLITE_BUSY_RECOVERY retryable, just as a plain SQLITE_BUSY is. (check-in: [fd13dd95] user: drh branch: trunk, size: 220026)
2015-08-14
23:57
[4dbcceb3] part of check-in [83a84435] Always provide the BTREE_BULKLOAD hint, even when SQLITE_ENABLE_CURSOR_HINTS is not defined, as that hint gives a 4% performance increase. (check-in: [83a84435] user: drh branch: cursor-hints, size: 220734)
20:08
[882cac44] part of check-in [bf383e66] Updated testing of cursor-hints. Remove the test_cursorhint.c file and associated logic in the core and do tests based purely on the newly enhanced EXPLAIN output. (check-in: [bf383e66] user: drh branch: cursor-hints, size: 220656)
15:05
[74561c2d] part of check-in [fc3fb5cd] Refactor the sqlite3BtreeCursorHint() interface for improved maintainability. (check-in: [fc3fb5cd] user: drh branch: cursor-hints, size: 220788)
2015-08-13
20:07
[eeef2e6e] part of check-in [82a7a61b] Merge in all the trunk changes from the previous year. This breaks the cursor-hint mechanism, but provides a baseline for trouble-shooting. (check-in: [82a7a61b] user: drh branch: cursor-hints, size: 220660)
2015-08-11
13:41
[6281c0f8] part of check-in [b09e3ea7] Add some extra timestamps to the experimental log output. (check-in: [b09e3ea7] user: dan branch: experimentalIoLog, size: 220194)
2015-08-10
20:22
[0f6fc42b] part of check-in [ac5d2e9d] Add the sqlite3_experimental_log_open() interface. This is for diagnostic use only and is not intended to ever go on trunk. (check-in: [ac5d2e9d] user: drh branch: experimentalIoLog, size: 220191)
2015-07-31
18:59
[2ab1decd] part of check-in [047d3475] Fix the sqlite3_stmt_busy() interface so that it always returns FALSE after the statement has returned SQLITE_DONE, even for ROLLBACK statements. Clarify the documentation. (check-in: [047d3475] user: drh branch: trunk, size: 219942)
2015-07-27
19:31
[fd683240] part of check-in [80794216] Add an experimental "BEGIN UNLOCKED" command. (check-in: [80794216] user: dan branch: begin-concurrent, size: 220578)
2015-07-24
22:21
[8dbffc35] part of check-in [0298a9a7] Merge test improvements and minor fixes from trunk. (check-in: [0298a9a7] user: drh branch: sessions, size: 221911)
15:49
[86be40a4] part of check-in [4e3e516a] More robust handling of zeroblob() with oversized arguments. Fix fuzzcheck so that it can be run with limited heap memory. (check-in: [4e3e516a] user: drh branch: trunk, size: 219954)
2015-06-30
16:29
[195b3231] part of check-in [39936b33] Merge all the latest enhancements from trunk. This merge include FTS5 and a number of notable performance enhancements. (check-in: [39936b33] user: drh branch: sessions, size: 221893)
01:25
[5ee4a2bf] part of check-in [ed54c14e] Convert several 5-year-old and older NEVER() macros into assert(). (check-in: [ed54c14e] user: drh branch: trunk, size: 219936)
2015-06-26
19:43
[3d5a78d3] part of check-in [b6bedc2e] Small size reduction and performance increase on the OP_IdxInsert opcode. (check-in: [b6bedc2e] user: drh branch: trunk, size: 220006)
18:47
[b425feab] part of check-in [eaddbf29] Further optimization of SQL function dispatch. Improvements to opcode documentation. (check-in: [eaddbf29] user: drh branch: trunk, size: 220020)
18:16
[8fde5281] part of check-in [2abc44eb] Cache the sqlite3_context structure in the P4 operand of VDBE programs for faster SQL function dispatch. (check-in: [2abc44eb] user: drh branch: trunk, size: 219337)
13:31
[59295731] part of check-in [2f31bdd1] Cache the most recently sqlite3_context used by OP_Function and reuse it on subsequent calls, if appropriate. This gives a noticable performance boost. (check-in: [2f31bdd1] user: drh branch: function-ctx-cache, size: 216763)
2015-06-25
15:44
[60917660] part of check-in [924f4712] Merge all the latest enhancements from trunk. (check-in: [924f4712] user: drh branch: sessions, size: 218413)
2015-06-24
14:36
[3af2d06e] part of check-in [b41ef5d6] Fix the progress handler so that it does not fire too soon during an sqlite3_step() call other than the first. (check-in: [b41ef5d6] user: drh branch: trunk, size: 216456)
2015-06-17
18:18
[abef10c8] part of check-in [199bfb67] Merge all recent enhancements and fixes from trunk. (check-in: [199bfb67] user: drh branch: sessions, size: 218497)
2015-06-11
18:01
[c4fc60e1] part of check-in [c39cb0e2] Merge recent trunk enhancements and fixes. (check-in: [c39cb0e2] user: drh branch: sessions, size: 217858)
2015-06-05
15:59
[c9b8985d] part of check-in [f167bba4] Add a new opcode to the VDBE that gives the b-tree a hint about the set of columns in a table or index that are actually used by the query. (check-in: [f167bba4] user: drh branch: column-usage-hint, size: 216540)
2015-06-02
15:32
[0a6a1df5] part of check-in [bce3f041] Rename SQLITE_AFF_NONE to SQLITE_AFF_BLOB. (check-in: [bce3f041] user: drh branch: blob-affinity-rename, size: 215901)
2015-05-21
17:24
[63f8f7b8] part of check-in [b3bb660a] Prevent a virtual table from being destroyed while it is in use. Also: replace Vdbe.inVtabMethod with sqlite3.nVDestroy. Simplify the EXPLAIN output for P4.pVtab to only show the sqlite3_vtab pointer. Cherrypick of [cbeb9a1aed8c]. (check-in: [b3bb660a] user: dan branch: branch-3.8.6, size: 213189)
2015-05-20
19:53
[d4840634] part of check-in [4a08f6b8] Detect and report oversized records constructed from multiple zeroblobs. Cherrypick of [9e139afd9211]. (check-in: [4a08f6b8] user: dan branch: branch-3.8.6, size: 213450)
19:44
[93269669] part of check-in [4125477e] Ensure that comparison operators do not mess up the MEM_Dyn flag on registers when reverting affinity changes. Cherrypick of [02e3c88fbf6a]. (check-in: [4125477e] user: dan branch: branch-3.8.6, size: 213444)
2015-05-19
22:42
[e4b07dae] part of check-in [0a0de8b7] Merge recent trunk changes, include the R-Tree enhancement that allows 8-byte BLOB arguments to geometry functions, and the fix for the TEXT affinity problem that could cause corrupt indexes. (check-in: [0a0de8b7] user: drh branch: sessions, size: 217858)
19:52
[163e045d] part of check-in [40f67265] Ensure that when the VM applies TEXT affinity to a value it discards any existing REAL or INTEGER value. Fix for [34cd55d6]. Increase the version number to 3.8.10.2. (check-in: [40f67265] user: drh branch: branch-3.8.10, size: 216565)
19:44
[6aee8a04] part of check-in [f5d0ce80] Ensure that when the VM applies TEXT affinity to a value it discards any existing REAL or INTEGER value. Fix for [34cd55d6]. (check-in: [f5d0ce80] user: dan branch: trunk, size: 215901)
2015-05-15
04:13
[8775967d] part of check-in [56ef98a0] Simplifications to error message processing. Fix a possible problem in error message formatting when vacuuming a database with a corrupt schema. (check-in: [56ef98a0] user: drh branch: trunk, size: 215861)
2015-05-07
12:29
[f3033cd2] part of check-in [0404ef88] Merge in the 3.8.10 release changes. (check-in: [0404ef88] user: drh branch: sessions, size: 218482)
2015-05-05
18:52
[d437887d] part of check-in [04afa3fe] Remove four lines of superfluous code identified by clang scan-build. (check-in: [04afa3fe] user: drh branch: trunk, size: 216525)
17:12
[9d202ac3] part of check-in [de7083cf] Merge all trunk enhancements and fixes into the sessions branch. (check-in: [de7083cf] user: drh branch: sessions, size: 218526)
2015-04-30
20:33
[ff9efff0] part of check-in [012a0c4e] Fix a harmless comment typo. (check-in: [012a0c4e] user: drh branch: trunk, size: 216569)
2015-04-28
14:00
[dca4bf7a] part of check-in [fbb06727] Fix sqlite3VdbeMakeWritable() to always clear the MEM_Ephem flag. Change the OP_Move opcode to always deephemeralize moved content. (check-in: [fbb06727] user: drh branch: trunk, size: 216567)
13:11
[f497a100] part of check-in [091cfe8e] Oops - the deephemerialization needs to occur before the move, not after. Was: Rather than try to keep track of the parent of an ephermeral register when the register moves, just deephemeralize all registers touched by the OP_Move opcode. (check-in: [091cfe8e] user: drh branch: mistake, size: 216430)
12:44
[74507905] part of check-in [add4e043] Shift the Mem.pScopyFrom pointer in the correct direction in OP_Move. Fix for a defective check-in [a2135ad13049] and ticket [d6352363751]. Debugging code only - does not affect normal operation. (check-in: [add4e043] user: drh branch: trunk, size: 216554)
2015-04-27
19:53
[519bff8a] part of check-in [ea5e0b74] Add fault-injection tests for the code in test_stat.c. (check-in: [ea5e0b74] user: dan branch: trunk, size: 216554)
2015-04-22
14:41
[4f4af723] part of check-in [658e20f5] Prototype for an sqlite3_db_log() interface. (check-in: [658e20f5] user: drh branch: sqlite3_db_log, size: 216543)
2015-04-20
01:32
[e8f00a2e] part of check-in [b8ef1cde] Merge all recent trunk enhancements and fixes into the sessions branch. (check-in: [b8ef1cde] user: drh branch: sessions, size: 218486)
01:25
[32e165d7] part of check-in [74b7bf17] Merge all recent trunk enhancements and fixes into the apple-osx branch. (check-in: [74b7bf17] user: drh branch: apple-osx, size: 216563)
2015-04-18
16:25
[f0cf3cf5] part of check-in [e98d481d] Ensure that if a "ROLLBACK TO" statement is used to rollback (but not close) theoutermost transaction, the xRollbackTo() method of any virtual tables involved in the transaction is invoked. (check-in: [e98d481d] user: dan branch: trunk, size: 216529)
2015-04-16
17:31
[55650cb0] part of check-in [647495cf] Fix the VDBE so that it always uses the original opcode for profiling and debugging even after the pOp pointer has been updated due to a jump. (check-in: [647495cf] user: drh branch: trunk, size: 216503)
2015-04-15
14:14
[f3f2e466] part of check-in [e65e65f9] Merge all recent trunk fixes and enhancements into the sessions branch. (check-in: [e65e65f9] user: drh branch: sessions, size: 218220)
2015-04-13
23:11
[7b63a9df] part of check-in [e709d3b4] Merge all recent trunk enhances into the apple-osx branch. (check-in: [e709d3b4] user: drh branch: apple-osx, size: 216297)
21:39
[3f3afd12] part of check-in [d2f10c41] Omit the "pc" or "program counter" variable from the VDBE loop for 0.6% performance increase. (check-in: [d2f10c41] user: drh branch: trunk, size: 216263)
19:14
[584abb81] part of check-in [e29c7f2c] Remove the out2-prerelease VDBE opcode property and its associated code, for a 0.5% performance improvement. (check-in: [e29c7f2c] user: drh branch: trunk, size: 216007)
2015-04-12
01:33
[e09d0a77] part of check-in [5f14f34f] Merge all recent trunk enhancements into the sessions branch. (check-in: [5f14f34f] user: drh branch: sessions, size: 217716)
2015-04-11
18:45
[c4bd9691] part of check-in [cf7590f6] Merge latest trunk changes with this branch. (check-in: [cf7590f6] user: dan branch: sorter-opt, size: 215759)
02:08
[06cc2cf4] part of check-in [9e139afd] Detect and report oversized records constructed from multiple zeroblobs. (check-in: [9e139afd] user: drh branch: trunk, size: 215730)
2015-04-10
08:28
[3c28266d] part of check-in [08c0b19b] Update this branch with the latest changes from sorter-opt. (check-in: [08c0b19b] user: dan branch: insert-select-opt, size: 215935)
2015-04-01
18:22
[f6647e74] part of check-in [4621b2ee] Merge latest trunk changes with this branch. (check-in: [4621b2ee] user: dan branch: sorter-opt, size: 215753)
16:39
[503f4f93] part of check-in [aea439bd] Merge recent enhancements from trunk. (check-in: [aea439bd] user: drh branch: sessions, size: 217681)
16:18
[a9d916ab] part of check-in [592cdc5d] Reduce the CPU used by CREATE INDEX statements by taking better advantage of the fact that keys are inserted in sorted order. (check-in: [592cdc5d] user: dan branch: sorter-opt, size: 215361)
16:13
[f76aaab7] part of check-in [71b6f507] Merge all recent trunk fixes and enhancements into the apple-osx branch. (check-in: [71b6f507] user: drh branch: apple-osx, size: 215758)
2015-03-31
11:42
[86ae6f47] part of check-in [02e3c88f] Ensure that comparison operators do not mess up the MEM_Dyn flag on registers when reverting affinity changes. (check-in: [02e3c88f] user: drh branch: trunk, size: 215724)
2015-03-30
19:56
[03ed4b82] part of check-in [763d2bc7] Optimize CREATE INDEX, REINDEX and VACUUM statements by taking better advantage of the fact that index keys are being inserted into b-trees in sorted order. (check-in: [763d2bc7] user: dan branch: mistake, size: 215716)
2015-03-24
19:43
[5cb31321] part of check-in [3ccd64ef] Update this branch with latest trunk changes. (check-in: [3ccd64ef] user: dan branch: insert-select-opt, size: 215514)
19:02
[334c39a2] part of check-in [54aaa6f2] Merge all recent trunk enhancements into the sessions branch. (check-in: [54aaa6f2] user: drh branch: sessions, size: 217289)
18:49
[f2c63980] part of check-in [a2bd81e5] Merge the latest trunk enhancements into the apple-osx branch. (check-in: [a2bd81e5] user: drh branch: apple-osx, size: 215366)
14:05
[bbfede5a] part of check-in [116c9982] More defenses against virtual table being deleted out from under a running statement. (check-in: [116c9982] user: drh branch: nVDestroy, size: 215332)
13:32
[1524e1db] part of check-in [fba674c0] Prevent a virtual table from being destroyed while it is in use. (check-in: [fba674c0] user: drh branch: nVDestroy, size: 215214)
12:51
[884faa91] part of check-in [9faefb96] Replace the Vdbe.inVtabMethod field with the sqlite3.nVDestroy counter. (check-in: [9faefb96] user: drh branch: nVDestroy, size: 215193)
2015-03-21
17:00
[9ece90df] part of check-in [9f1f8b33] Merge all recent trunk enhancements and especially the blocking WAL-lock fix into the apple-osx branch. (check-in: [9f1f8b33] user: drh branch: apple-osx, size: 215627)
15:04
[9976deed] part of check-in [9affe7f3] Merge latest trunk changes with this branch. (check-in: [9affe7f3] user: dan branch: insert-select-opt, size: 215775)
12:22
[bd793ed4] part of check-in [5fca41a3] Remove an unreachable branch from the OP_VCreate opcode. (check-in: [5fca41a3] user: drh branch: trunk, size: 215593)
07:16
[5d5bde86] part of check-in [35eef4dd] Merge recent trunk changes with this branch. (check-in: [35eef4dd] user: dan branch: insert-select-opt, size: 215539)
2015-03-20
20:30
[f50f3663] part of check-in [0a7f2051] Where possible insert the set of new keys for each index in sorted order within "INSERT INTO ... SELECT" statements. (check-in: [0a7f2051] user: dan branch: insert-select-opt, size: 214771)
16:34
[3d96875d] part of check-in [78df0ce1] Fix to get SQLITE_SMALL_STACK working correctly again after the previous change. (check-in: [78df0ce1] user: drh branch: seek-eq, size: 215357)
14:57
[64d8325a] part of check-in [e750830f] Provide the BTREE_SEEK_EQ hint to the b-tree layer. (check-in: [e750830f] user: drh branch: seek-eq, size: 215381)
2015-03-19
19:59
[b32dc2ef] part of check-in [9453e7da] Fix a crash that can occur following an OOM condition within a CREATE VIRTUAL TABLE statement on a utf-16 database. (check-in: [9453e7da] user: dan branch: malformed-vtab-name, size: 214589)
18:56
[33f8e0b1] part of check-in [9969cff2] Fix a problem with creating virtual table with names specified using malformed utf-8 within utf-16 databases. (check-in: [9969cff2] user: dan branch: malformed-vtab-name, size: 214525)
2015-03-17
18:54
[20dc93ea] part of check-in [1d1c57c3] Merge all recent trunk enhancements into the sessions branch. (check-in: [1d1c57c3] user: drh branch: sessions, size: 216176)
18:35
[61acaf6b] part of check-in [8abbeadb] Merge all recent trunk changes, and in particular the blocking WAL lock change, into the apple-osx branch. (check-in: [8abbeadb] user: drh branch: apple-osx, size: 214253)
2015-03-12
05:08
[a2725107] part of check-in [08958f57] Improve the text on one of the opcode documentation comments in vdbe.c. (check-in: [08958f57] user: drh branch: trunk, size: 214219)
2015-03-09
13:18
[b817ad54] part of check-in [5e04eec8] Merge recent trunk enhancements into the apple-osx branch. (check-in: [5e04eec8] user: drh branch: apple-osx, size: 214241)
13:07
[e70e58bf] part of check-in [68c8937e] Merge recent trunk enhancements into the sessions branch. (check-in: [68c8937e] user: drh branch: sessions, size: 216164)
2015-03-07
00:57
[94cbc211] part of check-in [26cb5145] Refactor some jump opcodes in the VDBE. Add JumpZeroIncr and DecrJumpZero. Fix the LIKE optimization to work with DESC sort order. (check-in: [26cb5145] user: drh branch: like-opt-fix, size: 214207)
2015-03-06
20:49
[c9f4ad2c] part of check-in [6b993bd5] Test cases added. Comments fixed. Proposed solution for ticket [05f43be8fdda9fbd9]. (check-in: [6b993bd5] user: drh branch: like-opt-fix, size: 213156)
16:45
[6bee3b85] part of check-in [5757e803] The LIKE optimization must be applied twice, once for strings and a second time for BLOBs. Ticket [05f43be8fdda9f]. This check-in is a proof-of-concept of how that might be done. (check-in: [5757e803] user: drh branch: like-opt-fix, size: 213129)
2015-02-28
01:04
[991e9b2c] part of check-in [fc51037c] More test cases and requirements marks for pragmas. (check-in: [fc51037c] user: drh branch: trunk, size: 212668)
2015-01-29
15:53
[55f4db96] part of check-in [58cc257a] Improvements to the DELETE code generator for the one-pass case. Avoid some OP_Goto instructions. Read content from the index cursor if the index cursor is valid and was used to locate the row that is to be deleted. (check-in: [58cc257a] user: drh branch: one-writable-btree, size: 212400)
2015-01-16
12:24
[0fa93ce5] part of check-in [518621f8] Merge the 3.8.8 release changes from trunk. (check-in: [518621f8] user: drh branch: apple-osx, size: 212397)
2015-01-14
17:16
[d18d7bbe] part of check-in [0ba12454] Merge trunk 3.8.8 beta changes into the sessions branch (check-in: [0ba12454] user: drh branch: sessions, size: 214320)
2015-01-12
18:52
[ddfc9779] part of check-in [c8725fa5] Get things compiling cleanly with MSVC and W4. (check-in: [c8725fa5] user: mistachkin branch: msvcW4, size: 212363)
2014-12-04
23:42
[9f43973c] part of check-in [463ad971] Import from trunk support for SQLITE_CHECKPOINT_TRUNCATE and fixes for a couple of obscure bugs. (check-in: [463ad971] user: drh branch: apple-osx, size: 212383)
23:35
[c0221742] part of check-in [34ffa3b3] Incorporate the SQLITE_CHECKPOINT_TRUNCATE enhancement and a couple of obscure bug fixes from trunk. (check-in: [34ffa3b3] user: drh branch: sessions, size: 214306)
04:50
[1a9e671c] part of check-in [7475b90c] Add an implementation mark and fix a comment describing the OP_Checkpoint opcode. (check-in: [7475b90c] user: drh branch: trunk, size: 212349)
2014-12-02
19:04
[60217f3b] part of check-in [8e20a434] Add the SQLITE_CHECKPOINT_TRUNCATE option. (check-in: [8e20a434] user: dan branch: checkpoint-truncate, size: 212338)
16:38
[8a460939] part of check-in [43c4ba26] Merge all recent enhancements and bug fixes from trunk into the apple-osx branch. (check-in: [43c4ba26] user: drh branch: apple-osx, size: 212326)
16:31
[24e59021] part of check-in [2617d937] Merge all recent fixes and enhancements from trunk into sessions. (check-in: [2617d937] user: drh branch: sessions, size: 214249)
2014-11-20
02:18
[ec1f55ac] part of check-in [9a9627e1] Add some requirements marks to the record formatting logic. Comment changes only - the code is unaltered. (check-in: [9a9627e1] user: drh branch: trunk, size: 212292)
2014-11-19
14:31
[16914136] part of check-in [89b3c1c4] Completely remove an assert() that had previously been commented out. (check-in: [89b3c1c4] user: drh branch: trunk, size: 211878)
2014-11-18
21:27
[cb6dab39] part of check-in [ccb601f6] Merge recent trunk enhancements. (check-in: [ccb601f6] user: drh branch: apple-osx, size: 211991)
21:20
[ef0d4a46] part of check-in [f09055f3] 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. (check-in: [f09055f3] user: drh branch: sessions, size: 213914)
20:49
[5563459c] part of check-in [296b0c73] 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. (check-in: [296b0c73] user: drh branch: trunk, size: 211957)
2014-11-17
19:44
[8bc291aa] part of check-in [2f2ecb99] Avoid calling sqlite3BtreeKeysize() on a b-tree cursor in SKIPNEXT or SKIPPREV state. Cherrypick of [54e7d3fcb1]. (check-in: [2f2ecb99] user: dan branch: branch-3.8.7, size: 211705)
19:42
[5d3991d7] part of check-in [54e7d3fc] Avoid calling sqlite3BtreeKeysize() on a b-tree cursor in SKIPNEXT or SKIPPREV state. (check-in: [54e7d3fc] user: dan branch: trunk, size: 211909)
17:13
[3e8f9787] part of check-in [34fc4a08] When a SELECT statement is terminated by a ROLLBACK TO operation, make the error message be "abort due to ROLLBACK" rather than "callback requested query abort". (check-in: [34fc4a08] user: drh branch: branch-3.8.7, size: 211633)
2014-11-13
13:42
[a6b60436] part of check-in [402780a9] 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. Cherry-pick of check-in [dd03a2802f3f27] (check-in: [402780a9] user: drh branch: branch-3.8.7, size: 211585)
2014-11-12
14:56
[5e473088] part of check-in [dd03a280] 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. (check-in: [dd03a280] user: dan branch: trunk, size: 211837)
14:07
[0b4ffa1a] part of check-in [e1017745] 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]. (check-in: [e1017745] user: drh branch: branch-3.8.7, size: 211523)
2014-11-11
22:55
[4c77cdf1] part of check-in [d4b2d5d0] Enhance ROLLBACK so that pending queries are allowed to continue as long as the schema does not change. This is a cherry-pick of check-in [b5df5ac052]. (check-in: [d4b2d5d0] user: drh branch: branch-3.8.7, size: 211526)
01:33
[c71d819b] part of check-in [fa6e6a9a] Experimental changes that permit read operations to continue after a ROLLBACK, as long as the schema is unchanged. (check-in: [fa6e6a9a] user: drh branch: read-after-rollback, size: 211775)
2014-11-07
14:41
[d5dab222] part of check-in [ecbccd0e] Add new test file e_blobopen.test, containing tests for sqlite3_blob_open(). (check-in: [ecbccd0e] user: dan branch: trunk, size: 211616)
2014-11-05
15:57
[3fd4ebd3] part of check-in [42705fd7] 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]. (check-in: [42705fd7] user: drh branch: trunk, size: 211593)
2014-11-03
15:33
[175a360c] part of check-in [a2303c71] Add further tests. Fixes so that compilation without ENABLE_STMT_SCANSTATUS works. (check-in: [a2303c71] user: dan branch: scanstatus, size: 211596)
2014-11-01
21:00
[ccc626d7] part of check-in [f13d6ba8] Minor performance enhancements to SQLITE_ENABLE_STMT_SCANSTATUS code. (check-in: [f13d6ba8] user: dan branch: scanstatus, size: 211508)
20:38
[69d02573] part of check-in [9ea37422] If SQLITE_ENABLE_STMT_SCANSTATUS is defined, record the number of times each VDBE opcode is executed. Derive the values returned by sqlite3_stmt_scanstatus() from these records on demand. (check-in: [9ea37422] user: dan branch: scanstatus, size: 211462)
18:08
[5240bad2] part of check-in [8d8cc960] Minor fixes and documentation improvements for sqlite3_stmt_scanstatus(). (check-in: [8d8cc960] user: dan branch: scanstatus, size: 212622)
2014-10-31
20:11
[80329be8] part of check-in [6a9bab34] Add the experimental sqlite3_stmt_scanstatus() API. (check-in: [6a9bab34] user: dan branch: scanstatus, size: 212534)
15:20
[d9245b3b] part of check-in [fef8430f] Merge all recent trunk enhancements into the apple-osx branch. (check-in: [fef8430f] user: drh branch: apple-osx, size: 211439)
14:53
[407f16f5] part of check-in [28b044a5] Merge recent trunk enhancements, and in particular the improvements to the b-tree balancing logic, into the sessions branch. (check-in: [28b044a5] user: drh branch: sessions, size: 213362)
2014-10-29
01:13
[5a1afb57] part of check-in [304ea6ba] 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]. This is a cherrypick of check-in [24780f8ddc1683fc]. (check-in: [304ea6ba] user: drh branch: branch-3.8.7, size: 211367)
00:58
[49e659bc] part of check-in [24780f8d] 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]. (check-in: [24780f8d] user: drh branch: trunk, size: 211405)
2014-10-28
18:24
[1b7e8cca] part of check-in [41cdd0c4] Modify the documentation for sqlite3_changes() to make it more testable. Add tests and minor fixes for the same. (check-in: [41cdd0c4] user: dan branch: trunk, size: 211408)
2014-10-23
17:26
[5acb0a03] part of check-in [c6a5b67a] Add debugging code to count the number of iterations of each loop made as part of statement execution. (check-in: [c6a5b67a] user: dan branch: debug-loopcounters, size: 211482)
2014-10-14
14:17
[678170cc] part of check-in [880df756] Merge from trunk recent micro-optimizations and the fix for the DESC index GROUP BY ORDER BY bug. (check-in: [880df756] user: drh branch: apple-osx, size: 211404)
13:41
[a1465183] part of check-in [83d4114f] Merge recent trunk micro-optimizations and the DESC index GROUP BY ORDER BY bug fix into the sessions branch. (check-in: [83d4114f] user: drh branch: sessions, size: 213327)
2014-10-13
23:39
[5ee15a66] part of check-in [005e5b38] Optimize a database corruption test inside of the OP_Column opcode. (check-in: [005e5b38] user: drh branch: trunk, size: 211370)
20:12
[8755e3bb] part of check-in [4b3b65ee] 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. (check-in: [4b3b65ee] user: drh branch: trunk, size: 211302)
16:02
[cf7c24e5] part of check-in [c2799aec] Reduce the CPU load imposed by sqlit3VdbeCursorMoveto() by factoring out some of its functions and by avoiding unnecessary calls. (check-in: [c2799aec] user: drh branch: trunk, size: 211317)
13:00
[6e07ea13] part of check-in [20062f49] 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. (check-in: [20062f49] user: drh branch: trunk, size: 210919)
12:30
[124df37e] part of check-in [134e65c0] Use OP_SorterColumns in aggregate queries. Remove OPFLAG_CLEARCACHE. (check-in: [134e65c0] user: drh branch: OP_SorterColumns, size: 211966)
01:23
[5ffd7b18] part of check-in [b9c695e8] 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. (check-in: [b9c695e8] user: drh branch: OP_SorterColumns, size: 212333)
2014-10-12
22:37
[97c6c50e] part of check-in [91384a7d] 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. (check-in: [91384a7d] user: drh branch: trunk, size: 210426)
2014-10-11
23:31
[58c19340] part of check-in [869c30e4] Performance optimization and very slight size reduction for OP_Column. (check-in: [869c30e4] user: drh branch: trunk, size: 211075)
2014-10-10
12:56
[10880af9] part of check-in [abfef254] Merge all recent trunk changes. (check-in: [abfef254] user: drh branch: sessions, size: 212729)
2014-10-09
11:27
[30f8ae7e] part of check-in [6fc72077] Merge the latest trunk enhancements into the apple-osx branch. (check-in: [6fc72077] user: drh branch: apple-osx, size: 210764)
2014-10-08
14:28
[fee8286f] part of check-in [dff0f642] Set the connection-specific lastRowid value before calling any SQL function. (check-in: [dff0f642] user: drh branch: trunk, size: 210730)
2014-10-07
23:02
[e6c96410] part of check-in [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. (check-in: [f672a380] user: drh branch: trunk, size: 210739)
2014-10-01
01:46
[47806912] part of check-in [2078454a] Merge the latest enhancements from trunk. (check-in: [2078454a] user: drh branch: apple-osx, size: 210745)
2014-09-29
18:47
[89636b00] part of check-in [5e5d6e86] 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 (check-in: [5e5d6e86] user: drh branch: faster-OP_Column, size: 211806)
2014-09-27
19:51
[a96171a2] part of check-in [497367cb] Merge recent trunk changes (performance enhancements) into the sessions branch. (check-in: [497367cb] user: drh branch: sessions, size: 212710)
2014-09-26
18:30
[93eeb6f9] part of check-in [d026f0c9] Add an assert() to verify the last-row-id for the database just prior to calling a SQL function. (check-in: [d026f0c9] user: mistachkin branch: trunk, size: 210711)
01:10
[91b7e12b] part of check-in [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. (check-in: [e93aecc0] user: drh branch: trunk, size: 210673)
2014-09-25
17:42
[e4df7191] part of check-in [baeb72a3] Minor code reformatting and comment change, to improve clarity. No logic changes. (check-in: [baeb72a3] user: drh branch: trunk, size: 210600)
13:17
[73eace75] part of check-in [3467049a] Simplifications to the SQL function and aggregate calling procedures. (check-in: [3467049a] user: drh branch: trunk, size: 210566)
12:31
[9fe630d0] part of check-in [1330c72e] Simplification to the random rowid picking logic that begins running when the maximum possible rowid has already been used. (check-in: [1330c72e] user: drh branch: trunk, size: 211008)
2014-09-24
19:47
[23db9b11] part of check-in [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. (check-in: [99323552] user: drh branch: trunk, size: 211433)
2014-09-21
23:08
[cdeb9273] part of check-in [3967ebe8] Merge in all recent changes from trunk. (check-in: [3967ebe8] user: drh branch: apple-osx, size: 211620)
22:49
[5e6d4ef3] part of check-in [6406b77f] Merge all recent trunk changes into the sessions branch. (check-in: [6406b77f] user: drh branch: sessions, size: 213585)
2014-09-19
22:44
[de1af179] part of check-in [544664ca] Simplify two conditionals and add testcase() macros to the affinity transform logic in the comparison operators. (check-in: [544664ca] user: drh branch: trunk, size: 211586)
22:01
[16efd1ae] part of check-in [e996ca32] Tighten the conditions under which applyNumericAffinity() be called and add assert() statements to prove that it is never called otherwise. (check-in: [e996ca32] user: drh branch: trunk, size: 211440)
16:56
[c90b7ebe] part of check-in [6199760d] Remove a local variable from the OP_Column implementation, resulting in a modest size reduction and a performance increase. (check-in: [6199760d] user: drh branch: trunk, size: 211426)
15:28
[9f2a0a2d] part of check-in [36b613cc] The OP_Column opcode runs faster and is smaller by manually in-lining the code that persists string values in the output register. (check-in: [36b613cc] user: drh branch: trunk, size: 211466)
00:43
[7bc115e5] part of check-in [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. (check-in: [5b9b8987] user: drh branch: Cplusplus-comment, size: 210899)
2014-09-18
21:25
[fb490f5b] part of check-in [9c09ac35] Add the Mem.szMalloc element to the Mem object and use it to keep track of the size of the Mem.zMalloc allocation. (check-in: [9c09ac35] user: drh branch: trunk, size: 210868)
17:52
[17f285ff] part of check-in [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. (check-in: [4c8c89d7] user: drh branch: trunk, size: 211035)
16:28
[b00ffadc] part of check-in [d7afdcba] Performance improvement for affinity transformations on comparison operators. (check-in: [d7afdcba] user: drh branch: trunk, size: 210965)
14:36
[2caa3b1e] part of check-in [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. (check-in: [4ef4c9a7] user: drh branch: trunk, size: 210484)
2014-09-17
23:37
[78606777] part of check-in [14052a7d] Performance improvement and slight size reduction to the comparison operators in the VDBE. (check-in: [14052a7d] user: drh branch: micro-optimizations, size: 210464)
16:41
[d3c548ad] part of check-in [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. (check-in: [fdddb477] user: drh branch: micro-optimizations, size: 210388)
14:52
[d3948778] part of check-in [4e437844] Improved interface to the Mem object handling. Small size reduction and performance increase. (check-in: [4e437844] user: drh branch: micro-optimizations, size: 210455)
2014-09-16
20:05
[6a45baf8] part of check-in [78fb8838] Make sure registers are cleared properly prior to being used to store the result of an OP_Column operator. (check-in: [78fb8838] user: drh branch: micro-optimizations, size: 210391)
18:22
[ff1b0b4f] part of check-in [f7367803] Simplification of the OP_Column logic for the case of rows with overflow. (check-in: [f7367803] user: drh branch: micro-optimizations, size: 210393)
14:55
[ae07ee84] part of check-in [a10a6bba] Remove an unused parameter from sqlite3VdbeIdxRowid(). This is cosmetic only as the C-compiler optimizers were already omitting this parameter on amalgamation builds. (check-in: [a10a6bba] user: drh branch: micro-optimizations, size: 210990)
2014-09-08
15:04
[16b7d573] part of check-in [c2885c6b] Merge support for large files on Android from trunk. (check-in: [c2885c6b] user: drh branch: sessions, size: 212993)
2014-09-06
16:39
[9a45dcbc] part of check-in [e62aab5e] Fix typos in comments. No code changes. (check-in: [e62aab5e] user: peter.d.reid branch: trunk, size: 210994)
2014-09-02
15:57
[0c353a88] part of check-in [696dc935] Merge the latest trunk changes into the apple-osx branch. (check-in: [696dc935] user: drh branch: apple-osx, size: 211027)
15:49
[591bd4a8] part of check-in [d4cce2c7] Merge the latest trunk changes, including the multi-threaded sorter, into the sessions branch. (check-in: [d4cce2c7] user: drh branch: sessions, size: 212992)
2014-08-29
14:40
[90db7ad7] part of check-in [35c44a3c] Merge recent performance enhancements from trunk onto the threads branch. (check-in: [35c44a3c] user: drh branch: threads, size: 210993)
11:24
[a15dea6a] part of check-in [8c57bcc3] Add the sqlite3VdbeChangeDest() routine that can be used to eliminate OP_Move opcodes. (check-in: [8c57bcc3] user: drh branch: experimental, size: 210350)
2014-08-27
17:53
[fd193824] part of check-in [029a6dc7] Add a VDBE synopsis comment for clarification. (check-in: [029a6dc7] user: mistachkin branch: trunk, size: 210323)
14:14
[8b663842] part of check-in [6c1ee3e3] In the sqlite3_context object, keep a pointer to the result value rather than storing the result value in the sqlite3_context object and using memcpy() to move the value back into its register after the function returns. This runs faster and saves over 500 bytes of code space. (check-in: [6c1ee3e3] user: drh branch: trunk, size: 210294)
2014-08-26
02:15
[5e576d16] part of check-in [08ae974a] Merge recent performance enhancements and the CAST operator enhancements into the sessions branch. (check-in: [08ae974a] user: drh branch: sessions, size: 213710)
02:02
[4a9e8ed7] part of check-in [5c273111] Merge recent performance enhancements and the CAST operator enhancements into the apple-osx branch. (check-in: [5c273111] user: drh branch: apple-osx, size: 211745)
2014-08-25
22:43
[5d6a6ad6] part of check-in [6c8f86e4] Merge the CAST operator enhancements from trunk. (check-in: [6c8f86e4] user: drh branch: threads, size: 212381)
22:37
[2f8fbc52] part of check-in [af364cce] Add an assert() and five testcase() macros to the OP_Cast opcode implementation to help verify that it is fully tested. (check-in: [af364cce] user: drh branch: trunk, size: 211711)
20:11
[2b3420d2] part of check-in [91d8a8d0] Allow CAST expressions and unary "+" operators to be used in the DEFAULT argument of an ALTER TABLE ADD COLUMN and to be understand on the RHS of range constraints interpreted by STAT3/4. This involves a rewrite of the implementation of the CAST operator. (check-in: [91d8a8d0] user: drh branch: trunk, size: 211439)
13:27
[93cf510b] part of check-in [dfdc900f] Merge the recent performance enhancements implemented on trunk into the threads branch. (check-in: [dfdc900f] user: drh branch: threads, size: 214843)
11:20
[0fe4b476] part of check-in [3ca5846d] Change the name of the VdbeMemRelease() macro to VdbeMemReleaseExtern() to more accurately reflect what it does. Performance enhancement to the sqlite3VdbeMemRelease() function. (check-in: [3ca5846d] user: drh branch: trunk, size: 214173)
2014-08-23
17:41
[52ee5d58] part of check-in [0c0a6039] Improved performance in the type handling of arithmetic operators in the VDBE. (check-in: [0c0a6039] user: drh branch: trunk, size: 214149)
17:21
[76f9fc30] part of check-in [25f2246b] Performance optimization in the applyAffinity() logic inside the VDBE. (check-in: [25f2246b] user: drh branch: trunk, size: 213734)
2014-08-15
15:10
[ff9bec31] part of check-in [2acbeac1] Update the sessions branch for version 3.8.6. (check-in: [2acbeac1] user: drh branch: sessions, size: 215185)
2014-08-14
14:02
[aae4addd] part of check-in [a608fd1d] Merge the pre-3.8.6 changes into the threads branch. (check-in: [a608fd1d] user: drh branch: threads, size: 213862)
13:39
[91552c6f] part of check-in [08058df3] Merge the pre-3.8.6 changes from trunk into the apple-osx branch. (check-in: [08058df3] user: drh branch: apple-osx, size: 213220)
13:06
[f7f4066e] part of check-in [13a2d90a] Fix typos in comments used to help generate documentation. No changes to code. (check-in: [13a2d90a] user: drh branch: trunk, size: 213186)
2014-08-13
14:43
[b23574ed] part of check-in [d49455d9] Merge the trunk changes for 3.8.6 beta3 into the sessions branch. (check-in: [d49455d9] user: drh branch: sessions, size: 215183)
2014-08-06
17:49
[cd8d7e3e] part of check-in [a2a60307] Fix two more harmless compiler warnings. Make sure the fts3_unicode2.c file is in sync with mkunicode.tcl. (check-in: [a2a60307] user: drh branch: trunk, size: 213184)
02:03
[787d1b51] part of check-in [a353a851] Merge all recent changes from trunk. (check-in: [a353a851] user: drh branch: threads, size: 213855)
01:51
[bd3bc4d3] part of check-in [b2e01080] Merge 3.8.6 beta changes in from trunk. (check-in: [b2e01080] user: drh branch: apple-osx, size: 213213)
01:25
[54fa84fd] part of check-in [68a6d5e2] Merge the latest 3.8.6 beta changes from trunk. (check-in: [68a6d5e2] user: drh branch: sessions, size: 215178)
01:08
[2db817cf] part of check-in [717245d4] Fix typos in the opcode documentation. Comment changes only. No changes to code. (check-in: [717245d4] user: drh branch: trunk, size: 213179)
2014-08-05
00:53
[aa93cf7a] part of check-in [01f60027] Improved VdbeCoverage() macros. A few minor simplifications to generated VDBE code. (check-in: [01f60027] user: drh branch: IN-operator-improvements, size: 213187)
2014-08-04
15:12
[83ddbf84] part of check-in [2f724cba] Changed my mind: This opcode name changes mere creates unnecessary diff marks between older and newer versions without significantly improving readability. Was: Rename the IsNull opcode to IfNull and rename the NotNull opcode to IfNotNull. (check-in: [2f724cba] user: drh branch: deadend, size: 213010)
2014-08-01
18:00
[b9e6866e] part of check-in [c11e55fa] Remove an unnecessary OP_Null in the IN-operator logic. Attempt to clarify comments explaining the IN-operator code, though it is not clear that the comments are correct even yet - more work to be done. (check-in: [c11e55fa] user: drh branch: trunk, size: 213006)
01:40
[115e0883] part of check-in [9abcf269] Enhance the PRAGMA integrity_check command to detect UNIQUE and NOT NULL constraint violations. (check-in: [9abcf269] user: drh branch: trunk, size: 212978)
2014-07-30
14:57
[4faacd47] part of check-in [fa791232] Merge in the CREATE UNIQUE INDEX fix of ticket [9a6daf340df99ba93c53bcf]. (check-in: [fa791232] user: drh branch: apple-osx, size: 212991)
14:44
[e27749e6] part of check-in [5b50a838] Merge recent trunk changes, and especially the fix for the CREATE UNIQUE INDEX problem of ticket [9a6daf340df99ba9]. (check-in: [5b50a838] user: drh branch: threads, size: 213633)
14:29
[79cd8443] part of check-in [43401ee6] Merge the fix for the CREATE UNIQUE INDEX problem into the sessions branch. (check-in: [43401ee6] user: drh branch: sessions, size: 214956)
13:56
[f87f77b0] part of check-in [6b785e92] Ensure that the correct number of columns in a UNIQUE index are checked for uniqueness, regardless of whether or not the original table has a ROWID or if the columns are NOT NULL, etc. Ticket [9a6daf340df99ba93c]. (check-in: [6b785e92] user: drh branch: trunk, size: 212957)
11:49
[d05d3d0e] part of check-in [654c6c65] Merge all recent trunk changes, and especially the R-Tree IN operator fix of ticket [d2889096e7bdeac]. (check-in: [654c6c65] user: drh branch: apple-osx, size: 212988)
2014-07-29
12:40
[3d195314] part of check-in [8f1beead] Merge recent trunk changes, and especially the fix for the R-Tree problem described in ticket [d2889096e7bdeac6]. (check-in: [8f1beead] user: drh branch: sessions, size: 214953)
2014-07-28
15:01
[c28f377d] part of check-in [163c247b] Merge recent trunk changes into the threads branch. (check-in: [163c247b] user: drh branch: threads, size: 213630)
2014-07-26
20:12
[b127f05f] part of check-in [5350229b] Remove an unreachable branch from the sqlite3_value_numeric_type() interface. (check-in: [5350229b] user: drh branch: trunk, size: 212954)
16:47
[145f909c] part of check-in [413d7287] Avoid unnecessary no-op calls to applyNumericAffinity() for a small performance improvement. (check-in: [413d7287] user: drh branch: trunk, size: 212954)
2014-07-25
18:37
[b7af8613] part of check-in [2d32e487] Improved comments on VDBE opcodes, for better documentation. No code or logic changes. (check-in: [2d32e487] user: drh branch: trunk, size: 212926)
18:01
[c6a9094a] part of check-in [2230c74f] Add constraints (enforced only when SQLITE_DEBUG is enabled) on the use of OP_Next and OP_Prev. (check-in: [2230c74f] user: drh branch: trunk, size: 212541)
2014-07-24
16:54
[7ba7cc29] part of check-in [77068589] Merge all recent trunk changes into the threads branch. (check-in: [77068589] user: drh branch: threads, size: 210293)
16:43
[2e38a1a2] part of check-in [3810dc62] Merge recent trunk changes into the apple-osx branch. (check-in: [3810dc62] user: drh branch: apple-osx, size: 209651)
16:23
[7224ed5d] part of check-in [a9db017e] Merge recent trunk changes into the sessions branch. (check-in: [a9db017e] user: drh branch: sessions, size: 211616)
2014-07-22
20:02
[fa74c656] part of check-in [77f412ca] Add the OP_ReopenIdx opcode that works like OP_OpenRead except that it becomes a no-op if the cursor is already open on the same index. Update the OR-optimization logic to make use of OP_ReopenIdx in order to avoid unnecessary cursor open requests sent to the B-Tree layer. (check-in: [77f412ca] user: drh branch: trunk, size: 209617)
14:58
[2f3f0582] part of check-in [ca2a5a2c] Enhance the sqlite_stat1.stat parsing to allow additional text parameters at the end. Unrecognized parameters are silently ignored. (check-in: [ca2a5a2c] user: drh branch: trunk, size: 208521)
2014-07-21
15:44
[514adcc9] part of check-in [1a817ae2] Allow the SQLITE_MAX_ATTACHED compile-time option to be larger than 62. The default limit on the number of attached databases remains 10. (check-in: [1a817ae2] user: drh branch: trunk, size: 208437)
2014-07-15
11:59
[54e269c6] part of check-in [1efa6ed5] Add simple tests for new sqlite3BtreeCursorHint() functionality. (check-in: [1efa6ed5] user: dan branch: cursor-hints, size: 204964)
2014-05-29
20:36
[91564992] part of check-in [b9fad449] Merge trunk changes into the apple-osx branch. (check-in: [b9fad449] user: drh branch: apple-osx, size: 208571)
20:29
[62f98559] part of check-in [9f18e78f] Merge trunk changes into the sessions branch. (check-in: [9f18e78f] user: drh branch: sessions, size: 210536)
20:24
[1dff86d8] part of check-in [416cb091] Merge changes from the trunk into the threads branch. (check-in: [416cb091] user: drh branch: threads, size: 209213)
2014-05-27
10:57
[9bfe6bec] part of check-in [994b2b7a] Fix for (unsupported) SQLITE_USE_FCNTL_TRACE code. (check-in: [994b2b7a] user: drh branch: trunk, size: 208537)
2014-05-26
20:15
[d4f57833] part of check-in [82152027] Merge recent trunk changes into the threads branch. (check-in: [82152027] user: drh branch: threads, size: 209212)
20:08
[52358722] part of check-in [54b5fa77] Merge recent trunk changes into the apple-osx branch. (check-in: [54b5fa77] user: drh branch: apple-osx, size: 208570)
20:00
[79b08ff9] part of check-in [a769c7e0] Merge recent trunk changes into the sessions branch. (check-in: [a769c7e0] user: drh branch: sessions, size: 210535)
2014-05-24
17:15
[3ebcbe6a] part of check-in [ebfb51fe] Remove references in comments to VDBE opcodes that no longer exist. This is a documentation change only; no changes to code. (check-in: [ebfb51fe] user: drh branch: trunk, size: 208536)
2014-05-20
00:20
[9811665a] part of check-in [2d33afe0] Merge recent trunk changes into the sessions branch. (check-in: [2d33afe0] user: drh branch: sessions, size: 210575)
2014-05-19
15:16
[0510ef1e] part of check-in [17349a49] Changes to help ensure that a multiplication does not overflow when computing the number of bytes needed for a memory allocation, and cause a malfunction. No problems existing problems were discovered. However, these changes should help to ensure that no problems arise in the future. (check-in: [17349a49] user: drh branch: safer-malloc, size: 208596)
2014-05-16
20:24
[4d11273a] part of check-in [17afd770] Rearrange some conditionals and add #if statements to make the code more testable. (check-in: [17afd770] user: drh branch: threads, size: 209252)
2014-05-08
23:01
[0c647813] part of check-in [9411d7dc] Initial attempt to merge in all trunk changes over the previous 1.5 years. This check-in compiles but there are compiler warnings and "make test" segfaults after only running a few test modules. (check-in: [9411d7dc] user: drh branch: apple-osx, size: 208610)
2014-05-02
18:05
[89ab2ded] part of check-in [d9549de3] Merge orderby-planning with this branch. (check-in: [d9549de3] user: dan branch: threads, size: 209245)
13:09
[b3510cc7] part of check-in [84862d3a] Merge latest trunk enhancements and fixes into the orderby-planning branch. (check-in: [84862d3a] user: drh branch: orderby-planning, size: 209037)
2014-05-01
20:26
[7f359193] part of check-in [427409ae] Fix an obscure problem to do with temp register allocation that could occur if more than one simple SELECT within a compound SELECT uses a partial sort. (check-in: [427409ae] user: dan branch: trunk, size: 208576)
2014-04-28
18:02
[d6038559] part of check-in [e158812c] Merge all recent trunk enhancements and fixes into the sessions branch. (check-in: [e158812c] user: drh branch: sessions, size: 210520)
2014-04-25
12:35
[699693be] part of check-in [4e88042f] When VDBE_PROFILE is enabled, ignore negative opcode times, which sometimes occur, perhaps due to context swaps. (check-in: [4e88042f] user: drh branch: trunk, size: 208521)
2014-04-24
15:06
[59ad2f4c] part of check-in [6077ddcd] Reopen the orderby-planning branch and merge in the latest trunk enhancements and fixes. (check-in: [6077ddcd] user: drh branch: orderby-planning, size: 208962)
2014-04-18
13:40
[b50cd300] part of check-in [f8f72ecb] Fix harmless compiler warnings. (check-in: [f8f72ecb] user: drh branch: threads, size: 209170)
12:38
[cba6c791] part of check-in [8729aa3e] Merge recent trunk changes into the threads branch. (check-in: [8729aa3e] user: drh branch: threads, size: 209167)
01:10
[9d883d5c] part of check-in [95e77efe] Merge recent trunk changes into sessions. (check-in: [95e77efe] user: drh branch: sessions, size: 210500)
2014-04-10
02:24
[bf284ede] part of check-in [a67b5312] Modify the OR-clause handling so that it can safely deal with OR-clause with 17 or more terms. Fix for ticket [10fb063b1179be53ea0b53bb]. (check-in: [a67b5312] user: drh branch: trunk, size: 208501)
2014-04-03
16:42
[9f3d1b35] part of check-in [a0910079] Merge all recent changes from trunk. (check-in: [a0910079] user: drh branch: threads, size: 209259)
16:35
[47bdf5f8] part of check-in [9515c834] Merge all recent changes from trunk, including the fix for the OP_SCopy-vs-OP_Copy problem. (check-in: [9515c834] user: drh branch: sessions, size: 210592)
14:31
[e811a008] part of check-in [48ecdd4a] Fix a typo in the "Synopsis:" comment for the OP_VFilter opcode. (check-in: [48ecdd4a] user: drh branch: trunk, size: 208593)
2014-04-01
18:41
[eed22300] part of check-in [821d1ac4] When sorting data for a CREATE INDEX statement in single-threaded mode, assume that keys are delivered to the sorter in primary key order. Also fix various comments that had fallen out of date. (check-in: [821d1ac4] user: dan branch: threads, size: 209259)
2014-03-26
19:43
[99f878d0] part of check-in [fc8ca1a8] Merge in fixes (including the corrupt-database crash fix) and performance enhancements from trunk. (check-in: [fc8ca1a8] user: drh branch: sessions, size: 210592)
2014-03-25
18:29
[02f2de0b] part of check-in [e005f2d6] Merge enhancements and fixes from trunk. (check-in: [e005f2d6] user: drh branch: orderby-planning, size: 209054)
15:04
[42177064] part of check-in [c3ae3697] Remove the sequence values from sorter records used by ORDER BY as well. (check-in: [c3ae3697] user: dan branch: orderby-planning, size: 208334)
2014-03-24
15:00
[74c7386e] part of check-in [221f8f94] Fix arithmetic operators so that they do not change the affinity of their input operands. Ticket [a8a0d2996a]. (check-in: [221f8f94] user: drh branch: trunk, size: 208593)
2014-03-23
16:29
[5c0feeb6] part of check-in [641408a1] Avoid a possible use of an uninitialized variable following an I/O or OOM error. (check-in: [641408a1] user: drh branch: trunk, size: 207873)
2014-03-19
17:41
[37cfae03] part of check-in [7ce2daaf] Make it possible for block-sort to use the OP_SorterOpen sorter in addition to a generic OP_OpenEphemeral. (check-in: [7ce2daaf] user: drh branch: orderby-planning, size: 207862)
14:10
[e0fe9394] part of check-in [59742dd4] First attempt at getting block-sort to work. This is an incremental check-in. There are many problems still to be worked out. (check-in: [59742dd4] user: drh branch: orderby-planning, size: 207683)
2014-03-06
13:48
[a088d168] part of check-in [1ed463d9] Merge the latest 3.8.4 tweaks from trunk. (check-in: [1ed463d9] user: drh branch: sessions, size: 209184)
13:38
[5f0fffa9] part of check-in [0a4200f9] Improved EXPLAIN indentation of a loop in the ANALYZE logic for STAT4. Mark the not-found jump of a seek operation in that loop as never taken. (check-in: [0a4200f9] user: drh branch: trunk, size: 207185)
01:56
[b2ca9b8e] part of check-in [b83cfe89] Fix some incorrect comments and typos in comments. Add testcase() macros to some of the new record comparison code. (check-in: [b83cfe89] user: drh branch: trunk, size: 206902)
2014-03-05
14:49
[ccddf62b] part of check-in [0828975d] Merge in various obscure bug fixes and the removal of Mem.memType from trunk. (check-in: [0828975d] user: drh branch: sessions, size: 208897)
01:29
[8c6fc7bb] part of check-in [bac2820e] Experimental simplification of memory flags/type handling. (check-in: [bac2820e] user: mistachkin branch: noMemType, size: 206898)
2014-03-04
14:34
[69e2bd96] part of check-in [7f51ad97] Merge the performance enhancements of trunk (and some obscure bug fixes) into the sessions branch. (check-in: [7f51ad97] user: drh branch: sessions, size: 209117)
2014-03-03
14:45
[75c3f5d2] part of check-in [e00ed717] Merge latest trunk changes. (check-in: [e00ed717] user: dan branch: experimental, size: 207118)
2014-03-01
18:13
[cbed4957] part of check-in [44e1c337] Change the MEM_Dyn flag so that it means that Mem.xDel exists and must be used to free the string or blob. Add tighter invariant checks on Mem. (check-in: [44e1c337] user: drh branch: enhanced-mem-check, size: 207253)
16:24
[9abaa1eb] part of check-in [354699d5] Factor the Mem invariant checker into a separate procedure (rather than a macro) so that it can be more easily extended. (check-in: [354699d5] user: drh branch: enhanced-mem-check, size: 207227)
14:45
[e9eda47b] part of check-in [4aeb3ae4] Add extra assert() statements trying to catch a Mem object in an inconsistent state. (check-in: [4aeb3ae4] user: drh branch: enhanced-mem-check, size: 207151)
2014-02-25
21:01
[ab910206] part of check-in [85206e0b] Attempt to speed up sqlite3VdbeRecordCompare() by various means. This code is in an interim state. (check-in: [85206e0b] user: dan branch: experimental, size: 206853)
2014-02-24
14:24
[6c8f2891] part of check-in [4df0ac90] Remove an unused variable from the VDBE_PROFILE compile-time option. Keep the opcode count in an u32 instead of an int. (check-in: [4df0ac90] user: drh branch: trunk, size: 206988)
2014-02-20
19:42
[c5ff7b38] part of check-in [b46d4e89] Fix the text of a comment used to generate VDBE opcode documentation so that it omits symbols that can be mistaken for a hyperlink by the parser. (check-in: [b46d4e89] user: drh branch: trunk, size: 207191)
2014-02-19
19:14
[b82ffb8c] part of check-in [c1e94169] Add the VdbeCoverageNeverTaken() macro, and comments that better describe how the VDBE branch coverage measurement works. Add some tags to provide 100% VDBE branch coverage. (check-in: [c1e94169] user: drh branch: trunk, size: 207191)
14:20
[16c220ae] part of check-in [d2c047f3] Add the SQLITE_NOTNULL P5 code for comparison operations - really a composite of SQLITE_NULLEQ and SQLITE_JUMPIFNULL. This flag indicates that NULL operands are not possible and raises and assert() if NULL operands are seen. Also omit an unnecessary scan of the sqlite_sequence table when writing into an AUTOINCREMENT table. (check-in: [d2c047f3] user: drh branch: trunk, size: 206514)
2014-02-18
11:31
[6e3d5d4c] part of check-in [b287520c] Fix VDBE branch accounting on comparison operators. (check-in: [b287520c] user: drh branch: trunk, size: 206488)
2014-02-17
22:40
[392f03b2] part of check-in [ce184c7b] Add logic to do test coverage measurements on the VDBE code. (check-in: [ce184c7b] user: drh branch: insert-optimization, size: 206492)
14:59
[e3ba6ad0] part of check-in [35b4d6e9] Avoid unnecessary calls to applyAffinity() during INSERT and UPDATE operations, especially for table that have indices and tables for which all columns have affinity "NONE". (check-in: [35b4d6e9] user: drh branch: insert-optimization, size: 204946)
2014-02-16
01:55
[7b74ce68] part of check-in [aa2d8b0e] Enhance the code generator for INSERT INTO ... SELECT so that the SELECT generates output directly in the registers that INSERT INTO will be using, in many cases, and OP_SCopy operations can thus be avoided. (check-in: [aa2d8b0e] user: drh branch: insert-optimization, size: 204921)
2014-02-14
15:13
[543ed4ed] part of check-in [b6bea903] Add OP_IdxGT and OP_IdxLE as distinct opcodes. Formerly these operations where done using OP_IdxGE and OP_IdxLT with the P5 flag set. But VDBE code is easier to read with distinct opcode names. Also change OP_SeekGe to OP_SeekGE, and so forth, so that the capitalization is consistent. The whole point of this change is to improve the readability of VDBE listings. (check-in: [b6bea903] user: drh branch: trunk, size: 204551)
2014-02-12
21:31
[3f0872b1] part of check-in [56bc5ce8] Remove the "rowid cache" that sought to remember the largest rowid for a table and thereby speed up OP_NewRowid. That cache was ineffective. Removing it results in a performance increase of 0.4%, less memory usage, and a slightly smaller library size. (check-in: [56bc5ce8] user: drh branch: trunk, size: 203662)
2014-02-11
04:30
[8b389fc5] part of check-in [b0067926] Sync the latest trunk changes, and in particular the STAT4 IS NOT NULL fix. (check-in: [b0067926] user: drh branch: sessions, size: 205987)
2014-02-10
15:56
[e5c87476] part of check-in [0dfa7ee9] Improvements to a "Synopsis:" comment in the VDBE engine. (check-in: [0dfa7ee9] user: drh branch: trunk, size: 203988)
03:21
[66c3e5c4] part of check-in [5708bc24] Faster and smaller implementation of sqlite3_value_type(). (check-in: [5708bc24] user: drh branch: trunk, size: 203988)
2014-02-08
23:20
[78b41fd0] part of check-in [1e64dd78] Do away with the "multi-register pseudo-table" abstration. Instead, just use an OP_SCopy to load results directory from the result registers of the co-routine. (check-in: [1e64dd78] user: drh branch: trunk, size: 204518)
19:12
[a5556442] part of check-in [e2303d1b] Change the OP_Found opcode so that it expands zero-blobs prior to comparing them. Fix for ticket [fccbde530a6583b] (check-in: [e2303d1b] user: drh branch: trunk, size: 204795)
01:40
[0944fe28] part of check-in [192dea97] Change the OP_Trace opcode to OP_Init and give it the ability to jump to the initialization code at the bottom of the program, thus avoiding the need for an extra OP_Goto. (check-in: [192dea97] user: drh branch: trunk, size: 204790)
2014-02-07
19:18
[e7bb0587] part of check-in [a522f364] Change the OP_InitCoroutine instruction to jump over the co-routine implementation. (check-in: [a522f364] user: drh branch: coroutine-refactor, size: 204480)
18:27
[10ddcf5f] part of check-in [1ec0e9dd] Get rid of the OP_Undef and OP_IsUndef opcodes in favor of higher-level OP_InitCoroutine and OP_EndCoroutine. (check-in: [1ec0e9dd] user: drh branch: coroutine-refactor, size: 204313)
13:20
[8697f15a] part of check-in [6fb74485] Add the OP_Undef and OP_IsUndef opcodes. With these, use the first register in the result register range as the flag to indicate EOF on an INSERT from a SELECT, rather than allocating a separate boolean register for that task. (check-in: [6fb74485] user: drh branch: coroutine-refactor, size: 203616)
03:28
[575189ca] part of check-in [be24fbc2] More comment updates. No changes to code. (check-in: [be24fbc2] user: mistachkin branch: trunk, size: 203116)
02:29
[962cb7aa] part of check-in [1122b410] Update comments in vdbe.c. No changes to code. (check-in: [1122b410] user: drh branch: trunk, size: 203098)
2014-02-06
23:56
[5e3a494f] part of check-in [2f3376eb] Delete the OP_VerifySchema opcode. Enhance OP_Transaction to do the schema version checks that OP_VerifySchema used to do. (check-in: [2f3376eb] user: drh branch: trunk, size: 204823)
2014-02-05
18:15
[2e46c464] part of check-in [2997e181] Use a new opcode, OP_OpenHash, to indicate that ephemeral tables can be unordered, rather than using the BTREE_UNORDERED bit in the P5 field. (check-in: [2997e181] user: drh branch: subquery-codegen-refactor, size: 205289)
17:08
[361f6e55] part of check-in [a332908b] Make the root page of an ephemeral index be page 1 instead of page 2. (check-in: [a332908b] user: drh branch: subquery-codegen-refactor, size: 204978)
2014-02-03
14:04
[e703913e] part of check-in [6c643e45] Provide hints to the btree layer Next and Previous primitives to let them know if they can be no-ops if the underlying index is unique. (check-in: [6c643e45] user: drh branch: trunk, size: 205406)
2014-01-28
18:06
[7b5d45ba] part of check-in [7b5f3773] Bring in the latest updates from trunk. (check-in: [7b5f3773] user: drh branch: sessions, size: 206812)
00:49
[73d27c70] part of check-in [a2c347fa] Provide hints to the btree layer Next and Previous primitives to let them know if they can be no-ops if the underlying index is unique. (check-in: [a2c347fa] user: drh branch: branch-3.8.2, size: 204839)
2014-01-24
22:58
[5fe94e13] part of check-in [87bf6063] Fixes for various clang warnings. (check-in: [87bf6063] user: drh branch: trunk, size: 204813)
14:05
[c41493ca] part of check-in [9b43e559] Bring in all the latest trunk changes, including the Common Table Expressions implementation. (check-in: [9b43e559] user: drh branch: sessions, size: 206809)
2014-01-21
22:25
[dede894c] part of check-in [b2671e11] Change the recursive common table expression algorithm to use a queue instead of a pair of tables. Runs about 25% faster on the sudoku solver query. The OP_SwapCursors opcode is no longer required. The current implementation uses just a fifo, but the plan is to change it into a queue that will support ORDER BY and LIMIT in a recursive query. (check-in: [b2671e11] user: drh branch: cte-via-queue, size: 204810)
2014-01-18
15:22
[98d96d04] part of check-in [2ad4583c] Add asserts() for a couple of unreachable conditions. Add the Mandelbrot Set query as a test case. (check-in: [2ad4583c] user: drh branch: trunk, size: 205655)
2014-01-16
18:34
[ccc8594e] part of check-in [a296b733] Allow only a single recursive reference in a recursive CTE. Also require that this reference is not part of a sub-query. (check-in: [a296b733] user: dan branch: common-table-expr, size: 205645)
2014-01-15
19:42
[b06d7995] part of check-in [3908e2ea] Fixes so that SQLITE_OMIT_CTE builds work. (check-in: [3908e2ea] user: dan branch: common-table-expr, size: 206284)
2014-01-14
20:14
[9b918126] part of check-in [a5c2a54a] Add code to handle recursive CTEs. (check-in: [a5c2a54a] user: dan branch: common-table-expr, size: 206224)
2013-12-24
12:09
[ad89fac3] part of check-in [cfd110bf] Merge the latest trunk changes into the sessions branch. (check-in: [cfd110bf] user: drh branch: sessions, size: 206853)
2013-12-23
11:33
[b110887e] part of check-in [25b8a1c9] Remove a stray tab character. (check-in: [25b8a1c9] user: drh branch: trunk, size: 204854)
2013-12-20
15:59
[6bcf27a8] part of check-in [2ae22dc0] Combine adjacent single-register OP_Copy instructions into a single multi-register OP_Copy, where possible. Fix the Synopsis comment for multi-register OP_Copy instructions to show the correct register ranges. (check-in: [2ae22dc0] user: drh branch: trunk, size: 204855)
2013-12-14
18:24
[d8df062f] part of check-in [32477642] Merge in all recent preformance enhancements from trunk. (check-in: [32477642] user: drh branch: sessions, size: 206850)
2013-12-11
11:00
[91942284] part of check-in [a7e5fcd6] Fix harmless compiler warnings. (check-in: [a7e5fcd6] user: drh branch: trunk, size: 204851)
00:59
[bdc4a981] part of check-in [4d078147] Do not run the tool/vdbe-compress.tcl script that generates the vdbeExecUnion object that reduces the size of the sqlite3VdbeExec() stack frame unless the SQLITE_SMALL_STACK compile-time option is specified as on of the OPTS in the makefile. The vdbeExecUnion object gets in the way of C-compiler optimizer and results in slightly slower code. (check-in: [4d078147] user: drh branch: trunk, size: 204809)
2013-12-10
21:38
[02fac31f] part of check-in [079c04a5] Avoid unnecessary calls to sqlite3VdbeSerialType() from within sqlite3VdbeSerialPut(). (check-in: [079c04a5] user: drh branch: trunk, size: 204550)
20:53
[c5b17309] part of check-in [1c6ee9b8] In the OP_MakeRecord opcode, factor out affinity changes into separate loop, for a slight performance advantage. (check-in: [1c6ee9b8] user: drh branch: trunk, size: 204551)
2013-12-09
23:17
[4bfb1fe7] part of check-in [7277a769] Simplifications to the OP_MakeRecord opcode and the sqlite3VdbeSerialPut() helper function. (check-in: [7277a769] user: drh branch: trunk, size: 204451)
21:06
[5338567d] part of check-in [6b518635] Reduce the number of times that OP_Column calls sqlite3VdbeMemMakeWriteable(). (check-in: [6b518635] user: drh branch: trunk, size: 204610)
2013-12-08
23:33
[6ccb107d] part of check-in [f2f5a3ce] Another simplification to the OP_MakeRecord opcode, making it slightly faster and very slightly smaller. (check-in: [f2f5a3ce] user: drh branch: trunk, size: 204628)
22:59
[7f51e9d4] part of check-in [7a234fc3] Avoid unnecessary calls to sqlite3VarintLen() from the OP_MakeRecord opcode. (check-in: [7a234fc3] user: drh branch: trunk, size: 204395)
2013-12-07
20:39
[88a037e0] part of check-in [3a9bec52] If the SQLITE_ENABLE_CURSOR_HINTS macro is defined, then invoke the sqlite3BtreeCursorHint() interface to provide hints to the storage engine about rows that need not be returned. Hints can be disabled using SQLITE_TESTCTRL_OPTIMIZATIONS with SQLITE_CursorHints (0x2000). Cursor hints are not used by the built-in storage engine of SQLite but might be useful to applications that provide their own storage engine. The current code is work-in-progrss and contains bugs. (check-in: [3a9bec52] user: drh branch: cursor-hints, size: 204824)
2013-11-27
21:53
[9c6fb9ed] part of check-in [3a2a1bd4] Merge all recent trunk changes. (check-in: [3a2a1bd4] user: drh branch: sessions, size: 206245)
21:07
[54894fde] part of check-in [81891288] Remove unnecessary local variables from sqlite3VdbeExec() in order to reduce stack-space requirements of that routine. (check-in: [81891288] user: drh branch: trunk, size: 204246)
2013-11-26
23:27
[c2b3cd6b] part of check-in [0978bac6] Make sure the update hook is not invoked for WITHOUT ROWID tables, as the documentation specifies. This bug was found while adding requirements marks, so a few extraneous requirements marks are included in this check-in. (check-in: [0978bac6] user: drh branch: trunk, size: 204278)
18:22
[d9c63f5c] part of check-in [8b12a15a] Reduce the amount of code used to implement OP_SeekGe and similar. (check-in: [8b12a15a] user: dan branch: trunk, size: 204486)
18:00
[520dcda6] part of check-in [fc9ae839] Merge in performance enhancements from trunk. (check-in: [fc9ae839] user: drh branch: sessions, size: 206516)
15:45
[061d30ae] part of check-in [6f53fc71] Change the REAL-to-INTEGER casting behavior so that if the REAL value is greater than 9223372036854775807.0 then it is cast to the latest possible integer, 9223372036854775807. This is sensible and the way most platforms work in hardware. The former behavior was that oversize REALs would be cast to the smallest possible integer, -9223372036854775808, which is the way Intel hardware works. (check-in: [6f53fc71] user: drh branch: trunk, size: 204777)
2013-11-25
17:38
[23d0cfba] part of check-in [5bf2a3fe] Uses shifts rather than division for arithmetic on the cell indices, since those indices are always non-negative. (check-in: [5bf2a3fe] user: drh branch: btree-optimization, size: 204728)
2013-11-21
21:59
[4d637218] part of check-in [4e8c5d07] Changes some offset and amount parameters from "int" to "u32" to avoid harmless signed/unsigned comparison warnings. (check-in: [4e8c5d07] user: drh branch: trunk, size: 204723)
04:18
[bfbbaf9d] part of check-in [70b056fb] Another improvement to OP_Function and an improvement to OP_Move. (check-in: [70b056fb] user: drh branch: trunk, size: 204723)
03:43
[9d8490d6] part of check-in [b890eefd] A simple change to the OP_Function opcode improves overall performance by about 0.5%. (check-in: [b890eefd] user: drh branch: trunk, size: 204687)
03:12
[1aabde68] part of check-in [ecaac28a] Performance optimization to the OP_Next and OP_Prev opcodes. (check-in: [ecaac28a] user: drh branch: trunk, size: 204703)
01:04
[c375ba03] part of check-in [93393993] Reduce the size of VdbeCursor again, this time without a performance hit. (check-in: [93393993] user: drh branch: OP_Column-refactor, size: 204130)
00:10
[fb6007ac] part of check-in [f8d5efcd] Unpack some fields, adding some space back to the VdbeCursor object, in order to help the code to run a little faster. (check-in: [f8d5efcd] user: drh branch: OP_Column-refactor, size: 204284)
2013-11-20
21:51
[b55581db] part of check-in [5f9d5068] Reduce the size of the VdbeCursor object from 144 to 120 bytes. (check-in: [5f9d5068] user: drh branch: OP_Column-refactor, size: 204334)
20:58
[987f375b] part of check-in [0e05679d] Improved comments on the OP_Column changes. Optimize out loading of overflow pages for content with zero length. Add test cases for the latter. (check-in: [0e05679d] user: drh branch: OP_Column-refactor, size: 204429)
19:28
[1a6e2c94] part of check-in [0e3f5df6] Further performance tweaks to OP_Column. (check-in: [0e3f5df6] user: drh branch: OP_Column-refactor, size: 204007)
17:25
[d4b8a906] part of check-in [7c914e39] Refactoring the OP_Column opcode for improved performance and maintainability. (check-in: [7c914e39] user: drh branch: OP_Column-refactor, size: 203443)
02:53
[da810a2b] part of check-in [5562cd34] Simplifications to the VdbeCursor object. (check-in: [5562cd34] user: drh branch: trunk, size: 206305)
00:59
[9e2b9065] part of check-in [96a65388] Performance improvement for the OP_MustBeInt opcode in the VDBE. (check-in: [96a65388] user: drh branch: trunk, size: 206336)
2013-11-15
18:58
[55738934] part of check-in [cc17f1f0] Fix comments on the OP_Divide and OP_Remainder operators, especially the "Synopsis:" comment, so that they agree with the actual implementation. (check-in: [cc17f1f0] user: drh branch: trunk, size: 206274)
03:21
[d53b6b7e] part of check-in [d99a30a2] Fix a typo in the "synopsis" for the OP_Lt opcode that causes an incorrect comment to be added to EXPLAIN output. (check-in: [d99a30a2] user: drh branch: trunk, size: 206291)
2013-11-14
19:18
[b1939060] part of check-in [7596d1bf] Merge the skip-scan optimization into the sessions branch. (check-in: [7596d1bf] user: drh branch: sessions, size: 208030)
00:09
[f9a4e081] part of check-in [24ef1654] Simplification to the progress callback check. One branch removed. (check-in: [24ef1654] user: drh branch: trunk, size: 206291)
2013-11-13
23:48
[0057612c] part of check-in [21f59b04] Make sure the progress callback is invoked prior to an SQLITE_ROW return if it is overdue to be called. (check-in: [21f59b04] user: drh branch: trunk, size: 206323)
17:58
[3d73013b] part of check-in [8ce33f4c] Add the "PRAGMA vdbe_eqp" command, only available with SQLITE_DEBUG. Simplify some of the other debugging logic. (check-in: [8ce33f4c] user: drh branch: trunk, size: 206063)
2013-11-11
22:55
[8b6b4fce] part of check-in [5addd123] Merge in the WITHOUT ROWID changes. A few tests are failing now. They will be fixed in a follow-on check-in. (check-in: [5addd123] user: drh branch: sessions, size: 207560)
16:55
[fda0d2ba] part of check-in [924d63b2] Remove unreachable code, replacing it in most cases with assert() or NEVER() macros. (check-in: [924d63b2] user: drh branch: trunk, size: 205821)
03:24
[aeef5c11] part of check-in [acc40ff6] Convert several ALWAYS() macros in vdbe.c into assert() statements. (check-in: [acc40ff6] user: drh branch: trunk, size: 205867)
00:43
[cd3059de] part of check-in [61d7d475] Fix a problem in OP_IdxDelete as used by REPLACE conflict resolution that comes up due to recent enhancements that reduce the work required for UNIQUE NOT NULL indices. (check-in: [61d7d475] user: drh branch: trunk, size: 206971)
2013-11-08
15:19
[f635690f] part of check-in [6f187a0f] Performance improvements: Avoid unnecessary seeks when doing a single-row UPDATE on a WITHOUT ROWID table. (check-in: [6f187a0f] user: drh branch: trunk, size: 206951)
2013-11-07
14:09
[ff0170cd] part of check-in [55eea178] Make sure cached KeyInfo objects are only valid for a single database connection. Clear all cached KeyInfo objects on any collating sequence change. (check-in: [55eea178] user: drh branch: omit-rowid, size: 206878)
2013-11-06
16:28
[3493de8d] part of check-in [47455500] Have the OP_NoConflict opcode set the VdbeCursor.seekResult variable. This speeds up subsequent OP_Insert and OP_IdxInsert opcodes. (check-in: [47455500] user: dan branch: omit-rowid, size: 206777)
14:36
[1e4e3c25] part of check-in [a725a75f] Allocate extra stack space for UnpackedRecord objects, reducing the need to malloc for them as often, and thereby get a performance improvement. (check-in: [a725a75f] user: drh branch: omit-rowid, size: 206751)
14:05
[d4b81416] part of check-in [d70c7881] Minor optimization to the OP_Halt opcode. (check-in: [d70c7881] user: drh branch: omit-rowid, size: 206751)
2013-11-05
13:33
[94da71c0] part of check-in [54b22192] Standardize the error messages generated by constraint failures to a format of "$TYPE constraint failed: $DETAIL". This involves many changes to the expected output of test cases. (check-in: [54b22192] user: drh branch: omit-rowid, size: 206727)
2013-11-04
15:23
[8bab8886] part of check-in [d072bcd0] Correctly handle changing counting when inserting and deleting on WITHOUT ROWID tables. Add more FOREIGN KEY test cases. (check-in: [d072bcd0] user: drh branch: omit-rowid, size: 205814)
2013-11-02
22:29
[3492f312] part of check-in [a7a18b65] Improved Synopsis on register comparison operators. Fix a bug on the constraint check generator. (check-in: [a7a18b65] user: drh branch: omit-rowid, size: 205719)
2013-11-01
22:02
[9f3dc843] part of check-in [302a8139] Size KeyInfo objects so that IdxInserts always compare the correct number of fields. (check-in: [302a8139] user: drh branch: omit-rowid, size: 205665)
2013-10-31
20:34
[613af4c9] part of check-in [9b6d9e10] Fix the Synopsis on OP_Concat. Added test_addop_breakpoint() during SQLITE_DEBUG. Enhanced sqlite3VdbeChangeToNoop() to omit the instruction if it is the most recent added. Continue to fix problems with UPDATE and WITHOUT ROWID. (check-in: [9b6d9e10] user: drh branch: omit-rowid, size: 205325)
17:38
[ba7829e8] part of check-in [cff1f55c] Fix issues with quering from an auxiliary index that must refer back to the PRIMARY KEY index of a WITHOUT ROWID table. (check-in: [cff1f55c] user: drh branch: omit-rowid, size: 205325)
11:15
[da933a7c] part of check-in [1adfca60] Refactor the INSERT, DELETE, and UPDATE code generators to distinguish between the "data cursor" and the "first index cursor", which are no longer consecutive in the case of a WITHOUT ROWID table. (check-in: [1adfca60] user: drh branch: omit-rowid, size: 205292)
2013-10-30
20:22
[05857502] part of check-in [0d4fea74] Continue working to get UPDATE operational for WITHOUT ROWID tables. Fix PRAGMA integrity_check so that it works on WITHOUT ROWID tables. (check-in: [0d4fea74] user: drh branch: omit-rowid, size: 205330)
02:37
[3c98b773] part of check-in [2fcac056] Merge EXPLAIN enhancements from trunk. (check-in: [2fcac056] user: drh branch: omit-rowid, size: 205230)
00:25
[de4018a3] part of check-in [d6b0c392] Enhanced display of register ranges in the auxiliary comments added to EXPLAIN. (check-in: [d6b0c392] user: drh branch: trunk, size: 206868)
2013-10-29
20:47
[cb3df2d7] part of check-in [8bb51da1] Import the automatic comment generating changes from trunk. (check-in: [8bb51da1] user: drh branch: omit-rowid, size: 205255)
20:40
[3d0bd1f8] part of check-in [5f310c6a] Automatically generated comments on many VDBE opcodes when in SQLITE_DEBUG mode. Comments derive from the "Synopsis:" field added to each opcode definition in vdbe.c. (check-in: [5f310c6a] user: drh branch: trunk, size: 206909)
2013-10-28
22:47
[7663e009] part of check-in [aa72ea8a] Merge all trunk changes since 3.8.1 into the sessions branch. (check-in: [aa72ea8a] user: drh branch: sessions, size: 206417)
2013-10-26
15:40
[7d23d61c] part of check-in [086ec2a1] Work on the UPDATE and INSERT logic. This is an incremental check-in so that can switch over to trunk to work on an unrelated issue there. (check-in: [086ec2a1] user: drh branch: omit-rowid, size: 202708)
13:36
[115f2c06] part of check-in [e6650e16] Replace the OP_IsUnique opcode with OP_NoConflict. This code simplification might be useful to move onto trunk even if this branch is never merged. (check-in: [e6650e16] user: drh branch: omit-rowid, size: 202706)
2013-10-25
14:46
[f7a2fb5d] part of check-in [9eafafa3] Basic DELETE operations now working on WITHOUT ROWID tables. (check-in: [9eafafa3] user: drh branch: omit-rowid, size: 204376)
2013-10-24
11:55
[cca2c5eb] part of check-in [53bb070c] Remove an obsolete comment from the VDBE. No code changes. (check-in: [53bb070c] user: drh branch: omit-rowid, size: 204378)
2013-10-23
13:30
[9970b726] part of check-in [b21d831b] Some inserts and queries working for multi-column primary keys and WITHOUT ROWID. (check-in: [b21d831b] user: drh branch: omit-rowid, size: 204686)
2013-10-18
20:03
[3d960c84] part of check-in [e801f35a] Add the SQLITE_FCNTL_TRACE file control and generate it for OP_Trace when compiled with SQLITE_USE_FCNTL_TRACE. Update vfslog.c to make use of the new file control. Also update vfslog.c to log UNLOCK events before the fact, rather than afterwards. (check-in: [e801f35a] user: drh branch: trunk, size: 204670)
2013-10-10
20:13
[bc992461] part of check-in [136445ba] Synchronize with the trunk. (check-in: [136445ba] user: drh branch: sessions, size: 206111)
2013-09-16
12:57
[56e648f5] part of check-in [daf6ba41] The date and time functions use the exact same notion of "now" for every invocation within the same call to sqlite3_step(). (check-in: [daf6ba41] user: drh branch: trunk, size: 204364)
2013-09-06
13:10
[a393a94c] part of check-in [97b10e66] Combine the FuncDef.iPrefEnc and FuncDef.flags fields into a single new FuncDef.funcFlags field. (check-in: [97b10e66] user: drh branch: trunk, size: 204341)
2013-08-29
15:08
[8ebe0cbc] part of check-in [e7ebc8f7] Merge from trunk: (1) Recent bug fixes (2) STAT4 support (3) win32-longpath support. (check-in: [e7ebc8f7] user: drh branch: sessions, size: 206080)
2013-08-26
23:18
[2b1cd2c7] part of check-in [a32af0ab] Merge the STAT4 capability into trunk. (check-in: [a32af0ab] user: drh branch: trunk, size: 204333)
2013-08-22
15:07
[08a46d04] part of check-in [831492dc] Merge in minor bug fixes and performance tweaks from trunk leading up to the version 3.8.0 release. (check-in: [831492dc] user: drh branch: sessions, size: 205679)
2013-08-21
17:35
[d37aee2c] part of check-in [854ba304] If a virtual table xSync() returns an error message, copy it into a buffer allocated by sqlite3DbMalloc() before transfering it to Vdbe.zErrMsg. (check-in: [854ba304] user: dan branch: trunk, size: 203932)
2013-08-20
13:02
[76502f08] part of check-in [3e403328] Merge performance enhancements and compiler warning fixes from trunk. (check-in: [3e403328] user: drh branch: sessions, size: 206048)
00:42
[938feb53] part of check-in [d78c5d89] Performance optimizations in the VDBE and especially to the OP_Next and related opcodes. (check-in: [d78c5d89] user: drh branch: toTypeFuncs, size: 204301)
2013-08-19
23:18
[54d28e7f] part of check-in [d2efea16] Performance improvement to SQL function calls in the VDBE. (check-in: [d2efea16] user: drh branch: toTypeFuncs, size: 204273)
12:49
[fab5d86a] part of check-in [67587a33] Merge in all the latest updates and enhancements from trunk. (check-in: [67587a33] user: drh branch: sessions, size: 206124)
11:15
[0fbe7a90] part of check-in [a0d9ca4f] Fixes for harmless compiler warnings. (check-in: [a0d9ca4f] user: drh branch: trunk, size: 204377)
2013-08-15
16:18
[c9488a25] part of check-in [71070c9f] Change some assert() statements in vdbe.c to ensure that a memory cell used to store a VdbeCursor object is not also used for some other purpose. (check-in: [71070c9f] user: dan branch: sqlite_stat4, size: 204753)
2013-08-07
18:42
[a3c98ec5] part of check-in [08f74c45] Merge latest trunk changes with this branch. (check-in: [08f74c45] user: dan branch: sqlite_stat4, size: 204376)
2013-08-06
14:52
[1d95ab3d] part of check-in [69d5bed0] Merge in the latest changes from trunk. (check-in: [69d5bed0] user: drh branch: sessions, size: 206099)
2013-08-05
19:11
[4914ae1d] part of check-in [7301bedd] Factor all KeyInfo object allocations into a single function: sqlite3KeyInfoAlloc(). Always allocate enough space so that sqlite3VdbeRecordCompare() can avoid checking boundaries and hence run faster. (check-in: [7301bedd] user: drh branch: trunk, size: 204352)
2013-08-03
20:24
[91fa72a0] part of check-in [2beea303] Begin adding experimental sqlite_stat4 table. This commit is buggy. (check-in: [2beea303] user: dan branch: sqlite_stat4, size: 204375)
2013-08-02
20:44
[619306bc] part of check-in [7e1acb39] Merge in the latest trunk changes, including partial indexes, the MAX_PATH fix in os_win.c, and the sqlite3_cancel_auto_extension() API. (check-in: [7e1acb39] user: drh branch: sessions, size: 206098)
2013-07-25
16:27
[d6048a72] part of check-in [4698a82e] Enhance the progress handler so that it keeps track of the number of VDBE cycles across sqlite3_step() calls and issues callbacks when the cumulative instruction count reaches threshold. (check-in: [4698a82e] user: drh branch: trunk, size: 204351)
2013-07-18
18:28
[816e6861] part of check-in [cd9096e6] Fix a typo in the previous commit. (check-in: [cd9096e6] user: dan branch: typo, size: 203954)
17:12
[7fab3ee5] part of check-in [71effa59] Ensure that all auxiliary data registered by calls to sqlite3_set_auxdata() is destroyed when the VM is halted. Partial fix for [406d3b2ef9]. DRH adds: Stray text accidentally inserted into vdbe.c just prior to the commit breaks the build. (check-in: [71effa59] user: dan branch: typo, size: 203956)
2013-07-11
15:31
[4a9d00a9] part of check-in [8dfc0b78] Merge recent trunk changes (such as the query_only PRAGMA, the defer_foreign_keys PRAGMA, and the SQLITE_DBSTATUS_DEFERRED_FKS parameter to sqlite3_db_status()) into the sessions branch. (check-in: [8dfc0b78] user: drh branch: sessions, size: 205963)
15:22
[420ebf1d] part of check-in [6557c407] Add the experimental "query_only" pragma. (check-in: [6557c407] user: drh branch: trunk, size: 204216)
15:03
[0661945e] part of check-in [527121ac] Add the "defer_foreign_keys" pragma and the SQLITE_DBSTATUS_DEFERRED_FKS value for sqlite3_db_status(). This is a cherry-pick of a sequence of five checkins in the sessions branch between [1d44e5d3c2] and [d39e65fe70]. (check-in: [527121ac] user: drh branch: trunk, size: 204103)
12:19
[26f19a43] part of check-in [3a2ab74c] Rename the SQLITE_DeferForeignKeys macro to shorter SQLITE_DeferFKs. Move the "defer_foreign_keys" pragma into the flagPragma() routine. (check-in: [3a2ab74c] user: drh branch: sessions, size: 205414)
2013-07-10
13:33
[c714445b] part of check-in [ece960c4] Experimental "PRAGMA query_only=BOOLEAN" statement that is able to turn write capabilities on and off. (check-in: [ece960c4] user: drh branch: query_only, size: 203891)
03:05
[b4d29f87] part of check-in [3e8b0201] Run progress callback checks less frequently in the main VDBE evaluation loop. This makes up for the extra CPU cycles used to increment the cycle counter for SQLITE_STMTSTATUS_VM_STEP. (check-in: [3e8b0201] user: drh branch: trunk, size: 203778)
2013-07-09
13:05
[7e1654d4] part of check-in [af3ca4c6] Pull in all the latest changes from trunk. (check-in: [af3ca4c6] user: drh branch: sessions, size: 205422)
2013-07-03
19:53
[e1782e46] part of check-in [1d44e5d3] Experimental change to the handling of foreign key constraint violations when applying a changeset: all foreign keys, immediate and deferred, are deferred until the end of the transaction (or sub-transaction) opened by the sqlite3changeset_apply(). A single call to the conflict-handler (if any) is made if any FK constraint violations are still present in the database at this point. The conflict-handler may choose to rollback the changeset or to apply it, constraint violations and all. (check-in: [1d44e5d3] user: dan branch: sessions, size: 204785)
2013-06-28
19:41
[2e3fc618] part of check-in [f308c485] Allow read transactions to be freely opened and closed by SQL statements run from within the implementation of user-functions if the user-function is called by a SELECT statement that does not access any database tables (e.g. "SELECT user_function();"). (check-in: [f308c485] user: dan branch: trunk, size: 203342)
01:24
[9816247e] part of check-in [59f98c5c] Refactor the Vdbe.noIO field as Vdbe.bIsReader. The meaning is inverted. (check-in: [59f98c5c] user: drh branch: trunk, size: 203265)
2013-06-27
23:54
[462058f2] part of check-in [14f79696] Refactor names of fields in the sqlite3 object: "activeVdbeCnt" becomes "nVdbeActive". Related fields becomes "nVdbeRead", "nVdbeWrite", and "nVdbeExec". (check-in: [14f79696] user: drh branch: trunk, size: 203251)
17:40
[f6781011] part of check-in [1937fd8e] Make sure that sqlite3_stmt_readonly reports false for PRAGMA journal_mode and PRAGMA wal_checkpoint. Ticket [a589ec069e3]. Also keep track of whether a prepared statement does no reading or writing. (check-in: [1937fd8e] user: drh branch: trunk, size: 203267)
2013-06-26
13:31
[45a342e1] part of check-in [086a1272] Bring the sessions branch up-to-date with all the latest trunk changes. (check-in: [086a1272] user: drh branch: sessions, size: 204452)
2013-06-25
22:01
[af2bc360] part of check-in [f1366bab] Add a new (experimental) sqlite3_stmt_status() verb that returns the number of VM steps. (check-in: [f1366bab] user: drh branch: status-vm-step, size: 202705)
2013-05-28
12:11
[34929e1b] part of check-in [a0d5cc93] Many small harmless comment changes. Removal of obsolete comments and fixing misspelled words. No changes to code. (check-in: [a0d5cc93] user: drh branch: trunk, size: 202563)
2013-04-22
23:59
[349798f6] part of check-in [6994826c] Merge the latest trunk changes into the sessions branch. (check-in: [6994826c] user: drh branch: sessions, size: 204296)
2013-04-08
10:38
[5f004713] part of check-in [320b5295] Fix an incorrect type cast in an assignment in vdbe.c. (check-in: [320b5295] user: dan branch: trunk, size: 202549)
2013-03-28
01:19
[fee31825] part of check-in [ee35a897] Merge the changes for the 3.7.16.1 release candidate into the sessions branch. (check-in: [ee35a897] user: drh branch: sessions, size: 204297)
2013-03-24
22:56
[1d56617d] part of check-in [8b44d6fb] Remove the SQLITE_OMIT_MERGE_SORT compile-time option and its related code. The merge sorter is now a required component. (check-in: [8b44d6fb] user: drh branch: trunk, size: 202550)
2013-03-21
21:20
[f9622d5b] part of check-in [6f6e2d50] Many spelling fixes in comments. No changes to code. (check-in: [6f6e2d50] user: mistachkin branch: trunk, size: 202972)
2013-02-13
13:42
[9e4164ac] part of check-in [7e14dc73] Enhancements to the query planner to make use of indices for ORDER BY even when IN constraints are in the WHERE clause. Add extended error codes for all SQLITE_CONSTRAINT errors. (check-in: [7e14dc73] user: drh branch: sessions, size: 204719)
2013-02-09
13:58
[292f8f7c] part of check-in [54611046] Add extended error codes for constraint errors. (check-in: [54611046] user: drh branch: constraint-error-codes, size: 202972)
2013-01-03
22:22
[4cf34269] part of check-in [7e068e39] Merge recent trunk changes into the sessions branch. (check-in: [7e068e39] user: drh branch: sessions, size: 204705)
2012-12-10
22:19
[f51eb320] part of check-in [bd7aeeb6] When an arithmetic operation with two integer operands must give a floating-point answer due to overflow, make sure the answer is not rounded back to integer by affinity. (check-in: [bd7aeeb6] user: drh branch: trunk, size: 202958)
09:08
[fb1d2b75] part of check-in [ee662c03] Remove a reference to JumpOnce from a comment in vdbe.c. No code changes. (check-in: [ee662c03] user: dan branch: trunk, size: 202852)
2012-12-08
23:37
[85576363] part of check-in [4f6d69ae] Pull the latest trunk changes into the sessions branch, and in particular the collating-sequence refactorization. (check-in: [4f6d69ae] user: drh branch: sessions, size: 204624)
13:26
[89138e8e] part of check-in [2722f407] Fix the header comment on the OP_Compare operator. (check-in: [2722f407] user: drh branch: ticket-71e333e7, size: 202877)
2012-12-07
22:18
[328cb259] part of check-in [0aaf52a3] Fix a long-standing issue with the distinct-as-aggregate optimization that only expressed when the new collating-sequence logic is turned on. (check-in: [0aaf52a3] user: drh branch: ticket-71e333e7, size: 202652)
2012-12-06
20:19
[fed44fdc] part of check-in [0d7b5d45] Cherrypick [557c69055a3] and [0064bab7714] (OP_Once-related fixes for triggers). (check-in: [0d7b5d45] user: dan branch: branch-3.7.9, size: 199790)
2012-12-03
17:04
[5b49cb1f] part of check-in [b0c1ba65] Make sure that the optimization that set the maximum column that will be used on a particular query does not mistakenly change an opcode other than OP_OpenRead or OP_OpenWrite. In particular, make sure it does not overwrite the P4 field of an OP_SorterOpen. (check-in: [b0c1ba65] user: drh branch: trunk, size: 202476)
2012-10-30
21:03
[640a7e14] part of check-in [fce667f2] Pull all the latest trunk enhancements into the sessions branch. (check-in: [fce667f2] user: drh branch: sessions, size: 204223)
14:44
[e1b2f881] part of check-in [4f106123] Fix a typo in the header comment for the OpenPseudo opcode. (check-in: [4f106123] user: drh branch: subquery-as-coroutine, size: 202476)
14:39
[fbb695e3] part of check-in [564631f3] Make it possible to disable the subquery-by-coroutine optimization using sqlite3_test_control(). Remove an always-false conditional. (check-in: [564631f3] user: drh branch: subquery-as-coroutine, size: 202475)
00:29
[f3310ec7] part of check-in [7af3acbb] Add an optimization that attempts to run a subquery as a coroutine rather than manifesting it into a temporary table. (check-in: [7af3acbb] user: drh branch: subquery-as-coroutine, size: 202533)
2012-09-28
13:05
[e8e2e34c] part of check-in [6ca8eae1] Merge the latest trunk changes (especially "PRAGMA busy_timeout" and the ORDER BY query planner optimizations) into the sessions branch. (check-in: [6ca8eae1] user: drh branch: sessions, size: 203927)
10:57
[fcb5bb6f] part of check-in [6a5c59dd] Merge the latest trunk changes (PRAGMA busy_timeout and the ORDER BY query planner enhancements) into the apple-osx branch. (check-in: [6a5c59dd] user: drh branch: apple-osx, size: 202214)
2012-09-21
00:04
[31523df2] part of check-in [79e922f7] Consolidate more of the DISTINCT processing logic into a single spot in the code. Reduce the number of OP_Column operations needed to perform a WHERE_DISTINCT_ORDERED. (check-in: [79e922f7] user: drh branch: trunk, size: 202180)
2012-09-19
21:15
[b0ac9878] part of check-in [94b48064] Tighter VDBE code for the WHERE_DISTINCT_ORDERED case of DISTINCT keyword handling. (check-in: [94b48064] user: drh branch: trunk, size: 202088)
2012-09-18
13:20
[16e894bd] part of check-in [e7db056a] Update the vdbe-compress.tcl script so that it accepts variable declarations inside of #ifdef...#endif. This enhancement is needed due to the change of check-in [39866c0ede5d6ef4]. (check-in: [e7db056a] user: drh branch: trunk, size: 201481)
2012-09-13
15:26
[fd82787f] part of check-in [39866c0e] Fix an unused variable warning with SQLITE_OMIT_WAL. (check-in: [39866c0e] user: mistachkin branch: trunk, size: 201478)
2012-09-04
21:34
[64de1142] part of check-in [39f763bf] Avoid repeating calls to the sqlite3_trace() callback when the same statement is evaluted multiple times by sqlite3_step() due to an SQLITE_SCHEMA reprepare. (check-in: [39f763bf] user: drh branch: trunk, size: 201447)
2012-08-31
14:23
[b01b505c] part of check-in [87995dc9] Update with latest trunk changes. (check-in: [87995dc9] user: dan branch: sessions, size: 203168)
14:10
[7eee10a7] part of check-in [bc9b9cd0] Merge in latest trunk changes. (check-in: [bc9b9cd0] user: dan branch: apple-osx, size: 201455)
2012-08-29
10:28
[9c524bde] part of check-in [9fbe858b] Fix a typo in a comment in vdbe.c. No changes to code. (check-in: [9fbe858b] user: drh branch: trunk, size: 201421)
2012-08-25
01:38
[18781e84] part of check-in [6723add4] Merge all the latest trunk changes into the apple-osx branch. (check-in: [6723add4] user: drh branch: apple-osx, size: 201454)
2012-08-22
15:16
[1a451790] part of check-in [acdc7d12] Do not let the multi-core sorter use lookaside memory, which is not thread-safe. (check-in: [acdc7d12] user: drh branch: threads-sort-ex1, size: 201408)
2012-08-15
16:21
[9a1c2f78] part of check-in [fc07a479] Merge all the latest trunk changes into the sessions branch. (check-in: [fc07a479] user: drh branch: sessions, size: 203167)
15:57
[93b560a4] part of check-in [2bb8c492] Experimental change to speed up ORDER BY clauses that sort based on a single expression. (check-in: [2bb8c492] user: dan branch: sorter-exp, size: 201391)
2012-08-06
18:50
[75da79cd] part of check-in [d045f8b2] When reusing pages as part of creating a new index, allocate the leaves from each free-list trunk page in ascending order, instead of trying to maximize localization for each individual allocation. This increases the chance that pages will be written to disk in ascending order by a large CREATE INDEX statement, improving overall performance. (check-in: [d045f8b2] user: dan branch: sorter-coalesce-writes, size: 201420)
2012-06-08
01:13
[ae6803fd] part of check-in [9d1b8515] Merge trunk changes into the apple-osx branch. (check-in: [9d1b8515] user: drh branch: apple-osx, size: 201205)
2012-06-07
23:58
[687fdb86] part of check-in [c6214039] Merge all trunk changes, including the WinRT enhancements, into the sessions branch. (check-in: [c6214039] user: drh branch: sessions, size: 202918)
17:57
[f5ad3c06] part of check-in [cfcbf937] Documentation and evidence mark updates. Remove a redundant assert(). (check-in: [cfcbf937] user: drh branch: trunk, size: 201171)
2012-06-05
19:20
[76ae5ef2] part of check-in [42338e9e] Merge the latest trunk changes into shared-schema branch. Also fix a C99-ism in that branch. (check-in: [42338e9e] user: drh branch: shared-schema, size: 201198)
2012-05-28
18:22
[15bcec4d] part of check-in [df817e70] Merge the unicode61 tokenizer and the shared-cache-memory database changes into the sessions branch. (check-in: [df817e70] user: drh branch: sessions, size: 202947)
2012-05-27
01:19
[b6cb2ac4] part of check-in [595dfdbf] Have user interfaces report out the filename of in-memory databases as an empty string, as it always has. This simplifies the changes. (check-in: [595dfdbf] user: drh branch: shared-cache-memdb, size: 201200)
2012-05-20
20:14
[dfb52b28] part of check-in [0c0a0398] Check-in included unrelated debugging code by mistake. Was: Fix a test case in the shell1.test script so that it works even for very long pathnames. (check-in: [0c0a0398] user: drh branch: mistake, size: 201250)
2012-05-15
18:28
[6ed3e899] part of check-in [aa0c3493] The former sqlite3ResetInternalSchema() routine was really two different routines, selected by parameter, each with a confused mission. So split this routine up into three separate smaller routines, calling each separately as needed. Hopefully this will make further refactoring and schema reset collateral damage containment easier. (check-in: [aa0c3493] user: drh branch: shared-schema, size: 201195)
2012-04-19
20:43
[baed8c1e] part of check-in [b72f07b4] Update the apple-osx branch so that it includes all of the latest trunk changes. (check-in: [b72f07b4] user: drh branch: apple-osx, size: 201231)
2012-04-18
01:41
[b79d6de8] part of check-in [87a0eab5] Import all the latest trunk changes into the sessions branch. (check-in: [87a0eab5] user: drh branch: sessions, size: 202944)
2012-03-31
17:17
[e1d26b98] part of check-in [79a4a3a8] Do not abort pending queries on a RELEASE of a nested SAVEPOINT. This is a candidate fix for ticket [27ca74af3c083f787]. (check-in: [79a4a3a8] user: drh branch: trunk, size: 201197)
02:46
[bcf472ee] part of check-in [18ec60ca] Merge all the latest trunk changes into the apple-osx branch. (check-in: [18ec60ca] user: drh branch: apple-osx, size: 201177)
2012-03-30
17:30
[9c625193] part of check-in [fb9b9987] Merge all recent trunk changes into the sessions branch. (check-in: [fb9b9987] user: drh branch: sessions, size: 202890)
2012-03-28
16:14
[89139262] part of check-in [86839476] Minor changes to the core of OP_Column for performance and to clarify the critical path. (check-in: [86839476] user: drh branch: faster-typeof-and-length, size: 201143)
15:44
[ee62f850] part of check-in [4d516240] This change turned out to the code slower. Side track it. Was: Tweaks to the OP_Column opcode for clarity of presentation. (check-in: [4d516240] user: drh branch: mistake, size: 200904)
13:41
[80753245] part of check-in [ca093103] Improvements to comments. Minor changes to code in the hot path of OP_Column - with the hope of get a few cycles of performance improvement. (check-in: [ca093103] user: drh branch: faster-typeof-and-length, size: 200983)
01:34
[b91a9135] part of check-in [b899dbeb] Evaluate typeof(X) and length(Y) where X is any column and Y is a blob column without actually loading X and Y from disk. (check-in: [b899dbeb] user: drh branch: faster-typeof-and-length, size: 200945)
2012-03-05
16:39
[c4638fe3] part of check-in [504bf490] Pull in all the latest trunk changes. (check-in: [504bf490] user: drh branch: apple-osx, size: 200089)
16:26
[2591c28c] part of check-in [ff86875c] Merge in the latest trunk changes. (check-in: [ff86875c] user: drh branch: sessions, size: 201802)
2012-02-24
00:02
[32720e87] part of check-in [f9df4063] A simple change that allows the SQLITE_32BIT_ROWID compile-time option to work better. (check-in: [f9df4063] user: drh branch: trunk, size: 200055)
2012-02-13
17:01
[21c17c43] part of check-in [549f4fd0] Add the new SQLITE_ABORT_ROLLBACK extended error code to be returned for statements that are cancelled due to a rollback. (check-in: [549f4fd0] user: drh branch: nonblocking-rollback, size: 200055)
16:43
[2afc9b02] part of check-in [9b66c79e] Change the ROLLBACK command so that pending statements to not block it. The pending statements instead return SQLITE_ABORT upon next access. Note: This causes separate shared-cache connections in read_uncommitted mode to abort as well. (check-in: [9b66c79e] user: drh branch: nonblocking-rollback, size: 200046)
13:44
[169a4384] part of check-in [922bcbb4] Generalize the interrupt mechanism so that individual statements can be interrupted and so that codes other than just SQLITE_INTERRUPT can be returned as a consequence of an interrupt. (check-in: [922bcbb4] user: drh branch: generalize-interrupt, size: 200111)
2012-02-10
18:18
[f384d056] part of check-in [e2485986] Pull the latest trunk changes into the apple-osx branch. (check-in: [e2485986] user: drh branch: apple-osx, size: 200123)
17:54
[a24b861d] part of check-in [361fb66a] Pull all the latest trunk changes into the sessions branch. (check-in: [361fb66a] user: drh branch: sessions, size: 201836)
2012-02-02
17:35
[40b14dff] part of check-in [adb29232] For queries of the form "SELECT p, max(q) FROM t1", the value of column p returned is the one on the same row that holds the maximum value of q. (check-in: [adb29232] user: drh branch: output-minmax-row, size: 200089)
15:50
[43ea77c8] part of check-in [0bc594e8] Data structure cleanup. Remove unused fields. Rearrange other files for tighter packing and reduced memory usage. (check-in: [0bc594e8] user: drh branch: trunk, size: 199643)
2012-01-25
20:43
[595a2402] part of check-in [11f68d99] Only invalidate the schema when the OP_ParseSchema opcode fails, not on any general failure of a vdbe program. (check-in: [11f68d99] user: drh branch: trunk, size: 199638)
2012-01-18
01:14
[fc1b97fa] part of check-in [d0dabe2f] Remove a redundant assignment from the VM. (check-in: [d0dabe2f] user: drh branch: trunk, size: 199591)
2012-01-14
14:13
[7d3e9dda] part of check-in [2cc414cd] Merge the latest trunk changes into the apple-osx branch. (check-in: [2cc414cd] user: drh branch: apple-osx, size: 199651)
13:50
[502f3deb] part of check-in [01c84fd3] Update sessions branch with latest changes from trunk. (check-in: [01c84fd3] user: dan branch: sessions, size: 201364)
2012-01-08
22:18
[64e3fc0b] part of check-in [fc9179e1] Fix typos in commands. Combine the ExpandBlob and expandBlob macros into one. (check-in: [fc9179e1] user: drh branch: trunk, size: 199617)
2012-01-05
13:02
[3338717c] part of check-in [a9bcb432] Merge all of the latest trunk changes into the sessions branch. (check-in: [a9bcb432] user: drh branch: sessions, size: 201534)
2012-01-04
12:57
[d5062ca4] part of check-in [e9d05cbb] Fix typos and comments and make minor changes to a few function names, as suggested by readership. (check-in: [e9d05cbb] user: drh branch: trunk, size: 199787)
2012-01-03
21:54
[9a5ea29c] part of check-in [8a048423] Pull all the latest trunk changes over into the apple-osx branch. (check-in: [8a048423] user: drh branch: apple-osx, size: 199823)
2011-12-31
21:51
[50f0cf69] part of check-in [6827338e] Fix typos in comments. No changes to code. (check-in: [6827338e] user: drh branch: trunk, size: 199789)
2011-12-09
17:27
[029add0c] part of check-in [6a9fb47d] Take out the OP_JumpOnce opcode. Revert compound SELECT to use OP_IfNot, which is the correct behavior. Mark trigger registers as initially invalid. (check-in: [6a9fb47d] user: drh branch: uninit-vdbe-mem, size: 199790)
16:21
[9fc8110b] part of check-in [521d72bd] Make no assumptions about the initial state of VDBE registers. (check-in: [521d72bd] user: drh branch: uninit-vdbe-mem, size: 200176)
13:24
[f49816f9] part of check-in [557c6905] Modify the OP_Once opcode so that it works correctly in trigger sub-programs. This is a candidate fix for [7bbfb7d442]. (check-in: [557c6905] user: dan branch: trunk, size: 199357)
2011-12-08
21:08
[6f7669fb] part of check-in [59e0d4f3] Merge the latest trunk changes into the apple-osx branch. (check-in: [59e0d4f3] user: drh branch: apple-osx, size: 199430)
2011-11-16
15:27
[a7ab9993] part of check-in [3b58f5f0] Where possible, take advantage of the rowid at the end of index records to optimize range constraints (<, >, <=, >=) on the rowid column. (check-in: [3b58f5f0] user: dan branch: trunk, size: 199396)
2011-10-31
14:42
[cefc9d9b] part of check-in [4fa9ee79] Pull the latest trunk changes into the apple-osx branch. (check-in: [4fa9ee79] user: drh branch: apple-osx, size: 199430)
14:34
[f3d11234] part of check-in [23580718] Merge in all changes found in the version 3.7.9 release candidate. (check-in: [23580718] user: drh branch: sessions, size: 201143)
2011-10-25
20:36
[5fdbad94] part of check-in [14bc58ca] Cherrypick changes [53f5cfe115] and [1f7ef0af8d] in order to fix an issue with DISTINCT (check-in: [14bc58ca] user: drh branch: branch-3.7.2, size: 194637)
2011-10-22
21:00
[326994a6] part of check-in [d980c5b2] Avoid a harmless reference to an uninitialized variable following an error in FTS3. This is not a bug. The change is to silence a valgrind warning. (check-in: [d980c5b2] user: drh branch: trunk, size: 199396)
2011-10-21
17:18
[2ed980c8] part of check-in [be62ef05] Merge the latest trunk changes into the apple-osx branch. (check-in: [be62ef05] user: drh branch: apple-osx, size: 199440)
17:08
[9ccccceb] part of check-in [8baef581] Merge the latest trunk enhancements into the sessions branch. (check-in: [8baef581] user: drh branch: sessions, size: 201153)
2011-10-18
22:07
[251381bf] part of check-in [d65f6353] Fix the virtual table rename logic so that it works even if the database encoding is something other than UTF8. Ticket [8290242b2a9a81683] (check-in: [d65f6353] user: drh branch: trunk, size: 199406)
2011-10-17
23:15
[054e1d52] part of check-in [491ff5fb] Change the OP_JournalMode implementation so that it works even if a substitute sqlite3PagerFilename() that might return NULL is used. (check-in: [491ff5fb] user: drh branch: trunk, size: 199197)
2011-10-14
21:49
[75e626a6] part of check-in [60fee957] Add assert() statements and eliminate needless variable assignments in order to get the clang scan-build utility to report zero problems against the SQLite core. Clang's static analysis did find one real problem - but it was in the command-line shell, not in the SQLite core. (check-in: [60fee957] user: drh branch: trunk, size: 199197)
2011-09-20
15:53
[f5de15d6] part of check-in [89272357] Add SQLITE_STMTSTATUS_CACHE_HIT/MISS and SQLITE_DB_STATUS_CACHE_HIT/MISS. For querying the number of pager cache hits and misses on a statement or connection basis. (check-in: [89272357] user: dan branch: cache-stats, size: 200215)
2011-09-16
19:40
[a4d43779] part of check-in [5efb0294] Merge the latest trunk changes into the sessions branch. (check-in: [5efb0294] user: drh branch: sessions, size: 200904)
19:36
[26deb38f] part of check-in [070bf203] Merge the latest trunk fixes into the apple-osx branch. (check-in: [070bf203] user: drh branch: apple-osx, size: 199191)
01:34
[60340bfb] part of check-in [7f00552b] Add the new OP_Once opcode. Use it to clean up and simplify various one-time initialization sections in the code, including the fix for ticket [002caede898ae]. (check-in: [7f00552b] user: drh branch: tkt-002caede898, size: 199157)
2011-09-14
19:41
[f03941d4] part of check-in [c00e45ed] Merge latest changes from the trunk into the sessions branch. (check-in: [c00e45ed] user: dan branch: sessions, size: 200247)
19:05
[e46c71db] part of check-in [2456b4d0] Merge in the latest changes from trunk. (check-in: [2456b4d0] user: drh branch: apple-osx, size: 198534)
2011-09-05
14:20
[7008edbf] part of check-in [f115b230] Refactor the sqlite3VdbeRecordUnpack() interface to better accommodate the vdbesort.c module. (check-in: [f115b230] user: dan branch: trunk, size: 198500)
2011-09-03
00:17
[d4c8224c] part of check-in [68e26c44] The build works again with -DSQLITE_OMIT_MERGE_SORT. The merge-sorter now avoids spilling to disk (letting the in-memory linked list grow without bound) if PRAGMA temp_store=3. (check-in: [68e26c44] user: drh branch: merge-sort, size: 198470)
2011-09-02
10:31
[da9c7efc] part of check-in [7769fb98] Instead of a temporary b-tree, use a linked-list and merge-sort to sort records in main memory in vdbesort.c. (check-in: [7769fb98] user: dan branch: merge-sort, size: 198148)
2011-09-01
15:32
[9260e513] part of check-in [bab2e560] Experimental code-generator changes to utilize new opcodes for sorting. (check-in: [bab2e560] user: drh branch: merge-sort, size: 197390)
2011-08-29
02:49
[9165b35d] part of check-in [ff71d20a] About a 1% overall performance improvement by using a macro to avoid no-op calls to sqlite3MemReleaseExternal(). (check-in: [ff71d20a] user: drh branch: experimental, size: 196987)
02:16
[dc84628c] part of check-in [b6b73a74] Small performance improvement to OP_Column. (check-in: [b6b73a74] user: drh branch: experimental, size: 197019)
2011-08-28
02:15
[8c9e0508] part of check-in [edff9d4a] About a 3% improvement in the performance of OP_Column. (check-in: [edff9d4a] user: drh branch: experimental, size: 196845)
00:19
[47713d40] part of check-in [087dc960] Correctly display P4_ADVANCE values on opcode traces. Mark an always-taken branch in OP_Column as such. (check-in: [087dc960] user: drh branch: experimental, size: 196804)
2011-08-27
18:48
[d63854ae] part of check-in [1a249845] Experimental changes to improve the performance of OP_Next. (check-in: [1a249845] user: dan branch: experimental, size: 196796)
2011-08-26
19:20
[9bc9b5f1] part of check-in [eb036d6f] Merge the latest trunk changes into the sessions branch. (check-in: [eb036d6f] user: drh branch: sessions, size: 198504)
19:18
[0d70d10e] part of check-in [55af8003] Merge the latest trunk changes into the apple-osx branch. (check-in: [55af8003] user: drh branch: apple-osx, size: 196791)
00:34
[4a7191c0] part of check-in [c71d7320] Create a new pager type, PAGER_SORTER, for use in the external merge sort. Such pagers are always held in memory but do report when they are under memory pressure by calling pagerStress. (check-in: [c71d7320] user: drh branch: trunk, size: 196757)
2011-08-25
18:01
[8f18a857] part of check-in [5a690486] Disable external merge source when SQLITE_TEMP_STORE==3. Add documentation to the OP_OpenSorter opcode. (check-in: [5a690486] user: drh branch: trunk, size: 196464)
2011-08-23
18:06
[859006c0] part of check-in [c5f7977b] Merge latest trunk changes into the apple-osx branch. (check-in: [c5f7977b] user: dan branch: apple-osx, size: 196278)
2011-08-12
16:30
[22d0d5bc] part of check-in [7e515055] Merge latest trunk changes into experimental branch. (check-in: [7e515055] user: dan branch: experimental, size: 196244)
16:11
[1f5bb8b8] part of check-in [1a8498d8] Remove an unused parameter from a function in vdbesort.c. Fix some comments and other details in the same file. (check-in: [1a8498d8] user: dan branch: experimental, size: 196094)
15:02
[eed17aa6] part of check-in [4ced2394] Add the SQLITE_OMIT_MERGE_SORT pre-processor directive. To omit the code in vdbesort.c. (check-in: [4ced2394] user: dan branch: experimental, size: 196098)
2011-08-06
12:01
[ec7b0455] part of check-in [8051c176] In temp files used for merge sorting, store the size of each packed-memory-array at the start of the array itself. This is to avoid having to store the offsets of all arrays in the (potentially very large) file in main-memory. (check-in: [8051c176] user: dan branch: experimental, size: 195837)
2011-08-05
22:31
[b46e0dde] part of check-in [e93c248c] Bug fixes to the sample-count logic for STAT2. A few test cases added. (check-in: [e93c248c] user: drh branch: query-planner-tweaks, size: 195531)
21:13
[1215ce45] part of check-in [eb434228] Add a column to the sqlite_stat2 table that contains the number of entries with exactly the same key as the sample. We do not yet do anything with this extra value. Some tests in analyze2.test are failing. (check-in: [eb434228] user: drh branch: query-planner-tweaks, size: 195482)
2011-08-04
12:14
[379ccaa6] part of check-in [a4770d07] Change to using packed-memory-arrays instead of b-trees when performing an offline merge-sort for CREATE INDEX. This makes it easier to control the number of disc seeks required when merging. (check-in: [a4770d07] user: dan branch: experimental, size: 195831)
2011-08-03
21:46
[303d8b3b] part of check-in [c5709036] Merge the latest trunk changes into the sessions branch. (check-in: [c5709036] user: drh branch: sessions, size: 197229)
16:40
[49d834f0] part of check-in [a2135ad1] Update the OP_Move opcode to shift the pScopyFrom pointer of aliases when compiled with SQLITE_DEBUG. Ticket [d63523637517386191]. (check-in: [a2135ad1] user: drh branch: trunk, size: 195482)
2011-08-02
18:25
[30e1d38a] part of check-in [77376b33] Merge all the latest trunk changes into the apple-osx branch. (check-in: [77376b33] user: drh branch: apple-osx, size: 195366)
2011-07-22
12:49
[00061273] part of check-in [110cfd69] Merge the latest trunk changes into the sessions branch. (check-in: [110cfd69] user: drh branch: sessions, size: 197079)
2011-07-12
14:28
[88a70684] part of check-in [30dbf0fe] Experimental support for speeding up CREATE INDEX commands using an offline merge sort. (check-in: [30dbf0fe] user: dan branch: experimental, size: 195876)
2011-06-29
17:11
[a9ced64f] part of check-in [591de898] Pass the BTREE_UNORDERED hint into both sqlite3BtreeOpen() and into sqlite3BtreeCreateTable(). (check-in: [591de898] user: drh branch: trunk, size: 195332)
2011-06-21
01:30
[80d511d7] part of check-in [76005fdc] Merge the latest trunk changes into the apple-osx branch. (check-in: [76005fdc] user: drh branch: apple-osx, size: 195356)
01:29
[df52db61] part of check-in [f3d148e0] Merge the latest trunk changes into the sessions branch. (check-in: [f3d148e0] user: drh branch: sessions, size: 197069)
2011-06-20
21:47
[50b5b4ef] part of check-in [b9cbab73] Fix more documentation typos. (check-in: [b9cbab73] user: drh branch: trunk, size: 195322)
11:57
[71a3e14a] part of check-in [4c69e827] Merge the latest trunk changes into the apple-osx branch. (check-in: [4c69e827] user: drh branch: apple-osx, size: 195367)
10:44
[af4d8ba0] part of check-in [4c5e276c] Merge the latest trunk changes into the sessions branch. (check-in: [4c5e276c] user: drh branch: sessions, size: 197080)
2011-06-14
14:18
[9eef9bb0] part of check-in [0185c4b6] Fix a memory leak that can follow an OOM error in a user-function that uses sqlite3_set_auxdata(). (check-in: [0185c4b6] user: dan branch: trunk, size: 195333)
2011-06-03
12:15
[edfa3827] part of check-in [93e0be2b] Fix an #ifdef of SQLITE_OMIT_VIRTUALTABLE that had an extra "_" character. (check-in: [93e0be2b] user: drh branch: trunk, size: 195332)
2011-06-02
13:07
[d671beda] part of check-in [ce5f95de] Merge the latest trunk changes, including the read-only shared memory enhancement, into the apple-osx branch. (check-in: [ce5f95de] user: drh branch: apple-osx, size: 195367)
2011-06-01
19:16
[2ec37637] part of check-in [e704e869] Avoid unnecessary duplication of SQL parameter names. (check-in: [e704e869] user: drh branch: trunk, size: 195333)
2011-05-30
23:42
[103827f5] part of check-in [f9950c6a] Minor performance improvements. (check-in: [f9950c6a] user: drh branch: trunk, size: 195273)
13:39
[619fb3fc] part of check-in [832886b1] Merge the latest trunk changes into the sessions branch. (check-in: [832886b1] user: drh branch: sessions, size: 197010)
2011-05-28
19:24
[380dddc4] part of check-in [edb865c3] Fix a "#ifdef" from check-in [03f7d36a8a] that should have been "#ifndef". (check-in: [edb865c3] user: drh branch: trunk, size: 195263)
2011-05-26
14:19
[a8ff6724] part of check-in [03f7d36a] Changes to work with SQLITE_OMIT_VIRTUAL_TABLE. (check-in: [03f7d36a] user: drh branch: trunk, size: 195262)
2011-05-25
01:16
[4812f0e5] part of check-in [92f26a8b] Changes to savepoint in virtual tables for simpler and more consistent operation. (check-in: [92f26a8b] user: drh branch: trunk, size: 195222)
2011-05-24
00:35
[408cc051] part of check-in [a9d09566] Make sure the savepoint index is correct one calls to sqlite3VtabSavepoint with SAVEPOINT_BEGIN. (check-in: [a9d09566] user: drh branch: trunk, size: 195220)
2011-05-19
02:48
[af2e9d0f] part of check-in [5b1b536c] Merge all the latest trunk changes into the sessions branch, especially the disappearing WAL transaction fix. (check-in: [5b1b536c] user: drh branch: sessions, size: 196919)
01:51
[f997c49f] part of check-in [8d1a6bb0] Pull all the latest trunk changes, and especially the fix for WAL cache spills causing transactions to disappear, into the apple-osx branch. (check-in: [8d1a6bb0] user: drh branch: apple-osx, size: 195206)
2011-05-13
18:51
[343a068e] part of check-in [e569f18b] Make arrangements so that virtual table inserts into shadow tables do not modify the sqlite3_last_insert_rowid() return. Document that this is how sqlite3_last_insert_rowid() works. (check-in: [e569f18b] user: drh branch: trunk, size: 195172)
2011-05-12
15:32
[ed266854] part of check-in [97b98010] Pull in the patches to support read-only WAL databases into a new branch off of the apple-osx branch. This also pulls in all the other pending 3.7.7 changes such as URI support. (check-in: [97b98010] user: drh branch: apple-wal-readonly, size: 194995)
2011-05-05
15:52
[bf969a63] part of check-in [f9b149e5] Merge the latest trunk changes into the apple-osx branch. (check-in: [f9b149e5] user: drh branch: apple-osx, size: 194985)
15:46
[fa5bfc0c] part of check-in [6883580e] Merge the latest trunk changes into the sessions branch. (check-in: [6883580e] user: drh branch: sessions, size: 196698)
2011-05-04
17:35
[b2070c92] part of check-in [af279f36] Merge latest trunk changes with uri branch. (check-in: [af279f36] user: dan branch: uri, size: 194961)
2011-05-01
22:57
[67486fbf] part of check-in [7155e6f3] Backport check-ins [0900e35348f4b9bf3] and [4fead8e714c7e50] to the 3.7.2 branch. These check-ins provide hints to the btree layer for when it is possible to use a hash table rather than a btree to implement an index. The SQLite BTree layer does not use these hints, but alternative btree layers might. (check-in: [7155e6f3] user: drh branch: branch-3.7.2, size: 191843)
2011-04-27
12:08
[672ec2f4] part of check-in [ff69f823] Fix problems related to savepoint rollback and fts3. (check-in: [ff69f823] user: dan branch: vtab-conflict, size: 194951)
2011-04-26
19:21
[b6396cb7] part of check-in [fb4a3558] Extra tests for fts3. And fixes for conflict-handling related problems in fts3. (check-in: [fb4a3558] user: dan branch: vtab-conflict, size: 194354)
2011-04-25
18:49
[ac7aab11] part of check-in [6d2633a6] Add support for on conflict clauses to fts3/fts4. (check-in: [6d2633a6] user: dan branch: vtab-conflict, size: 194247)
2011-04-23
15:54
[a7f8f72a] part of check-in [68240e75] Have the ATTACH command do URI interpretation in the same way as sqlite3_open() and sqlite3_open_v2() do. (check-in: [68240e75] user: dan branch: uri, size: 193755)
2011-04-09
18:13
[4a1b6078] part of check-in [4eaef4ad] Pull all the latest trunk changes into the apple-osx branch. (check-in: [4eaef4ad] user: drh branch: apple-osx, size: 193779)
2011-04-06
22:33
[dd53dda1] part of check-in [435b57dc] Merge in the latest changes from the trunk. (check-in: [435b57dc] user: drh branch: sessions, size: 195492)
22:05
[05deeec6] part of check-in [614de91a] Fix a performance regression: Keep two btree masks in each prepared statement; one for btrees used and another for btrees that require locks. Only try to lock the btrees identified by the second mask. (check-in: [614de91a] user: drh branch: trunk, size: 193745)
2011-04-05
22:13
[b6bcbe56] part of check-in [45f20261] Merge the latest trunk changes into the sessions branch. (check-in: [45f20261] user: drh branch: sessions, size: 195534)
22:10
[ccedf7f2] part of check-in [c77a767c] Merge the latest trunk changes into the apple-osx branch. (check-in: [c77a767c] user: drh branch: apple-osx, size: 193821)
22:08
[ee58240a] part of check-in [3eeb0ff7] Suppress many harmless compiler warnings, mostly signed/unsigned comparisons within asserts or unused parameters in extensions. (check-in: [3eeb0ff7] user: drh branch: trunk, size: 193787)
18:34
[228aa306] part of check-in [a89f24e2] Remove dead code from the OP_JournalMode opcode in the VDBE. This code seems to have been useless since [f88c6367d2] on 2010-08-07. (check-in: [a89f24e2] user: drh branch: trunk, size: 193780)
17:31
[b239d70f] part of check-in [242ce7cf] Remove the mutex counter and the logic that attempts to verify that btree mutexes are held continuously. We are not making that assumption at this time. (check-in: [242ce7cf] user: drh branch: trunk, size: 194642)
13:38
[f2a706e0] part of check-in [8e885dde] Pull the latest changes from trunk (and hence from schema-parse-refactor) into the apple-osx branch. (check-in: [8e885dde] user: drh branch: apple-osx, size: 195103)
13:27
[f38def1f] part of check-in [03ca8342] Pull the latest trunk changes (and hence the schema-parse-refactor changes) into the sessions branch. (check-in: [03ca8342] user: drh branch: sessions, size: 196816)
2011-04-04
21:25
[0140a57f] part of check-in [39c00907] Additional schema mutex checks for sqlite3RootPageMoved(). Reduce the scope of sqlite3ResetInternalSchema() in a few places. (check-in: [39c00907] user: drh branch: schema-parse-refactor, size: 195069)
18:22
[1e62a4f1] part of check-in [ae8374af] Add a description of access rules for the Schema object and lots of asserts to verify that the access rules are followed. (check-in: [ae8374af] user: drh branch: schema-parse-refactor, size: 194980)
13:19
[e4afe80d] part of check-in [95d53c44] Merge the latest changes of trunk into the session branch. (check-in: [95d53c44] user: drh branch: sessions, size: 196572)
13:11
[01b975f0] part of check-in [6d78a25d] Merge in the latest changes from trunk. (check-in: [6d78a25d] user: drh branch: apple-osx, size: 194859)
13:07
[48fe95bd] part of check-in [47b79c40] Merge in the latest changes from trunk. (check-in: [47b79c40] user: drh branch: schema-parse-refactor, size: 194826)
12:29
[6488f759] part of check-in [425e3edb] Move the expired-statement test for OP_Function until after all memory has been freed. The test is still commented out, however. (check-in: [425e3edb] user: drh branch: trunk, size: 194825)
00:14
[e4d83957] part of check-in [d81708f7] Remove the BtreeMutexArray object - use the Vdbe.btreeMask field to accomplish the same result. Add a generation counter to btree mutexes in order to assert that mutexes are never temporarily dropped over a range of instructions in order to do deadlock avoidance in some subroutine. Lock all btrees in any Vdbe program that uses OP_ParseSchema. (check-in: [d81708f7] user: drh branch: trunk, size: 194844)
2011-04-03
18:19
[d975adce] part of check-in [e2a09ea7] Make sure that the constant 1 is cast to yDbType before shifting to create an attached database mask. This check-in is a follow-up and fix to the [7aaf8772274422] change that increases the maximum number of attached databases from 30 to 62. (check-in: [e2a09ea7] user: drh branch: trunk, size: 194993)
2011-04-02
16:28
[6b15a8fb] part of check-in [6a8ad6e3] Begin a series of changes designed to reduce the scope and frequency of invalidating schemas. Design goals are that the internal schema should never be deleted out from under a prepared statement that is running and that all prepared statements should be expired if the schema is invalidated. At the same time, minimize the number of schema invalidations. This change merely revises the sqlite3ResetInternalSchema() function to use -1 as the wildcard for "all" rather than 0, so that we can reset the main schema independently of all the others. (check-in: [6a8ad6e3] user: drh branch: schema-parse-refactor, size: 194863)
09:44
[a45a6a0d] part of check-in [71a799b0] Fix a race condition in OP_ParseSchema. (check-in: [71a799b0] user: dan branch: trunk, size: 194861)
2011-03-31
18:36
[9fa02304] part of check-in [a5aae174] Provide hints to the btree layer Next and Previous primitives to let them know if they can be no-ops if the underlying index is unique. (check-in: [a5aae174] user: drh branch: branch-3.7.2, size: 191729)
2011-03-30
21:04
[4784ded3] part of check-in [66345214] Add the SQLITE_ENABLE_PREUPDATE_HOOK compile-time option. (check-in: [66345214] user: drh branch: sessions, size: 196438)
02:03
[175a42d0] part of check-in [b11d941e] Merge in all the latest changes from trunk. (check-in: [b11d941e] user: drh branch: sessions, size: 196095)
2011-03-24
01:34
[e3f37ca0] part of check-in [b6e268fc] The changes to fix [f7b4edece25c9948] mean that the schema is always loaded whenever a prepared statement is running. This means that a couple of branches can be eliminated and one operand of OP_ParseSchema can be removed. (check-in: [b6e268fc] user: drh branch: trunk, size: 194691)
2011-03-19
08:38
[c90edafd] part of check-in [24d4d5dd] Fix a problem with INTEGER PRIMARY KEY columns and the pre-update hook. (check-in: [24d4d5dd] user: dan branch: sessions, size: 196790)
02:37
[3f6d9116] part of check-in [1b736ac2] Merge the fix to ticket [f7b4edece25c99485] into the sessions branch. (check-in: [1b736ac2] user: drh branch: sessions, size: 196587)
2011-03-18
21:55
[8430780c] part of check-in [36c04dd1] Add a generation counter to the Schema object and enhance OP_VerifySchema to also check the Schema generation. Fix for ticket [f7b4edece25c99]. (check-in: [36c04dd1] user: drh branch: trunk, size: 195386)
12:35
[94cd191b] part of check-in [94fd5bb6] Merge all the latest trunk enhancements into the sessions branch. (check-in: [94fd5bb6] user: drh branch: sessions, size: 196430)
2011-03-16
19:59
[fbf11bd6] part of check-in [526545c4] Add the sqlite3_preupdate_new() API, for retrieving the new.* values from within a pre-update callback. (check-in: [526545c4] user: dan branch: sessions, size: 196280)
09:49
[11764408] part of check-in [b0015a1c] Remove the sqlite3_transaction_hook() API. (check-in: [b0015a1c] user: dan branch: sessions, size: 196359)
2011-03-06
21:28
[ac6e8b82] part of check-in [01a79d5a] Remove dead code identified by the clang static analyzer. (check-in: [01a79d5a] user: drh branch: trunk, size: 195229)
2011-03-05
20:59
[038e5689] part of check-in [abf21394] Fix all known instances of signed-integer overflow. Within SQL expressions, integer overflow now forces coercion to floating point. The shift operators work with any integer right-hand operand with negative values reversing the direction of the shift. (check-in: [abf21394] user: drh branch: trunk, size: 195305)
13:54
[953d44f0] part of check-in [04abab71] Fix an instance of signed arithmetic overflow and an one bit-shift overflow. Mark six other signed arithmetic overflow locations that need fixing. (check-in: [04abab71] user: drh branch: trunk, size: 195093)
2011-03-03
20:06
[2c523bc1] part of check-in [093d8cd8] Add the experimental sqlite3_transaction_hook() API. (check-in: [093d8cd8] user: dan branch: sessions, size: 196870)
2011-03-01
18:42
[4330cc94] part of check-in [6145d7b8] Add the experimental sqlite3_preupdate_hook() API. (check-in: [6145d7b8] user: dan branch: sessions, size: 196363)
2011-02-22
03:34
[34305497] part of check-in [1bca0a7e] When a stale schema-cookie is seen, expire only the one statement that encountered the bad cookie, not every statement on the database connection. Ticket [b72787b1a7cea1f] (check-in: [1bca0a7e] user: drh branch: trunk, size: 195079)
2011-02-07
23:56
[167432ac] part of check-in [f611a5a8] Cleanup to the OP_Checkpoint opcode. (check-in: [f611a5a8] user: drh branch: trunk, size: 195100)
2011-02-02
16:34
[7f54982d] part of check-in [bac7342c] Merge in the blocking-checkpoint enhancement, including the new sqlite3_wal_checkpoint_v2() interface and the PRAGMA wal_checkpoint(full) statement. (check-in: [bac7342c] user: drh branch: trunk, size: 194761)
2010-12-07
15:49
[624c6185] part of check-in [d2ccf7fc] Merge in all changes to the trunk through version 3.7.4rc3. (check-in: [d2ccf7fc] user: drh branch: apple-osx, size: 194164)
2010-12-03
18:57
[5d310eaf] part of check-in [841cf7a7] Remove an over-zealous call to memAboutToChange() from OP_MustBeInt. OP_MustBeInt will never invalidate the Mem.z pointer so the memAboutToChange() call is not necessary. (check-in: [841cf7a7] user: drh branch: trunk, size: 194130)
2010-11-26
16:49
[21a9285f] part of check-in [c412f612] Fix various compiler warnings. (check-in: [c412f612] user: drh branch: trunk, size: 194159)
2010-11-23
20:25
[7aef0a9e] part of check-in [30c26c3b] The previous check-in with changes to the max_page_count pragma was not quite correct. This check-in fixes the problem. (check-in: [30c26c3b] user: drh branch: trunk, size: 194137)
18:59
[c7e4f78c] part of check-in [2031974b] Fix the max_page_count pragma so that it will not set to a value smaller than the current database size, as the documentation requires. Also, remove all occurances of atoi() from the core. (check-in: [2031974b] user: drh branch: trunk, size: 194018)
2010-11-19
23:50
[d6236836] part of check-in [c8bc057c] Merge all the latest changes from the trunk into the apple-osx branch. (check-in: [c8bc057c] user: drh branch: apple-osx, size: 193512)
2010-11-18
16:32
[06f868b6] part of check-in [e376480f] Merge with latest trunk changes. (check-in: [e376480f] user: dan branch: blocking-checkpoint, size: 194109)
12:31
[63bb1e56] part of check-in [501b743b] Prevent a possible segfault when the sqlite3_value_numeric_type() interface is misused to try to determine the numeric type of the NULL value returned from sqlite3_column_value() with an invalid column number. (check-in: [501b743b] user: drh branch: trunk, size: 193478)
12:11
[4bec828e] part of check-in [72787c01] Modify the interface to the blocking wal-checkpoint functionality. (check-in: [72787c01] user: dan branch: blocking-checkpoint, size: 194139)
2010-11-16
18:56
[b86b09be] part of check-in [7e3fc2c8] Add experimental command "PRAGMA wal_blocking_checkpoint", which uses the busy-handler to block until all readers have finished in order to ensure the next writer will be able to wrap around to the start of the log file. (check-in: [7e3fc2c8] user: dan branch: blocking-checkpoint, size: 193568)
2010-09-30
18:12
[e1aa9179] part of check-in [afb0fd0b] Remove unnecessary calls to memAboutToChange() in vdbe.c. An affinity change no longer invalidates shallow copies. (check-in: [afb0fd0b] user: drh branch: experimental, size: 193508)
16:51
[447577ca] part of check-in [43fef1ca] Changes to remove sqlite3FitsIn64Bits(). (check-in: [43fef1ca] user: shaneh branch: experimental, size: 193746)
14:48
[597ef9ac] part of check-in [ce6cc16e] Fix the handling of default values for ALTER TABLE ADD COLUMN columns so that is able to deal with negative numbers, including large negative numbers. Ticket [8454a207b9fd2243c4] (check-in: [ce6cc16e] user: drh branch: experimental, size: 193743)
00:50
[04cf7c1b] part of check-in [14eed3a0] Rework the text to numeric conversion routines so that they work with either UTF8 or UTF16 and do not require a NULL terminator. This allowed text to numeric conversion without reallocating the string. (check-in: [14eed3a0] user: drh branch: experimental, size: 193805)
2010-09-28
07:11
[69812aab] part of check-in [88b84bf1] Replace some unreachable branch instructions with assert() statements. (check-in: [88b84bf1] user: drh branch: bug-b351d95f9c, size: 194184)
06:00
[4b1e4b89] part of check-in [ff49a5f0] Tweaks to help facilitate structural test coverage. (check-in: [ff49a5f0] user: drh branch: bug-b351d95f9c, size: 194129)
00:25
[56e4697a] part of check-in [d0342f4b] Continuing work toward detecting and fixing shallow-copy misuse. (check-in: [d0342f4b] user: drh branch: bug-b351d95f9c, size: 194028)
2010-09-27
21:09
[00f017d9] part of check-in [8b8e1732] Add assert() statements that fail when a shallow copy is accessed after the original has been modified. These assert() statements should detect the kinds of subtle SCopy bugs such as caused the fault in ticket [b351d95f9cd5ef17e9d9dbae18f]. (check-in: [8b8e1732] user: drh branch: bug-b351d95f9c, size: 194038)
2010-09-03
18:50
[1373d40f] part of check-in [f06c7b19] Documentation enhancements for sqlite3_db_status(). Evidence marks on the SQL function call intrface. (check-in: [f06c7b19] user: drh branch: trunk, size: 191390)
2010-09-01
11:50
[8a9f0c55] part of check-in [740adca3] Add an assert() with an evidence mark to show that automatically generated rowids are positive. (check-in: [740adca3] user: drh branch: trunk, size: 191340)
02:37
[20ef377f] part of check-in [63142367] Ensure randomly generated rowids never go negative. (check-in: [63142367] user: shaneh branch: trunk, size: 191242)
2010-08-31
16:25
[41a186c0] part of check-in [c2a84430] Do not clear the internal "schema has changed" flag when performing a savepoint rollback. The schema changes may not have taken place within the savepoint being rolled back. (check-in: [c2a84430] user: dan branch: trunk, size: 190909)
2010-08-30
22:15
[36d9521b] part of check-in [4fead8e7] Provide hints to the btree layer during the creation of transient tables for when it is possible for those tables to use a hash rather than a binary tree. No use is currently made of those hints, though assert() statement verify their accuracy. (check-in: [4fead8e7] user: drh branch: trunk, size: 190851)
15:02
[42b14547] part of check-in [0900e353] Remove the sqlite3BtreeFactory() wrapper routine. All modules now call sqlite3BtreeOpen() directly. (check-in: [0900e353] user: drh branch: trunk, size: 190692)
01:17
[6d787964] part of check-in [49c05b4e] Updates to comments on the VDBE opcodes. (check-in: [49c05b4e] user: drh branch: trunk, size: 190737)
2010-08-24
16:59
[d735223e] part of check-in [d1c87532] Fixes to allow fts3 tables to be renamed mid-transaction. (check-in: [d1c87532] user: dan branch: trunk, size: 191113)
2010-08-18
00:24
[60ef7696] part of check-in [866e9286] Merge the 3.7.1 pre-release snapshot changes as of 2010-08-18 into the apple-osx branch. (check-in: [866e9286] user: drh branch: apple-osx, size: 191129)
00:09
[a4c6eed8] part of check-in [5e2ee7db] Updating apple-osx with minor source fixes, database truncate and replace private calls and a bunch of conditionalization for tests running in different environments (check-in: [5e2ee7db] user: adam branch: apple-osx, size: 191182)
2010-08-06
02:10
[66c262a9] part of check-in [a7a15547] Change two automatic array variables into static constant arrays. Update and reformat some comments for cleaner presentation. (check-in: [a7a15547] user: drh branch: trunk, size: 191095)
2010-07-24
16:34
[cefff415] part of check-in [ac1f37a6] Make sure all memory from sqlite3DbMalloc() is freed by sqlite3DbFree() and all memory from sqlite3_malloc() is freed by sqlite3_free(). (check-in: [ac1f37a6] user: drh branch: malloc-enhancement, size: 191094)
2010-07-13
23:41
[6294de33] part of check-in [6336de7a] Tweaks to the new shared-memory interface design - mostly comment changes. (check-in: [6336de7a] user: drh branch: experimental, size: 191148)
2010-07-08
17:40
[14d3e04d] part of check-in [e396184c] Change the journal_mode pragma to remove the "default journal mode" concept. The journal_mode pragma only effects currently attached databases and does not change the behavior of future attachments. (check-in: [e396184c] user: drh branch: trunk, size: 191138)
2010-07-03
05:56
[046cd38d] part of check-in [4f62dbcf] Change code in OP_Rewind to avoid a valgrind warning following an error in the btree layer. This change does not fix any bug, just a warning. (check-in: [4f62dbcf] user: dan branch: mistake, size: 191447)
2010-07-02
19:36
[3a241b21] part of check-in [565ff65c] Omit the OP_JournalMode opcode from the VDBE when SQLITE_OMIT_PRAGMA is defined. (check-in: [565ff65c] user: drh branch: mistake, size: 191458)
2010-06-22
14:49
[8b3bae95] part of check-in [4775b8f9] When trying to transition from journal_mode MEMORY to WAL, use OFF as an intermediate journal mode. (check-in: [4775b8f9] user: drh branch: trunk, size: 191401)
2010-06-18
16:13
[290d20ed] part of check-in [ce0a4a9b] Rearrange some code in OP_JournalMode to avoid incorrect returns from subsequent invocations of "PRAGMA journal_mode" following an IO error. (check-in: [ce0a4a9b] user: dan branch: experimental, size: 191179)
2010-06-17
16:44
[e115585b] part of check-in [b9b11855] A different fix to [fc62af4523]. When changing from journal_mode=PERSIST or TRINCATE to some other rollback mode, delete the journal file only if a RESERVED lock can be obtained on the database file first. (check-in: [b9b11855] user: dan branch: experimental, size: 191327)
2010-06-11
17:01
[8a910a19] part of check-in [95cc3f6f] Refactor and simplify the logic used to change journalmode. (check-in: [95cc3f6f] user: drh branch: trunk, size: 191470)
2010-05-31
14:28
[965247d9] part of check-in [cdbb4e7c] Remove the tests that enable tracing based on the existance of the "vdbe_*" files when in SQLITE_DEBUG mode. (check-in: [cdbb4e7c] user: drh branch: wal-incr-ckpt, size: 191628)
2010-05-15
01:09
[950cd4e9] part of check-in [b9af4ad2] Silently ignore errors trying to set the default journal_mode while doing an ATTACH. (check-in: [b9af4ad2] user: drh branch: trunk, size: 192462)
2010-05-12
18:01
[8c6301a7] part of check-in [2b00152c] Refactoring the VFS-SHM methods used by WAL. This version compiles and runs non-WAL test cases but crashes and burns on wal.test. (check-in: [2b00152c] user: drh branch: wal-refactor, size: 192458)
13:50
[f41188f6] part of check-in [7838163d] Remove the OP_Variable optimization of check-in [48b77b04935d894] since it can lead to malfunctions as described in ticket [26ff0c82d1e90]. (check-in: [7838163d] user: drh branch: trunk, size: 192470)
2010-05-11
14:00
[27edb0be] part of check-in [cf3d1e0b] When an attempt to change journal_mode fails due to locks, be sure to leave internal structures in a consistent state. (check-in: [cf3d1e0b] user: drh branch: trunk, size: 192868)
2010-05-10
11:20
[066dab3a] part of check-in [0bdea4cf] Enhance the OP_JournalMode opcode with an ignore-errors option and use that option the ATTACH command. (check-in: [0bdea4cf] user: drh branch: trunk, size: 192826)
2010-05-06
21:37
[267e0431] part of check-in [c3520460] The PRAGMA journal_mode=WAL; command now makes WAL the default journal mode for new databases added with ATTACH, so the behavior is consistent with the other journal modes. (check-in: [c3520460] user: drh branch: trunk, size: 192305)
16:06
[e4f1d6c2] part of check-in [56a17dae] After throwing an error to say that one cannot change into WAL mode within a tranactions, do not then go and change into WAL mode. (check-in: [56a17dae] user: drh branch: trunk, size: 191404)
2010-05-03
08:04
[8be37a1b] part of check-in [9803196d] Add the sqlite3_wal_checkpoint() and sqlite3_wal_autocheckpoint() APIs. (check-in: [9803196d] user: dan branch: wal, size: 191389)
2010-05-01
16:40
[b2e2b70e] part of check-in [9b230c43] Support compile-time option SQLITE_OMIT_WAL, for building without WAL support. (check-in: [9b230c43] user: dan branch: wal, size: 191585)
00:59
[2a5ccf3a] part of check-in [d1fcccec] Do not allow journal_mode=WAL if the underlying VFS does not support xShmOpen. (check-in: [d1fcccec] user: drh branch: wal, size: 191493)
2010-04-29
22:34
[21a96eee] part of check-in [62db5fa3] Refactor wal.c to use the VFS. This check-in compiles and links and works ok as long as you leave WAL turned off, but WAL does not work. (check-in: [62db5fa3] user: drh branch: wal, size: 190955)
2010-04-26
17:42
[da7ee09f] part of check-in [30d01344] Do not attempt to set journal_mode=wal on :memory: or temp file databases. (check-in: [30d01344] user: dan branch: wal, size: 190955)
2010-04-22
06:27
[09e88e8b] part of check-in [12363184] Further tests and changes related to switching between WAL and rollback modes. (check-in: [12363184] user: dan branch: wal, size: 190818)
2010-04-21
18:37
[4d99d175] part of check-in [9f4f933f] Tests for (and changes to) the code to switch between WAL and rollback modes. (check-in: [9f4f933f] user: dan branch: wal, size: 190780)
2010-04-20
18:53
[304851b3] part of check-in [96bef18c] Use the read and write version fields of the database header to mark a database as operating in wal-mode. (check-in: [96bef18c] user: dan branch: wal, size: 190934)
2010-04-13
11:56
[2e2aaa76] part of check-in [27dc5977] Remove old code to interpret an argument (no longer used) to "PRAGMA checkpoint". (check-in: [27dc5977] user: dan branch: wal, size: 187916)
2010-04-12
19:00
[23e5462d] part of check-in [409d61ba] Import experimental write-ahead-logging code. (check-in: [409d61ba] user: dan branch: wal, size: 188150)
2010-04-07
14:32
[2abd931e] part of check-in [064c283e] Fix the trace output of the OP_Function opcode to show the correct register numbers. (check-in: [064c283e] user: drh branch: experimental, size: 187609)
2010-04-06
22:33
[fccdf72a] part of check-in [abbf16e5] Veryquick.test is now working. The SQLITE_STMTSTATUS_AUTOINDEX counter added. (check-in: [abbf16e5] user: drh branch: experimental, size: 187607)
2010-04-05
15:11
[011f41a5] part of check-in [8e1d7ef4] Minor comment changes to the OP_OpenEphemeral header. No changes to code. (check-in: [8e1d7ef4] user: drh branch: trunk, size: 187326)
2010-03-31
17:47
[760a0857] part of check-in [06b9ca32] Clarification of the implementation of SQLITE_STMTSTATUS_FULLSCAN_STEP. No logical code changes - just commenting and layout changes to improve readability. (check-in: [06b9ca32] user: drh branch: trunk, size: 187335)
2010-03-30
22:58
[afd58607] part of check-in [79e22b95] Continuing refinements to the filesize-in-header enhancement. (check-in: [79e22b95] user: drh branch: trunk, size: 187042)
2010-03-05
16:32
[8acca6da] part of check-in [8858042f] Modify the vdbe so that the comparison operator opcodes do not modify the data type of operands. Fix for [aa92c76cd4]. (check-in: [8858042f] user: dan branch: trunk, size: 187392)
2010-03-04
00:53
[4d8ff247] part of check-in [5322d1df] Increase the maximum length of an sqlite3_log() result string. Provide more details on the statement abort log message. (check-in: [5322d1df] user: drh branch: trunk, size: 186672)
2010-02-26
01:46
[8b705e48] part of check-in [4927c62d] Minor changes to silence some compiler warnings with MSVC. (check-in: [4927c62d] user: shaneh branch: trunk, size: 186603)
2010-02-25
14:44
[412c486b] part of check-in [a2550597] Add some technically unnecessary variable initializations to silence compiler warnings. (check-in: [a2550597] user: dan branch: branch-3.6.1, size: 160983)
02:32
[1a07ddbd] part of check-in [46f406b2] Merge in all of the logging enhancements. This is a cherrypick merge of the following check-ins: [103321e37a], [a8076aede3], [6d910245ad], [7c4cca6d1a], [edea3bb740], [1a6d4bb130], [a8c984c1d6], [69a493182f], and [1168763d2c]. (check-in: [46f406b2] user: drh branch: branch-3.6.22, size: 186249)
01:47
[e65ccd13] part of check-in [95882598] Start a new branch for release 3.6.22 plus limited enhancements and fixes. This first check-in includes the performance enhancements of check-ins [26cb1df735], [61a2c8d4d6], and [27dc5b1c52] (check-in: [95882598] user: drh branch: branch-3.6.22, size: 187510)
2010-02-24
21:44
[6de14d95] part of check-in [1168763d] Add testcase() macros beside each sqlite3_log() call to make sure it is tested with both logging enable and disabled. (check-in: [1168763d] user: drh branch: trunk, size: 186603)
19:23
[815ec0f5] part of check-in [69a49318] Add a sqlite3_log() call on anonymous constraint failures. Fix the output of test cases having to do with improved reprepare reporting. Fix the VACUUM command to report more helpful error messages when things go wrong. (check-in: [69a49318] user: drh branch: trunk, size: 186513)
2010-02-23
20:11
[eb8b0831] part of check-in [edea3bb7] Continuing improvements to error reporting and the sqlite3_log() routine. (check-in: [edea3bb7] user: drh branch: trunk, size: 186418)
17:36
[b0769a07] part of check-in [7c4cca6d] Remove the obsolete sqlite3SafetyOn() mechanism. Add additional logging output for CORRUPT, and CANTOPEN errors. (check-in: [7c4cca6d] user: drh branch: trunk, size: 186373)
2010-02-15
15:17
[428411c6] part of check-in [9acfb069] Fix a typo in the documentation for the OP_OpenPseudo opcode. (check-in: [9acfb069] user: drh branch: trunk, size: 187864)
2010-02-05
14:12
[78f21679] part of check-in [61a2c8d4] Remove the use of 64-bit math in the offset computations of the OP_Column opcode for a small performance improvement. (check-in: [61a2c8d4] user: drh branch: trunk, size: 187868)
2010-01-13
16:25
[b0c18b5c] part of check-in [e12da0d3] When SQLITE_OMIT_FLOATING_POINT is defined, make sure the result of a mathematical operation is always tagged as an integer. (check-in: [e12da0d3] user: drh branch: trunk, size: 187723)
2010-01-12
23:54
[1e2c66f2] part of check-in [0209f171] Make sure internal queries are well ordered, even when the reverse_unordered_selects pragma is in effect. Ticket [eb942c64a157]. (check-in: [0209f171] user: drh branch: trunk, size: 187621)
17:04
[9035d0ec] part of check-in [66bab856] Use #ifdefs to disable unused code when SQLITE_OMIT_FLOATING_POINT is defined. (check-in: [66bab856] user: drh branch: trunk, size: 187606)
2010-01-01
18:57
[e0576573] part of check-in [0e918c54] Add evidence marks associated with autoincrement. (check-in: [0e918c54] user: drh branch: trunk, size: 187365)
2009-12-03
04:40
[5ed06318] part of check-in [e3aa0870] Fix a couple of compiler warnings under MSVC. (check-in: [e3aa0870] user: shaneh branch: trunk, size: 186980)
2009-11-25
18:03
[91b65712] part of check-in [545cfb3b] Initial check-in of code that inserts tokenizations of the values for bound parameters into the output of sqlite3_trace(). (check-in: [545cfb3b] user: drh branch: trunk, size: 186968)
2009-11-24
16:26
[343175b0] part of check-in [cb74b81b] Fix a tracing macro in the VDBE in the VColumn opcode. (check-in: [cb74b81b] user: drh branch: trunk, size: 186896)
2009-11-20
15:02
[89d618dd] part of check-in [e493b093] If the root pages numbers of the internal schema are adjusted due to autovacuum on a DROP TABLE statement and that statement later aborts (for example, due to an OOM error) then reset the internal schema at the conclusion of the statement. Partial fix for ticket [564d412f15a]. (check-in: [e493b093] user: drh branch: trunk, size: 186896)
2009-11-18
23:01
[95fa2b51] part of check-in [85940468] Performance improvement by avoiding unnecessary calls to memset(). (check-in: [85940468] user: drh branch: trunk, size: 186733)
2009-11-17
23:59
[ed60d48b] part of check-in [9744ffb3] Enhancements to the VDBE opcode loop to reduce the number of machine-code instructions evaluated by about 10%. (check-in: [9744ffb3] user: drh branch: trunk, size: 186676)
18:31
[678dc437] part of check-in [ebb0c8a3] Code generator tries to avoid pointless OP_IsNull and OP_Affinity opcodes. (check-in: [ebb0c8a3] user: drh branch: trunk, size: 185794)
2009-11-14
23:22
[0bc1c3aa] part of check-in [d622ac6a] Optimizations to the main loop inside sqlite3VdbeExec() to help VDBE byte code run a few percent faster. (check-in: [d622ac6a] user: drh branch: trunk, size: 185817)
18:04
[0abb88a1] part of check-in [8bd3cc82] Make the sqlite3VdbeExec() function about 2% faster by storing the opcode array in a local variable. (check-in: [8bd3cc82] user: drh branch: trunk, size: 186206)
2009-11-13
20:52
[74158ea3] part of check-in [ed820f45] Performance improvements and size reductions on the OP_Seek* family of VDBE opcodes. (check-in: [ed820f45] user: drh branch: trunk, size: 186144)
19:43
[bc7fe6c7] part of check-in [3352b3eb] Simplify the OPFLG processing logic in the VDBE for a speed boost in the VDBE processing loop and a reduction in code size. (check-in: [3352b3eb] user: drh branch: trunk, size: 185582)
17:05
[3067cfcc] part of check-in [bdc45ba7] Force 8-byte memory alignment on memory allocated for VDBE cursors. (check-in: [bdc45ba7] user: drh branch: trunk, size: 186791)
2009-11-12
19:59
[d035dd3b] part of check-in [b9eab885] Enhance the OP_Found and OP_NotFound opcodes so that they can accept an array of registers as an unpacked record in addition to a record built using OP_MakeRecord. Use this to avoid OP_MakeRecord calls during IN expression processing. (check-in: [b9eab885] user: drh branch: trunk, size: 186771)
17:52
[7c023817] part of check-in [fcff5b7e] Factor out the IN operator code generation into a subroutine. Use this subroutine to implement both logic and branching versions of the IN operator. (check-in: [fcff5b7e] user: drh branch: trunk, size: 186111)
03:13
[393a6766] part of check-in [39d5b292] Adjustments to the implementation of LIMIT so that it uses fewer opcodes. (check-in: [39d5b292] user: drh branch: trunk, size: 186836)
2009-11-10
01:30
[7e112c50] part of check-in [f6c045f6] Remove the obsolete "$Id:$" RCS identifier strings from the source code. (check-in: [f6c045f6] user: drh branch: trunk, size: 186735)
2009-10-29
13:48
[a435ffcf] part of check-in [e7984ad2] Reduce the memory required by prepared statements that use the IN operator with a list on the right and an INTEGER PRIMARY KEY on the left. (check-in: [e7984ad2] user: drh branch: trunk, size: 186799)
2009-10-16
16:21
[f0d6e7db] part of check-in [50136840] Merge the sqlite3_reoptimize() changes into the trunk. (check-in: [50136840] user: drh branch: trunk, size: 186490)
14:55
[b00293fa] part of check-in [174477bc] Experimental fix for [f777251dc7]. This may be changed yet. (check-in: [174477bc] user: dan branch: trunk, size: 186608)
2009-10-15
23:03
[1d3415df] part of check-in [f256bc07] When a forced rollback occurs, cause all active statements on the same database connection to halt immediately with an SQLITE_ABORT error code. This is a partial fix to ticket [f777251dc7]. (check-in: [f256bc07] user: drh branch: trunk, size: 186491)
19:45
[fcf35978] part of check-in [c304b44c] On any rollback, immediately interrupt all running statements on the same database connection. This is a partial fix for ticket [f777251dc7]. (check-in: [c304b44c] user: drh branch: experimental, size: 186396)
18:35
[a03993ed] part of check-in [9bd6f3d8] Add the experimental sqlite3_reoptimize() API. (check-in: [9bd6f3d8] user: dan branch: experimental, size: 186411)
2009-10-13
15:36
[93fb0b49] part of check-in [bc110117] When a write transaction fails to being because the database is read-only, fail right away. Do not give the error code an opportunity to be overwritten with SQLITE_OK. Ticket [5ee23731f15]. (check-in: [bc110117] user: drh branch: trunk, size: 186529)
2009-10-07
18:41
[df2824f4] part of check-in [83828679] Add some tests of statements in foreignkeys.html. (check-in: [83828679] user: dan branch: trunk, size: 186577)
2009-09-25
17:03
[cb9dae4c] part of check-in [519144ac] Avoid checking if an insert or delete has "fixed" an outstanding FK constraint violation if the constraint counter indicates that the database contains no such violations. (check-in: [519144ac] user: dan branch: trunk, size: 186576)
2009-09-23
17:30
[a5da14fe] part of check-in [1a32149c] Do not check immediate foreign key constraints until the end of the statement. This matches the postgres behaviour. (check-in: [1a32149c] user: dan branch: trunk, size: 185516)
02:29
[4946e2ac] part of check-in [98853f61] Generalize the IS and IS NOT operators so that their right-hand side can be an arbitrary expression and not simple the constant NULL. They work like = and <> except that NULL values compare equal to one another an unequal to everything else. (check-in: [98853f61] user: drh branch: trunk, size: 184941)
2009-09-22
07:13
[03857c07] part of check-in [c447cb37] Fix compilation errors when OMIT_FOREIGN_KEY is defined. (check-in: [c447cb37] user: dan branch: trunk, size: 183351)
2009-09-19
17:00
[93040bd3] part of check-in [d5d39981] Check in implementation of foreign key constraints. (check-in: [d5d39981] user: dan branch: trunk, size: 183351)
2009-09-10
19:09
[30bf8ff5] part of check-in [5588cc96] Cleanup of warnings on MSVC build. (check-in: [5588cc96] user: shane branch: trunk, size: 182113)
2009-09-09
15:06
[3c094e85] part of check-in [9a4c59a2] Add some tests that involve BEFORE UPDATE or BEFORE DELETE triggers messing with the row being updated or deleted. SQLite behaviour in this scenario is undefined, so the tests just check that the behaviour is relatively sane and there are no crashes. (check-in: [9a4c59a2] user: dan branch: trunk, size: 181971)
2009-09-08
19:15
[aba680ec] part of check-in [aec9dbd8] Combine the OP_Statement and OP_Transaction opcodes. (check-in: [aec9dbd8] user: dan branch: trunk, size: 181979)
02:27
[5dc91d9b] part of check-in [b271e166] Further simplifications to the VDBE - removing functionality that is no longer used. (check-in: [b271e166] user: drh branch: trunk, size: 182446)
01:14
[3ead9f63] part of check-in [52449a95] Code simplifications, especially to the pseudo-table logic, and comment improvements. (check-in: [52449a95] user: drh branch: trunk, size: 182387)
2009-09-07
18:14
[4e3c6895] part of check-in [d7dc8b43] Add the SQLITE_LIMIT_TRIGGER_DEPTH option to sqlite3_limit(). (check-in: [d7dc8b43] user: drh branch: trunk, size: 182442)
04:38
[a158f0f3] part of check-in [26cd015c] Warning cleanup from the MSVC compile. (check-in: [26cd015c] user: shane branch: trunk, size: 182460)
2009-09-01
17:11
[addf5f6f] part of check-in [e016cca3] Change "PRAGMA disable_recursive_triggers" to "PRAGMA recursive_triggers". Also a fix for compiling with OMIT_TRIGGER defined. (check-in: [e016cca3] user: dan branch: trunk, size: 182455)
12:16
[fcc15fb2] part of check-in [38a9327b] More fixes and comment updates. (check-in: [38a9327b] user: dan branch: trunk, size: 182452)
2009-08-31
15:27
[69890b64] part of check-in [85d9f23b] More fixes for test cases. (check-in: [85d9f23b] user: dan branch: trunk, size: 182038)
2009-08-30
11:42
[5e9d870e] part of check-in [9eb91efd] Fixes for new triggers scheme. (check-in: [9eb91efd] user: dan branch: trunk, size: 181567)
2009-08-28
18:53
[e4530952] part of check-in [9b9c1921] Changes to support recursive triggers. (check-in: [9b9c1921] user: dan branch: trunk, size: 182067)
2009-08-18
16:24
[464e2e30] part of check-in [ded9dec6] Change the sqlite_stat2 schema to be more flexible. (check-in: [ded9dec6] user: dan branch: trunk, size: 177351)
2009-08-17
17:06
[f2c07c64] part of check-in [dd96bda2] First version of sqlite_stat2 (schema forces exactly 10 samples). (check-in: [dd96bda2] user: dan branch: trunk, size: 178695)
2009-07-24
17:58
[0ce57f82] part of check-in [5d9e767a] Allow virtual tables to be used in shared-cache mode. (CVS 6928) (check-in: [5d9e767a] user: danielk1977 branch: trunk, size: 177339)
2009-07-22
00:35
[3f4b02f5] part of check-in [96cfd079] Further simplifications to btree.c, especially the sqlite3BtreeKey() and sqlite3BtreeData() functions. New assert() statements added to verify that these routines are called correctly. (CVS 6917) (check-in: [96cfd079] user: drh branch: trunk, size: 177542)
2009-07-14
18:35
[b6fadd91] part of check-in [0c710c1b] Add comments and assert() statements to show that the return value from sqlite3BtreeKeySize() and sqlite3BtreeData() usually do not matter. Ticket #3968. Also remove a NEVER() macro that can sometimes be true - discovered while testing the previous change. (CVS 6893) (check-in: [0c710c1b] user: drh branch: trunk, size: 177374)
02:33
[f76edc03] part of check-in [25dd3422] Make sure the IN operator works with zeroblobs. Ticket #3965. Other simplifications associated with structural testing. (CVS 6890) (check-in: [25dd3422] user: drh branch: trunk, size: 176865)
2009-07-07
15:47
[4f702761] part of check-in [06dcfe72] Do not load the root-page of a b-tree table/index when opening a cursor. Instead, allow it to be loaded when the cursor is first used (in function moveToRoot()). Also move the root-page flags sanity checks that were a part of the OP_OpenRead/OpenWrite opcodes into the moveToRoot() function. (CVS 6856) (check-in: [06dcfe72] user: danielk1977 branch: trunk, size: 176853)
2009-07-03
16:25
[bdf25930] part of check-in [e2112d61] Simplify the way the read-uncommitted flag is handled to facilitate test coverage. (CVS 6841) (check-in: [e2112d61] user: danielk1977 branch: trunk, size: 177584)
2009-07-02
07:47
[7e578177] part of check-in [e3c055f1] Cause opening a transaction on a sharable b-tree module automatically obtain a read-lock on page 1. This means there is no way for sqlite3BtreeGetMeta() to fail. (CVS 6836) (check-in: [e3c055f1] user: danielk1977 branch: trunk, size: 177522)
2009-06-29
06:00
[f2462fdb] part of check-in [f17ef378] Cause incremental-blob read/write operations lock shared-cache tables in the same way as normal SQL read/writes. Add complex assert statements to make sure tehe correct shared-cache locks are held when accessing the database. Eliminate some redundant checks from btree.c. (CVS 6830) (check-in: [f17ef378] user: danielk1977 branch: trunk, size: 177569)
2009-06-26
16:32
[dfd508c9] part of check-in [f01a9fc3] Removed a few compiler warnings under MSVC. (CVS 6825) (check-in: [f01a9fc3] user: shane branch: trunk, size: 177567)
15:14
[e16028ce] part of check-in [96729b2d] Remove the priorNewRowid field from the sqlite3 structure. Use the last_insert_rowid as the initial value when searching for a new random rowid in the OP_NewRowid opcode. (CVS 6824) (check-in: [96729b2d] user: drh branch: trunk, size: 177613)
2009-06-25
01:47
[e7831536] part of check-in [8b340766] Improved handling of oversize string and blob errors. Other simplifications in support of full coverage testing. (CVS 6813) (check-in: [8b340766] user: drh branch: trunk, size: 177646)
2009-06-24
13:16
[5c4a5950] part of check-in [52eac078] Remove an ALWAYS() macro from vdbe.c that sometimes fails on thread tests. (CVS 6812) (check-in: [52eac078] user: drh branch: trunk, size: 177603)
2009-06-23
14:15
[5337789f] part of check-in [3ffc93d7] Simplifications to vdbe.c to promote better test coverage. (CVS 6802) (check-in: [3ffc93d7] user: drh branch: trunk, size: 177611)
2009-06-22
19:05
[c5a0a208] part of check-in [308f2e61] Simplifications to vdbe.c and it service routines in support of coverage testing. (CVS 6799) (check-in: [308f2e61] user: drh branch: trunk, size: 177481)
12:05
[e92e2f41] part of check-in [bda38f5e] Make sure sqlite3BtreeCreateTable() returns an error code if the largest rootpage field is invalid in auto_vacuum mode. Update file-format comments to describe all of the "meta" values. (CVS 6797) (check-in: [bda38f5e] user: drh branch: trunk, size: 176201)
11:10
[15076381] part of check-in [c8f009bd] More simplifications to vdbe.c. Remove a NEVER() from vdbe.c that is possible after all. (CVS 6796) (check-in: [c8f009bd] user: drh branch: trunk, size: 176194)
00:55
[67ec3440] part of check-in [16680f05] Simplifications to vdbe.c in support of coverage testing. (CVS 6794) (check-in: [16680f05] user: drh branch: trunk, size: 176305)
2009-06-19
22:23
[51b0d739] part of check-in [605520ec] Do now allow a COMMIT to occur while even a single write operating is in progress. (CVS 6790) (check-in: [605520ec] user: drh branch: trunk, size: 177250)
14:06
[ad47fc3d] part of check-in [37ae5f5e] Reorganize and cleanup the prepared statement object. Remove code that has been commented out for ages and is no longer relevant to anything. (CVS 6786) (check-in: [37ae5f5e] user: drh branch: trunk, size: 177250)
2009-06-18
00:41
[09925c46] part of check-in [767ef1e4] Remove the P3 operand from OP_IsNull since it was not being used. (CVS 6779) (check-in: [767ef1e4] user: drh branch: trunk, size: 177315)
2009-06-17
22:50
[52863ed4] part of check-in [0def0b76] Avoid an assertion fault if an out-of-memory error occurs while trying to run the string-concatentation operator on a zero-blob. (This is an absurd thing to do, but even so, we still should not fault.) (CVS 6778) (check-in: [0def0b76] user: drh branch: trunk, size: 177544)
21:42
[d382d0d1] part of check-in [3d7327fd] Fix a problem in vdbe.c that could cause a double-free of memory if the SQLITE_LIMIT_LENGTH is changed after a statement is prepared but before it is run. Also remove debugging statements from tkt3841.test. (CVS 6777) (check-in: [3d7327fd] user: drh branch: trunk, size: 177526)
16:20
[a7b9ad4a] part of check-in [39255946] Use caution to avoid integer overflow when doing real to integer affinity operations. Ticket #3922. (CVS 6776) (check-in: [39255946] user: drh branch: trunk, size: 177591)
2009-06-15
20:45
[ba87db54] part of check-in [1591b832] Changes to allow a clean compile with no floating-point instructions generated when SQLITE_OMIT_FLOATING_POINT is used. (CVS 6763) (check-in: [1591b832] user: drh branch: trunk, size: 177550)
2009-06-09
18:58
[20cf0b0b] part of check-in [0bd84e73] Fix compiler warnings with MSVC build. (CVS 6741) (check-in: [0bd84e73] user: shane branch: trunk, size: 177510)
18:14
[60ca5ae0] part of check-in [9d332989] Avoid a false failure report in the test scripts caused by the vdbe stack "compression" script. (CVS 6740) (check-in: [9d332989] user: shane branch: trunk, size: 177485)
2009-06-05
16:46
[434e3803] part of check-in [302ab855] Do not cast an unsigned int into an int for comparison. (CVS 6720) (check-in: [302ab855] user: drh branch: trunk, size: 177476)
14:17
[7f8639cf] part of check-in [38b20327] Take care that a corrupt variable-length integer does not cause 32-bit integer overflow when parsing a record format, nor cause excessively large memory allocations. (CVS 6719) (check-in: [38b20327] user: drh branch: trunk, size: 177481)
2009-06-03
11:25
[d105cc58] part of check-in [6dbf4eca] Define a set of constants to use as the "index" argument to sqlite3BtreeGetMeta and UpdateMeta. This makes some parts of the code easier to follow. (CVS 6709) (check-in: [6dbf4eca] user: danielk1977 branch: trunk, size: 175539)
2009-06-02
16:06
[6bb5bc95] part of check-in [6f2aab3f] Tweaks to vdbe.c to further reduce stack space requirements. (CVS 6706) (check-in: [6f2aab3f] user: drh branch: trunk, size: 176222)
15:21
[2f2c4b5a] part of check-in [7f433918] Add the vdbe-compress.tcl script which automatically refactors the sqlite3VdbeExec() routine to use less stack space. Use this script when constructing the amalgamation. (CVS 6704) (check-in: [7f433918] user: drh branch: trunk, size: 176188)
2009-05-18
16:14
[09e2a268] part of check-in [2a277c55] Port patches from the trunk into the 3.6.14.1 branch: the group_concat() fix of check-in (6616), ticket #3841 and the pcache fix of check-in (6619), ticket #3844. (CVS 6652) (check-in: [2a277c55] user: drh branch: branch_3_6_14, size: 174189)
2009-05-07
12:17
[b859cb27] part of check-in [4a86de35] Make sure the iteration counter on aggregate functions is reset each time the aggregate is used in an correlated subquery. Ticket #3841. (CVS 6616) (check-in: [4a86de35] user: drh branch: trunk, size: 174185)
2009-05-06
18:57
[3cecc2bb] part of check-in [df599237] Changes to silence compiler warnings under MSVC. (CVS 6613) (check-in: [df599237] user: shane branch: trunk, size: 174168)
2009-05-04
11:42
[e7c3355a] part of check-in [cac4f3d8] Speed up INSERT operations that add data to UNIQUE or PRIMARY KEY indexes by rationalizing duplicate seek operations. (CVS 6599) (check-in: [cac4f3d8] user: danielk1977 branch: trunk, size: 174136)
2009-04-30
09:10
[5fe07cce] part of check-in [38f8c5a1] When SQLite is configured to use in-memory temp files (either by setting SQLITE_TEMP_STORE during compilation or using the temp_store pragma at run time), store statement/savepoint journals in memory also. Ticket #3825. (CVS 6575) (check-in: [38f8c5a1] user: danielk1977 branch: trunk, size: 174315)
2009-04-22
17:15
[b7a27b4c] part of check-in [ecbef450] Eliminate the OP_VRowid opcode. The regular OP_Rowid now work for both regular and virtual tables. (CVS 6537) (check-in: [ecbef450] user: drh branch: trunk, size: 174300)
15:32
[ff8870fd] part of check-in [1c508a99] Change the OP_Rowid opcode so that a deferred OP_Seek is pending, it simply pulls the rowid from the deferred seek target and does not actually move the cursor or do a seek. Other where.c cleanups. (CVS 6536) (check-in: [1c508a99] user: drh branch: trunk, size: 174440)
02:15
[13f97667] part of check-in [e963bed0] Remove the rowhash object from the code. Rowset now fills its role. (CVS 6535) (check-in: [e963bed0] user: drh branch: trunk, size: 174345)
00:47
[cbef2e1f] part of check-in [b101cf70] Extend the Rowset object to contain all the capabilities of Rowhash in addition to its legacy capabilities. Use Rowset to replace Rowhash. In addition to requiring less code, This removes the 2^32 result row limitation, uses less memory, and gives better bounds on worst-case performance. The Rowhash implementation has yet to be removed. (CVS 6534) (check-in: [b101cf70] user: drh branch: trunk, size: 174291)
2009-04-21
16:15
[9d6ecf57] part of check-in [9b30ab71] Allocate the initial RowHash object using lookaside. (CVS 6530) (check-in: [9b30ab71] user: drh branch: trunk, size: 174204)
15:05
[6df1766d] part of check-in [b8cb4f3e] New comments and minor refactoring of rowhash.c. (CVS 6529) (check-in: [b8cb4f3e] user: drh branch: trunk, size: 174200)
09:02
[60db222d] part of check-in [f61e4cd9] Attempt to optimize virtual table queries with 'OR' expressions in the WHERE clause. (CVS 6527) (check-in: [f61e4cd9] user: danielk1977 branch: trunk, size: 174164)
2009-04-10
12:55
[88bc7092] part of check-in [683e4bd7] Changes to ensure that when running in shared-cache mode with a non-threadsafe build, the correct busy-handler callback is always invoked. (CVS 6481) (check-in: [683e4bd7] user: danielk1977 branch: trunk, size: 172377)
00:56
[146b72ae] part of check-in [2cc68272] Force 8-byte alignment of sqlite3_value objects in the sqlite3VdbeUnpackRecord() primitive. Ticket #3777. (CVS 6479) (check-in: [2cc68272] user: drh branch: trunk, size: 172379)
2009-04-07
09:16
[3d252f70] part of check-in [cdad29b5] Have OP_IdxRowid handle the case where the index entry it is reading from is deleted. (CVS 6461) (check-in: [cdad29b5] user: danielk1977 branch: trunk, size: 172340)
2009-04-02
20:27
[bddddefc] part of check-in [e0c1a780] Make sure count(*) works on the sqlite_master table of an empty database. Ticket #3774. (CVS 6443) (check-in: [e0c1a780] user: drh branch: trunk, size: 172256)
2009-03-23
17:11
[62492202] part of check-in [92ec5975] Fix an obscure race condition that can occur when multiple threads, shared cache and DDL statements are combined. Enhance notify2.test to test this scenario. (CVS 6373) (check-in: [92ec5975] user: danielk1977 branch: trunk, size: 172218)
2009-03-18
10:33
[f8164c28] part of check-in [a60f4191] Fix some cases where executing SQL from within a user-function callback could cause problems related to statement-transactions. (CVS 6355) (check-in: [a60f4191] user: danielk1977 branch: trunk, size: 170784)
2009-03-17
22:33
[2ae831d4] part of check-in [18978583] Move the rowid cache out of VdbeCursor and into BtCursor. When multiple BtCursors are open on the same table, set their rowid cache all at the same time. Ticket #3731. (CVS 6354) (check-in: [18978583] user: drh branch: trunk, size: 169788)
2009-03-16
13:19
[230b0b7e] part of check-in [b649a6cc] Add the sqlite3_unlock_notify() API. (CVS 6348) (check-in: [b649a6cc] user: danielk1977 branch: trunk, size: 169888)
2009-03-05
04:20
[a193ab2c] part of check-in [6404afa0] Corrected typos and misspellings. Ticket #3702. (CVS 6336) (check-in: [6404afa0] user: shane branch: trunk, size: 169867)
2009-02-24
18:57
[e0351202] part of check-in [b99c1815] Changes to comments and functions/procedure names for clarification. No changes to logic. (CVS 6322) (check-in: [b99c1815] user: drh branch: trunk, size: 169861)
10:01
[13194e29] part of check-in [d4aa6593] Optimize queries of the form "SELECT count(*) FROM <tbl>" by adding a sqlite3BtreeCount() interface to the btree layer. (CVS 6316) (check-in: [d4aa6593] user: danielk1977 branch: trunk, size: 169803)
2009-02-20
10:58
[23a620da] part of check-in [e43ed649] Instead of using SetNumColumns, specify the number of columns in a table or index using the P4 argument. (CVS 6310) (check-in: [e43ed649] user: danielk1977 branch: trunk, size: 169409)
03:55
[3bd3acff] part of check-in [48b77b04] Add a count parameter to the OP_Variable opcode and use it to simplify prepared statements that copy consecutive unnamed parameters into consecutive registers (a common case). (CVS 6309) (check-in: [48b77b04] user: drh branch: trunk, size: 169167)
03:02
[4533be29] part of check-in [feccad8d] Add the OP_HaltIfNull opcode and use it to simplify prepared statements for INSERTs and UPDATEs of tables with NOT NULL columns. (CVS 6308) (check-in: [feccad8d] user: drh branch: trunk, size: 169116)
2009-02-19
14:39
[d7b996a5] part of check-in [d9f6ffbc] Changes to reduce the heap space consumed by triggers, views and tables in the in-memory representation of the schema. Also to reduce the space used by prepared statements slightly. (CVS 6305) (check-in: [d9f6ffbc] user: danielk1977 branch: trunk, size: 168759)
2009-02-16
17:55
[02e70c48] part of check-in [68f15442] Changes to remove some compiler warnings from MSVC. (CVS 6294) (check-in: [68f15442] user: shane branch: trunk, size: 168711)
2009-02-10
11:17
[473169c1] part of check-in [f6590dac] Reenable triggering vdbe tracing by creating file-system entries. Add a (redundant) test that modifying the temp schema expires all prepared statements. (CVS 6274) (check-in: [f6590dac] user: danielk1977 branch: trunk, size: 168711)
2009-02-09
13:19
[0be895a0] part of check-in [e20bf384] Better error message when DISTINCT is used on an aggregate function that takes two or more arguments. Ticket #3641. (CVS 6269) (check-in: [e20bf384] user: drh branch: trunk, size: 168743)
2009-02-04
03:59
[c7190178] part of check-in [5cef4000] Changes to completely remove all floating point ops if SQLITE_OMIT_FLOATING_POINT defined. Note that w/o fp, date/time, round, nan, etc. are all gone or limited in functionality. Updated some of the test scripts to support missing fp and 64-bit functionality. Ticket #3029. (CVS 6250) (check-in: [5cef4000] user: shane branch: trunk, size: 168705)
2009-02-01
00:29
[81120d5a] part of check-in [0d2abbbf] Adjust comments in vdbe.c to use OP_MakeRecord instead of the obsolete OP_MakeIdxRec. Ticket #3619. (CVS 6225) (check-in: [0d2abbbf] user: drh branch: trunk, size: 168629)
2009-01-20
16:53
[e14b330e] part of check-in [1041abd6] When not compiling for an EBCDIC system, use built-in alternatives to the tolowe r(), toupper() and other ctype.h library functions. Ticket #3597. (CVS 6196) (check-in: [1041abd6] user: danielk1977 branch: trunk, size: 168637)
2009-01-14
00:55
[b917020d] part of check-in [d28b5820] Make sure the OR-clause optimizer takes the cost of sorting into account. Reset the rowid cache on the OP_Rewind and OP_Last opcodes. Bump the version number so that we can do an emergency release. Ticket #3581. (CVS 6173) (check-in: [d28b5820] user: drh branch: trunk, size: 168648)
2009-01-05
22:30
[4e9b83e7] part of check-in [5f80140a] The fix in (6111) was not quite right. This version works better. (CVS 6113) (check-in: [5f80140a] user: drh branch: trunk, size: 168598)
18:02
[d30c6c3e] part of check-in [b2131e86] Make sure the MEM_Zero flags is cleared whenever removing MEM_Blob. (CVS 6111) (check-in: [b2131e86] user: drh branch: trunk, size: 168541)
2009-01-02
21:08
[687e4815] part of check-in [3e9efb76] Reinitialize page 1 of the database file following a ROLLBACK TO of a transactional SAVEPOINT on an initially empty database. (CVS 6103) (check-in: [3e9efb76] user: drh branch: trunk, size: 168532)
2008-12-29
10:39
[aa4674ce] part of check-in [03d03504] Set the OPFLG_IN1 flag on a couple of extra opcodes. (CVS 6070) (check-in: [03d03504] user: danielk1977 branch: trunk, size: 168535)
2008-12-23
13:35
[fb84f5ce] part of check-in [d77a7023] Multi-index OR-clause optimization now works for simple tests. There are no test scripts for it yet, though. And it is disabled by default, pending further testing and optimization. We need a lot of both. (CVS 6058) (check-in: [d77a7023] user: drh branch: trunk, size: 168706)
2008-12-18
18:31
[e9a7825d] part of check-in [d915718d] Increase test coverage of new savepoint code. (CVS 6040) (check-in: [d915718d] user: danielk1977 branch: trunk, size: 168716)
2008-12-17
17:30
[79d3ec97] part of check-in [34b56600] Add the savepoint feature. This feature is largely untested at this point. (CVS 6036) (check-in: [34b56600] user: danielk1977 branch: trunk, size: 168885)
2008-12-15
15:27
[3fd1fe64] part of check-in [ea9b747e] Convert the "~" and "NOT" operators to be two-address instructions. Ticket #3541. (CVS 6028) (check-in: [ea9b747e] user: drh branch: trunk, size: 163663)
2008-12-12
17:56
[ee98938f] part of check-in [e545490a] Rework the rowid lookup logic in the query optimizer to fix various boundary value problems. Ticket #3536. Renamed the OP_MoveXX opcodes to OP_SeekXX. (CVS 6024) (check-in: [e545490a] user: drh branch: trunk, size: 163607)
2008-12-11
20:03
[0f9f1952] part of check-in [f6c50f35] Previous change to the OP_ForceInt opcode did not work correctly when the input is a negative floating point value. This change is the fix. Ticket #3536. (CVS 6023) (check-in: [f6c50f35] user: drh branch: trunk, size: 162788)
19:50
[78e24995] part of check-in [6a049c65] Make sure the OP_ForceInt vdbe opcode does not cause a rowid overflow. Ticket #3536. Tests to verify this change will be checked in separately. (CVS 6022) (check-in: [6a049c65] user: drh branch: trunk, size: 162804)
16:17
[46eed1fc] part of check-in [da2ec964] Guard against attacks from deliberately corrupted database files. (CVS 6021) (check-in: [da2ec964] user: drh branch: trunk, size: 162450)
13:05
[3a184e26] part of check-in [0d316160] Initialize a local variable so as to avoid a valgrind warning. (CVS 6019) (check-in: [0d316160] user: drh branch: trunk, size: 162477)
02:58
[4b004af1] part of check-in [72fd92bd] Removed a few more harmless warnings from MSVC. (CVS 6018) (check-in: [72fd92bd] user: shane branch: trunk, size: 162845)
2008-12-10
22:32
[99e6c72b] part of check-in [50352950] Try to remove compiler warnings from vdbe.c. (CVS 6014) (check-in: [50352950] user: drh branch: trunk, size: 162839)
19:26
[0244413f] part of check-in [c872d554] Never use strlen(). Use our own internal sqlite3Strlen30() which is guaranteed to never overflow an integer. Additional explicit casts to avoid nuisance warning messages. (CVS 6007) (check-in: [c872d554] user: drh branch: trunk, size: 162683)
18:03
[b99af9ad] part of check-in [14e6d19c] More explicit type casting to silence VC++. (CVS 6006) (check-in: [14e6d19c] user: drh branch: trunk, size: 162611)
2008-12-09
02:51
[fce160c7] part of check-in [1522c2c6] Suppress more silly compiler warnings. (CVS 5995) (check-in: [1522c2c6] user: drh branch: trunk, size: 162521)
2008-12-06
16:46
[c7da2727] part of check-in [9d061e20] Make sure a memory allocation error did not prevent UTF16 to UTF8 conversion prior to doing a string comparison. (CVS 5988) (check-in: [9d061e20] user: drh branch: trunk, size: 162507)
2008-12-04
22:17
[3e849f1c] part of check-in [cb0f1658] Fix a segfault that can occur in the RowSet object following a malloc failure. (CVS 5978) (check-in: [cb0f1658] user: drh branch: trunk, size: 162467)
20:40
[5c46d374] part of check-in [39a0750b] Replace the VDBE Fifo object with the new RowSet object. (CVS 5977) (check-in: [39a0750b] user: drh branch: trunk, size: 162414)
12:17
[3291fb0f] part of check-in [760333de] Always enable the OP_Blob opcode in the VDBE even when SQLITE_OMIT_BLOB_LITERAL is defined, since that opcode is used for other purposes as well. Ticket #3518. (CVS 5974) (check-in: [760333de] user: drh branch: trunk, size: 161883)
2008-11-17
15:31
[c5270245] part of check-in [9939dd83] Modifications to avoid signed/unsigned warnings in vdbe.c. (CVS 5912) (check-in: [9939dd83] user: danielk1977 branch: trunk, size: 161962)
2008-11-13
18:29
[c15dc80b] part of check-in [9b7a52e9] Fixed several more crashes due to corrupt db files. Added corruptC.test to soak.test. (CVS 5905) (check-in: [9b7a52e9] user: shane branch: trunk, size: 161935)
2008-11-05
16:37
[b6b989bb] part of check-in [51f04aaf] The COMMIT command now works even if there are pending queries, as long as the pending queries are reading and not writing the database. (CVS 5864) (check-in: [51f04aaf] user: drh branch: trunk, size: 161868)
2008-11-03
20:55
[d2c9b71d] part of check-in [fdb98fd8] Change the name of the Cursor object to VdbeCursor. (CVS 5857) (check-in: [fdb98fd8] user: drh branch: trunk, size: 161366)
2008-10-30
15:03
[e3629776] part of check-in [4c6a90a1] Add the sqlite3_extended_errcode() interface. Change to return SQLITE_BUSY instead of SQLITE_ERROR when a COMMIT is attempted and one or more queries are still pending. (CVS 5850) (check-in: [4c6a90a1] user: drh branch: trunk, size: 161225)
2008-10-27
13:59
[be815328] part of check-in [e68e4282] Make sqlite3_count_changes() and total_changes() work with "DELETE FROM ". (CVS 5844)
(check-in: [e68e4282] user: danielk1977 branch: trunk, size: 161234)
2008-10-08
17:58
[b78adf57] part of check-in [af679f61] After an OP_NullRow is executed on a cursor, cause any subsequent OP_Next or OP_Prev to behave as if there were no more rows to traverse. Ticket #3424. (CVS 5782) (check-in: [af679f61] user: danielk1977 branch: trunk, size: 160701)
2008-10-07
23:46
[374961d5] part of check-in [de473efb] Add the experimental sqlite3_stmt_status() interface. (CVS 5781) (check-in: [de473efb] user: drh branch: trunk, size: 160626)
19:53
[b1c79e64] part of check-in [79df72ee] Raise the hard upper bound on SQLITE_MAX_FUNCTION_ARG to 1000 from 100. The default upper bound is still 100, but it can now be raised as high as 1000 at compile-time. (CVS 5780) (check-in: [79df72ee] user: drh branch: trunk, size: 160540)
2008-09-22
06:13
[c9499f18] part of check-in [91567943] Remove unused macro Release() from vdbe.c. (CVS 5728) (check-in: [91567943] user: danielk1977 branch: trunk, size: 160514)
2008-09-02
11:05
[ebc6f6bc] part of check-in [29c9a802] Add a 'const' to the opcodeProperty array in vdbe.c. (CVS 5661) (check-in: [29c9a802] user: danielk1977 branch: trunk, size: 160698)
2008-08-21
19:28
[adcc179a] part of check-in [30077ece] Remove references to OP_MoveTo in comments of vdbe.c - that opcode no longer exists. Ticket #3327. (CVS 5584) (check-in: [30077ece] user: drh branch: trunk, size: 160684)
2008-08-20
22:06
[ae37f601] part of check-in [00b17798] Modify the sqlite3VdbeUnpackRecord() interface to force the temporary space to be 8-byte aligned. This might be important for Sparc. Ticket #3318. (CVS 5573) (check-in: [00b17798] user: drh branch: trunk, size: 160708)
2008-08-13
19:11
[e2dd0c78] part of check-in [0b92cbf5] Additional changes toward fixing ticket #3292. (CVS 5562) (check-in: [0b92cbf5] user: drh branch: trunk, size: 160714)
14:07
[cda10a8e] part of check-in [055f173a] A partial fix for ticket #3292. This fixes the original problem but there are other similar problems lurking in the code still. (CVS 5561) (check-in: [055f173a] user: drh branch: trunk, size: 160893)
2008-08-11
18:44
[2eff8c22] part of check-in [0e1d8d14] Do not allow indexing of any table whose name begins with "sqlite_". Ticket #3284. Improve handling of databases with malformed schemas - just in case somebody has actually indexed a system table. (CVS 5553) (check-in: [0e1d8d14] user: drh branch: trunk, size: 160895)
2008-08-02
15:10
[96e0527a] part of check-in [6e41455f] Increase the ref-count on the sqlite3_vtab structure before calling either the xNext or xFilter methods. (CVS 5524) (check-in: [6e41455f] user: danielk1977 branch: trunk, size: 160879)
2008-08-01
20:10
[a548d1dd] part of check-in [2cd6bae8] Bring test coverage up to 99%. (CVS 5522) (check-in: [2cd6bae8] user: drh branch: trunk, size: 160751)
17:37
[90296a45] part of check-in [007359b7] Test that virtual table methods xBestIndex, xOpen, xFilter, xNext, xColumn, xRowid, xUpdate, xSync and xBegin can all return error messages using the sqlite3_vtab.zErrMsg variable. (CVS 5519) (check-in: [007359b7] user: danielk1977 branch: trunk, size: 160722)
2008-07-30
13:27
[caa16947] part of check-in [da0e4bff] Implicit string->numeric conversion should go to an integer value when possible. Ticket #3257. (CVS 5502) (check-in: [da0e4bff] user: drh branch: trunk, size: 159903)
13:14
[4a5b78de] part of check-in [aee63308] Remove unused sqlite3VdbeMemDynamicify() function from the VDBE. (CVS 5500) (check-in: [aee63308] user: drh branch: trunk, size: 159843)
2008-07-29
10:18
[78171c3f] part of check-in [9ebee840] Speed up OP_Column by eliminating some double handling. (CVS 5490) (check-in: [9ebee840] user: danielk1977 branch: trunk, size: 159848)
2008-07-28
19:34
[40b188e5] part of check-in [e48f9697] Implement the "lookaside" memory allocation cache. Use of this cache makes the speed1.test script run about 15% faster. Added new interfaces to control the cache. (CVS 5488) (check-in: [e48f9697] user: drh branch: trunk, size: 160107)
2008-07-26
18:47
[aa0922d6] part of check-in [75c2a532] Remove a branch that could not be taken from OP_IsUnique. (CVS 5485) (check-in: [75c2a532] user: danielk1977 branch: trunk, size: 160043)
18:26
[acc17bc1] part of check-in [7aecabac] Fix a case where database corruption was causing an invalid reference. (CVS 5484) (check-in: [7aecabac] user: danielk1977 branch: trunk, size: 159731)
2008-07-23
21:07
[cc4c19b8] part of check-in [4a9dd5e7] Error messages from virtual tables store on the sqlite3_vtab->zErrMsg field are reported back up to the application interface and memory is reclaimed. (CVS 5466) (check-in: [4a9dd5e7] user: drh branch: trunk, size: 159650)
18:17
[28681507] part of check-in [e2c6771d] Read the sqlite3_vtab.zErrMsg after each call to a virtual table method and transfer any error into the database connection. Fix the fts2.test and fts3.test scripts to that they return silently rather than failing the test sequence if the appropriate FTS implementation is unavailable. (CVS 5463) (check-in: [e2c6771d] user: drh branch: trunk, size: 159532)
2008-07-11
21:02
[179dbe5f] part of check-in [c80a5d09] Detect and handles the case where a row is modified or deleted while it is being read during SELECT processing. (CVS 5399) (check-in: [c80a5d09] user: drh branch: trunk, size: 159308)
2008-07-10
00:32
[14d98d1d] part of check-in [636cd723] Remove unused code. Test coverage enhancements. Modify the algorithm used to select column names for VIEWs of joins so that the constructed column names omits the underlying table names. (CVS 5386) (check-in: [636cd723] user: drh branch: trunk, size: 159363)
2008-07-08
19:34
[4b3c7d0c] part of check-in [8ed04b1e] Completely rework the sqlite3SetString() primitive so that it honors the SQLITE_LIMIT_LENGTH and avoids the use of strlen(). (CVS 5374) (check-in: [8ed04b1e] user: drh branch: trunk, size: 160402)
2008-07-07
17:13
[fb6df1bd] part of check-in [acfb2b41] Fix an error checked in as part of (5350). (CVS 5353) (check-in: [acfb2b41] user: danielk1977 branch: trunk, size: 160425)
14:56
[8adaa752] part of check-in [b96bcaa1] Test a couple of specific malloc() failures that were not tested before. (CVS 5350) (check-in: [b96bcaa1] user: danielk1977 branch: trunk, size: 160425)
2008-06-26
18:04
[b1528683] part of check-in [d45a97be] Fix handling of "x IN (...)" and "x NOT IN (...)" expressions when the set contains an SQL NULL value. (CVS 5314) (check-in: [d45a97be] user: danielk1977 branch: trunk, size: 160334)
2008-06-25
00:12
[c0daf1d1] part of check-in [8bbfa978] The compound-select merge optimization passes quick.test with no errors. (CVS 5299) (check-in: [8bbfa978] user: drh branch: trunk, size: 160323)
2008-06-23
18:49
[3674e10c] part of check-in [f8238770] Fix a bug in handling queries on the sqlite_master table with an empty (0 bytes in size) database file. (CVS 5286) (check-in: [f8238770] user: danielk1977 branch: trunk, size: 159255)
2008-06-22
12:37
[98d8d2f7] part of check-in [663a590e] Fix a bug in the KEYINFO handling within select.c. Change the OP_Move opcode to take a count and to move multiple registers. Initial code for the compound-select merge optimization is added but is incomplete and is commented out. (CVS 5272) (check-in: [663a590e] user: drh branch: trunk, size: 158750)
2008-06-20
18:13
[b733eaea] part of check-in [08311365] Add new Compare and Jump codes to the virtual machine. Use them in the implementation of aggregate queries. (CVS 5257) (check-in: [08311365] user: drh branch: trunk, size: 158591)
15:24
[d4b0efee] part of check-in [6b9d92fc] Change the SRT_Subroutine mode into SRT_Coroutine. Use co-routines in the INSERT processing logic. (CVS 5255) (check-in: [6b9d92fc] user: drh branch: trunk, size: 157172)
14:59
[7f80262d] part of check-in [56c8af14] Add a mode to the sqlite3_test_control() interface to register hooks called at the beginning and end of "benign malloc failure" blocks. This allows malloc() failure testing to be done using public APIs only. (CVS 5254) (check-in: [56c8af14] user: danielk1977 branch: trunk, size: 156808)
2008-06-15
02:51
[f6866986] part of check-in [65fe7b62] Continuing work on the new memory allocation subsystem. Added routines for temporary memory allocation. Right the btree balance mechanism to only do one temporary allocation at a time. (CVS 5220) (check-in: [65fe7b62] user: drh branch: trunk, size: 156804)
2008-06-07
08:58
[1936425c] part of check-in [e9f01c01] Change the signature of sqlite3PagerPagecount() so that it can return an error code. (CVS 5195) (check-in: [e9f01c01] user: danielk1977 branch: trunk, size: 156814)
2008-06-06
15:04
[a113a62a] part of check-in [ef1956ee] Remove the subroutine return stack from the VDBE. Return addresses for subroutines are now stored in registers. (CVS 5191) (check-in: [ef1956ee] user: drh branch: trunk, size: 156485)
2008-06-05
11:39
[04fec4d3] part of check-in [4226ac54] Modify the signatures of the sqlite3_vfs.xAccess and sqlite3_vfs.xCheckReservedLock functions. (CVS 5188) (check-in: [4226ac54] user: danielk1977 branch: trunk, size: 156786)
2008-05-30
15:59
[bad9123e] part of check-in [06135694] Fix typos in comments in vdbe.c. (CVS 5182) (check-in: [06135694] user: shane branch: trunk, size: 156691)
2008-05-29
20:22
[37d3237a] part of check-in [9883b406] Consolidated inline assembly versions of "hwtime()" into hwtime.h. Provided MSVC version. Modified code for consistent use of hwtime(). Changed implementation to use sqlite_uint64 and sqlite_int64 instead of unsigned long long int and long long int for MSVC compiler support. (CVS 5178) (check-in: [9883b406] user: shane branch: trunk, size: 156682)
05:23
[efe92d09] part of check-in [5f6eab65] Fix cosmetic issues spotted while working on ticket #3146 (CVS 5177) (check-in: [5f6eab65] user: drh branch: trunk, size: 157010)
03:12
[4666906a] part of check-in [0d55328e] Fix an obsolete comment on the OP_Rowid opcode in the VDBE. (CVS 5174) (check-in: [0d55328e] user: drh branch: trunk, size: 157037)
2008-05-15
17:48
[25a362a4] part of check-in [eb6985e6] Add the "page_count" pragma. Returns a single integer - the number of pages in the specified database file. (CVS 5135) (check-in: [eb6985e6] user: danielk1977 branch: trunk, size: 157078)
2008-05-13
13:27
[81035a61] part of check-in [a9d1d931] Make the benign-fault setting recursive. Make all malloc failures during a rollback benign since there is nothing we can do about them. (CVS 5128) (check-in: [a9d1d931] user: drh branch: trunk, size: 156619)
2008-05-09
18:03
[56c11eb1] part of check-in [18b1ee10] Reformulate the constants for the minimum and maximum 64-bit signed integer to work better with some compilers. Ticket #3105. (CVS 5113) (check-in: [18b1ee10] user: drh branch: trunk, size: 156615)
2008-05-07
18:59
[2bc3352c] part of check-in [530c6360] Added test cases for corrupt SerialTypeLen header values, and additional check to improve detection of corrupt values. (CVS 5101) (check-in: [530c6360] user: shane branch: trunk, size: 156616)
2008-04-29
00:15
[26964ba7] part of check-in [9b07e59e] Always convert IEEE NaN into NULL. Ticket #3060. Add test cases to verify that this is happening. (CVS 5066) (check-in: [9b07e59e] user: drh branch: trunk, size: 156455)
2008-04-28
16:55
[1e0ee231] part of check-in [07fd9a8c] Change the implementation of the NaN recognition to be more cross-platform. Ticket #3089. (CVS 5060) (check-in: [07fd9a8c] user: drh branch: trunk, size: 156412)
2008-04-25
12:25
[2d75ac15] part of check-in [7f805392] Clarify some comments. No changes to code. (CVS 5049) (check-in: [7f805392] user: drh branch: trunk, size: 156413)
2008-04-24
19:15
[062c597e] part of check-in [0d04ccd9] Consolidated varint macro usage from btreeInt.h, vdbe.c, and vdbeaux.c into sqliteInt.h and made their use consistent. Slight improvements to varint32 macros. (CVS 5045) (check-in: [0d04ccd9] user: shane branch: trunk, size: 155966)
2008-04-18
11:31
[e0cc1de8] part of check-in [df02175e] Remove unused code from OP_IdxLt and OP_IdxGE. (CVS 5030) (check-in: [df02175e] user: danielk1977 branch: trunk, size: 156620)
10:25
[892a8718] part of check-in [9a976819] Combine cases 3 and 4 in where.c, since case 4 is now a special case of case 3. (CVS 5029) (check-in: [9a976819] user: danielk1977 branch: trunk, size: 156903)
09:01
[6b3a2273] part of check-in [c448f15a] Allow OP_MoveGt and similar to use an array of registers instead of a serialized record. Modify one type of index range scan to use this. (CVS 5028) (check-in: [c448f15a] user: danielk1977 branch: trunk, size: 156456)
2008-04-15
12:14
[e4a3df12] part of check-in [d04246a4] Fix a code generator bug caused by the new CSE optimization. Add test cases to prevent a recurrence. (CVS 5011) (check-in: [d04246a4] user: drh branch: trunk, size: 154947)
2008-04-10
14:00
[444ab9ec] part of check-in [55591fc4] Make sure changes to virtual tables are counted the same as real tables. Ticket #3038. (CVS 4976) (check-in: [55591fc4] user: drh branch: trunk, size: 154918)
2008-04-05
18:41
[edee1974] part of check-in [b2517a7d] Add the sqlite3PutVarint32 routine as an alternative to sqlite3PutVarint. Gives 0.5% speed increase. (CVS 4968) (check-in: [b2517a7d] user: drh branch: trunk, size: 154900)
2008-04-03
20:09
[66ca98cc] part of check-in [1d67f41c] Fix to the previous check-in so that it works on a intel Mac. (CVS 4962) (check-in: [1d67f41c] user: drh branch: trunk, size: 154896)
19:40
[da3f91d8] part of check-in [b4eba9c5] Use an improved RDTSC access routine. (CVS 4961) (check-in: [b4eba9c5] user: drh branch: trunk, size: 155022)
2008-04-02
16:29
[1f8c02fc] part of check-in [66c5d715] Simplifications to the LockTable opcode. (CVS 4954) (check-in: [66c5d715] user: drh branch: trunk, size: 154817)
2008-04-01
00:36
[1a8f3ece] part of check-in [53e533d3] Break up the implementation of OP_Move, OP_Copy, and OP_SCopy to reduce the number of branch instructions. (CVS 4945) (check-in: [53e533d3] user: drh branch: trunk, size: 154943)
2008-03-31
18:19
[07f500db] part of check-in [2126db39] Factor constant subexpressions out of loops. (CVS 4942) (check-in: [2126db39] user: drh branch: trunk, size: 154443)
2008-03-28
19:16
[09dd6f4c] part of check-in [2b6d3e01] Fix a memory leak that can occur when the library API is misused. (CVS 4932) (check-in: [2b6d3e01] user: danielk1977 branch: trunk, size: 154407)
15:44
[a1413f2d] part of check-in [d0bf73d8] Changes to the Mem structure to reduce the frequency of freeing and reallocating the dynamic buffer. (CVS 4928) (check-in: [d0bf73d8] user: danielk1977 branch: trunk, size: 154363)
2008-03-27
22:42
[ecad5d19] part of check-in [3cb704c4] Allow the xAccess method in the VFS to return -1 to signal an I/O error, and in particular an SQLITE_IOERR_NOMEM. (CVS 4925) (check-in: [3cb704c4] user: drh branch: trunk, size: 154015)
17:59
[f8e6d7f9] part of check-in [1a58a870] Allow creation of ephemeral pseudo-tables - pseudo-tables that copy a pointer to a row when inserted instead of copying the row data. (CVS 4924) (check-in: [1a58a870] user: danielk1977 branch: trunk, size: 153875)
2008-03-25
17:23
[00687034] part of check-in [ee381b43] Modify the {quote: IdxDelete} opcode so that it takes an array of registers rather than a record formed using {quote: MakeRecord.} This avoids a needless packing and unpacking of the record to be deleted. (CVS 4916) (check-in: [ee381b43] user: drh branch: trunk, size: 153264)
09:47
[bdcbf54c] part of check-in [04715364] Use a vdbe memory cell to allocate the space required for vdbe cursors. (CVS 4912) (check-in: [04715364] user: danielk1977 branch: trunk, size: 153086)
00:22
[d81771c6] part of check-in [0e1d84f2] Removed the direct btree tests - part of the ongoing effort to test by calling only public interfaces. Modify the sqlite3VdbeRecordCompare interface to used a pre-parsed second key - resulting in a 13% performance improvement on speed1p.test. (CVS 4911) (check-in: [0e1d84f2] user: drh branch: trunk, size: 151443)
2008-03-21
17:13
[43b261f5] part of check-in [13e388ce] Make sure the text result of an aggregate function has the correct encoding. Ticket #3009. (CVS 4903) (check-in: [13e388ce] user: drh branch: trunk, size: 151735)
2008-03-20
14:03
[5ac49cf5] part of check-in [60c77882] Initial implementation of per-connection limits and the sqlite3_limit() API. The sqllimits1.test script crashes. SQLITE_LIMIT_PAGE_COUNT and SQLITE_LIMIT_VDBE_OP are currently ignored. (CVS 4897) (check-in: [60c77882] user: drh branch: trunk, size: 151690)
2008-03-19
21:45
[86033e43] part of check-in [54c55cae] Add a new interface, sqlite3_context_db_handle(), that returns the database connection pointer for an application-defined function. (CVS 4889) (check-in: [54c55cae] user: drh branch: trunk, size: 151592)
14:15
[aaf93d6d] part of check-in [15110ea0] Add a new api sqlite3_randomness() for providing access to SQLite's internal PRNG. Add sqlite3_test_control() verbs for controlling the PRNG. (CVS 4882) (check-in: [15110ea0] user: drh branch: trunk, size: 151591)
2008-03-17
17:18
[c63fcb1c] part of check-in [fcf3d0a3] Fix an uninitialized variable in the Prev and Next opcodes. (CVS 4873) (check-in: [fcf3d0a3] user: drh branch: trunk, size: 151590)
16:54
[abb9232d] part of check-in [57db1406] Detect the failure to zero-terminate a result string due to a malloc failure. (CVS 4871) (check-in: [57db1406] user: drh branch: trunk, size: 151605)
2008-02-13
18:25
[a172f513] part of check-in [990237e2] Where possible, avoid freeing buffers allocated for vdbe memory cells in case they can be reused. (CVS 4783) (check-in: [990237e2] user: danielk1977 branch: trunk, size: 151575)
2008-02-06
14:11
[10493752] part of check-in [c2461620] Add the sqlite3_result_error_code() application interface. Use it in the ATTACH function so that a failed attach returns a proper error code. Ticket #2914. (CVS 4775) (check-in: [c2461620] user: drh branch: trunk, size: 150965)
2008-01-31
19:34
[451ead62] part of check-in [ebeac2a4] Fix a problem with virtual tables and left joins introduced by check-in (4761). Ticket #2894 and #2913. (CVS 4765) (check-in: [ebeac2a4] user: drh branch: trunk, size: 150967)
15:53
[a21942ef] part of check-in [face510b] Make sure virtual table interfaces are not invoked after EOF when the virtual table appears in an outer join. Ticket #2894. (CVS 4761) (check-in: [face510b] user: drh branch: trunk, size: 150946)
2008-01-23
03:03
[299e18e4] part of check-in [5375ad6b] Make sqlite3SafetyOn() and sqlite3SafetyOff() macros which disappear when compiling without -DSQLITE_DEBUG=1. (CVS 4744) (check-in: [5375ad6b] user: drh branch: trunk, size: 150798)
2008-01-22
21:30
[a3ac8efb] part of check-in [1a335e18] Add the fault injector module in fault.c. Use it as a basis for memory allocation failure testing. (CVS 4742) (check-in: [1a335e18] user: drh branch: trunk, size: 150863)
2008-01-21
16:22
[e7ec3089] part of check-in [720bc20a] Miscellaneous test coverage improvements. (CVS 4734) (check-in: [720bc20a] user: drh branch: trunk, size: 150868)
2008-01-19
23:50
[7d193674] part of check-in [010f7b78] Additional test coverage improvements. Test coverage now stands at 98.73%. (CVS 4731) (check-in: [010f7b78] user: drh branch: trunk, size: 150790)
20:11
[65a3ad90] part of check-in [af129b6d] Miscellaneous code simplifications and cleanup and test coverage enhancements. (CVS 4730) (check-in: [af129b6d] user: drh branch: trunk, size: 151398)
03:35
[986d1b40] part of check-in [d9ebe9d7] Cleanup and simplification of constraint processing. Simplifications to the VM for better test coverage. (CVS 4729) (check-in: [d9ebe9d7] user: drh branch: trunk, size: 150605)
2008-01-18
14:08
[3734b4b4] part of check-in [0e50c020] Remove the OP_HexBlob instruction and code OP_Blob directly. Reduce the amount of memory allocation required to encode blob literals. Remove the "out2" instruction type. Other minor optimizations. (CVS 4726) (check-in: [0e50c020] user: drh branch: trunk, size: 151348)
2008-01-17
16:22
[94d3da76] part of check-in [706b41b7] Registerification of the VDBE is complete. The operand stack has been removed from the code. All instructions operate out of registers only. (CVS 4718) (check-in: [706b41b7] user: drh branch: trunk, size: 152397)
02:36
[9de1ce4d] part of check-in [b3a141b2] Registerification of the WHERE clause logic. (CVS 4716) (check-in: [b3a141b2] user: drh branch: trunk, size: 161693)
2008-01-16
17:46
[1c585994] part of check-in [5807921f] Get all tests running without memory leaks. (CVS 4714) (check-in: [5807921f] user: drh branch: trunk, size: 163836)
2008-01-12
21:35
[f3670046] part of check-in [110c000d] The sqlite3_trace() callback now prints a message as each trigger fires within a statement. (CVS 4709) (check-in: [110c000d] user: drh branch: trunk, size: 163501)
19:03
[a05947fb] part of check-in [426f31ec] Continuing work toward converting the VM to a register machine. (CVS 4708) (check-in: [426f31ec] user: drh branch: trunk, size: 163022)
12:48
[20bd0886] part of check-in [a6dddebc] Continuing work toward converting the VM into a register machine. (CVS 4707) (check-in: [a6dddebc] user: drh branch: trunk, size: 164058)
2008-01-10
23:50
[2a62b69e] part of check-in [8cbd4651] More work toward converting the VM into a register-based machine. (CVS 4704) (check-in: [8cbd4651] user: drh branch: trunk, size: 164428)
2008-01-09
23:04
[b094a883] part of check-in [e3cf1c1c] All essential opcodes can now operate out of registers and completely avoid the stack. Many still optionally use the stack to support legacy code generation, but the stack is not required. The next step is to update all code generation to avoid using the stack. (CVS 4700) (check-in: [e3cf1c1c] user: drh branch: trunk, size: 167459)
02:15
[cf1f4de3] part of check-in [92deff07] Continued work toward converting to a register-based VM. (CVS 4698) (check-in: [92deff07] user: drh branch: trunk, size: 169469)
2008-01-08
23:54
[926b4630] part of check-in [8862ce9c] Registerify the comparison opcodes. (CVS 4697) (check-in: [8862ce9c] user: drh branch: trunk, size: 172350)
02:57
[e71595ac] part of check-in [b9bf509e] Progress toward registerification of the constraint checking logic for INSERT and UPDATE. (CVS 4693) (check-in: [b9bf509e] user: drh branch: trunk, size: 172773)
2008-01-07
19:20
[3d849013] part of check-in [aa48867c] Registerify the AUTOINCREMENT processing and the OP_IsNull and OP_NotNull operators. (CVS 4692) (check-in: [aa48867c] user: drh branch: trunk, size: 172394)
2008-01-06
00:25
[d3076466] part of check-in [8201f717] Registerify the SRT_Subroutine destination for SELECT results. (CVS 4690) (check-in: [8201f717] user: drh branch: trunk, size: 172591)
2008-01-05
18:48
[2dda0565] part of check-in [6bb1b1bc] Modify OP_RegMakeRec to take a base register and count and optionally store results in the register specified by P3. (CVS 4689) (check-in: [6bb1b1bc] user: drh branch: trunk, size: 172558)
16:29
[0c16e643] part of check-in [66396d2f] Registerify binary operators. Add register tracing to debugging output. (CVS 4686) (check-in: [66396d2f] user: drh branch: trunk, size: 172163)
06:51
[5174adfb] part of check-in [6c78d2a4] Expression code generator takes advantage of recent opcode changes. (CVS 4685) (check-in: [6c78d2a4] user: drh branch: trunk, size: 171874)
05:38
[d96c341f] part of check-in [32380dca] Register-ify the OP_ForceInt opcode. (CVS 4684) (check-in: [32380dca] user: drh branch: trunk, size: 171870)
05:20
[f8aabf9a] part of check-in [3e8a07dd] Register-ify the OP_AddImm and all casting opcodes. Omit the OP_MemIncr opcode. (CVS 4683) (check-in: [3e8a07dd] user: drh branch: trunk, size: 172003)
04:06
[8a2d438d] part of check-in [cc149eb9] Get rid of OP_Dup, OP_MemStore, OP_MemLoad, and OP_MemMove. Replace with OP_Copy, OP_SCopy, and OP_Move. Add the infrastructure for operation properties in1, in2, in3, out2, and out3 but do not yet use any of these. (CVS 4682) (check-in: [cc149eb9] user: drh branch: trunk, size: 172724)
2008-01-04
22:01
[a2d9e868] part of check-in [fe057a88] Implement the out2-prerelease opcode design pattern. (CVS 4681) (check-in: [fe057a88] user: drh branch: trunk, size: 170478)
19:10
[9ccdc8ab] part of check-in [d9ac6bee] Some modifications to insert.c to work without using the stack. (CVS 4678) (check-in: [d9ac6bee] user: danielk1977 branch: trunk, size: 170342)
16:50
[8e42b5ce] part of check-in [042dcb96] Replace the NOPUSH_MASKs with a bit-vector mechanism that can contain several different properties about each opcode. (CVS 4677) (check-in: [042dcb96] user: drh branch: trunk, size: 169779)
13:57
[c562e01b] part of check-in [2c913908] Modify FifoRead and FifoWrite to work exclusively with memory cells. (CVS 4676) (check-in: [2c913908] user: danielk1977 branch: trunk, size: 169159)
13:24
[55e1a054] part of check-in [173f2813] Modify the code generated for a DELETE to use registers instead of the vdbe stack. (CVS 4675) (check-in: <