SQLite

All files named "src/vdbe.c"
Login

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

History for src/vdbe.c

2024-05-21
15:24
[017e7a0e] part of check-in [c65a82f1] Merge the latest trunk enhancements into the bedrock branch. (check-in: [c65a82f1] user: drh branch: bedrock, size: 313703)
15:20
[41b5589a] part of check-in [97e0af88] Merge the lates trunk enhancements into the reuse-schema branch. (check-in: [97e0af88] user: drh branch: reuse-schema, size: 311739)
15:20
[0d55d877] part of check-in [d4217d9f] Merge the latest trunk enhancements into the wal2 branch. (check-in: [d4217d9f] user: drh branch: wal2, size: 312144)
15:17
[6bfdeb16] part of check-in [5c1c8651] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [5c1c8651] user: drh branch: begin-concurrent, size: 313299)
2024-05-17
14:26
[2448b34f] part of check-in [6dc64721] Merge branches "fix-onerow-opt", "faster-openread", "fts5-delay-tokenizer" and "enhanced-raise", each containing minor enhancements prepared for 3.46, into this branch. (check-in: [6dc64721] user: dan branch: pending-3.46, size: 312263)
2024-05-12
00:26
[cddb27d0] part of check-in [3a256a16] Optimization in the implementation of OP_OpenRead and OP_OpenWrite (check-in: [3a256a16] user: drh branch: faster-openread, size: 311771)
2024-05-08
17:42
[2fdfe053] part of check-in [003e1c8c] Allow arbitrary expressions as the second argument to RAISE(). (check-in: [003e1c8c] user: drh branch: enhanced-raise, size: 312231)
2024-04-22
00:42
[3b1793c5] part of check-in [e1040e51] Continuation of the fix at [8c0f69e0e4ae0a44]: If a viaCoroutine FROM clause term is participating in a RIGHT or FULL JOIN, we have to create an always-NULL pseudo-cursor for that term when processing the RIGHT join. dbsqlfuzz 6fd1ff3a64bef4a6c092e8d757548e95698b0df5. (check-in: [e1040e51] user: drh branch: trunk, size: 311739)
2024-04-18
16:11
[298e8bf3] part of check-in [8c0f69e0] Correct handling of OUTER JOIN when on or the other operand is a subquery implemented using the VALUES-as-coroutine optimization. dbsqlfuzz bde3bf80aedf25afa56e2997a0545a314765d3f8. (check-in: [8c0f69e0] user: drh branch: trunk, size: 311654)
2024-03-26
10:48
[6aa0fe7d] part of check-in [e469b022] Merge all recent trunk enhancements into the reuse-schema branch. (check-in: [e469b022] user: drh branch: reuse-schema, size: 311543)
10:45
[db42104a] part of check-in [33d3453f] Merge all recent trunk enhancements into the bedrock branch. (check-in: [33d3453f] user: drh branch: bedrock, size: 313507)
10:42
[5fedb254] part of check-in [c2139d82] Merge all recent trunk enhancements into the wal2 branch. (check-in: [c2139d82] user: drh branch: wal2, size: 311948)
10:42
[51a9781e] part of check-in [9b854e54] Merge all recent trunk enhancements into the begin-concurrent branch. (check-in: [9b854e54] user: drh branch: begin-concurrent, size: 313103)
2024-03-22
10:32
[651aa0f3] part of check-in [8eda4797] Fix incorrect boundary assert()s on the new OP_IfSizeBetween opcode. (check-in: [8eda4797] user: drh branch: trunk, size: 311543)
2024-03-13
18:00
[3827b8b6] part of check-in [5c8e80f4] Merge the latest trunk enhancements into the bedrock branch. (check-in: [5c8e80f4] user: drh branch: bedrock, size: 313556)
17:55
[e25d2c86] part of check-in [2b12da72] Merge the latest trunk enhancements into the wal2 branch. (check-in: [2b12da72] user: drh branch: wal2, size: 311997)
17:51
[7031ddbc] part of check-in [238fa84a] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [238fa84a] user: drh branch: begin-concurrent, size: 313152)
15:59
[9ec10717] part of check-in [70ef3784] Merge the latest trunk enhancements into the reuse-schema branch. Fix the reuse-schema build of the CLI so that it works again. (check-in: [70ef3784] user: drh branch: reuse-schema, size: 311592)
2024-03-11
23:28
[6df53db6] part of check-in [e22e0e1e] Merge the latest branch-3.45 patches into the reuse-schema-3.45 subbranch. (check-in: [e22e0e1e] user: drh branch: reuse-schema-3.45, size: 310592)
23:26
[6d495a3b] part of check-in [516b7e13] Merge the latest branch-3.45 changes into the bedrock-3.45 subbranch. (check-in: [516b7e13] user: drh branch: bedrock-3.45, size: 312556)
23:23
[df29f80c] part of check-in [f8cee91f] Merge the branch-3.45 patches into the wal2 branch. (check-in: [f8cee91f] user: drh branch: wal2-3.45, size: 310997)
23:18
[b237b214] part of check-in [98ea2ca2] Merge the latest branch-3.45 changes into the begin-concurrent branch. (check-in: [98ea2ca2] user: drh branch: begin-concurrent-3.45, size: 312152)
2024-03-08
15:39
[da8407be] part of check-in [166d1e5d] Add new assert() statements, which if they had existed three years ago, would have detected the code generator problem fixed by the previous check-in. (check-in: [166d1e5d] user: drh branch: trunk, size: 311592)
2024-03-06
20:54
[b2a45392] part of check-in [6d385ccd] When doing a text-affinity comparison between two values where one or both have both a text and a numeric type, make sure the numeric type does not confuse the answer. This is a deeper fix to the problem observed by forum post 3776b48e71. The problem bisects to [25f2246be404f38b] on 2014-08-24, prior to version 3.8.7. (check-in: [6d385ccd] user: mistachkin branch: branch-3.45, size: 310592)
2024-03-05
17:48
[7a33c5bb] part of check-in [4784a92e] Fix a problem with large values clauses and named variables. (check-in: [4784a92e] user: dan branch: exp-values-clause, size: 311488)
2024-02-27
15:33
[523a88b3] part of check-in [6d02fb23] Remove unreachable branches from the PRAGMA integrity_check enhancement of [b736519d3d2e93c7]. (check-in: [6d02fb23] user: drh branch: trunk, size: 311693)
11:03
[f1097e0a] part of check-in [b736519d] Have "PRAGMA quick_check" compare the number of entries in tables and indexes. (check-in: [b736519d] user: dan branch: trunk, size: 311633)
2024-02-19
16:22
[805af8be] part of check-in [e147b189] If a table has one or more rows and it has a partial index has zero rows, still make an entry in the sqlite_stat1 table for the partial index, so that we know that "PRAGMA optimize" does not need to redo the whole table. (check-in: [e147b189] user: drh branch: better-pragma-optimize, size: 311626)
2024-02-17
16:39
[6d2aecc9] part of check-in [dd449706] Add new MASK bits to PRAGMA optimize: 0x70000. (check-in: [dd449706] user: drh branch: better-pragma-optimize, size: 311587)
01:12
[a9b83d5e] part of check-in [40532ffb] The PRAGMA optimize command invokes ANALYZE if a table shrinks by 25 times in addition to if it grows by 25 times. (check-in: [40532ffb] user: drh branch: better-pragma-optimize, size: 311222)
2024-02-02
16:51
[c91a1555] part of check-in [cc294c04] Have "PRAGMA quick_check" compare the number of entries in tables and indexes. (check-in: [cc294c04] user: dan branch: quick-check-counts, size: 310889)
11:37
[dd340f5a] part of check-in [62010ba4] Fix typo in vdbe.c comment. No changes to code. (check-in: [62010ba4] user: dan branch: trunk, size: 310882)
2024-01-20
15:13
[92910d53] part of check-in [709841f8] When doing a text-affinity comparison between two values where one or both have both a text and a numeric type, make sure the numeric type does not confuse the answer. This is a deeper fix to the problem observed by forum pose 3776b48e71. The problem bisects to [25f2246be404f38b] on 2014-08-24, prior to version 3.8.7. (check-in: [709841f8] user: drh branch: trunk, size: 310882)
2024-01-16
15:04
[4a42916b] part of check-in [05d2cf5e] Clutter the code with "fall-through" comments in order to suppress nuisance compiler warnings. No logic changes. (check-in: [05d2cf5e] user: drh branch: trunk, size: 310738)
2023-12-28
14:07
[afc1fc6b] part of check-in [3d1b0403] Merge the latest trunk changes into the reuse-schema branch. (check-in: [3d1b0403] user: drh branch: reuse-schema, size: 310448)
14:01
[4fa94f3c] part of check-in [5a17b972] Merge the latest trunk changes into the bedrock branch. (check-in: [5a17b972] user: drh branch: bedrock, size: 312412)
13:44
[72a82930] part of check-in [1f592dd3] Merge the latest trunk enhancements into the wal2 branch. (check-in: [1f592dd3] user: drh branch: wal2, size: 310853)
13:40
[fc13ee58] part of check-in [b3a2adfd] Merge recent trunk enhancements into the begin-concurrrent branch. (check-in: [b3a2adfd] user: drh branch: begin-concurrent, size: 312008)
2023-12-14
13:58
[96ac876e] part of check-in [3536f403] Pass subtype information through the aggregate ORDER BY sorter for aggregate functions that use subtype information. (check-in: [3536f403] user: drh branch: agg-orderby-subtype, size: 310448)
2023-12-06
22:22
[ebd78a92] part of check-in [5c36819c] Merge the latest trunk enhancements into the reuse-schema branch. (check-in: [5c36819c] user: drh branch: reuse-schema, size: 309519)
21:18
[085653e0] part of check-in [c2e53000] Merge the latest trunk changes into the bedrock branch. (check-in: [c2e53000] user: drh branch: bedrock, size: 311483)
21:11
[308ea511] part of check-in [457724e7] Merge the latest trunk enhancements into the wal2 branch. (check-in: [457724e7] user: drh branch: wal2, size: 309924)
21:05
[da661c00] part of check-in [b1c58f48] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [b1c58f48] user: drh branch: begin-concurrent, size: 311079)
2023-11-29
12:18
[f73bead1] part of check-in [1a59fcab] Merge all the latest trunk enhancements into the jsonb branch. (check-in: [1a59fcab] user: drh branch: jsonb, size: 309519)
02:50
[b0617c32] part of check-in [79e6496b] Reference count the Table passed into the OP_VCheck opcode. (check-in: [79e6496b] user: drh branch: branch-3.44, size: 309384)
02:45
[c7a5a1b2] part of check-in [cad269d5] The assertion change at check-in [7946c79567b0ccd3] is insufficient to fix the problem of a Table object being deleted out from under the OP_VCheck opcode. We need to reference count the Table, which is accomplished here. (check-in: [cad269d5] user: drh branch: trunk, size: 309397)
2023-11-28
17:47
[4684ee8e] part of check-in [bead0d8f] Update this branch with latest changes from trunk. (check-in: [bead0d8f] user: dan branch: begin-concurrent, size: 310976)
17:32
[f8689104] part of check-in [7f1b61a3] Update this branch with latest changes from trunk. (check-in: [7f1b61a3] user: dan branch: wal2, size: 309821)
2023-11-24
12:48
[3b63a707] part of check-in [2b9d5ff7] Merge 3.44.2 changes into the reuse-schema-3.44 sub-branch. (check-in: [2b9d5ff7] user: drh branch: reuse-schema-3.44, size: 309403)
12:42
[947bf915] part of check-in [1d9dfad0] Merge 3.44.2 changes into the bedrock-3.44 sub-branch. (check-in: [1d9dfad0] user: drh branch: bedrock-3.44, size: 311367)
12:38
[7bd1c830] part of check-in [0118e8c9] Merge 3.44.2 changes into the wal2-3.44 sub-branch. (check-in: [0118e8c9] user: drh branch: wal2-3.44, size: 309808)
12:33
[6e1b937b] part of check-in [6d97426f] Merge 3.44.2 changes into the begin-concurrent-3.44 sub-branch. (check-in: [6d97426f] user: drh branch: begin-concurrent-3.44, size: 310963)
2023-11-23
11:45
[1cfb61c5] part of check-in [db40272c] Fix harmless compiler warnings in debugging code. (check-in: [db40272c] user: drh branch: branch-3.44, size: 309403)
2023-11-22
16:32
[7ccecf0e] part of check-in [24fc47af] Merge the 3.44.1 patches into a new sub-branch of reuse-schema. (check-in: [24fc47af] user: drh branch: reuse-schema-3.44, size: 309322)
16:15
[b5eab144] part of check-in [84f42157] Merge the version 3.44.1 patch into a new sub-branch of bedrock. (check-in: [84f42157] user: drh branch: bedrock-3.44, size: 311286)
15:34
[368941ee] part of check-in [2672572c] Merge the 3.44.1 patches into a sub-branch of wal2. (check-in: [2672572c] user: drh branch: wal2-3.44, size: 309727)
15:29
[60d470c2] part of check-in [7a1a114b] Merge the 3.44.1 patches into a new sub-branch of begin-concurrent. (check-in: [7a1a114b] user: drh branch: begin-concurrent-3.44, size: 310882)
2023-11-21
17:54
[a5bf636e] part of check-in [6d78d50e] Merge all recent trunk fixes and enhancements into the jsonb branch. (check-in: [6d78d50e] user: drh branch: jsonb, size: 309538)
2023-11-20
13:12
[60f7b6b2] part of check-in [0d5f6871] Convert an assert in OP_VCheck into a branch that aborts the opcode, as this can happen on some very obscure conditions, as discovered by dbsqlfuzz. (check-in: [0d5f6871] user: drh branch: branch-3.44, size: 309322)
13:06
[319af2cf] part of check-in [7946c795] Convert an assert in OP_VCheck into a branch that aborts the opcode, as this can happen on some very obscure conditions, as discovered by dbsqlfuzz. Test case in TH3. (check-in: [7946c795] user: drh branch: trunk, size: 309416)
2023-11-17
17:03
[8b8e0c68] part of check-in [162f0509] Merge the latest trunk enhancements and fixes into the jsonb branch. (check-in: [162f0509] user: drh branch: jsonb, size: 309536)
12:22
[04b827a4] part of check-in [ce6a7562] Fix harmless compiler warnings in debugging code. (check-in: [ce6a7562] user: drh branch: trunk, size: 309414)
2023-11-10
18:59
[44bccc33] part of check-in [091a5f05] Merge recent trunk enhancements and fixes into the jsonb branch. (check-in: [091a5f05] user: drh branch: jsonb, size: 309455)
2023-11-08
17:11
[5f7432b2] part of check-in [72393b00] Merge recent trunk enhancements into the jsonb branch, and especially the finer-grain characterization of JSON function properties. (check-in: [72393b00] user: drh branch: jsonb, size: 309409)
00:45
[7034cf3e] part of check-in [b0594383] Suppress harmless UBSAN warnings about memory overflow in OP_AddImm. The exact same machine code is generated by GCC. (check-in: [b0594383] user: drh branch: trunk, size: 309333)
2023-11-01
14:12
[4c761113] part of check-in [a420a4f7] Bring the jsonb branch up-to-date with version 3.44.0 changes. (check-in: [a420a4f7] user: drh branch: jsonb, size: 309396)
2023-10-30
23:05
[6726140a] part of check-in [28f9a559] Merge the latest 3.44.0 release candidate changes into the reuse-schema branch. (check-in: [28f9a559] user: drh branch: reuse-schema, size: 309320)
22:57
[2a5e7b83] part of check-in [956b03a4] Merge the latest 3.44.0 release candidate patches into the bedrock branch. (check-in: [956b03a4] user: drh branch: bedrock, size: 311284)
21:46
[ddf76d04] part of check-in [4f65ae2d] Merge the latest 3.44.0 changes into wal2 branch. (check-in: [4f65ae2d] user: drh branch: wal2, size: 309725)
21:39
[eec1baca] part of check-in [9fa405eb] Merge the latest trunk changes into the begin-concurrent branch. (check-in: [9fa405eb] user: drh branch: begin-concurrent, size: 310880)
2023-10-25
10:37
[14479441] part of check-in [bc8afa3f] Enhance the new xIntegrity method of the sqlite3_module object with new parameters that provide the name of the table being checked and a flag to indicate a "quick_check". Based on feedback in forum post 965c0d02ea. (check-in: [bc8afa3f] user: drh branch: trunk, size: 309320)
2023-10-24
16:16
[af7eace7] part of check-in [688c6279] New #ifdefs to fix certain compile-time options. (check-in: [688c6279] user: drh branch: trunk, size: 309110)
2023-10-23
19:27
[5e83214a] part of check-in [52262ac9] Merge the latest trunk enhancments into the reuse-schema branch. (check-in: [52262ac9] user: drh branch: reuse-schema, size: 308946)
16:08
[d3b02730] part of check-in [c9c9bc09] Merge latest changes from wal2 into this branch. (check-in: [c9c9bc09] user: dan branch: bedrock, size: 310910)
16:00
[f4c10417] part of check-in [3a6479d3] Merge latest trunk changes into this branch. (check-in: [3a6479d3] user: dan branch: wal2, size: 309351)
15:48
[cc1c7517] part of check-in [c5ef898a] Merge latest trunk changes into this branch. (check-in: [c5ef898a] user: dan branch: begin-concurrent, size: 310506)
2023-10-19
21:05
[654cdbf0] part of check-in [d4bfa8d2] 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: [d4bfa8d2] user: drh branch: branch-3.28, size: 265633)
20:46
[b48fb188] part of check-in [f47a8d0a] Merge recent trunk enhancements into the jsonb branch. (check-in: [f47a8d0a] user: drh branch: jsonb, size: 309022)
2023-10-17
19:33
[300b1ac9] part of check-in [37ff0d8e] Fix a harmless compiler warning about variant types for a pointer function. (check-in: [37ff0d8e] user: drh branch: trunk, size: 308946)
18:59
[fb7697e9] part of check-in [023ad470] Make a new branch in the SqlExec opcode reachable by tests. (check-in: [023ad470] user: drh branch: trunk, size: 308978)
2023-10-13
22:19
[ae873b02] part of check-in [348fa7aa] Earlier detection of a host of errors in CREATE TABLE, such the CREATE TABLE statement itself fails, rather than generating an error on the first attempted use of the created table. (check-in: [348fa7aa] user: drh branch: trunk, size: 308978)
13:49
[4c688500] part of check-in [3237bf96] Immediately fail a CREATE TABLE statement that attempts to create a table that has a generated column loop. Legacy allows the table to be created but the table would not be usable for anything. (check-in: [3237bf96] user: drh branch: trunk, size: 308665)
2023-10-09
12:10
[6d79ae3d] part of check-in [53d5c504] In the VDBE trace output (available under -DSQLITE_DEBUG only), identify register values that hold a refernce-counted string. (check-in: [53d5c504] user: drh branch: mistake, size: 308651)
2023-09-30
16:50
[03e66cfa] part of check-in [15ffd932] Restore the trunk version of sqlite3_user_data(). Fix the xColumn for virtual tables so that the sqlite3_context contains a valid but NULL user data pointer. (check-in: [15ffd932] user: drh branch: jsonb, size: 308632)
2023-09-14
16:02
[cd112eb0] part of check-in [d88f41b2] Document the use of OPFLAG_ISNOOP as the P2 argument on OP_Delete. No functional code changes. (check-in: [d88f41b2] user: drh branch: trunk, size: 308556)
2023-09-07
02:13
[2849053c] part of check-in [52bbf44f] Fix a problem with the new xIntegrity method for virtual tables, and also fix a bad assert() in FTS3 that was found by the new xIntegrity method. (check-in: [52bbf44f] user: drh branch: trunk, size: 308258)
2023-09-06
14:00
[697f4a44] part of check-in [f1d4024a] Change the xIntegrity virtual table method signature so that it returns an integer error code and writes the error message into a parameter. (check-in: [f1d4024a] user: drh branch: vtab-integrity-check, size: 308135)
12:52
[d1ae563f] part of check-in [17bede8c] Add the xIntegrity method to the sqlite3_module object. Implement this method in RTREE, FTS3/4, and FTS5 so that "PRAGMA integrity_check" also verifies the correctness of shadow tables associated with those virtual tables. (check-in: [17bede8c] user: drh branch: vtab-integrity-check, size: 308057)
2023-09-02
19:35
[5f49afa4] part of check-in [2aef9af3] Performance optimization to the OP_MakeRecord opcode. (check-in: [2aef9af3] user: drh branch: trunk, size: 306974)
2023-08-12
12:16
[3ef6fd63] part of check-in [d2b0ddcc] Merge the latest trunk enhancements into the reuse-schema branch. (check-in: [d2b0ddcc] user: drh branch: reuse-schema, size: 306623)
2023-08-11
11:46
[3ef180ba] part of check-in [859932eb] Merge all the latest trunk enhancements into the bedrock branch. (check-in: [859932eb] user: drh branch: bedrock, size: 308587)
11:34
[ed1b8487] part of check-in [7cb2b4e3] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [7cb2b4e3] user: drh branch: begin-concurrent, size: 308183)
2023-08-10
17:03
[11f1a004] part of check-in [72f7807b] Merge latest trunk changes into this branch. (check-in: [72f7807b] user: dan branch: wal2, size: 307028)
2023-08-05
19:15
[346d848a] part of check-in [8ede5008] Tiny doc typo fixes from forum post 31eb707250. No code changes. (check-in: [8ede5008] user: stephan branch: trunk, size: 306623)
2023-08-03
23:26
[6db2c0f0] part of check-in [877ffece] Merge the latest trunk enhancements into the bedrock branch. (check-in: [877ffece] user: drh branch: bedrock, size: 308576)
23:22
[291ce57d] part of check-in [6fa71e11] Merge the latest trunk enhancements into the wal2 branch. (check-in: [6fa71e11] user: drh branch: wal2, size: 307017)
18:14
[e7567960] part of check-in [65a8716d] Fix harmless scan-build warnings. (check-in: [65a8716d] user: drh branch: trunk, size: 306612)
2023-07-31
22:03
[fe09ed1f] part of check-in [659284ab] Restrict the new column cache to table-btree, which is the common case anyhow. That way, writes to indexes do not need to clear the column cache. (check-in: [659284ab] user: drh branch: trunk, size: 306620)
20:02
[49b0c386] part of check-in [ec95e970] The original column-cache implementation from check-in [ab1edcc7fedcf279] (merged to trunk at [771fe35074b50b8d]) is unsound. This check-in fixes the issue. Had to give back a little performance, the optimization is still a overall win. (check-in: [ec95e970] user: drh branch: trunk, size: 306445)
2023-07-28
19:00
[3b010072] part of check-in [b8731493] Merge the latest trunk enhancements into the reuse-schema branch. (check-in: [b8731493] user: drh branch: reuse-schema, size: 305985)
18:52
[017239fc] part of check-in [1d6ded32] Merge the latest trunk enhancements into the bedrock branch. (check-in: [1d6ded32] user: drh branch: bedrock, size: 307949)
18:47
[cf9dbbe0] part of check-in [c1fa1cb5] Merge the latest trunk enhancements into the wal2 branch. (check-in: [c1fa1cb5] user: drh branch: wal2, size: 306390)
18:43
[906cfa41] part of check-in [7407dda8] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [7407dda8] user: drh branch: begin-concurrent, size: 307545)
00:54
[cd039675] part of check-in [d3f458dc] Remove some unnecessary and incorrect code that was mistakenly added in the previous check-in. (check-in: [d3f458dc] user: drh branch: json-opt, size: 305985)
2023-07-27
19:39
[2465f86f] part of check-in [ab1edcc7] The OP_Column opcode caches large column values coming from overflow pages. (check-in: [ab1edcc7] user: drh branch: json-opt, size: 306137)
2023-07-24
13:30
[ba77c689] part of check-in [e0e7b01e] Merge the latest trunk enhancements into the reuse-schema branch. (check-in: [e0e7b01e] user: drh branch: reuse-schema, size: 303365)
13:24
[6e54b2bf] part of check-in [a6f34439] Merge the latest trunk enhancements into the bedrock branch. (check-in: [a6f34439] user: drh branch: bedrock, size: 305329)
13:20
[f9f2dab3] part of check-in [b2e56f62] Merge the latest trunk enhancements into the wal2 branch. (check-in: [b2e56f62] user: drh branch: wal2, size: 303770)
13:15
[c0c9aaf8] part of check-in [967be041] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [967be041] user: drh branch: begin-concurrent, size: 304925)
2023-07-21
15:01
[4cda877d] part of check-in [d0278cde] Multiple optimizations that try to preserve or infer the zero-terminated property of TEXT values. Avoid unnecessary copying of text values destined to become function parameters. All changes help improve performance of doing UPDATEs on large JSON values that are indexed multiple ways. (check-in: [d0278cde] user: drh branch: big-function-text, size: 303365)
2023-07-08
19:28
[a5a67c8d] part of check-in [7a9cb6f4] Merge the latest trunk enhancements into the reuse-schema branch. (check-in: [7a9cb6f4] user: drh branch: reuse-schema, size: 303201)
19:16
[2b97ccb8] part of check-in [35bfb5bf] Merge the latest trunk enhancements into the bedrock branch. (check-in: [35bfb5bf] user: drh branch: bedrock, size: 305165)
19:09
[64803a8e] part of check-in [f0793653] Merge all the latest trunk enhancements into the wal2 branch. (check-in: [f0793653] user: drh branch: wal2, size: 303606)
19:00
[e83a0e93] part of check-in [3d0823c4] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [3d0823c4] user: drh branch: begin-concurrent, size: 304761)
2023-06-30
17:14
[74282a94] part of check-in [796eadcc] Add support for sqlite3_stmt_scanstatus_v2() profiling of GROUP BY clauses that use a temp b-tree. (check-in: [796eadcc] user: dan branch: scanstatus-exp, size: 303201)
2023-06-22
21:19
[c993304c] part of check-in [8b8ea4e3] Optimize the argument to the octet_length() function so that it does not attempt to read content from disk. (check-in: [8b8ea4e3] user: drh branch: octet_length, size: 303168)
14:50
[c36238e0] part of check-in [905c6c9d] Merge the latest trunk enhancements into the reuse-schema branch. (check-in: [905c6c9d] user: drh branch: reuse-schema, size: 303115)
14:40
[5cfca43a] part of check-in [0551b79b] Merge the latest trunk enhancements into the bedrock branch. (check-in: [0551b79b] user: drh branch: bedrock, size: 305079)
14:20
[e3af5562] part of check-in [80ac494f] Merge the latest trunk enhancements into the wal2 branch. (check-in: [80ac494f] user: drh branch: wal2, size: 303520)
13:28
[786a0cc7] part of check-in [5bd26fea] Merge recent trunk enhancements into the begin-concurrent branch. (check-in: [5bd26fea] user: drh branch: begin-concurrent, size: 304675)
2023-06-12
13:49
[6c0de640] part of check-in [56d9bb7a] Fix a problem causing bloom filters to be used less efficiently than they might be. Problem reported by forum post 06c3f01da6. (check-in: [56d9bb7a] user: dan branch: trunk, size: 303115)
2023-06-07
08:40
[c3b6d8d6] part of check-in [26c1bb4b] Add a C-source spell-checking facility. make misspell (on Nix) (check-in: [26c1bb4b] user: larrybr branch: spell-check, size: 303107)
2023-05-13
15:21
[222f4cfc] part of check-in [515bb26e] Merge the latest 3.42.0 changes into the reuse-schema branch. (check-in: [515bb26e] user: drh branch: reuse-schema, size: 303354)
15:17
[ff263dbc] part of check-in [18c5e16b] Merge the latest 3.42.0 changes from trunk into the begin-concurrent branch. (check-in: [18c5e16b] user: drh branch: begin-concurrent, size: 304913)
15:10
[fb5e47fc] part of check-in [d55ba8bb] Merge the latest 3.42.0 beta changes into the bedrock branch. (check-in: [d55ba8bb] user: drh branch: bedrock, size: 305312)
15:07
[6ca6350f] part of check-in [3bbfbdcd] Merge the latest 3.42.0 beta from trunk into the wal2 branch. For some reason, the previous merge didn't work. Probably a PEBKAC. (check-in: [3bbfbdcd] user: drh branch: wal2, size: 303753)
2023-05-10
10:03
[fedd2dfa] part of check-in [7e2c2b1c] Add a missing comma to the documentation for the OP_Jump opcode. No changes to code. (check-in: [7e2c2b1c] user: drh branch: trunk, size: 303354)
2023-05-04
14:41
[fe7fa949] part of check-in [b2e0800b] Merge latest wal2 changes into this branch. (check-in: [b2e0800b] user: dan branch: bedrock, size: 305311)
2023-05-02
21:26
[4b67aa77] part of check-in [d08fa7d4] Merge the latest trunk enhancements into the reuse-schema branch. (check-in: [d08fa7d4] user: drh branch: reuse-schema, size: 303353)
21:10
[c96ce4f6] part of check-in [6f22c767] Update this branch with latest changes from trunk. (check-in: [6f22c767] user: dan branch: begin-concurrent, size: 304912)
19:58
[4c2c3da5] part of check-in [0215dcc7] Merge the latest trunk enhancements into the wal2 branch. (check-in: [0215dcc7] user: drh branch: wal2, size: 303752)
2023-04-27
23:40
[94d5520d] part of check-in [d85880e4] Remove an ALWAYS() macro that can in fact sometimes be false. Forum post f0e872fcee. (check-in: [d85880e4] user: drh branch: trunk, size: 303353)
2023-04-26
18:23
[1d3e3b10] part of check-in [3e2da8a7] When changing a large integer into a floating point value, cancel the string representation. Fix for forum post 5c74a3bc4a. (check-in: [3e2da8a7] user: drh branch: trunk, size: 303361)
2023-03-29
17:26
[61cb236a] part of check-in [d8b17615] Back out elements (1) and (2) from [96ec8306457eebf5]. (check-in: [d8b17615] user: drh branch: nan-inf, size: 303444)
16:28
[c62c3fe9] part of check-in [248bf629] Merge recent trunk fixes into the nan-inf branch. (check-in: [248bf629] user: drh branch: nan-inf, size: 303425)
11:40
[7415af77] part of check-in [fbc27e18] Enhance PRAGMA integrity_check so that it can detect that a NOT NULL column contains a NaN value and report that as an error. (check-in: [fbc27e18] user: drh branch: branch-3.41, size: 302938)
11:36
[a6c52ba6] part of check-in [7638d975] Enhance PRAGMA integrity_check so that it can detect that a NOT NULL column contains a NaN value and report that as an error. dbsqlfuzz f144b642fe6f1a1c196f258ac6e60118a0cb59b2. (check-in: [7638d975] user: drh branch: trunk, size: 303351)
00:05
[2fb5cace] part of check-in [242cb36c] Modify the OP_IsType opcode so that it does not need to distinguish between NaN and other floating point values. Later: This branch causes an unnecessary slowdown of PRAGMA integrity_check. Check-in [7638d9755dc90fd3] does a better job of detecting when a NaN value occurs in a NOT NULL column. (check-in: [242cb36c] user: drh branch: istype-opcode-refactor, size: 301717)
2023-03-24
21:27
[b8be091e] part of check-in [b95e6933] Fix an error in the OP_SeekScan opcode. (check-in: [b95e6933] user: drh branch: branch-3.41, size: 302561)
21:24
[2bb4694b] part of check-in [651a13fc] Fix an error in the OP_SeekScan opcode added by check-in [4a43430fd23f8835]. Problem reported by forum post 8cc1dc0fe9. (check-in: [651a13fc] user: drh branch: trunk, size: 302974)
2023-03-22
20:21
[1838a916] part of check-in [96ec8306] Add the SQLITE_ENABLE_NAN_INF compile-time option which makes the following behavior changes: (1) sqlite3_value_double(NULL) returns NaN, (2) SQLite preserves NaN values rather than converting them to NULL. (3) CAST statements understand "NaN" and "Inf" and make the right conversions. (4) Non-standard JSON is never generated by SQLite JSON routines, but those routines will accept floating point literals "NaN", "Inf", and "-Inf". (check-in: [96ec8306] user: drh branch: nan-inf, size: 303013)
2023-03-10
12:47
[b3c81401] part of check-in [2780cc9f] Merge the 3.41.1 patches into the bedrock branch. (check-in: [2780cc9f] user: drh branch: bedrock-3.41, size: 304484)
00:59
[d3b37b63] part of check-in [af08bd3e] Merge the branch-3.41 patches into the reuse-schema branch. (check-in: [af08bd3e] user: drh branch: reuse-schema-3.41, size: 302526)
00:21
[10f6a010] part of check-in [e67bfc76] Merge the latest 3.41 patches into a new branch called wal2-3.41. (check-in: [e67bfc76] user: drh branch: wal2-3.41, size: 302925)
2023-03-08
17:09
[80a64921] part of check-in [ca89daef] Small performance improvement in the OP_MakeRecord opcode. (check-in: [ca89daef] user: drh branch: trunk, size: 302939)
2023-03-04
12:57
[0cf4c72a] part of check-in [35f10a06] Show the output value from OP_AggFinal when doing byte-code tracing. (check-in: [35f10a06] user: drh branch: trunk, size: 302939)
2023-02-28
19:39
[1ddcb8a7] part of check-in [0f5579be] Add an sqlite3_db_config() option - SQLITE_DBCONFIG_STMT_SCANSTATS - for enabling and disabling the collection of sqlite3_stmt_scanstats() statistics in SQLITE_ENABLE_STMT_SCANSTATUS builds. Collection of statistics is disabled by default. (check-in: [0f5579be] user: dan branch: trunk, size: 302897)
18:06
[523fbe20] part of check-in [5916705c] Only use a Bloom filter on an automatic index if one or more of the key columns in the index can take on non-TEXT values. (check-in: [5916705c] user: drh branch: trunk, size: 302730)
14:28
[b3fd04b0] part of check-in [090304b8] In the Bloom filter optimization, hash all strings and blobs into the same value, because we do not know if two different strings might compare equal even if they have different byte sequences, due to collating functions. Formerly, the hash of a string or blob was just its length. This could all be improved. Fix for the issue reported by forum post 0846211821. (check-in: [090304b8] user: drh branch: trunk, size: 302526)
2023-02-21
21:26
[7e862efc] part of check-in [bbd35706] Update the reuse-schema branch to version 3.41.0. (check-in: [bbd35706] user: drh branch: reuse-schema, size: 302574)
21:22
[ff9be733] part of check-in [dc1d8570] Update the bedrock branch to version 3.41.0 (check-in: [dc1d8570] user: drh branch: bedrock, size: 304532)
21:19
[4bac271b] part of check-in [7bb1f6dc] Update the wal2 branch to version 3.41.0. (check-in: [7bb1f6dc] user: drh branch: wal2, size: 302973)
21:19
[7c1da079] part of check-in [918aea50] Update the begin-concurrent branch to version 3.41.0 (check-in: [918aea50] user: drh branch: begin-concurrent, size: 304133)
12:34
[0bf4804f] part of check-in [7981671d] Fix a minor typo in a comment. No changes to working code. (check-in: [7981671d] user: drh branch: trunk, size: 302574)
2023-02-07
15:29
[63365ccd] part of check-in [4d21640c] Merge latest trunk changes into this branch. (check-in: [4d21640c] user: dan branch: reuse-schema, size: 302575)
2023-02-06
17:35
[db91678c] part of check-in [46e79167] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [46e79167] user: drh branch: begin-concurrent, size: 304134)
2023-02-02
14:27
[2d5efbc8] part of check-in [5a22010c] Merge latest enhancments into this branch from branch wal2. (check-in: [5a22010c] user: dan branch: begin-concurrent-pnu-wal2, size: 304533)
14:21
[8a50be4b] part of check-in [c9b01802] Merge trunk enhancements into this branch. (check-in: [c9b01802] user: dan branch: wal2, size: 302974)
2023-01-25
16:56
[47d3b78e] part of check-in [144326dc] Enhance the sqlite3_vtab_in_first() and sqlite3_vtab_in_next() interfaces so that they reliably return SQLITE_ERROR (and not SQLITE_MISUSE) if they are invoked on a parameter that did not have multi-value IN processing enabled via a prior call to sqlite3_vtab_in(). See forum thread a823d4a3d5f73def. (check-in: [144326dc] user: drh branch: trunk, size: 302575)
2023-01-17
19:00
[da2963a1] part of check-in [517b2c4c] Change an now unreachable testcase() into an assert(). (check-in: [517b2c4c] user: drh branch: trunk, size: 302563)
2023-01-16
20:33
[574598c7] part of check-in [906caf89] Another version of the debug-only logging on this branch. (check-in: [906caf89] user: dan branch: schema-version-instr, size: 298924)
2023-01-12
19:43
[c2a219e1] part of check-in [deb26d03] Merge latest trunk changes, including fixes for RBU pass-through mode, with this branch. (check-in: [deb26d03] user: dan branch: reuse-schema, size: 302551)
2023-01-11
17:50
[238635c1] part of check-in [33fd9997] If OP_Rewind has P2 of zero, that is an assertion that the table is never empty. This fixes a false-positive in the out-of-subroutine jump detection logic added in version 3.39.0, and which was causing the assertion on the previous check-in. (check-in: [33fd9997] user: drh branch: code-generator-20230111, size: 302551)
16:44
[813c7895] part of check-in [b8f99441] Add an assert() to the byte-code engine that goes off if the OP_Halt opcode is invoked with SQLITE_INTERNAL. This causes the RIGHT JOIN error "Opcode jumps to ... which is outside the subroutine ..." to fail immediately, causing it to come more readily to tester's attention. There is at least one testcase in test/fuzzdata8.db that asserts due to this change. (check-in: [b8f99441] user: drh branch: code-generator-20230111, size: 302404)
16:17
[6b11efa7] part of check-in [6db42780] Improved progress-handler and interrupt detection during PRAGMA integrity_check. (check-in: [6db42780] user: drh branch: trunk, size: 302133)
2023-01-05
14:41
[d05e97e6] part of check-in [a6251d72] Changes a testcase() into an assert() due to the [e58bba93717cd6ff] change. (check-in: [a6251d72] user: drh branch: trunk, size: 302097)
13:41
[cc5a3035] part of check-in [d28d9398] Fix a problem with applying integer affinity to a MEM_IntReal value. Forum post d270125fae. (check-in: [d28d9398] user: drh branch: branch-3.40, size: 300929)
13:35
[5146547a] part of check-in [e58bba93] Fix a problem with applying integer affinity to a MEM_IntReal value. Forum post d270125fae. (check-in: [e58bba93] user: dan branch: trunk, size: 302120)
2022-12-23
14:49
[b2f2cbaa] part of check-in [c14bbe16] Fix lots of harmless, nuisance compiler warnings, mostly unused parameter warnings in extensions. (check-in: [c14bbe16] user: drh branch: trunk, size: 302106)
11:46
[b51ec343] part of check-in [7d3772f0] Additional fixes for yet more completely harmless compiler warnings. (check-in: [7d3772f0] user: drh branch: trunk, size: 302070)
11:32
[b0a0fcf1] part of check-in [a02e19dd] Squelch a new (and, in this case, harmless) compiler warning. (check-in: [a02e19dd] user: stephan branch: trunk, size: 302051)
2022-12-22
21:32
[61fccece] part of check-in [7b5900a1] Asserts added to ensure that the iCompare variable in the bytecode engine is correctly initialized before it is used. (check-in: [7b5900a1] user: drh branch: trunk, size: 302053)
19:12
[65097b1b] part of check-in [6a00d67f] Avoid having to reinitialize Vdbe.pResultRow upon each call to sqlite3_step() for a small size reduction and performance increase. (check-in: [6a00d67f] user: drh branch: trunk, size: 301716)
18:44
[6be002bb] part of check-in [1fd6211e] Rename the Vdbe.pResultSet field to pResultRow in order to better distinguish it from other variables with similar names. (check-in: [1fd6211e] user: drh branch: trunk, size: 301737)
18:35
[2cb6f6b3] part of check-in [3181331c] Small performance optimization associated with shared cache in the byte-code engine. (check-in: [3181331c] user: drh branch: trunk, size: 301737)
17:36
[03185a27] part of check-in [781fdcb9] Small performance optimization on the OP_Insert opcode. (check-in: [781fdcb9] user: drh branch: trunk, size: 301670)
14:29
[addae813] part of check-in [b9efbc53] Different version of "PRAGMA schema_version" instrumentation. (check-in: [b9efbc53] user: dan branch: schema-version-instr, size: 299108)
2022-12-21
21:01
[71321d44] part of check-in [1bfae9b3] Merge the latest trunk enhancements into the reuse-schema branch. (check-in: [1bfae9b3] user: drh branch: reuse-schema, size: 301581)
20:43
[29630d69] part of check-in [bcab19d2] Merge the latest trunk enhancements into the begin-concurrent-pnu-wal2 branch. (check-in: [bcab19d2] user: drh branch: begin-concurrent-pnu-wal2, size: 303539)
20:28
[b56f5233] part of check-in [21ebd4cf] Merge the latest trunk enhancements into the wal2 branch. (check-in: [21ebd4cf] user: drh branch: wal2, size: 301980)
20:17
[02978bda] part of check-in [397fb07b] Merge the latest trunk enhancements into the begin-concurrent-report branch. (check-in: [397fb07b] user: drh branch: begin-concurrent-report, size: 304037)
20:07
[69bfbf1f] part of check-in [0c198aee] Update the begin-concurrent branch with the latest enhancements on trunk. (check-in: [0c198aee] user: drh branch: begin-concurrent, size: 303140)
2022-12-19
18:42
[0aebfd43] part of check-in [44dd01e3] Hack for special gettimeofday() instrumentation of "PRAGMA schema_version". (check-in: [44dd01e3] user: dan branch: schema-version-instr, size: 299313)
2022-12-17
12:49
[5c66a10b] part of check-in [b4281db4] Add NEVER/ALWAYS to branches that have become unreachable due to recent enhancements. (check-in: [b4281db4] user: drh branch: trunk, size: 301581)
2022-12-15
20:03
[c1a65b1b] part of check-in [44135d6e] Create a new affinity called FLEXNUM that works like NUMERIC except that it never tries to convert integer to real or real to integer. The affinity is only used internally - it is not possible to create a table column with this affinity. This affinity is used on subqueries and views that are built off of a compound SELECT and where the datatype is controlled by a CAST expression. dbsqlfuzz c9ee6f9a0a8b8fefb02cf69de2a8b67ca39525c8 (check-in: [44135d6e] user: drh branch: trunk, size: 301574)
2022-12-14
09:06
[705df5b0] part of check-in [fe5a77bc] Back out the part of the change in [88a05141c28e5ff1] that adds affinity to the materialization of a view, as the affinity can be undefined for a compound query. This passes all TCL tests, but shows failures in the TH3 tests derived from forum post 6f842bc5b2dadcb2, presumably because the WHERE clause of the query uses constraints of the form "source_crs_code='8675'" instead of "source_crs_code=8675". Perhaps further changes on this branch should reimplement affinity on joins in cases where the affinity is unambiguous. (check-in: [fe5a77bc] user: drh branch: refactor-subquery-types, size: 301347)
2022-12-07
20:09
[df9ff3fc] part of check-in [212927e9] Reduce the overhead of SQLITE_ENABLE_STMT_SCANSTATUS some. (check-in: [212927e9] user: dan branch: trunk, size: 301385)
2022-12-06
18:48
[8fdef91d] part of check-in [9499b2f5] Have sqlite3_stmt_scanstatus_v2() return an NCYCLE value for all loops, not just virtual tables ones. The value returned is the sum of the NCYCLE counts for the various opcodes that move or read data from the table or index cursor associated with the loop. (check-in: [9499b2f5] user: dan branch: trunk, size: 301914)
2022-12-05
18:19
[e7442590] part of check-in [41a0e05e] Add loops and rows counters to "USE TEMP B-TREE FOR ORDER BY" records. Also fix the sqliteHwtime() function so that it returns a 64-bit value. (check-in: [41a0e05e] user: dan branch: scanstatus_v2, size: 301414)
2022-12-02
20:32
[5f5cc749] part of check-in [55800833] Enhance the sqlite3_stmt_scanstatus() API and add sqlite3_stmt_scanstatus_v2(). For creation of easier to read query performance reports. (check-in: [55800833] user: dan branch: scanstatus_v2, size: 301279)
2022-11-29
17:52
[00648bd7] part of check-in [f64a2242] Change the handling of hwtime.h to make it easier to compile performance measurement builds that make use of hwtime.h. This should not affect productions builds. (check-in: [f64a2242] user: drh branch: trunk, size: 300807)
2022-11-19
20:10
[c2d6d0c0] part of check-in [f40bf2c6] New assert()s confirm that BTREE_PREFORMAT must be the same value as OPFLAG_PREFORMAT. (check-in: [f40bf2c6] user: drh branch: trunk, size: 300962)
2022-11-05
15:31
[0cae5da9] part of check-in [224eaf26] Merge the latest trunk enhancements into the reuse-schema branch. (check-in: [224eaf26] user: drh branch: reuse-schema, size: 300915)
2022-11-04
19:09
[687a642e] part of check-in [aa2e247b] Merge the latest trunk enhancements into the begin-concurrent-pnu-wal2 branch. (check-in: [aa2e247b] user: drh branch: begin-concurrent-pnu-wal2, size: 302873)
18:58
[eb09089c] part of check-in [ca63a1be] Merge the latest trunk enhancements into the wal2 branch. (check-in: [ca63a1be] user: drh branch: wal2, size: 301314)
18:47
[8d54e280] part of check-in [d8568a84] Merge the latest trunk enhancements into the begin-concurrent-report branch. (check-in: [d8568a84] user: drh branch: begin-concurrent-report, size: 303371)
18:33
[40ccde92] part of check-in [b361ee98] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [b361ee98] user: drh branch: begin-concurrent, size: 302474)
2022-10-13
15:09
[0c7cb1b9] part of check-in [cb943501] Optimize the IS NULL and IS NOT NULL operators so that they avoid loading large strings or blobs off of disk if all it needs to know is whether or not the string or blob is NULL. (check-in: [cb943501] user: drh branch: trunk, size: 300915)
14:54
[581496d8] part of check-in [5e9c67ba] Improvements to the description of the OPFLAG_TYPEOFARG option to OP_Column. (check-in: [5e9c67ba] user: drh branch: isnull-opt, size: 300915)
14:01
[76c40285] part of check-in [043e76e6] Fix a typo in the documentation of the OP_Column opcode. Forum post a2b5bd6d43. (check-in: [043e76e6] user: drh branch: trunk, size: 300791)
2022-10-11
13:57
[4e51ba30] part of check-in [846f863e] Enhance the OP_IsType opcode so that it is slightly smaller and faster and so that it works correctly with invalid serial-type codes 10 and 11. (check-in: [846f863e] user: drh branch: trunk, size: 300791)
2022-10-10
21:21
[387270d5] part of check-in [a1401731] Code clean-up for the integrity_check enhancement. (check-in: [a1401731] user: drh branch: integrity_check_datatypes, size: 300030)
18:25
[af03458e] part of check-in [8b1e7f05] An attempt to enhance PRAGMA integrity check so that it does data type checking on non-STRICT tables. Specifically: (1) Columns with TEXT affinity should not contain numeric values, and (2) columns with numeric affinity should not contain text values that can be converted to numeric. (check-in: [8b1e7f05] user: drh branch: integrity_check_datatypes, size: 300017)
2022-10-07
19:11
[08494341] part of check-in [b6be4ce6] Fix a problem causing the seek-scan optimization to skip over valid rows that could occur when it is used with expressions of the form (a IN (?,?..) AND b >= ?). dbsqlfuzz ab1db6dc0efb04cba1cd3431ee6da4894fdc4520. (check-in: [b6be4ce6] user: drh branch: branch-3.39, size: 297897)
18:57
[a26eef5a] part of check-in [63d9efe2] Fix a problem causing the seek-scan optimization to skip over valid rows that could occur when it is used with expressions of the form (a IN (?,?..) AND b >= ?). dbsqlfuzz ab1db6dc0efb04cba1cd3431ee6da4894fdc4520. (check-in: [63d9efe2] user: dan branch: trunk, size: 298502)
15:55
[34846c9e] part of check-in [0aa6dee7] Improved tracing output for showing all registers used by the OP_SeekGE opcode. This applies to debugging builds only. (check-in: [0aa6dee7] user: drh branch: trunk, size: 296735)
2022-10-01
12:00
[5ea5f28e] part of check-in [7812aea6] Merge the latest trunk enhancements into the stmt-cache branch. (check-in: [7812aea6] user: drh branch: stmt-cache, size: 296812)
2022-09-30
14:14
[fbfb1361] part of check-in [b119a5e8] Merge recent trunk enhancements into the reuse-schema branch. (check-in: [b119a5e8] user: drh branch: reuse-schema, size: 296645)
14:04
[be71256d] part of check-in [68a61513] Merge the latest trunk enhancements into the begin-concurrent-pnu-wal2 branch. (check-in: [68a61513] user: drh branch: begin-concurrent-pnu-wal2, size: 298603)
13:54
[ef8651d2] part of check-in [c22c7c87] Merge recent trunk enhancements into the wal2 branch. (check-in: [c22c7c87] user: drh branch: wal2, size: 297044)
13:42
[bc36bd69] part of check-in [4d6141f3] Merge the latest trunk changes into the begin-concurrent-report branch (check-in: [4d6141f3] user: drh branch: begin-concurrent-report, size: 299101)
13:29
[79a7cf50] part of check-in [ba2539f6] Merge all recent trunk enhancements into the begin-concurrent branch. (check-in: [ba2539f6] user: drh branch: begin-concurrent, size: 298204)
2022-09-28
17:10
[57004f80] part of check-in [cf0999d4] Prototype implementation of "PRAGMA reset_database". This pragma differs from SQLITE_DBCONFIG_RESET_DATABASE in that the pragma only works if the database is reasonably well-formed, whereas the dbconfig works regardless. (check-in: [cf0999d4] user: drh branch: reset-database, size: 296813)
2022-09-20
19:22
[0d1e3c65] part of check-in [1292d68c] Modify the OP_IfNotOpen opcode so that the jump is taken if the cursor is open but was previously set to a NULL row using OP_NullRow. (check-in: [1292d68c] user: drh branch: flattener-omit-restriction-29, size: 296645)
2022-08-25
18:29
[ec513585] part of check-in [7763b98b] Fix the bytecode engine so that it is able to handle an incoming SQLITE_TOOBIG error, which is now possible using the statement cache. (check-in: [7763b98b] user: drh branch: stmt-cache, size: 296687)
17:12
[cbf9c38a] part of check-in [8f6a1f77] Do not attempt to cache DDL statement. (check-in: [8f6a1f77] user: drh branch: stmt-cache, size: 296550)
14:31
[710b82c1] part of check-in [bc988ce7] Merge changes from trunk into the stmt-cache branch. (check-in: [bc988ce7] user: drh branch: stmt-cache, size: 296535)
13:32
[d27ec9a5] part of check-in [b573e2cf] Remove a NEVER() macro for a condition that is actually reachable following an OOM. dbsqlfuzz crash-6ef3cd3b18ccc5de86120950a0498641acd90a33.txt. (check-in: [b573e2cf] user: dan branch: trunk, size: 296520)
13:09
[635b426b] part of check-in [f27d919f] If a perpared statement runs the Expire opcode, then disqualify it from being cached. (check-in: [f27d919f] user: drh branch: stmt-cache, size: 296521)
2022-08-23
17:51
[0150d16d] part of check-in [4e0a07fc] Enhance assert() statements to enforce tighter bounds on the P5 operand of the OP_Next and OP_Prev opcodes. (check-in: [4e0a07fc] user: drh branch: trunk, size: 296506)
2022-08-22
16:30
[1894d00e] part of check-in [9c05a48e] Merge recent trunk enhancements into the reuse-schema branch. (check-in: [9c05a48e] user: drh branch: reuse-schema, size: 296352)
16:08
[a315ff40] part of check-in [dde76e91] Merge all recent trunk changes into the begin-concurrent-pnu-wal2 branch. (check-in: [dde76e91] user: drh branch: begin-concurrent-pnu-wal2, size: 298310)
15:57
[9ce0e231] part of check-in [0b7578bf] Merge all recent trunk enhancements into the wal2 branch. (check-in: [0b7578bf] user: drh branch: wal2, size: 296751)
15:48
[2d665f33] part of check-in [2ec6e9e1] Merge all recent trunk enhancements into the begin-concurrent-report branch. (check-in: [2ec6e9e1] user: drh branch: begin-concurrent-report, size: 298808)
15:42
[164b4ec2] part of check-in [7eac6136] Merge all recent trunk enhancements into the begin-concurrent branch. (check-in: [7eac6136] user: drh branch: begin-concurrent, size: 297911)
2022-08-10
18:40
[4e57ac96] part of check-in [bb084adb] Fix another harmless comment typo that causes a typo in the documentation. (check-in: [bb084adb] user: drh branch: trunk, size: 296352)
2022-08-08
16:25
[81e2febe] part of check-in [3518cd7c] Avoid trying to cast an over-sized floating point value into an integer. (check-in: [3518cd7c] user: drh branch: trunk, size: 296351)
13:04
[6bca2e52] part of check-in [a99cc008] Remove an unreachable branch in the numericType() helper routine. (check-in: [a99cc008] user: drh branch: trunk, size: 296421)
12:19
[e0517ef4] part of check-in [6c4fc838] Do not attempt to convert an oversized floating point value into an integer. (check-in: [6c4fc838] user: drh branch: trunk, size: 296320)
2022-08-04
14:02
[796fbae3] part of check-in [64348d0b] Fix a typo on a comment used to generate bytecode documentation. (check-in: [64348d0b] user: drh branch: trunk, size: 296230)
2022-08-03
19:53
[34f76cbb] part of check-in [597347d9] Performance optimization to the math opcodes of the bytecode engine. (check-in: [597347d9] user: drh branch: trunk, size: 296227)
2022-06-28
21:52
[2c4a04ba] part of check-in [77fe7376] Merge latest fixes from begin-concurrent-pnu-wal2 branch. (check-in: [77fe7376] user: dan branch: begin-concurrent-report-wal2, size: 298984)
2022-06-25
20:32
[1266f3a4] part of check-in [58caa50a] Put an ALWAYS() on an unreachable branch. (check-in: [58caa50a] user: drh branch: trunk, size: 296202)
19:43
[ba1018c5] part of check-in [2cf373b1] Allow flattening of a subquery that is the right operand of a LEFT JOIN in an aggregate query as long as there is no GROUP BY clause. (The GROUP BY clause will interfere with the operation of the TK_IF_NULL_ROW expression nodes.) (check-in: [2cf373b1] user: drh branch: trunk, size: 296194)
2022-06-24
16:15
[e8793796] part of check-in [506a3e6f] Merge the 3.39.0 release candidate 1 changes into the reuse-schema branch. (check-in: [506a3e6f] user: drh branch: reuse-schema, size: 296129)
15:26
[5233a61e] part of check-in [d3fa6921] Merge the latest changes into the begin-concurrent-pnu-wal2 branch. (check-in: [d3fa6921] user: drh branch: begin-concurrent-pnu-wal2, size: 298087)
15:15
[8c68f32a] part of check-in [5a5e6e36] Merge 3.39.0 release candidate 1 into the wal2 branch. (check-in: [5a5e6e36] user: drh branch: wal2, size: 296528)
15:04
[492e9b2c] part of check-in [1b28ad2c] Merge the version 3.39.0 release candidate 1 changes into the begin-concurrent-report branch. (check-in: [1b28ad2c] user: drh branch: begin-concurrent-report, size: 298585)
14:55
[2c7aaff8] part of check-in [5ae706a4] Merge 3.39.0 release candidate 1 changes into the begin-concurrent branch. (check-in: [5ae706a4] user: drh branch: begin-concurrent, size: 297688)
12:56
[3df15f0f] part of check-in [e93fd170] Fix a harmless UBSAN warning associated with PRAGMA schema_version found by OSSFuzz. (check-in: [e93fd170] user: drh branch: trunk, size: 296129)
2022-06-23
15:15
[c3038750] part of check-in [f8fe936a] Add back the ability to flatten a LEFT JOIN subquery - previously removed due to ticket [cad1ab4cb7b0fc344]. (check-in: [f8fe936a] user: drh branch: flatten-left-join, size: 296178)
2022-06-22
14:25
[d7a10fd2] part of check-in [d9a32044] Additional enhancements to comments. No changes to code. (check-in: [d9a32044] user: drh branch: trunk, size: 296113)
2022-06-17
21:31
[555620fb] part of check-in [5eb2c236] Fix the OP_Concat operator such that when concatenating a BLOB with an odd number of bytes on a database that is UTF16, the size of the resulting string is reduced to a multiple of two. (check-in: [5eb2c236] user: drh branch: trunk, size: 296114)
2022-06-16
13:57
[0e1db512] part of check-in [7f405fe2] Merge the latest trunk enhancements into the reuse-schema branch. (check-in: [7f405fe2] user: drh branch: reuse-schema, size: 296096)
13:56
[8a8debbc] part of check-in [82e7e836] Merge the latest trunk enhancements into the begin-concurrent-pnu-wal2 branch. (check-in: [82e7e836] user: drh branch: begin-concurrent-pnu-wal2, size: 298054)
13:44
[4842b98a] part of check-in [c8ad8699] Merge the latest trunk enhancements into the wal2 branch. (check-in: [c8ad8699] user: drh branch: wal2, size: 296495)
13:44
[e43c2cc1] part of check-in [8b446d0b] Merge the latest trunk enhancements into the begin-concurrent-report branch. (check-in: [8b446d0b] user: drh branch: begin-concurrent-report, size: 298552)
13:37
[f93cc564] part of check-in [221e07ed] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [221e07ed] user: drh branch: begin-concurrent, size: 297655)
2022-06-14
22:21
[1c254d8a] part of check-in [0e925654] Fix the OP_NullRow opcode so that it works even if it applied to an ephemeral cursor that has not yet been created. (check-in: [0e925654] user: drh branch: trunk, size: 296096)
2022-06-10
10:10
[1da334a0] part of check-in [1f132bb0] Fix a faulty assert() statement identified by forum post 0b91a75039. (check-in: [1f132bb0] user: drh branch: trunk, size: 296090)
2022-06-09
17:17
[388ced8d] part of check-in [9e51a6c0] Prevent subtype values from slipping across a subquery boundry when the subquery is implemented as a co-routine. (check-in: [9e51a6c0] user: drh branch: subtype-subquery, size: 296090)
16:19
[9959b20b] part of check-in [08af1fe2] The subtype of a value should not propagate across a subquery boundary. Proposed fix for the problem reported by forum post 3d9caa45cbe38c78. Additional works is needed as not all cases are covered. (check-in: [08af1fe2] user: drh branch: subtype-subquery, size: 295708)
2022-06-08
18:20
[d4c46579] part of check-in [09c8f9f1] Avoid zeroing the value returned by sqlite3_changes() when a DML statement is automatically reprepared in sqlite3_step(). (check-in: [09c8f9f1] user: dan branch: trunk, size: 295496)
2022-05-10
13:06
[92f69aac] part of check-in [9f6d6e61] Merge all recent trunk changes into the reuse-schema branch. (check-in: [9f6d6e61] user: drh branch: reuse-schema, size: 295269)
12:45
[4b5440d6] part of check-in [d28af1f8] Merge the latest trunk enhancements into theh begin-concurrent-pnu-wal2 branch. (check-in: [d28af1f8] user: drh branch: begin-concurrent-pnu-wal2, size: 297227)
12:39
[e2ce1c8c] part of check-in [33d77fea] Merge recent trunk enhancements into the wal2 branch. (check-in: [33d77fea] user: drh branch: wal2, size: 295668)
12:24
[09719cde] part of check-in [e6b5224d] Merge the latest trunk enhancements into the begin-concurrent-report branch. Had to restore the sqlite3VdbeSerialPut() routine that was removed in check-in [6f4d6f212a3558c2] when it was inlined because that routine is used again in a different place by this branch. (check-in: [e6b5224d] user: drh branch: begin-concurrent-report, size: 297725)
12:00
[507acc3a] part of check-in [f65bd767] Merge recent trunk enhancements into the begin-concurrent branch. (check-in: [f65bd767] user: drh branch: begin-concurrent, size: 296828)
2022-05-09
21:57
[be85c298] part of check-in [c0135441] Update this branch with latest changes from trunk, and the fts5 fix for "BEGIN CCONCURRENT" transactions. (check-in: [c0135441] user: dan branch: begin-concurrent-report-wal2, size: 294876)
2022-05-04
16:46
[35c770de] part of check-in [d5b0fd84] Merge version-3.38.4 into the reuse-schema-3.38 subbranch. (check-in: [d5b0fd84] user: drh branch: reuse-schema-3.38, size: 291296)
16:36
[1aca09e6] part of check-in [8473718d] Merge the version 3.38.4 fixes into the begin-concurrent-wal2-3.38 branch. (check-in: [8473718d] user: drh branch: begin-concurrent-wal2-3.38, size: 293254)
2022-05-03
14:25
[dafb1c9c] part of check-in [3dc9fc2f] Fix the Bloom filter pull-down optimization so that it jumps to the correct place if it encounters a NULL key. Fix for the bug described by forum thread 2482b32700384a0f. (check-in: [3dc9fc2f] user: drh branch: branch-3.38, size: 291296)
12:11
[a6a20956] part of check-in [8f8a58fe] Add assert()s to show that jumps always land an an instruction that is between 1 and Vdbe.nOp-1. Had these assert()s been in place before, they would have caused an assertion fault for the byte-code error reported by forum post 2482b32700. (check-in: [8f8a58fe] user: drh branch: trunk, size: 295269)
2022-04-21
19:25
[9527ab7f] part of check-in [29255664] Fix harmless compiler warnings. (check-in: [29255664] user: drh branch: right-join, size: 295133)
19:20
[a4d710ef] part of check-in [b870d2a2] Fix a harmless uninitialized variable warning in MSVC. (check-in: [b870d2a2] user: drh branch: trunk, size: 293714)
2022-04-18
14:15
[e82071ff] part of check-in [1b2c5cef] Improved comment field in the bytecode generated for OP_Column and OP_Rowid. (check-in: [1b2c5cef] user: drh branch: trunk, size: 293612)
13:57
[4efdce17] part of check-in [009bbf80] Improved comment field in the bytecode generated for OP_Column and OP_Rowid. (check-in: [009bbf80] user: drh branch: right-join, size: 295130)
2022-04-17
20:30
[1b48646c] part of check-in [c9060232] Change OP_Return such that if P3 is 1, the Return is a no-op when the P1 register contains a NULL. (check-in: [c9060232] user: drh branch: right-join, size: 295101)
2022-04-14
19:48
[841057c1] part of check-in [12645f10] Cherry pick subroutine indentation improvements and the hardening of OP_Gosub from the right-join branch back into trunk. (check-in: [12645f10] user: drh branch: trunk, size: 293583)
18:19
[b72147e7] part of check-in [647211e0] Check for interrupts and invoke the progress handler following a Gosub opcode, to avoid and recover from infinite subroutine loops. (check-in: [647211e0] user: drh branch: right-join, size: 294091)
14:19
[85a13807] part of check-in [5ec4f806] Previous check-in accidentally inverted a test on an assert(). Fix that. (check-in: [5ec4f806] user: drh branch: right-join-fix, size: 294064)
12:59
[df6107a3] part of check-in [f5bce5f1] Fix assert() statements associated with artifical null-value cursors created by RIGHT JOIN. (check-in: [f5bce5f1] user: drh branch: right-join-fix, size: 294064)
2022-04-13
19:00
[3ad67541] part of check-in [63b04c63] Fix a harmless (false-positive) unused variable compiler warning on MSVC. (check-in: [63b04c63] user: drh branch: right-join, size: 294024)
18:20
[18da8347] part of check-in [371ddc97] Fix an assert() in OP_Column so that it accounts for the new type of pseudo-cursor that always returns NULL for any column. (check-in: [371ddc97] user: drh branch: right-join, size: 294036)
17:41
[6d0790dd] part of check-in [4526c5d3] If the OP_NullRow opcode is given a cursor that has not yet been opened, then go automatically open it to a special pseudo-cursor that allows returns NULL for every column. Used by the new RIGHT JOIN implementation. (check-in: [4526c5d3] user: drh branch: right-join, size: 293974)
2022-04-11
17:27
[871c55b7] part of check-in [b6e773a2] Fix handling of "continue" and "break" from inside the loop for the right operand of a RIGHT JOIN. (check-in: [b6e773a2] user: drh branch: right-join, size: 293749)
2022-04-07
19:06
[eefc5a96] part of check-in [c2965fea] Enhance the EXPLAIN output formatting in the CLI so that the subroutine that implements the loop body for the multi-index OR optimization is indented. (check-in: [c2965fea] user: drh branch: trunk, size: 293556)
2022-04-04
20:20
[4d8f5b01] part of check-in [81587a18] Small performance and size improvement to OP_Found. (check-in: [81587a18] user: drh branch: trunk, size: 293103)
19:43
[61ff67a2] part of check-in [5c3357ad] Optimizations to the OP_Found opcode save about 600K cycles in speedtest1. (check-in: [5c3357ad] user: drh branch: trunk, size: 293105)
11:38
[c6e546c9] part of check-in [e0305e64] Performance optimization and stronger assert()s in the comparison opcodes. (check-in: [e0305e64] user: drh branch: trunk, size: 292943)
2022-04-03
22:35
[b34327e7] part of check-in [9564d72a] Performance optimization in the sqlite3VdbeHalt() routine. (check-in: [9564d72a] user: drh branch: trunk, size: 292784)
20:39
[1d839d17] part of check-in [21948e6e] Performance optimization and size reduction in the OP_Halt opcode. (check-in: [21948e6e] user: drh branch: trunk, size: 292661)
10:42
[17c49fe3] part of check-in [7bee8c19] Performance optimization and slight size reduction in the OP_Transaction opcode. (check-in: [7bee8c19] user: drh branch: trunk, size: 292674)
2022-04-02
22:47
[52b9afb8] part of check-in [cd4fe34b] Expand the getVarint32() macro in a few places, as the C-compiler seems to be able to optimize better when that macro is expanded manually. (check-in: [cd4fe34b] user: drh branch: trunk, size: 292666)
20:08
[dbe88250] part of check-in [8a3a3486] Fix harmless compiler warnings. (check-in: [8a3a3486] user: drh branch: trunk, size: 292574)
19:21
[7154f67e] part of check-in [35441eb5] Ensure that a zero-blob does not cause in invocation of memcpy() with a zero length and a NULL source pointer. (check-in: [35441eb5] user: drh branch: trunk, size: 292579)
15:19
[9dca2919] part of check-in [4350983b] Minor loop optimization in OP_MakeRecord. (check-in: [4350983b] user: drh branch: trunk, size: 292473)
14:30
[3500a7eb] part of check-in [6f4d6f21] In-line the sqlite3VdbeSerialPut() routine into the OP_MakeRecord opcode. This allows some duplicate comparisons to be omitted, resulting in a size reduction and performance increase. (check-in: [6f4d6f21] user: drh branch: trunk, size: 292430)
2022-04-01
21:01
[ced0c7b4] part of check-in [390c239e] The putVarint32() macro does not optimize well. So expand it into in-line code in places were performance is an issue. (check-in: [390c239e] user: drh branch: trunk, size: 291735)
20:39
[0e54be9a] part of check-in [47a61fbd] Loop optimization in the OP_MakeRecord opcode. (check-in: [47a61fbd] user: drh branch: trunk, size: 291621)
20:19
[c8f0fc51] part of check-in [8a07745a] It is not necessary to de-ephermeralize the output registers in the OP_ResultRow opcode. Omit that step for a size reduction and performance increase. (check-in: [8a07745a] user: drh branch: trunk, size: 291579)
19:04
[8f837346] part of check-in [e93297a9] Omit the Vdbe.doingRerun field for a slight size reduction and performance gain. (check-in: [e93297a9] user: drh branch: trunk, size: 291954)
18:45
[297ff0e5] part of check-in [d126f304] New macro ROUND8P() which works like ROUND8() but assumes that the input is already a multiple of the size of a pointer. It becomes a no-op for 64-bit machines, giving a small size reduction and speed boost. (check-in: [d126f304] user: drh branch: trunk, size: 291921)
18:19
[0ea2adc2] part of check-in [cb5e6f8e] Provide and use a version of sqlite3VdbeFreeCursor() that guarantees the cursor pointer is not NULL. This saves a few bytes of code space and a few CPU cycles. (check-in: [cb5e6f8e] user: drh branch: trunk, size: 291919)
17:01
[aa8751fb] part of check-in [5a50a42f] Refactor the Vdbe.iVdbeMagic field into Vdbe.eVdbeState. Split the RUNNING state into separate RUNNING and READY. This gives a size reduction and performance increase. (check-in: [5a50a42f] user: drh branch: trunk, size: 291917)
15:31
[0245de62] part of check-in [d4e19314] Have the sqlite3_context object carry the encoding for the prepared statement that it represents, so that sqlite3_result() and similar can set the encoding according to the prepared statement, even if the database encoding has changed. dbsqlfuzz c409b10d0a6bccf78ab00f47e1d29d42ee5b3565 (check-in: [d4e19314] user: drh branch: trunk, size: 291917)
2022-03-31
20:04
[c7982c46] part of check-in [ff91191d] Rename Vdbe.iVdbeMagic to eVdbeState. Remove unnecessary states. This is a preliminary step toward splitting RUN_STATE out into several other states. (check-in: [ff91191d] user: drh branch: vdbe-state-refactor, size: 291840)
2022-03-29
01:43
[af4a5e9d] part of check-in [d50b162b] Fix the sqlite3_result_xxxxx() routines so that they all check for and perform any necessary text encoding conversions and check for oversize strings and BLOBs. Thus those checks can be done where they are most efficient and avoided in cases like OP_Function where they are more expensive. (check-in: [d50b162b] user: drh branch: trunk, size: 291840)
2022-03-26
17:39
[198a24d3] part of check-in [73a15377] Merge the version 3.38.2 patches with the begin-concurrent-pnu-wal2 branch to create this new sub-branch. (check-in: [73a15377] user: drh branch: begin-concurrent-wal2-3.38, size: 293118)
2022-03-12
15:30
[f8509ed4] part of check-in [934276d1] Merge the version 3.38.1 patches into a sub-branch of reuse-schema. (check-in: [934276d1] user: drh branch: reuse-schema-3.38, size: 291160)
15:21
[33d600be] part of check-in [f3fa8196] Merge the latest trunk changes into the reuse-schema branch. (check-in: [f3fa8196] user: drh branch: reuse-schema, size: 292021)
15:11
[5c13e234] part of check-in [0071d9da] Merge the latest trunk changes into the begin-concurrent-pnu-wal2 branch. (check-in: [0071d9da] user: drh branch: begin-concurrent-pnu-wal2, size: 293979)
15:04
[63349898] part of check-in [bafaefc6] Merge the lates trunk enhancements into the wal2 branch. (check-in: [bafaefc6] user: drh branch: wal2, size: 292420)
14:54
[85ed5469] part of check-in [c4a61135] Merge trunk enhancements, including 3.38.1 patches, into the begin-concurrent-report branch. (check-in: [c4a61135] user: drh branch: begin-concurrent-report-3.28, size: 294477)
14:47
[d74984cb] part of check-in [aa8b5e95] Merge the latest trunk enhancements, including the 3.38.1 patches plus additional performance enhancements, into the begin-concurrent branch. (check-in: [aa8b5e95] user: drh branch: begin-concurrent, size: 293580)
2022-03-06
00:01
[8239c69f] part of check-in [bf2501e2] Remove a NEVER() associated with sqlite_offset()> (check-in: [bf2501e2] user: drh branch: branch-3.38, size: 291160)
2022-03-05
23:52
[b1830c6d] part of check-in [e29dffcd] Remove a NEVER() associated with sqlite_offset()> (check-in: [e29dffcd] user: drh branch: trunk, size: 292021)
19:39
[9dc667ab] part of check-in [45a5d5ac] Cherry-pick all bug fix changes since the 3.38.0 release. (check-in: [45a5d5ac] user: drh branch: branch-3.38, size: 291167)
19:36
[17ac5ed0] part of check-in [4230e2f5] Further improvements to the sqlite_offset() function. (check-in: [4230e2f5] user: drh branch: trunk, size: 292028)
14:44
[2ea24e2b] part of check-in [6029514b] Fix the sqlite_offset() function so that it gives the correct answer even if the argument is a virtual column in an index-only query. Test cases in TH3. (check-in: [6029514b] user: drh branch: trunk, size: 291973)
2022-03-03
15:00
[62282c97] part of check-in [b8226748] Add the new OP_BeginSubrtn opcode (which is really an alias for OP_Integer) and make other changes so that the span of a subroutine that implements a subquery is more readily apparent in bytecode listings. (check-in: [b8226748] user: drh branch: trunk, size: 291815)
2022-03-02
17:50
[d2cf2ef6] part of check-in [86c5fa2f] Faster version of sqlite3VdbeMemRelease(). (check-in: [86c5fa2f] user: drh branch: trunk, size: 291270)
2022-02-26
23:01
[4b969ebe] part of check-in [9bda611f] Remove an unnecessary local variable for a small performance increase and size reduction. (check-in: [9bda611f] user: drh branch: trunk, size: 291264)
14:39
[2dd9dc73] part of check-in [1bf48489] Allow the OP_Column opcode to read rows that are larger than SQLITE_LIMIT_LENGTH as long as the specific field being read out is less than or equal to SQLITE_LIMIT_LENGTH. (check-in: [1bf48489] user: drh branch: trunk, size: 291356)
2022-02-25
20:11
[e3947ae7] part of check-in [3b7259eb] Revise the initialization processing for OP_Column to make it about 1.8 million cycles faster. (check-in: [3b7259eb] user: drh branch: trunk, size: 291329)
18:51
[52995564] part of check-in [4e269902] Fix the OP_NullRow documentation so that it accurately describes what it actually does for a pseudo-cursor. (check-in: [4e269902] user: drh branch: trunk, size: 290692)
18:15
[7778e0f5] part of check-in [09a47f32] Dead branch: Superseded by [3b7259ebd5b9b1f7] (check-in: [09a47f32] user: drh branch: simplify-cursor-state, size: 292837)
15:44
[588de992] part of check-in [7953716c] This branch proposes to consolidate various state fields of VdbeCursor (specifically, nullRow, deferredMoveto, and cacheStatus) into a single eCurState field. This first check-in adds the new eCurState field while retaining and continuing to use the legacy state fields. (check-in: [7953716c] user: drh branch: simplify-cursor-state, size: 292291)
2022-02-24
14:44
[5ff8a23c] part of check-in [9d13cbbe] Change the OP_Next and OP_Prev opcodes so that they invoke sqlite3BtreeNext() and sqlite3BtreePrevious() directly rather than through a function pointer, for improved performance and a decrease in code size. (check-in: [9d13cbbe] user: drh branch: trunk, size: 290501)
2022-02-22
19:56
[fb10f584] part of check-in [8387e4f3] Merge version 3.38.0 into the begin-concurrent-pnu-wal2 branch. (check-in: [8387e4f3] user: drh branch: begin-concurrent-pnu-wal2, size: 292721)
19:46
[5d48a024] part of check-in [de24c8ee] Merge version 3.38.0 into the wal2 branch. (check-in: [de24c8ee] user: drh branch: wal2, size: 291162)
19:37
[836387e6] part of check-in [0bbf7be2] Merge version 3.38.0 into the begin-concurrent-report branch. (check-in: [0bbf7be2] user: drh branch: begin-concurrent-report, size: 293219)
19:30
[61739ae1] part of check-in [c5998c43] Merge version 3.38.0 into the begin-concurrent branch. (check-in: [c5998c43] user: drh branch: begin-concurrent, size: 292322)
2022-02-21
16:49
[d396236d] part of check-in [b3c26f4a] Merge the latest trunk changes into the reuse-schema branch. (check-in: [b3c26f4a] user: drh branch: reuse-schema, size: 290763)
14:30
[e179d2d6] part of check-in [5c188243] Fix compiler warnings for older compilers (ex: gcc 4.0.1 powerpc-apple-darwin). (check-in: [5c188243] user: drh branch: trunk, size: 290763)
2022-02-04
18:12
[d2c9c725] part of check-in [5744e102] Merge trunk enhancements into the reuse-schema branch. (check-in: [5744e102] user: drh branch: reuse-schema, size: 290761)
18:02
[d34d07ae] part of check-in [cb045aba] Merge recent trunk changes into the begin-concurrent-pnu-wal2 branch. (check-in: [cb045aba] user: drh branch: begin-concurrent-pnu-wal2, size: 292719)
17:52
[1e9bdd13] part of check-in [d2de02f3] Merge trunk enhancements into the wal2 branch. (check-in: [d2de02f3] user: drh branch: wal2, size: 291160)
17:51
[805dfba1] part of check-in [1c88bcff] Merge all recent trunk enhancements into the begin-concurrent-report branch. (check-in: [1c88bcff] user: drh branch: begin-concurrent-report, size: 293217)
17:40
[c3f0c0e7] part of check-in [85054a86] Merge trunk enhancements into the begin-concurrent branch. (check-in: [85054a86] user: drh branch: begin-concurrent, size: 292320)
2022-02-02
14:36
[13a4de20] part of check-in [8965929b] Refactor sqlite3_vtab_in() to make use of the existing sqlite3_value_pointer() mechanism for passing the list of IN operator RHS values into xFilter, for improved memory safety. (check-in: [8965929b] user: drh branch: batch-in-operator, size: 290761)
2022-02-01
14:58
[d6694187] part of check-in [eb84b80e] Add new interfaces to enable virtual table to process IN operator constraints all at once, rather than one element at a time. (check-in: [eb84b80e] user: drh branch: batch-in-operator, size: 290351)
2022-01-25
16:28
[a6f4474a] part of check-in [6e4154d4] Merge the latest trunk enhancements into the reuse-schema branch. (check-in: [6e4154d4] user: drh branch: reuse-schema, size: 289734)
16:05
[1b1e8ebe] part of check-in [3d949775] Merge the latest trunk changes into begin-concurrent-pnu-wal2 (check-in: [3d949775] user: drh branch: begin-concurrent-pnu-wal2, size: 291692)
15:57
[f3a24a17] part of check-in [84f737ab] Merge the latest trunk changes into the wal2 branch. (check-in: [84f737ab] user: drh branch: wal2, size: 290133)
15:48
[80935b36] part of check-in [42e6d842] Merge the latest trunk enhancements into the begin-concurrent-report branch. (check-in: [42e6d842] user: drh branch: begin-concurrent-report, size: 292190)
15:20
[d2f53c56] part of check-in [dae81f45] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [dae81f45] user: drh branch: begin-concurrent, size: 291293)
2022-01-20
12:58
[cfe1980f] part of check-in [ab160e8b] Fix harmless scan-build warnings. (check-in: [ab160e8b] user: drh branch: trunk, size: 289734)
2022-01-17
23:53
[8c2f37ac] part of check-in [b6fb223d] Allow an "IntReal" value to count as a REAL when checking types for insertion into a generated column on a STRICT table. Forum post fa012c77796d9399. (check-in: [b6fb223d] user: drh branch: branch-3.37, size: 286945)
23:37
[71fbbf8d] part of check-in [1ec44d55] Allow an "IntReal" value to count as a REAL when checking types for insertion into a generated column on a STRICT table. Forum post fa012c77796d9399. (check-in: [1ec44d55] user: drh branch: trunk, size: 289749)
20:01
[851550df] part of check-in [769ff857] Merge the latest trunk changes into the reuse-schema branch. (check-in: [769ff857] user: drh branch: reuse-schema, size: 289588)
19:46
[e120656d] part of check-in [45fa7efe] Merge the latest trunk enhancements into the begin-concurrent-pnu-wal2 branch. (check-in: [45fa7efe] user: drh branch: begin-concurrent-pnu-wal2, size: 291546)
19:36
[5f16cc95] part of check-in [82f031b4] Merge the latest trunk enhancements into the wal2 branch. (check-in: [82f031b4] user: drh branch: wal2, size: 289987)
19:24
[8746410d] part of check-in [ef6fc895] Bring the begin-concurrent-report branch up to date with all the latest trunk enhancements. (check-in: [ef6fc895] user: drh branch: begin-concurrent-report, size: 292044)
19:17
[5b4d4914] part of check-in [02daae7a] Merge recent trunk enhancements into the begin-concurrent branch. (check-in: [02daae7a] user: drh branch: begin-concurrent, size: 291147)
2022-01-14
21:34
[93b2403c] part of check-in [7ac91b53] Fix a NEVER() in the byte-code engine that can sometimes be true. Test case in TH3. (check-in: [7ac91b53] user: drh branch: trunk, size: 289588)
2022-01-07
14:09
[5bf3a2db] part of check-in [e525892d] Merge 3.37.2 changes into the begin-concurrent-pnu branch. (check-in: [e525892d] user: drh branch: begin-concurrent-3.37, size: 288343)
2022-01-06
14:16
[eaf40ef5] part of check-in [d7ec5a2b] Merge the 3.37.2 patches into the reuse-schema branch. (check-in: [d7ec5a2b] user: drh branch: reuse-schema-3.37, size: 286784)
2022-01-03
01:43
[23116cc5] part of check-in [23f04266] Small performance and size optimization to allocateCursor(). (check-in: [23f04266] user: drh branch: trunk, size: 289595)
2022-01-02
18:10
[84cc51ed] part of check-in [4f1313c6] Clear the cache of triggers used to implement CASCADE foreign key constraints whenever the schema changes. Fix for the problem identified by forum post 2831335356. (check-in: [4f1313c6] user: drh branch: branch-3.37, size: 286784)
12:01
[05c8fd95] part of check-in [5232c977] Clear the cache of triggers used to implement CASCADE foreign key constraints whenever the schema changes. Fix for the problem identified by forum post 2831335356. (check-in: [5232c977] user: drh branch: trunk, size: 289611)
2021-12-13
00:02
[b6359483] part of check-in [b98b24f2] Remove unused code. (check-in: [b98b24f2] user: drh branch: trunk, size: 289566)
2021-12-09
19:42
[5c05b114] part of check-in [ce42039f] Remove unused code and fix comments. Final cleanup before merging. (check-in: [ce42039f] user: drh branch: bloom-filter, size: 289588)
01:28
[855ee903] part of check-in [88b43d79] Add SQLITE_TESTCTRL_LOGEST and enhance the LogEst utility program. Improvements to testability of bloom filters. (check-in: [88b43d79] user: drh branch: bloom-filter, size: 289922)
2021-12-06
21:45
[fd8542b7] part of check-in [24ba535d] Add SQLITE_STMTSTATUS_FILTER_HIT and _MISS for tracking the effectiveness of Bloom filters. (check-in: [24ba535d] user: drh branch: bloom-filter, size: 289955)
20:16
[9cc221eb] part of check-in [8a9036ee] Omit the OP_FilterInit opcode. Use OP_Blob to initialize each Bloom filter instead. Size the Bloom filter based on sqlite_stat1 size estimates rather than a run-time measurement for improved testability. (check-in: [8a9036ee] user: drh branch: bloom-filter, size: 289856)
13:07
[6176125e] part of check-in [a7adcf69] Attempt to vary the size of Bloom filters based on an estimate of how many keys the filter will hold. (check-in: [a7adcf69] user: drh branch: bloom-filter, size: 290855)
2021-12-04
18:45
[94af4eba] part of check-in [629ee2e3] Add VdbeCoverage() macros. Adjust the Bloom-filter hash function so that it correctly deals with zero-blobs. (check-in: [629ee2e3] user: drh branch: bloom-filter, size: 289746)
2021-12-01
21:07
[d4435e88] part of check-in [0864bfbf] Merge trunk fixes into the bloom-filter branch. (check-in: [0864bfbf] user: drh branch: bloom-filter, size: 289625)
19:17
[f25438ea] part of check-in [a818ba2e] Check for foreign key constraint errors prior to returning the results from a RETURNING clause. See forum post 793beaf322. (check-in: [a818ba2e] user: drh branch: trunk, size: 286636)
16:31
[a77525dd] part of check-in [50ac4de1] Add a Bloom filter to the automatic-index mechanism. (check-in: [50ac4de1] user: drh branch: bloom-filter, size: 289728)
2021-11-22
17:08
[b0694000] part of check-in [9b2ffa84] Merge trunk enhancements into the begin-concurrent-report-wal2 branch. (check-in: [9b2ffa84] user: drh branch: begin-concurrent-report-wal2, size: 289594)
17:01
[280f2449] part of check-in [8a9fad0f] Merge trunk enhancements into the begin-concurrent-pnu-wal2 branch. (check-in: [8a9fad0f] user: drh branch: begin-concurrent-pnu-wal2, size: 288697)
16:47
[2e2fd664] part of check-in [135133b7] Merge trunk enhancements into the wal2 branch. (check-in: [135133b7] user: drh branch: wal2, size: 287138)
16:39
[9cc0092e] part of check-in [ddc11f55] Merge the latest trunk enhancements into the begin-concurrent-report branch. (check-in: [ddc11f55] user: drh branch: begin-concurrent-report, size: 289195)
16:14
[c019c274] part of check-in [8f3e6842] Merge the latest trunk changes into the begin-concurrent branch. (check-in: [8f3e6842] user: drh branch: begin-concurrent, size: 288298)
16:05
[53e94ef8] part of check-in [d08832cb] Merge recent trunk enhancements into the reuse-schema branch. (check-in: [d08832cb] user: drh branch: reuse-schema, size: 286739)
2021-11-17
14:21
[5c59b21d] part of check-in [8eef8782] Apply the begin-concurrent-report patch to the wal2 branch. (check-in: [8eef8782] user: dan branch: begin-concurrent-report-wal2, size: 288973)
2021-11-15
19:10
[e98f1baf] part of check-in [bd66ab8a] Strengthen the sticky-CORRUPT idea of check-in [3feb0f1c3840904d] by automatically changing the first COMMIT after an SQLITE_CORRUPT error into a ROLLBACK. (check-in: [bd66ab8a] user: drh branch: trunk, size: 286739)
13:22
[bd1cd776] part of check-in [c7776369] Improved context shown for the "ABORT-due-to-error" output line when using "PRAGMA vdbe_debug=on" in an SQLITE_DEBUG build. (check-in: [c7776369] user: drh branch: trunk, size: 286802)
2021-11-11
23:52
[bd7efb29] part of check-in [150b5be5] Make sure the rowid value returned by the VUpdate opcode is always initialized. (check-in: [150b5be5] user: drh branch: trunk, size: 286617)
11:23
[81edf086] part of check-in [7cee62f7] New assert() statements to help prove correct usage of VdbeCursor objects. (check-in: [7cee62f7] user: drh branch: trunk, size: 286613)
2021-11-10
10:59
[34a0bc8b] part of check-in [3feb0f1c] Make SQLITE_CORRUPT sticky: If a CORRUPT error is returned, all subsequent write statements within the same transaction also fail early with SQLITE_CORRUPT. (check-in: [3feb0f1c] user: drh branch: trunk, size: 286550)
2021-11-09
15:36
[4f1ea2cb] part of check-in [122f4a76] Merge all recent trunk changes into the begin-concurrent-report branch. (check-in: [122f4a76] user: drh branch: begin-concurrent-report, size: 288574)
15:18
[c403995a] part of check-in [07bc1339] Merge all recent trunk enhancements into the begin-concurrent-pnu-wal2 branch. (check-in: [07bc1339] user: drh branch: begin-concurrent-pnu-wal2, size: 288076)
15:06
[f03a831f] part of check-in [2d0c8f30] Merge all recent trunk enhancements into the begin-concurrent branch. (check-in: [2d0c8f30] user: drh branch: begin-concurrent, size: 287677)
2021-11-06
16:46
[03227424] part of check-in [700876b7] Merge further changes from trunk into this branch. (check-in: [700876b7] user: dan branch: wal2, size: 286517)
2021-11-05
23:32
[99eef8f9] part of check-in [ca09148e] Merge the latest trunk enhancements into the reuse-schema branch. (check-in: [ca09148e] user: drh branch: reuse-schema, size: 286118)
2021-11-04
14:04
[f2b30e31] part of check-in [9147390d] Show the preferred schema table names in the output of "PRAGMA table_list". (check-in: [9147390d] user: drh branch: trunk, size: 286118)
2021-11-03
14:02
[460bed0a] part of check-in [24285d91] Fix INSERT into STRICT table with STATIC generated columns. (check-in: [24285d91] user: drh branch: trunk, size: 286116)
2021-10-29
16:19
[54089e5e] part of check-in [8ba73b3c] Reorder a test add earlier today to OP_Transaction for easier testing. (check-in: [8ba73b3c] user: drh branch: trunk, size: 285781)
14:04
[e0e54845] part of check-in [7623132e] Merge the latest trunk enhancements into the reuse-schema branch. (check-in: [7623132e] user: drh branch: reuse-schema, size: 285781)
09:59
[daa876fb] part of check-in [5374226d] Fix the OP_Transaction opcode so that if an error other than SQLITE_SCHEMA occurs first, the original error is not overwritten by SQLITE_SCHEMA. dbsqlfuzz 85bf7e262017c6c7bddb03ff6d8541511985d36c. (check-in: [5374226d] user: drh branch: trunk, size: 285781)
2021-10-21
14:37
[e0b372a3] part of check-in [0770f320] Merge all recent trunk changes into the begin-concurrent-report branch. (check-in: [0770f320] user: drh branch: begin-concurrent-report, size: 288190)
14:24
[2f180b06] part of check-in [1958e6fa] Merge trunk enhancements into the begin-concurrent-pnu-wal2 branch. (check-in: [1958e6fa] user: drh branch: begin-concurrent-pnu-wal2, size: 287692)
14:13
[4faf394e] part of check-in [ae4eed0b] Merge recent trunk enhancements into begin-concurrent branch. (check-in: [ae4eed0b] user: drh branch: begin-concurrent, size: 287293)
14:10
[7c39b91e] part of check-in [cd15fc3c] Merge recent trunk enhancements into the reuse-schema branch (check-in: [cd15fc3c] user: drh branch: reuse-schema, size: 285734)
14:01
[12a68a73] part of check-in [7e2bc836] Merge recent trunk enhancements into the wal2 branch. (check-in: [7e2bc836] user: drh branch: wal2, size: 286133)
2021-10-20
12:52
[a80943ed] part of check-in [69911715] Ensure that valid bytecode is generated for RETURNING clauses even if the schema is corrupt and PRAGMA writable_schema is set so that the schema parse returns no errors. dbsqlfuzz cb21825bdcd6fdb4b686ce4f6e2f45e781d2f220 (check-in: [69911715] user: drh branch: trunk, size: 285734)
2021-10-05
11:11
[b42cf4c8] part of check-in [91e3b98e] Simplifications to the preupdate_hook logic to make it easier to reason about, and reduce static analyzer warnings. (check-in: [91e3b98e] user: drh branch: trunk, size: 285701)
2021-10-04
22:34
[e4ed1897] part of check-in [32f33f35] Fix harmless static-analyzer warnings. (check-in: [32f33f35] user: drh branch: trunk, size: 285793)
12:16
[2f5ac225] part of check-in [71b10294] Merge recent trunk changes into the begin-concurrent-report branch. (check-in: [71b10294] user: drh branch: begin-concurrent-report, size: 288283)
12:02
[b515546f] part of check-in [bce02eaa] Merge recent trunk changes into the begin-concurrent-pnu-wal2 branch. (check-in: [bce02eaa] user: drh branch: begin-concurrent-pnu-wal2, size: 287732)
11:54
[62660b3d] part of check-in [4f5ef7aa] Merge recent trunk enhancements into the begin-concurrent branch. (check-in: [4f5ef7aa] user: drh branch: begin-concurrent, size: 287333)
11:49
[571042c5] part of check-in [64234c5c] Merge recent trunk enhancements into the reuse-schema branch. (check-in: [64234c5c] user: drh branch: reuse-schema, size: 285774)
11:44
[2d66521c] part of check-in [127173e0] Merge recent trunk enhancements into the wal2 branch. (check-in: [127173e0] user: drh branch: wal2, size: 286173)
2021-10-01
21:01
[f2a83da7] part of check-in [94b59691] Fix harmless compiler warnings. (check-in: [94b59691] user: drh branch: trunk, size: 285774)
2021-09-16
12:33
[a4b6736b] part of check-in [7e3d6810] Under SQLITE_DEBUG with PRAGMA vdbe_trace=ON, show an output line if the VDBE aborts for any reason. (check-in: [7e3d6810] user: drh branch: trunk, size: 285796)
2021-08-23
10:28
[39755f46] part of check-in [d8fd1a2b] Back out the change that allows typeless columns in strict tables. Replace that capability with an ANY type for strict tables that will accept any datatype with BLOB affinity. (check-in: [d8fd1a2b] user: drh branch: trunk, size: 285678)
2021-08-21
20:54
[b228d775] part of check-in [1e2dcc2d] Allow typeless columns in STRICT tables that are able to accept any data type. (check-in: [1e2dcc2d] user: drh branch: trunk, size: 285661)
2021-08-20
08:05
[bf2d58ee] part of check-in [39abca01] Improved error messages for the SQLITE_CONSTRAINT_DATATYPE error. (check-in: [39abca01] user: drh branch: strict-tables, size: 285625)
2021-08-19
16:29
[d2e39527] part of check-in [4ee57fb5] Improved comments. Fewer opcodes for integrity_check on strict tables. (check-in: [4ee57fb5] user: drh branch: strict-tables, size: 285215)
02:58
[db203346] part of check-in [97c9248b] Enhance PRAGMA integrity_check so that it verifies the datatype of all columns in STRICT tables. (check-in: [97c9248b] user: drh branch: strict-tables, size: 284902)
2021-08-18
19:22
[0e70bef8] part of check-in [a19305e5] Trying to insert an incorrect datatype into a STRICT table raises an SQLITE_CONSTRAINT_DATATYPE error. Seems to work, though lots more testing is needed. (check-in: [a19305e5] user: drh branch: strict-tables, size: 284421)
2021-08-11
18:43
[e5cdac52] part of check-in [19e56291] During DELETE, if an index entry is missing, do not raise the SQLITE_CORRUPT_INDEX error (added by [f339f31f9e9a856b]) if in "PRAGMA writable_schema=ON" mode. (check-in: [19e56291] user: drh branch: trunk, size: 281737)
2021-08-03
17:05
[aa6648a1] part of check-in [385e3b4e] Merge recent trunk enhancements into the begin-concurrent-report branch. (check-in: [385e3b4e] user: drh branch: begin-concurrent-report, size: 284119)
16:44
[d1e0f264] part of check-in [5b6f6514] Merge recent trunk changes into the begin-concurrent-pnu-wal2 branch. (check-in: [5b6f6514] user: drh branch: begin-concurrent-pnu-wal2, size: 283568)
16:31
[d17e7a89] part of check-in [8d806cf9] Merge recent trunk enhancements into the begin-concurrent branch. (check-in: [8d806cf9] user: drh branch: begin-concurrent, size: 283169)
16:11
[7c72ebe8] part of check-in [d71adc3f] Merge recent trunk enhancements into the reuse-schema branch. (check-in: [d71adc3f] user: drh branch: reuse-schema, size: 281610)
2021-08-02
20:29
[63362d3d] part of check-in [f615d7ba] Merge recent trunk enhancements into the wal2 branch. (check-in: [f615d7ba] user: drh branch: wal2, size: 282009)
2021-07-19
20:52
[b73a5ec9] part of check-in [f9c6426d] More precision in comparing integers and floating point values while processing the integer primary key for OP_SeekGE and similar. Forum post 2bdb86a068. (check-in: [f9c6426d] user: drh branch: trunk, size: 281610)
2021-07-09
13:29
[001e4d32] part of check-in [0e968f9d] Merge latest trunk changes into this branch. (check-in: [0e968f9d] user: dan branch: reuse-schema, size: 281588)
2021-06-25
14:48
[27149413] part of check-in [d4bf5243] The OP_ReopenIdx opcode should clear the cursor if the cursor is being reused. This prevents leaving the cursor in an initialized state which could cause problems for a subsequent OP_SeekScan opcode. Fix for ticket [6dcbfd11cf666e21] and the OP_SeekScan optimization of check-in [4a43430fd23f8835]. (check-in: [d4bf5243] user: drh branch: trunk, size: 281588)
2021-06-22
23:27
[120a8a90] part of check-in [956bafb6] This is an alternative fix to the covering index on WHERE_MULTI_OR in a LEFT JOIN problem that is fixed nearby. This one works by having the OP_NullRow opcode create the index if it does not already exist. That is slightly more complex. This patch is saved for historical reference only. (check-in: [956bafb6] user: drh branch: multi-or-covidx-fix2, size: 281569)
18:32
[e8689446] part of check-in [48fdec22] Add the sqlite3_changes64() and sqlite3_total_changes64() API functions. (check-in: [48fdec22] user: dan branch: trunk, size: 281496)
2021-06-19
18:32
[226deb5b] part of check-in [3b0d34e5] Split the sqlite3BtreeMovetoUnpacked() routine into two separate routines sqlite3BtreeTableMoveto() and sqlite3BtreeIndexMoveto(), since we usually know the type of btree in advance. This results in less branching and better performance. (check-in: [3b0d34e5] user: drh branch: trunk, size: 281496)
2021-06-14
14:35
[4f3ff64f] part of check-in [f21a53fb] Update this branch with latest changes from trunk. (check-in: [f21a53fb] user: dan branch: reuse-schema, size: 281541)
14:25
[1911efc9] part of check-in [0ab89901] Update this branch with latest changes from wal2. (check-in: [0ab89901] user: dan branch: begin-concurrent-pnu-wal2, size: 283499)
14:12
[17d8e3ce] part of check-in [b38c2b8b] Update this branch with latest changes from trunk. (check-in: [b38c2b8b] user: dan branch: wal2, size: 281940)
14:01
[9e932e19] part of check-in [a485d1a1] Update this branch with latest changes from begin-concurrent-pnu. (check-in: [a485d1a1] user: dan branch: begin-concurrent-report, size: 284050)
12:23
[6a7ca429] part of check-in [d8199634] Update this branch with latest trunk changes. (check-in: [d8199634] user: dan branch: begin-concurrent, size: 283100)
2021-06-13
19:14
[6ece0ee9] part of check-in [d6803ed8] The opcode that preceeds OP_SeekScan is usually OP_IdxGT but can sometimes be OP_IdxGE. Adjust asserts accordingly. Follow-up to [9a2ab6092d644fc3]. dbsqlfuzz e41762333a4d6e90a49e628f488d0873b2dba4c5 (check-in: [d6803ed8] user: drh branch: trunk, size: 281541)
2021-06-07
11:50
[87d29d76] part of check-in [10801f65] Fix an assert() in the OP_ParseSchema opcode that might fail on a corrupt database file when running with PRAGMA writable_schema=ON. dbsqlfuzz e7d743ca65f2767e415095f0c5a49166a0f55eea. (check-in: [10801f65] user: drh branch: trunk, size: 281459)
2021-06-04
12:29
[a51f4947] part of check-in [d9e85fe8] Merge recent trunk enchancements into the seekscan-improvements branch. (check-in: [d9e85fe8] user: drh branch: seekscan-improvements, size: 281380)
2021-06-03
18:51
[c42799bc] part of check-in [820ae3b1] Fix the truncate optimization so that PRAGMA count_changes and changes() return correct values even for a WITHOUT ROWID table. Forum post 07dedbf9a1. (check-in: [820ae3b1] user: drh branch: trunk, size: 281462)
2021-06-02
17:32
[bcb074ce] part of check-in [dbc33d3a] Tighten assert() restrictions on the OP_SeekScan opcode. (check-in: [dbc33d3a] user: drh branch: seekscan-improvements, size: 281500)
2021-05-22
15:05
[2e9552a6] part of check-in [dbc65a69] Merge latest trunk changes into this branch. (check-in: [dbc65a69] user: dan branch: reuse-schema, size: 281582)
2021-05-21
17:31
[52918feb] part of check-in [4efefb59] Merge latest changes from wal2 into this branch. (check-in: [4efefb59] user: dan branch: begin-concurrent-pnu-wal2, size: 283540)
16:42
[d36e7d1d] part of check-in [95cc7783] Merge the latest trunk enhancements into the wal2 branch. (check-in: [95cc7783] user: drh branch: wal2, size: 281981)
16:32
[40921370] part of check-in [1dc6cf51] Merge the latest trunk changes into begin-concurrent-report branch via the begin-concurrent-pnu branch. (check-in: [1dc6cf51] user: drh branch: begin-concurrent-report, size: 284091)
15:33
[897ee680] part of check-in [0dba9010] Merge all recent trunk changes into the begin-concurrent branch. (check-in: [0dba9010] user: drh branch: begin-concurrent, size: 283141)
2021-05-20
11:42
[73e5a8b6] part of check-in [67bde016] Ensure the required b-tree mutexes are held for "CREATE TABLE IF NOT EXISTS" and "DROP TABLE IF EXISTS" statements on attached databases. (check-in: [67bde016] user: dan branch: trunk, size: 281582)
2021-05-18
19:10
[74491791] part of check-in [4a55f725] In the MULTI-INDEX OR query plan, code for sub-expressions can sometimes be generated twice. But for some subqueries, generating code off of the same tree twice causes problems. So now MULTI-INDEX OR makes a copy of the sub-expressions it uses to avoid code-generating them more than once. dbsqlfuzz 9ebd2140e7206ff724e665f172faea28af801635. (check-in: [4a55f725] user: drh branch: trunk, size: 281541)
00:52
[50d998eb] part of check-in [304739d2] Add a CORRUPT_DB term to an assert() added earlier today. (check-in: [304739d2] user: drh branch: trunk, size: 281536)
2021-05-17
16:54
[d84dd30f] part of check-in [4221f41a] Enhance the integer-comparison optimization on the OP_Eq and similar opcodes so that it avoids a lot of useless work. (check-in: [4221f41a] user: drh branch: trunk, size: 281522)
2021-05-15
19:36
[b26c70a3] part of check-in [9d16323d] Performance optimization in the memory allocation of allocateCursor. (check-in: [9d16323d] user: drh branch: trunk, size: 281048)
2021-05-07
14:16
[f784966e] part of check-in [c5e2de1d] This was suppose to be a merge from trunk. But something went wrong. (check-in: [c5e2de1d] user: dan branch: bad-merge, size: 280415)
2021-05-05
19:46
[b51cd7b4] part of check-in [5ac24179] Provide the sqlite3PrintMem() routine on SQLITE_DEBUG builds, which can be invoked from a debugger to get a summary of the status of an sqlite3_value or Mem object. (check-in: [5ac24179] user: drh branch: trunk, size: 280415)
2021-04-29
13:58
[12fa2500] part of check-in [68395000] Enhanced "PRAGMA vdbe_trace=on" output associated with the seekHit flag. (check-in: [68395000] user: drh branch: trunk, size: 280323)
2021-04-21
20:52
[ff3ccdd9] part of check-in [b5564a6f] Add the experimental sqlite3session_changeset_size() API. (check-in: [b5564a6f] user: dan branch: session-changeset-size, size: 279904)
2021-04-12
22:39
[04508832] part of check-in [79b88353] Fix an assert() in OP_ParseSchema so that it works even after an OOM. (check-in: [79b88353] user: drh branch: trunk, size: 279902)
2021-04-10
15:34
[c98340e8] part of check-in [780412f2] Avoid invoking sqlite3Atoi64() will a null pointer following an error from ExpandBlob(). (check-in: [780412f2] user: drh branch: trunk, size: 279882)
2021-04-07
17:46
[2a0a30c6] part of check-in [655c2841] Merge latest changes into this branch. (check-in: [655c2841] user: dan branch: begin-concurrent-report, size: 282405)
17:32
[24932887] part of check-in [1f3f7e4b] Merge latest trunk changes into this branch. (check-in: [1f3f7e4b] user: dan branch: begin-concurrent-pnu, size: 281392)
2021-04-05
22:30
[1e0c8407] part of check-in [82f92d79] Add a missing CORRUPT_DB to an assert in the OP_ResultRow opcode. (check-in: [82f92d79] user: drh branch: trunk, size: 279833)
2021-04-02
20:53
[e5023454] part of check-in [a2216259] Merge latest trunk changes with this branch. (check-in: [a2216259] user: dan branch: begin-concurrent-report, size: 282391)
20:29
[619f5a46] part of check-in [98420842] Merge latest trunk changes into this branch. (check-in: [98420842] user: dan branch: begin-concurrent, size: 281378)
2021-03-29
18:53
[c2990a6f] part of check-in [380b4605] Omit the SQLITE_STOREP2 and SQLITE_KEEPNULL options from the comparison opcodes, allowing them to run faster. This required refactoring the vector comparison logic, which in turn required changing OP_ElseNotEq into OP_ElseEq. (check-in: [380b4605] user: drh branch: compare-opcode-opt, size: 279819)
14:40
[0defb934] part of check-in [93781b6f] Add the OP_ZeroOrNull opcode and use it to compute boolean values for scalar comparisons, rather than the SQLITE_STOREP2 parameter to the comparison opcode. (check-in: [93781b6f] user: drh branch: compare-opcode-opt, size: 281901)
13:47
[ea4ab60e] part of check-in [bd00df8f] The comparison opcodes (ex: OP_Eq) now set the iCompare flag so that the result of comparison can be used by subsequent OP_Jump or OP_ElseNotEq opcodes. (check-in: [bd00df8f] user: drh branch: compare-opcode-opt, size: 281372)
2021-03-28
23:37
[c626ed23] part of check-in [afb18f64] Alternative implementation of the comparison opcode speed-up of check-in [4a8805d9a66dc888] that should pass muster with UBSAN. (check-in: [afb18f64] user: drh branch: trunk, size: 281202)
2021-03-27
20:45
[a9fbdae2] part of check-in [4a8805d9] Performance improvement in the comparison opcodes by rewriting an array lookup using pointer arithmetic. This makes gcc 5.4.0 builds with -Os both faster and smaller. Though I suspect that in newer compilers with better optimizers in will probably make no difference at all in the generated machine code. Later: Even though the new code is perfectly valid, and generates correct machine code that is both smaller and faster, UBSAN complains about it in OSSFuzz. So we will take it out. So here was have an example of OSSFuzz coercing a widely used application to become bigger and slower. (check-in: [4a8805d9] user: drh branch: gcc-opt, size: 281470)
2021-03-26
14:04
[cb96a589] part of check-in [4d425e64] Merge up all the 3.35.3 changes into the begin-concurrent-pnu-wal2 branch. (check-in: [4d425e64] user: drh branch: begin-concurrent-pnu-wal2, size: 283416)
13:58
[db4a104f] part of check-in [a1b8d9d2] Merge the 3.35.3 enhancements into the wal2 branch. (check-in: [a1b8d9d2] user: drh branch: wal2, size: 281857)
13:47
[655b748e] part of check-in [4ba9fc34] Merge patch 3.35.3 into the begin-concurrent-report branch. (check-in: [4ba9fc34] user: drh branch: begin-concurrent-report, size: 284030)
13:31
[830e04d6] part of check-in [988da36c] Merge from 3.35.3 into the begin-concurrent branch. (check-in: [988da36c] user: drh branch: begin-concurrent, size: 283017)
13:16
[6d430291] part of check-in [76f19f4b] Merge in changes for 3.35.3 (check-in: [76f19f4b] user: drh branch: reuse-schema, size: 281458)
2021-03-20
01:00
[5001a0d3] part of check-in [1805b9aa] Fix a faulty assert() in the OP_SkipScan opcode. dbsqlfuzz a15a9b2ca82e812ad52f62c86cc93dca0dc72f01. Test cases in TH3. (check-in: [1805b9aa] user: drh branch: trunk, size: 281458)
2021-03-18
16:47
[95105c16] part of check-in [bcbe5308] Fix the OP_OpenDup opcode so that it is able to duplicate a cursor that was itself opened by OP_OpenDup. Add additional verification of ephemeral tables. Fix for ticket [bb8a9fd4a9b7fce5]. (check-in: [bcbe5308] user: drh branch: trunk, size: 281361)
15:42
[cba3e495] part of check-in [0ec71cf1] Further sanity checking of the OpenDup cursors. (check-in: [0ec71cf1] user: drh branch: opendup-fix, size: 281288)
14:31
[81986062] part of check-in [39b5af18] Automatically close ephemeral b-trees when their last cursor is closed. (check-in: [39b5af18] user: dan branch: opendup-fix, size: 281502)
13:42
[ae4ebb87] part of check-in [b8de980b] Allow instruction OP_OpenDup to duplicate cursors created by OP_OpenDup, as well as by OP_OpenEphemeral. (check-in: [b8de980b] user: dan branch: opendup-fix, size: 281445)
13:19
[2cdbdb1e] part of check-in [a8ce73e2] New assert statements associated with Ephemeral cursors in the bytecode engine. (check-in: [a8ce73e2] user: drh branch: trunk, size: 281503)
2021-03-11
20:07
[1d5f1b54] part of check-in [88c3c173] Merge latest wal2 changes into this branch. (check-in: [88c3c173] user: dan branch: begin-concurrent-pnu-wal2, size: 283388)
19:42
[5e4328bb] part of check-in [30f912d0] Merge latest trunk changes into this branch. (check-in: [30f912d0] user: dan branch: wal2, size: 281829)
19:26
[00fe8c8b] part of check-in [6994a2d8] Merge latest changes from begin-concurrent-pnu into this branch. (check-in: [6994a2d8] user: dan branch: begin-concurrent-report, size: 284002)
18:52
[ef675ccd] part of check-in [79d44ebd] Update this branch with latest changes from trunk. (check-in: [79d44ebd] user: dan branch: begin-concurrent, size: 282989)
10:55
[be0a9ba0] part of check-in [ef8c6e06] Merge latest trunk changes into this branch. (check-in: [ef8c6e06] user: dan branch: reuse-schema, size: 281430)
2021-03-09
20:58
[b79b222f] part of check-in [1c017457] Fix a bad comment (copy-paste error) in the byte code engine. No code changes. (check-in: [1c017457] user: drh branch: trunk, size: 281430)
2021-03-03
19:54
[9278c551] part of check-in [73bf458e] Merge recent trunk enhancements into the reuse-schema branch. (check-in: [73bf458e] user: drh branch: reuse-schema, size: 281427)
19:41
[c3daebc1] part of check-in [b0fc8ca1] Merge in recent enhancements. (check-in: [b0fc8ca1] user: drh branch: begin-concurrent-pnu-wal2, size: 283385)
19:32
[8b3af649] part of check-in [0ae81039] Merge recent trunk enhancements into the wal2 branch. (check-in: [0ae81039] user: drh branch: wal2, size: 281826)
19:17
[025b55eb] part of check-in [acdafef8] Merge recent trunk changes into the begin-concurrent branch. (check-in: [acdafef8] user: drh branch: begin-concurrent, size: 282986)
2021-02-22
14:25
[d8d2f2a1] part of check-in [ace54c5b] Add an ALWAYS() on a branch that is now unreachable. (check-in: [ace54c5b] user: drh branch: as-materialize-redux, size: 281427)
2021-02-17
20:08
[9766281c] part of check-in [10538ec6] Fix various issues with the changes on this branch. Add test cases for the same. (check-in: [10538ec6] user: dan branch: alter-table-drop-column, size: 281419)
2021-02-10
20:20
[6396a90a] part of check-in [d29c41bd] Merge latest trunk changes into this branch. (check-in: [d29c41bd] user: dan branch: reuse-schema, size: 281431)
2021-02-04
21:19
[50350d7d] part of check-in [e73dbce8] Initial commit (check-in: [e73dbce8] user: shearer branch: selective-debug, size: 283404)
11:14
[88ae06e3] part of check-in [e1eb6213] Work toward handling interleaved RETURNING statements. Trunk does not handle that case correctly. This branch is a partial implementation of ideas that might, however. (check-in: [e1eb6213] user: drh branch: interleaved-returning, size: 283118)
2021-02-03
18:32
[b3c9a3f9] part of check-in [6b29e549] Change the name of Vdbe.magic to Vdbe.iVdbeMagic to disambiguate with sqlite3.magic. (check-in: [6b29e549] user: drh branch: trunk, size: 281431)
2021-01-31
15:50
[9b9a7143] part of check-in [154fc2b1] New opcode OP_ChngCntRow used to output the result of PRAGMA change_count. Only this new opcode, and not OP_ResultRow, checks for foreign key errors. Faster performance, and now also works with RETURNING. (check-in: [154fc2b1] user: drh branch: returning, size: 281426)
2021-01-30
14:17
[d715b1ee] part of check-in [fea91e3a] Change the OP_ResultRow opcode so that it does not cancel pending statement transactions. (check-in: [fea91e3a] user: drh branch: returning, size: 281118)
12:07
[5761ca99] part of check-in [138b10d5] Fix a obsolete assert() in the bytecode engine. Improved OOM detection in sqlite3AddReturning(). (check-in: [138b10d5] user: drh branch: returning, size: 282168)
2021-01-25
21:24
[102d2126] part of check-in [0571c241] Add an extra log message in the case of an SQLITE_CORRUPT_INDEX error. (check-in: [0571c241] user: drh branch: trunk, size: 282071)
2021-01-18
19:28
[fd3ae827] part of check-in [dc7938d2] Fix harmless compiler warnings seen with MSVC. (check-in: [dc7938d2] user: mistachkin branch: trunk, size: 282021)
2020-12-29
15:06
[67de2006] part of check-in [eef070a4] Do not set the P3 parameter on OP_RowCell when copying an index btree, as P3 is not used in that case. (check-in: [eef070a4] user: drh branch: trunk, size: 281980)
2020-12-17
11:30
[f7079a16] part of check-in [9f41f604] Merge latest trunk changes into this branch. (check-in: [9f41f604] user: dan branch: reuse-schema, size: 281871)
2020-12-14
16:26
[8b21e2d0] part of check-in [a1708e84] Merge recent trunk enhancements into the begin-concurrent branch. (check-in: [a1708e84] user: drh branch: begin-concurrent, size: 283430)
2020-12-10
19:20
[808c1503] part of check-in [f7fa76d0] Fix minor issues with new code on this branch. (check-in: [f7fa76d0] user: dan branch: vacuum-lomem, size: 281871)
18:06
[b8ac132f] part of check-in [101cef14] Better integrate the changes on this branch with OP_Insert and OP_IdxInsert. (check-in: [101cef14] user: dan branch: vacuum-lomem, size: 281333)
2020-12-09
20:33
[334c2626] part of check-in [dfd4ca68] Transfer large index or WITHOUT ROWID records between b-trees when vacuuming without loading them into memory. (check-in: [dfd4ca68] user: dan branch: vacuum-lomem, size: 281525)
2020-12-08
20:19
[77fd09a7] part of check-in [c90e063c] Experimental changes to vacuum to avoid loading large records entirely into memory. Currently only works in limited cases only - for rowid tables when the page-size does not change. (check-in: [c90e063c] user: dan branch: vacuum-lomem, size: 281511)
2020-11-26
18:41
[31c984a6] part of check-in [b451bb72] Merge latest changes from wal2 branch. (check-in: [b451bb72] user: dan branch: begin-concurrent-pnu-wal2, size: 282673)
18:08
[e73ad83b] part of check-in [cb1f6f18] Merge latest trunk changes into this branch. (check-in: [cb1f6f18] user: dan branch: wal2, size: 281114)
17:54
[0426161e] part of check-in [d2de81a2] Merge latest changes from begin-concurrent-pnu into this branch. (check-in: [d2de81a2] user: dan branch: begin-concurrent-report, size: 283287)
11:37
[85a1acd0] part of check-in [ddb97eee] Update this branch with latest changes from trunk. (check-in: [ddb97eee] user: dan branch: begin-concurrent, size: 282274)
2020-11-25
20:29
[05d7dbe2] part of check-in [f4b7c100] Merge trunk changes into this branch. (check-in: [f4b7c100] user: dan branch: reuse-schema, size: 280715)
2020-11-19
19:43
[d24a43b6] part of check-in [842c4327] Use an ephemeral table rather than a RowSet to remember rowids in the two-pass UPDATE algorithm, as this uses much less memory for large UPDATEs. (check-in: [842c4327] user: drh branch: trunk, size: 280715)
2020-11-18
21:50
[0f4402a3] part of check-in [b887c750] Improvements to the mechanism that attempts to report SQLITE_CORRUPT if pread() says that the underlying filesystem is corrupt. (check-in: [b887c750] user: drh branch: detect-corrupt-fs, size: 280098)
21:15
[b7a71294] part of check-in [6004de52] Merge trunk changes into this branch. (check-in: [6004de52] user: dan branch: reuse-schema, size: 280017)
2020-11-17
21:26
[59e8caad] part of check-in [df8ce267] Claw back most of the performance lost in the previous commit. (check-in: [df8ce267] user: drh branch: lowmem-update-exp, size: 280634)
2020-10-12
13:24
[6f3fb4f0] part of check-in [2fa08c39] Fix BEGIN IMMEDIATE and BEGIN EXCLUSIVE so that they work even if one or more of the database files in the connection are read-only. Test cases for this are in TH3. (check-in: [2fa08c39] user: drh branch: trunk, size: 280017)
2020-10-02
13:57
[c80fd12d] part of check-in [c144d640] Import further corner-case fixes for the in-scan-vs-index or OP_SeekScan optimization from trunk. (check-in: [c144d640] user: drh branch: branch-3.28, size: 265515)
12:49
[8893576d] part of check-in [c0400f8c] Remove an incorrect assert() from the OP_SeekScan opcode. (check-in: [c0400f8c] user: drh branch: trunk, size: 279914)
12:11
[d5d60829] part of check-in [ec37744c] For the OP_SeekScan optimization, the OP_IdxGT does not necessarily come right after the OP_SeekGE. So use the P2 operand of OP_SeekScan to point to the first instruction after OP_IdxGT. Problem found by dbsqlfuzz. (check-in: [ec37744c] user: drh branch: branch-3.28, size: 265561)
11:55
[4bfad895] part of check-in [091d7193] For the OP_SeekScan optimization, the OP_IdxGT does not necessarily come right after the OP_SeekGE. So use the P2 operand of OP_SeekScan to point to the first instruction after OP_IdxGT. Problem found by dbsqlfuzz. (check-in: [091d7193] user: drh branch: trunk, size: 279960)
2020-10-01
15:46
[21064a27] part of check-in [7a78274a] Fix the OP_SeekScan opcode so that its variable names do not cause problems for the test/vdbe-compress.tcl script. (check-in: [7a78274a] user: drh branch: trunk, size: 279834)
2020-09-30
18:22
[8b2799c5] part of check-in [f07ac3fb] Improved query optimization for multi-column indexes where the second or later columns are constrained by an IN operator and the earlier index columns limit the search to a small number of rows. Use the new OP_SeekScan opcode which does scanning of the relevant range of the index but gives up and falls back to doing a seek if the number of rows scanned grows to large, in order to guard against pathological cases where the estimated number of rows to be scanned is far too small. (check-in: [f07ac3fb] user: drh branch: branch-3.28, size: 265435)
00:10
[d3030d83] part of check-in [61fbe7aa] In the OP_SeekScan opcode, changes to pOp must occur after the call to VdbeBranchTaken() so that the VdbeBranchTaken() attributes the branch to the correct opcode. (check-in: [61fbe7aa] user: drh branch: in-scan-vs-index, size: 279806)
2020-09-29
23:52
[015caaa6] part of check-in [4afc96b5] The OP_SeekScan opcode is a no-op if the cursor is not pointing to a valid row upon entry. (check-in: [4afc96b5] user: drh branch: in-scan-vs-index, size: 279806)
20:22
[a5f9dbd6] part of check-in [9e57e758] Coverage testing of the OP_SeekScan opcode. Fix a problem that comes up when OP_SeekScan reaches the end of the table. (check-in: [9e57e758] user: drh branch: in-scan-vs-index, size: 279867)
17:29
[f1dfd1fc] part of check-in [6110fdd5] Improved comments on the new OP_SeekScan opcode. (check-in: [6110fdd5] user: drh branch: in-scan-vs-index, size: 279464)
16:05
[72fa5727] part of check-in [2206a2c8] Improved performance by manually in-lining the sqlite3VdbeIdxKeyCompare() routine for the OP_IdxGT opcode and its kin. (check-in: [2206a2c8] user: drh branch: in-scan-vs-index, size: 278964)
01:48
[f13b70fa] part of check-in [f3c36b84] The OP_SeekScan opcode works, but using it requires disabling the IN-earlyout optimization because the OP_IfNoHope opcode might move the cursor. (check-in: [f3c36b84] user: drh branch: in-scan-vs-index, size: 278256)
2020-09-28
19:51
[17584029] part of check-in [d720b698] Revisiting the IN-scan optimization to try to fix it for the corner case where the statistics deceive the query planner into using a scan when an indexed lookup would be better. This check-in changes the code generation to do the IN-scan using a new OP_SeekScan opcode. That new opcode is designed to abandon the scan and fall back to a seek if it doesn't find a match quickly enough. For this work-in-progress check-in, OP_SeekScan is still a no-op and OP_SeekGE still ends up doing all the work. (check-in: [d720b698] user: drh branch: in-scan-vs-index, size: 276941)
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