Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
History for src/btree.c
2025-06-28
| ||
14:30 | [4ef5bf8522] part of check-in [a6f6fbe617] Merge the latest trunk fixes and enhancements into the bedrock branch. (check-in: [a6f6fbe617] user: drh branch: bedrock, size: 424903) | |
14:24 | [127d13534f] part of check-in [e7867c3992] Merge the latest trunk enhancements into the wal2 branch. (check-in: [e7867c3992] user: drh branch: wal2, size: 402643) | |
14:16 | [60f9d3341b] part of check-in [1ae8d60237] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [1ae8d60237] user: drh branch: begin-concurrent, size: 422975) | |
2025-06-26
| ||
18:57 | [81fb440419] part of check-in [23056532e5] Work around an apparent GCC UBSAN bug. See forum thread 1d7c25d4a2d for details. (check-in: [23056532e5] user: drh branch: trunk, size: 402612) | |
2025-06-23
| ||
13:42 | [127ddaf42e] part of check-in [f46500247b] Fix a harmless compiler warning injected by [c978aed3b6f82b3d]. (check-in: [f46500247b] user: drh branch: trunk, size: 402556) | |
2025-06-20
| ||
13:12 | [c7d229ada0] part of check-in [c978aed3b6] Enhance sqlite3BtreeSetPageSize() so that it detects early if no changes are needed and exists with SQLITE_OK. (check-in: [c978aed3b6] user: drh branch: trunk, size: 402551) | |
2025-06-19
| ||
20:00 | [eb61daaf42] part of check-in [e553fb538e] Improve the accuracy of sqlite3BtreeRowCountEst(). (check-in: [e553fb538e] user: drh branch: trunk, size: 402434) | |
19:33 | [043eb4cab6] part of check-in [b305a7f5db] Generalize the indexCellCompare() so that works on any index page, not just the current page that a cursor is pointing to. (check-in: [b305a7f5db] user: drh branch: trunk, size: 402432) | |
2025-06-14
| ||
18:02 | [062be9340c] part of check-in [eda518028f] Generalize the indexCellCompare() so that works on any index page, not just the current page that a cursor is pointing to. (check-in: [eda518028f] user: drh branch: flex-search, size: 403314) | |
2025-06-09
| ||
16:32 | [fe36ce9242] part of check-in [e93048425b] Initial implementation of sqlite3BtreeEstimatedPosition() with the est_rank() SQL function used for testing. (check-in: [e93048425b] user: drh branch: flex-search, size: 403342) | |
2025-06-03
| ||
14:15 | [34f2ab9925] part of check-in [d685bc8ce3] Merge latest trunk changes into this branch. (check-in: [d685bc8ce3] user: dan branch: wal2, size: 402491) | |
14:08 | [e48a6243ea] part of check-in [80dfcc313e] Merge latest trunk changes into this branch. (check-in: [80dfcc313e] user: dan branch: mistake, size: 424751) | |
2025-06-02
| ||
17:44 | [53a9c7b243] part of check-in [7d27451804] Merge trunk changes into this branch. (check-in: [7d27451804] user: dan branch: setlk-snapshot-fix, size: 402460) | |
13:54 | [117c0d408a] part of check-in [387f4c4d98] Remove an unnecessary parameter from sqlite3VdbeRecordUnpack(). Improved comments and assert()s on KeyInfo. (check-in: [387f4c4d98] user: drh branch: trunk, size: 402238) | |
2025-05-31
| ||
09:44 | [cb028cb29e] part of check-in [a98a2f4935] Add some missing UNUSED_PARAMETER() annotations to squelch downstream build warnings when using -Wextra -pedantic. (check-in: [a98a2f4935] user: stephan branch: trunk, size: 402248) | |
2025-05-30
| ||
20:52 | [da98489a98] part of check-in [a35236757a] If blocking locks are enabled, avoid using the busy handler when blocked by another process running recovery. (check-in: [a35236757a] user: dan branch: setlk-snapshot-fix, size: 402387) | |
18:23 | [138e6b0df7] part of check-in [fe11f85fd3] Avoid invoking the busy-handler if a blocking lock times out while attempting to open a snapshot transaction. (check-in: [fe11f85fd3] user: dan branch: setlk-snapshot-fix, size: 402493) | |
2025-03-03
| ||
16:01 | [3fd1729b8d] part of check-in [2033763007] Merge the latest trunk enhancements into the bedrock branch through the wal2 intermediary. (check-in: [2033763007] user: drh branch: bedrock, size: 424456) | |
15:57 | [d1ca761240] part of check-in [6baea938f0] Merge the latest trunk enhancements into the wal2 branch. (check-in: [6baea938f0] user: drh branch: wal2, size: 402196) | |
15:53 | [23f1baf6dc] part of check-in [051a6b159e] Merge all the latest trunk enhancements into the begin-concurrent branch. (check-in: [051a6b159e] user: drh branch: begin-concurrent, size: 422528) | |
2025-02-22
| ||
16:44 | [00fcee3794] part of check-in [742827f049] Tamp down various harmless compiler warnings. Use "int" in places instead of "u16" or "i16" since the compiler complains less and generates faster code. (check-in: [742827f049] user: drh branch: trunk, size: 402165) | |
2025-02-18
| ||
14:48 | [dd0a6c8600] part of check-in [c09656c621] Merge the latest trunk enhancements into the bedrock branch. (check-in: [c09656c621] user: drh branch: bedrock, size: 424049) | |
14:38 | [3532c72bfc] part of check-in [bd46516595] Merge all the latest trunk enhancements into the wal2 branch. (check-in: [bd46516595] user: drh branch: wal2, size: 401789) | |
14:37 | [a377ee6551] part of check-in [3c87a6d195] Merge all the latest trunk enhancements into the begin-concurrent branch. (check-in: [3c87a6d195] user: drh branch: begin-concurrent, size: 422121) | |
2025-02-17
| ||
17:33 | [9316859aa5] part of check-in [215650a5a1] Code changes that make it easier to prove that no 32-bit integer overflows happen during memory allocation. No problems fixed; this change is just to make future maintenance easier. (check-in: [215650a5a1] user: drh branch: trunk, size: 401758) | |
2025-01-07
| ||
21:04 | [f840a13b2f] part of check-in [ac9ca88590] Fix many problems in the sqlite3_schema_copy() function. (check-in: [ac9ca88590] user: dan branch: schema-copy, size: 425630) | |
2024-12-16
| ||
20:30 | [9145be0676] part of check-in [b1e8046859] Optimize deferred allocation of pages on this branch by avoiding BTALLOC_LE. (check-in: [b1e8046859] user: dan branch: bedrock, size: 423983) | |
12:09 | [bf5db62990] part of check-in [019b043428] Remove unnecessary divergence from trunk. (check-in: [019b043428] user: drh branch: begin-concurrent, size: 422055) | |
2024-11-19
| ||
17:32 | [2664c81f21] part of check-in [2ba41da8c4] Extra logging for the freelist and hash table components of COMMITs of BEGIN CONCURRENT transactions. (check-in: [2ba41da8c4] user: dan branch: cf8f1552-commit-instr, size: 425366) | |
2024-11-14
| ||
22:59 | [b102787070] part of check-in [bc8bcc53ff] Attempt to hold a lock across the COMMIT AND BEGIN boundary so that no other process can start a new transaction in between the COMMIT and the BEGIN. (check-in: [bc8bcc53ff] user: drh branch: commit-and-continue, size: 401721) | |
2024-11-13
| ||
11:12 | [68f32f71c3] part of check-in [e0c0176793] Optimize deferred allocation of pages on this branch by avoiding BTALLOC_LE. (check-in: [e0c0176793] user: dan branch: cf8f1552-commit-instr, size: 425369) | |
2024-11-11
| ||
18:11 | [9e32862e73] part of check-in [0812161025] Optimize deferred allocation of pages on this branch by avoiding BTALLOC_LE. (check-in: [0812161025] user: dan branch: begin-concurrent, size: 422049) | |
2024-11-08
| ||
17:09 | [2ec90dfb60] part of check-in [3a45387a09] Even more detailed logging of slow COMMIT statements. (check-in: [3a45387a09] user: dan branch: cf8f1552-commit-instr, size: 424851) | |
2024-10-25
| ||
18:24 | [8fa849747d] part of check-in [fcd68bebf2] Reduce the number of malloc()/free() calls that may occur when a BEGIN CONCURRENT transaction is committed. (check-in: [fcd68bebf2] user: dan branch: cf8f1552-commit-instr, size: 423964) | |
2024-10-23
| ||
17:16 | [19e6f78bc1] part of check-in [9cafae1fff] Extra logging to debug slow commit statements. (check-in: [9cafae1fff] user: dan branch: cf8f1552-commit-instr, size: 423964) | |
2024-10-21
| ||
17:10 | [adab57585f] part of check-in [d2d954d43a] Update the bedrock branch to version 3.47.0 (check-in: [d2d954d43a] user: drh branch: bedrock, size: 423465) | |
17:05 | [8d5a555642] part of check-in [d34b6a9138] Update the wal2 branch to version 3.47.0 (check-in: [d34b6a9138] user: drh branch: wal2, size: 401723) | |
17:00 | [ef31e2a2da] part of check-in [457bb035e3] Update the begin-concurrent branch to version-3.47.0 (check-in: [457bb035e3] user: drh branch: begin-concurrent, size: 421531) | |
2024-10-18
| ||
01:14 | [63ca6b6473] part of check-in [6d55c3e238] New assert() statements to validate OP_OpenEphemeral logic. (check-in: [6d55c3e238] user: drh branch: trunk, size: 401692) | |
2024-10-10
| ||
14:31 | [27981b16cd] part of check-in [f29ff2f308] Add extra logging points to the code on this branch. (check-in: [f29ff2f308] user: dan branch: cf8f1552-commit-instr, size: 423663) | |
2024-10-08
| ||
15:08 | [e681d91414] part of check-in [cd6f585cad] Add logging to help analyze slow "PRAGMA cache_size = ?" statements. (check-in: [cd6f585cad] user: dan branch: cf8f1552-commit-instr, size: 423398) | |
2024-10-04
| ||
14:11 | [c0db29ff59] part of check-in [bbbd3d9be8] Add further logging intended for use in analyzing COMMIT performance. (check-in: [bbbd3d9be8] user: dan branch: bedrock-commit-instr, size: 423244) | |
2024-10-03
| ||
21:00 | [9de68aac0f] part of check-in [72404dfc0d] Add logging to help analyze COMMIT performance. (check-in: [72404dfc0d] user: dan branch: bedrock-commit-instr, size: 423016) | |
2024-09-04
| ||
17:15 | [ab91b21564] part of check-in [69b3791e17] Merge all the latest branch-3.46 fixes into the bedrock-3.46 branch. (check-in: [69b3791e17] user: drh branch: bedrock-3.46, size: 422744) | |
2024-08-29
| ||
23:43 | [e3853ede38] part of check-in [ff94464cec] Merge the latest trunk enhancement into the bedrock branch through the wal2 intermediary. (check-in: [ff94464cec] user: drh branch: bedrock, size: 422936) | |
23:33 | [85af9a7a69] part of check-in [dfecc79c8f] Merge all the latest trunk enhancements into the wal2 branch. (check-in: [dfecc79c8f] user: drh branch: wal2, size: 401194) | |
23:24 | [9fb81b8268] part of check-in [b05d30bec1] Merge all the latest trunk enhancements into the begin-concurrent branch. (check-in: [b05d30bec1] user: drh branch: begin-concurrent, size: 421002) | |
17:18 | [8c05b5d637] part of check-in [45778b0bb8] Fix a case where the BTCF_AtLast flag was being left set incorrectly. This was causing obscure window function queries to fail. (check-in: [45778b0bb8] user: drh branch: branch-3.46, size: 400961) | |
16:27 | [8c5592c618] part of check-in [e042eb0247] Fix a case where the BTCF_AtLast flag was being left set incorrectly. This was causing obscure window function queries to fail. (check-in: [e042eb0247] user: dan branch: trunk, size: 401163) | |
2024-08-09
| ||
10:37 | [813f33fac1] part of check-in [137cc3e9e8] Remove two unnecessary int casts, as reported in forum post 84fe63b7b3. (check-in: [137cc3e9e8] user: dan branch: begin-concurrent, size: 420988) | |
09:49 | [f2c4e45948] part of check-in [1de0c1b574] Remove two unnecessary int casts, as reported in forum post 84fe63b7b3. (check-in: [1de0c1b574] user: stephan branch: bedrock, size: 422922) | |
2024-08-01
| ||
00:47 | [4339090374] part of check-in [c1f616ce80] Merge the latest trunk enhancements into the bedrock branch. (check-in: [c1f616ce80] user: drh branch: bedrock, size: 422932) | |
00:38 | [58e22c9821] part of check-in [eac582056f] Merge the latest trunk enhancements into the wal2 branch. (check-in: [eac582056f] user: drh branch: wal2, size: 401180) | |
00:02 | [ff4f08bb55] part of check-in [3b131bd9aa] Merge all the latest trunk enhancements into the begin-concurrent branch. (check-in: [3b131bd9aa] user: drh branch: begin-concurrent, size: 420998) | |
2024-06-04
| ||
15:47 | [c3d8e61da1] part of check-in [885e01ae35] Fix another problem with the sqlite3_log() message identifying the table or index that a conflicting page belongs to. (check-in: [885e01ae35] user: dan branch: bedrock-3.45, size: 420331) | |
15:33 | [8f47bb2c8f] part of check-in [f1d17258f4] Fix a problem in SQLITE_DIRECT_OVERFLOW_READ builds that could allow a concurrent transaction to be committed even if it read from an overflow page that was modified concurrently, in cases where the overflow page was written without also writing the b-tree page to which it is linked. (check-in: [f1d17258f4] user: dan branch: bedrock-3.45, size: 420167) | |
15:33 | [7f7e6ac880] part of check-in [eed5aa7cdf] Improve the log message emitted when a BEGIN CONCURRENT transaction cannot be committed due to conflicts so that it identifies the conflicting table in a few more cases. (check-in: [eed5aa7cdf] user: dan branch: bedrock-3.45, size: 420071) | |
2024-05-28
| ||
18:41 | [40b638fc6d] part of check-in [19d5fd8a48] Fix another problem with the sqlite3_log() message identifying the table or index that a conflicting page belongs to. (check-in: [19d5fd8a48] user: dan branch: bedrock, size: 422730) | |
18:35 | [04ccc011b8] part of check-in [d033d94350] Fix another problem with the sqlite3_log() message identifying the table or index that a conflicting page belongs to. (check-in: [d033d94350] user: dan branch: begin-concurrent, size: 420796) | |
2024-05-27
| ||
19:52 | [8b42fc7d9e] part of check-in [1b6d1fbcde] The previous check-in was a little two aggressive about skipping the initialization of entries in the CellArray.ixNx array. Fixed here. (check-in: [1b6d1fbcde] user: drh branch: trunk, size: 401149) | |
15:13 | [1a77e763f0] part of check-in [32b79041d9] Very small performance increase and size reduction by removing unnecessary ALWAYS() macros from the btree balance logic and replacing them with special initialization of CellArray and some assert()s. (check-in: [32b79041d9] user: drh branch: trunk, size: 401113) | |
11:31 | [c786c0e9ee] part of check-in [857f6d5309] Add new assert() statements to help out a static analyzer. Response to forum post 17fe8ac32e0de4f5. (check-in: [857f6d5309] user: drh branch: trunk, size: 401009) | |
2024-05-21
| ||
15:24 | [7c13df6d95] part of check-in [c65a82f1fa] Merge the latest trunk enhancements into the bedrock branch. (check-in: [c65a82f1fa] user: drh branch: bedrock, size: 422615) | |
15:20 | [c22fa652e4] part of check-in [d4217d9f70] Merge the latest trunk enhancements into the wal2 branch. (check-in: [d4217d9f70] user: drh branch: wal2, size: 400978) | |
15:17 | [0b8013548d] part of check-in [5c1c8651d1] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [5c1c8651d1] user: drh branch: begin-concurrent, size: 420681) | |
2024-04-15
| ||
20:43 | [71b80e77b2] part of check-in [6b21cccdee] The first assert() added in [0ebc65481f4a3e79] is not necessarily true in a corrupt database file. So add a term to make it true. (check-in: [6b21cccdee] user: drh branch: trunk, size: 400947) | |
14:39 | [295565e66e] part of check-in [4a72acbc4b] Merge the latest trunk enhancements into the wal2 branch. (check-in: [4a72acbc4b] user: drh branch: wal2, size: 400942) | |
14:36 | [e841f07032] part of check-in [eedf6bed2a] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [eedf6bed2a] user: drh branch: begin-concurrent, size: 420645) | |
14:29 | [f2c2406ecf] part of check-in [4c23cad98d] Merge from wrong branch. Bedrock should be updated from wal2, not from trunk. (check-in: [4c23cad98d] user: drh branch: mistake, size: 422579) | |
14:21 | [bd6bd9e17b] part of check-in [2ccc018546] Merge all 3.45.3 changes into the wal2-3.45 branch. (check-in: [2ccc018546] user: drh branch: wal2-3.45, size: 398611) | |
14:18 | [64276c8186] part of check-in [3dda82e001] Merge all 3.45.3 changes into the begin-concurrent-3.45 subbranch. (check-in: [3dda82e001] user: drh branch: begin-concurrent-3.45, size: 418011) | |
2024-04-12
| ||
15:15 | [44503221cc] part of check-in [0ec6669c84] Mark the BTree cell overflow cache as invalid whenever the rowid goes invalid. (check-in: [0ec6669c84] user: drh branch: branch-3.44, size: 398570) | |
15:06 | [0d264fb19a] part of check-in [5266bb6dc9] Mark the BTree cell overflow cache as invalid whenever the rowid goes invalid. (check-in: [5266bb6dc9] user: drh branch: branch-3.45, size: 398580) | |
13:05 | [8c2d32661d] part of check-in [0ebc65481f] Add assert() statements to help verify the overflow page cache. (check-in: [0ebc65481f] user: drh branch: btree-ovfl-cache, size: 400911) | |
12:32 | [b489280734] part of check-in [4efecd6167] New assert() statements to verify the correctness of the BTCF_AtLast flag on btree cursors. (check-in: [4efecd6167] user: drh branch: btree-ovfl-cache, size: 400696) | |
02:57 | [a654c4b4d8] part of check-in [74c9e19c92] Mark the BTree cell overflow cache as invalid whenever the rowid goes invalid. (check-in: [74c9e19c92] user: drh branch: btree-ovfl-cache, size: 400510) | |
2024-03-29
| ||
18:07 | [7eaa4a4d74] part of check-in [11015b4ed1] Fix a problem in SQLITE_DIRECT_OVERFLOW_READ builds that could allow a concurrent transaction to be committed even if it read from an overflow page that was modified concurrently, in cases where the overflow page was written without also writing the b-tree page to which it is linked. (check-in: [11015b4ed1] user: dan branch: bedrock, size: 422146) | |
18:04 | [8a9fbb7474] part of check-in [19ff2d4e1e] Improve the log message emitted when a BEGIN CONCURRENT transaction cannot be committed due to conflicts so that it identifies the conflicting table in a few more cases. (check-in: [19ff2d4e1e] user: dan branch: bedrock, size: 422050) | |
17:58 | [ea6f38398e] part of check-in [49263c9136] Fix a problem in SQLITE_DIRECT_OVERFLOW_READ builds that could allow a concurrent transaction to be committed even if it read from an overflow page that was modified concurrently, in cases where the overflow page was written without also writing the b-tree page to which it is linked. (check-in: [49263c9136] user: dan branch: begin-concurrent, size: 420212) | |
17:32 | [67683c7395] part of check-in [5d30e362cf] Improve the log message emitted when a BEGIN CONCURRENT transaction cannot be committed due to conflicts so that it identifies the conflicting table in a few more cases. (check-in: [5d30e362cf] user: dan branch: begin-concurrent, size: 420116) | |
2024-03-20
| ||
12:19 | [477f724b70] part of check-in [a1a5c427c2] Back port various minor patches (check-in: [a1a5c427c2] user: drh branch: branch-3.44, size: 398538) | |
2024-03-13
| ||
18:00 | [592929dbc4] part of check-in [5c8e80f435] Merge the latest trunk enhancements into the bedrock branch. (check-in: [5c8e80f435] user: drh branch: bedrock, size: 421892) | |
17:55 | [882c5c6ab4] part of check-in [2b12da7234] Merge the latest trunk enhancements into the wal2 branch. (check-in: [2b12da7234] user: drh branch: wal2, size: 400509) | |
17:51 | [ac70c1938c] part of check-in [238fa84a9a] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [238fa84a9a] user: drh branch: begin-concurrent, size: 419958) | |
2024-03-11
| ||
23:26 | [2c7ee906cd] part of check-in [516b7e1380] Merge the latest branch-3.45 changes into the bedrock-3.45 subbranch. (check-in: [516b7e1380] user: drh branch: bedrock-3.45, size: 419913) | |
23:23 | [555598d2aa] part of check-in [f8cee91f5d] Merge the branch-3.45 patches into the wal2 branch. (check-in: [f8cee91f5d] user: drh branch: wal2-3.45, size: 398579) | |
23:18 | [38facea62e] part of check-in [98ea2ca21a] Merge the latest branch-3.45 changes into the begin-concurrent branch. (check-in: [98ea2ca21a] user: drh branch: begin-concurrent-3.45, size: 417979) | |
2024-03-06
| ||
20:56 | [5410768087] part of check-in [f3e841873d] When inserting a 3-byte cell into a btree, ensure that the extra padding byte is 0x00. This is not necessary for security, as far as I can tell, but it seems like a reasonable precaution. (check-in: [f3e841873d] user: mistachkin branch: branch-3.45, size: 398548) | |
2024-02-27
| ||
19:57 | [285b493d84] part of check-in [10d26f1ee8] Add an assert() to help scan-build recognize that a variable is initialized. (check-in: [10d26f1ee8] user: drh branch: trunk, size: 400478) | |
15:33 | [9f2278fa80] part of check-in [6d02fb233f] Remove unreachable branches from the PRAGMA integrity_check enhancement of [b736519d3d2e93c7]. (check-in: [6d02fb233f] user: drh branch: trunk, size: 400455) | |
11:03 | [28a97cee62] part of check-in [b736519d3d] Have "PRAGMA quick_check" compare the number of entries in tables and indexes. (check-in: [b736519d3d] user: dan branch: trunk, size: 400473) | |
2024-02-26
| ||
15:27 | [5e86e2b4c4] part of check-in [5766f1279d] When inserting a 3-byte cell into a btree, ensure that the extra padding byte is 0x00. This is not necessary for security, as far as I can tell, but it seems like a reasonable precaution. (check-in: [5766f1279d] user: drh branch: trunk, size: 400215) | |
2024-02-19
| ||
16:22 | [2f9dcf7c27] part of check-in [e147b18991] 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: [e147b18991] user: drh branch: better-pragma-optimize, size: 400137) | |
2024-02-16
| ||
11:05 | [ffc6e5aed2] part of check-in [11a4178f0e] Fix a problem with the sqlite3_log() message identifying the table or index that a conflicting page belongs to. (check-in: [11a4178f0e] user: dan branch: bedrock, size: 419803) | |
11:03 | [d21f482580] part of check-in [d6c629f165] Fix a problem with the sqlite3_log() message identifying the table or index that a conflicting page belongs to. (check-in: [d6c629f165] user: dan branch: begin-concurrent, size: 417869) | |
2024-02-12
| ||
13:51 | [dfd351decf] part of check-in [e0558f79b8] Add a new sqlite3FaultSim() call in the btree logic, for testing. (check-in: [e0558f79b8] user: drh branch: new-btree-faultsim, size: 400118) | |
2024-02-02
| ||
18:42 | [bf659f4b16] part of check-in [3838332cff] More extensive use of SQLITE_CORRUPT_PGNO. (check-in: [3838332cff] user: drh branch: trunk, size: 400043) | |
16:51 | [d49ecac72d] part of check-in [cc294c041b] Have "PRAGMA quick_check" compare the number of entries in tables and indexes. (check-in: [cc294c041b] user: dan branch: quick-check-counts, size: 400100) | |
2024-02-01
| ||
14:17 | [186359bd69] part of check-in [f2b943f97a] Add tracing logic to the shared-cache locks in btree.c. The tracing is off by default. Enable by changing a single "#if 0" into "#if 1" and recompiling. Debugging code only - no changes to release builds. (check-in: [f2b943f97a] user: drh branch: trunk, size: 399842) | |
2024-01-30
| ||
16:56 | [6a26aab190] part of check-in [5955853a86] Merge the 3.45.1 patch release changes into the bedrock branch. (check-in: [5955853a86] user: drh branch: bedrock-3.45, size: 419835) | |
16:53 | [9df6edc7e5] part of check-in [5e980265c8] Merge the changes from the 3.45.1 patch release into the wal2 branch. (check-in: [5e980265c8] user: drh branch: wal2-3.45, size: 398501) | |
16:50 | [11237c6f0c] part of check-in [d1f20a47f7] Merge the 3.45.1 patch release into the begin-concurrent branch. (check-in: [d1f20a47f7] user: drh branch: begin-concurrent-3.45, size: 417901) | |
2024-01-28
| ||
00:31 | [c64df2b162] part of check-in [e1d463c2d6] Apply the same fix found in [99057383acc8f920] to descending scans. dbsqlfuzz afd1d61fc27d14938a0d78a50970fa1e9fbfee5. (check-in: [e1d463c2d6] user: drh branch: trunk, size: 398470) | |
2024-01-04
| ||
16:28 | [5c0163ebbc] part of check-in [707f79c70c] Merge the latest trunk enhancements into the bedrock branch. (check-in: [707f79c70c] user: drh branch: bedrock, size: 419754) | |
16:16 | [737d43c75d] part of check-in [8fb42df89a] Merge the latest trunk enhancements into the wal2 branch. (check-in: [8fb42df89a] user: drh branch: wal2, size: 398420) | |
15:49 | [6a4a14ab7e] part of check-in [c407d3bb99] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [c407d3bb99] user: drh branch: begin-concurrent, size: 417820) | |
2024-01-02
| ||
22:49 | [dee25e097b] part of check-in [704943e96f] Back out [b517a52fa36df0a0] which is no longer reachable due to early error detection enhancements in [166e82dd20efbfd3]. (check-in: [704943e96f] user: drh branch: trunk, size: 398389) | |
2023-10-30
| ||
22:57 | [5e63b4a87a] part of check-in [956b03a462] Merge the latest 3.44.0 release candidate patches into the bedrock branch. (check-in: [956b03a462] user: drh branch: bedrock, size: 419822) | |
21:46 | [edb79e04db] part of check-in [4f65ae2df0] Merge the latest 3.44.0 changes into wal2 branch. (check-in: [4f65ae2df0] user: drh branch: wal2, size: 398488) | |
21:39 | [672eea4676] part of check-in [9fa405eb5a] Merge the latest trunk changes into the begin-concurrent branch. (check-in: [9fa405eb5a] user: drh branch: begin-concurrent, size: 417888) | |
2023-10-27
| ||
10:49 | [f3b09c5414] part of check-in [dd6e03b373] Back out [2904fcbeebba9189], mostly. The page bitmap is needed even for a partial integrity_check in order to avoid an infinite loops while walking the database. (check-in: [dd6e03b373] user: drh branch: trunk, size: 398457) | |
2023-10-24
| ||
11:06 | [f6c8512a0d] part of check-in [54be9af446] Fix various harmless scan-build warnings. (check-in: [54be9af446] user: drh branch: trunk, size: 398615) | |
2023-10-23
| ||
16:08 | [55d2993ba9] part of check-in [c9c9bc097a] Merge latest changes from wal2 into this branch. (check-in: [c9c9bc097a] user: dan branch: bedrock, size: 419918) | |
16:00 | [764f910784] part of check-in [3a6479d3f9] Merge latest trunk changes into this branch. (check-in: [3a6479d3f9] user: dan branch: wal2, size: 398584) | |
15:48 | [46578952a4] part of check-in [c5ef898a79] Merge latest trunk changes into this branch. (check-in: [c5ef898a79] user: dan branch: begin-concurrent, size: 417984) | |
2023-10-21
| ||
11:06 | [58f5cca2ac] part of check-in [2904fcbeeb] Avoid an unnecessary malloc() for the page usage bitmap when running a partial integrity_check. (check-in: [2904fcbeeb] user: drh branch: trunk, size: 398553) | |
2023-10-14
| ||
17:34 | [ab9d1674d1] part of check-in [f3fb30af03] Merge the version-3.43.2 changes into the begin-concurrent-3.43 branch. (check-in: [f3fb30af03] user: drh branch: begin-concurrent-3.43, size: 417758) | |
2023-10-13
| ||
22:19 | [63fb3269c9] part of check-in [348fa7aaf7] 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: [348fa7aaf7] user: drh branch: trunk, size: 398379) | |
2023-10-05
| ||
11:09 | [15611f72bd] part of check-in [f4aa1bfc97] Improved detection of corrupt databases in balance_nonroot(). dbsqlfuzz d1cf013c50a620b68c2a5bd240d29afd65e5f58e. (check-in: [f4aa1bfc97] user: drh branch: branch-3.43, size: 398327) | |
11:06 | [fbbbfc51d2] part of check-in [a2464bbb82] Improved detection of corrupt databases in balance_nonroot(). dbsqlfuzz d1cf013c50a620b68c2a5bd240d29afd65e5f58e. (check-in: [a2464bbb82] user: drh branch: trunk, size: 398319) | |
10:35 | [04fe20ab3c] part of check-in [c89983dcfc] Remove a stray blank line from the beginning of btree.c. No functional code changes. (check-in: [c89983dcfc] user: drh branch: trunk, size: 398255) | |
2023-09-17
| ||
16:36 | [d2e73513d3] part of check-in [d1fd00e087] Remove a NEVER() in btree.c that could actually be reached, with the approriate database corruption. (check-in: [d1fd00e087] user: drh branch: trunk, size: 398256) | |
2023-08-11
| ||
18:31 | [7dd3b66e14] part of check-in [ca422d00d7] Fix a problem with handling savepoints in BEGIN CONCURRENT transactions. (check-in: [ca422d00d7] user: dan branch: bedrock, size: 419628) | |
18:25 | [2f07a8eefe] part of check-in [4a5c0439ae] Fix a problem with handling savepoints in BEGIN CONCURRENT transactions. (check-in: [4a5c0439ae] user: dan branch: begin-concurrent, size: 417694) | |
2023-07-28
| ||
18:52 | [728b0fa125] part of check-in [1d6ded3234] Merge the latest trunk enhancements into the bedrock branch. (check-in: [1d6ded3234] user: drh branch: bedrock, size: 419108) | |
18:47 | [a2f42c88fd] part of check-in [c1fa1cb5e0] Merge the latest trunk enhancements into the wal2 branch. (check-in: [c1fa1cb5e0] user: drh branch: wal2, size: 398294) | |
18:43 | [3504c745ec] part of check-in [7407dda8b4] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [7407dda8b4] user: drh branch: begin-concurrent, size: 417174) | |
2023-07-27
| ||
19:39 | [7a37bdf09f] part of check-in [ab1edcc7fe] The OP_Column opcode caches large column values coming from overflow pages. (check-in: [ab1edcc7fe] user: drh branch: json-opt, size: 398263) | |
2023-07-24
| ||
13:24 | [ef5018f162] part of check-in [a6f3443994] Merge the latest trunk enhancements into the bedrock branch. (check-in: [a6f3443994] user: drh branch: bedrock, size: 419188) | |
13:20 | [50c5208a9a] part of check-in [b2e56f62ad] Merge the latest trunk enhancements into the wal2 branch. (check-in: [b2e56f62ad] user: drh branch: wal2, size: 398374) | |
13:15 | [c6f4269818] part of check-in [967be041ea] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [967be041ea] user: drh branch: begin-concurrent, size: 417254) | |
2023-07-13
| ||
14:49 | [2281facb05] part of check-in [ce6793e954] Fix an off-by-one error in tests for cells overflowing the end of pages. The error is completely harmless for the default page cache, but might cause false-positive SQLITE_CORRUPT errors in systems that use an application-defined page caches that pack pages tightly together in memory. (check-in: [ce6793e954] user: drh branch: trunk, size: 398343) | |
2023-07-08
| ||
19:16 | [8fa0676d19] part of check-in [35bfb5bfee] Merge the latest trunk enhancements into the bedrock branch. (check-in: [35bfb5bfee] user: drh branch: bedrock, size: 419184) | |
19:09 | [7098c2de8c] part of check-in [f07936535f] Merge all the latest trunk enhancements into the wal2 branch. (check-in: [f07936535f] user: drh branch: wal2, size: 398370) | |
19:00 | [e4f216d52c] part of check-in [3d0823c48e] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [3d0823c48e] user: drh branch: begin-concurrent, size: 417250) | |
14:27 | [c9400cc150] part of check-in [beab3c9863] Fix harmless scan-build warnings. (check-in: [beab3c9863] user: drh branch: trunk, size: 398339) | |
2023-06-22
| ||
14:40 | [2e15d2514e] part of check-in [0551b79b17] Merge the latest trunk enhancements into the bedrock branch. (check-in: [0551b79b17] user: drh branch: bedrock, size: 419134) | |
14:20 | [b1adc6a45e] part of check-in [80ac494f73] Merge the latest trunk enhancements into the wal2 branch. (check-in: [80ac494f73] user: drh branch: wal2, size: 398305) | |
13:28 | [15a5cba9d9] part of check-in [5bd26fea6a] Merge recent trunk enhancements into the begin-concurrent branch. (check-in: [5bd26fea6a] user: drh branch: begin-concurrent, size: 417200) | |
01:03 | [c0c93b6cb4] part of check-in [2e9734c233] Simplification to the getAndInitPage() routine that results in improved performance. (check-in: [2e9734c233] user: drh branch: trunk, size: 398274) | |
2023-06-21
| ||
21:47 | [2ae7a720dc] part of check-in [dc468cfdb8] Improved comment on the getAndInitPage() in btree.c. No code changes. (check-in: [dc468cfdb8] user: drh branch: trunk, size: 398438) | |
18:12 | [9a505e73aa] part of check-in [84731a1fd2] This is a failed attempt to optimize the usage of the page cache in sqlite3BtreeIndexMoveto() by deferring calls to sqlite3PagerUnref() for child pages of the btree until we are sure those pages will not be reused. The code does not work in two senses: (1) Many tests still fail. (2) The performance gain is less than 2 million cycles and does not seem worth the extra risk and complication. (check-in: [84731a1fd2] user: drh branch: pcache-opt, size: 400615) | |
2023-06-19
| ||
18:16 | [a1e1354154] part of check-in [4b08d4dad6] Add the sqlite3_commit_status() API. For querying a connection for (a) the ranges of wal/wal2 frames written after a successful commit, and (b) the conflicting frame following a failed commit of a BEGIN CONCURRENT transaction. (check-in: [4b08d4dad6] user: dan branch: bedrock, size: 418535) | |
2023-06-16
| ||
14:39 | [481666a3dd] part of check-in [365caf2f97] Address various harmless compiler warnings from forum post d526da8ee4. (check-in: [365caf2f97] user: drh branch: trunk, size: 398380) | |
2023-06-12
| ||
14:09 | [76290c756b] part of check-in [cefaf128d2] Defer setting the BTS_PAGESIZE_FIXED flag until after we are certain there are no errors and the page size has been set. Forum post b901808856. (check-in: [cefaf128d2] user: drh branch: branch-3.42, size: 397653) | |
13:57 | [ba2df6dc07] part of check-in [1292d676ea] Simplify a memcpy() in defragmentPage(). It now might copy more content than is strictly necessary, but runs faster and uses less code space. Possible reasons for the improved performance: (1) the copy is now always 8-byte aligned, (2) fewer intermediate results are required which means less register pressure which helps the compiler to optimize the subroutine. (check-in: [1292d676ea] user: drh branch: branch-3.42, size: 397610) | |
13:31 | [01cd3eb0c9] part of check-in [30dcc872eb] Check-in [70e12efd1b189560] left a path through lockBtree() that failed to set the BTS_PAGESIZE_FIXED flag. That omission is fixed by this check-in. dbsqlfuzz 02c9ab74eb0619c9ae3b894ce157fae1d7f94645 (check-in: [30dcc872eb] user: drh branch: trunk, size: 398210) | |
2023-06-10
| ||
19:33 | [6cbc425c1b] part of check-in [70e12efd1b] Defer setting the BTS_PAGESIZE_FIXED flag until after we are certain there are no errors and the page size has been set. (check-in: [70e12efd1b] user: drh branch: trunk, size: 398167) | |
2023-06-09
| ||
15:54 | [82fea54a5e] part of check-in [6e5607ae4d] Simplify a memcpy() in defragmentPage(). It now might copy more content than is strictly necessary, but runs faster and uses less code space. Possible reasons for the improved performance: (1) the copy is now always 8-byte aligned, (2) fewer intermediate results are required which means less register pressure which helps the compiler to optimize the subroutine. (check-in: [6e5607ae4d] user: drh branch: trunk, size: 398167) | |
2023-06-07
| ||
17:03 | [030e6b7b6c] part of check-in [8c291d9994] Fix straggler misspellings and tidy the custom dictionary. Also include pickups from forum post c61fb09afd. (check-in: [8c291d9994] user: larrybr branch: spell-check, size: 398206) | |
08:40 | [148228f605] part of check-in [26c1bb4bd9] Add a C-source spell-checking facility. make misspell (on Nix) (check-in: [26c1bb4bd9] user: larrybr branch: spell-check, size: 398206) | |
2023-05-18
| ||
23:28 | [01a065d871] part of check-in [0a0b7a2d31] Fix incorrect b-tree root page reports from the enhanced PRAGMA integrity_check output introduced in version 3.42.0. (check-in: [0a0b7a2d31] user: drh branch: branch-3.42, size: 397649) | |
23:16 | [46a97286ef] part of check-in [81b1bce719] Incorrect fix. (check-in: [81b1bce719] user: drh branch: mistake, size: 398533) | |
2023-05-17
| ||
19:23 | [ecfb015125] part of check-in [798c3ff20c] Fast-path the btree transaction start for the common case where a transaction is already active. (check-in: [798c3ff20c] user: drh branch: trunk, size: 398520) | |
2023-05-13
| ||
15:17 | [d9eb74049d] part of check-in [18c5e16b55] Merge the latest 3.42.0 changes from trunk into the begin-concurrent branch. (check-in: [18c5e16b55] user: drh branch: begin-concurrent, size: 416600) | |
15:10 | [b665847a53] part of check-in [d55ba8bb85] Merge the latest 3.42.0 beta changes into the bedrock branch. (check-in: [d55ba8bb85] user: drh branch: bedrock, size: 416661) | |
15:07 | [b242c21530] part of check-in [3bbfbdcd9b] 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: [3bbfbdcd9b] user: drh branch: wal2, size: 397667) | |
2023-05-08
| ||
13:38 | [ecaaf8d57c] part of check-in [a865e574e5] In editPage(), if an attempt is made to edit an empty 64KB page, then take the slow path through rebuildPage(), in order to maintain strict invariants in the editPage() code. Forum post 0f37727c0d. (check-in: [a865e574e5] user: drh branch: trunk, size: 397636) | |
2023-05-04
| ||
14:41 | [827ca2c350] part of check-in [b2e0800b24] Merge latest wal2 changes into this branch. (check-in: [b2e0800b24] user: dan branch: bedrock, size: 416668) | |
2023-05-02
| ||
21:10 | [049aea153b] part of check-in [6f22c7679f] Update this branch with latest changes from trunk. (check-in: [6f22c7679f] user: dan branch: begin-concurrent, size: 416607) | |
19:58 | [744b442cac] part of check-in [0215dcc76d] Merge the latest trunk enhancements into the wal2 branch. (check-in: [0215dcc76d] user: drh branch: wal2, size: 397674) | |
2023-05-01
| ||
20:42 | [1949007d27] part of check-in [342af5b4fa] Fix harmless compiler warnings. (check-in: [342af5b4fa] user: drh branch: trunk, size: 397643) | |
2023-04-22
| ||
23:43 | [f81185e135] part of check-in [58a1d94c59] Import fixes from trunk into the branch-3.41. (check-in: [58a1d94c59] user: drh branch: branch-3.41, size: 391846) | |
12:47 | [37292454e4] part of check-in [cd485b302c] Fix an incorrect assert() statement in btree.c as found by forum post d03345d572713fe6. (check-in: [cd485b302c] user: drh branch: trunk, size: 397636) | |
2023-04-10
| ||
18:44 | [af379d8019] part of check-in [4c5a3c5fb3] New assert() statements to validate the parameters to sqlite3BtreeCursorHint(). Fix a problem with the construction of those parameters discovered by forum post 0b53708c95. (check-in: [4c5a3c5fb3] user: drh branch: trunk, size: 397622) | |
2023-04-07
| ||
18:27 | [895a4ab3a5] part of check-in [2dcdbb5035] Guard against oversized cells in the newly enhanced pageFreeArray(). (check-in: [2dcdbb5035] user: drh branch: btree-freespace-opt, size: 397169) | |
16:30 | [119a010f26] part of check-in [9b3febbd98] Add NEVER on an unreachable branch. (check-in: [9b3febbd98] user: drh branch: btree-freespace-opt, size: 397125) | |
15:49 | [467786f4d7] part of check-in [7eff46ba97] Fix an assert(). (check-in: [7eff46ba97] user: drh branch: btree-freespace-opt, size: 397118) | |
15:07 | [5e04112190] part of check-in [203a581a91] Tweaks to the new insertCellFast(). (check-in: [203a581a91] user: drh branch: btree-freespace-opt, size: 397104) | |
14:33 | [ba9cc15bd5] part of check-in [f225afd90c] Clone insertCell() into insertCellFast() for use by sqlite3BtreeInsert() for a substantial performance increase. (check-in: [f225afd90c] user: drh branch: btree-freespace-opt, size: 397181) | |
13:21 | [ab147fedb7] part of check-in [8dc5292ee5] Small performance improvement in freeSpace(). (check-in: [8dc5292ee5] user: drh branch: btree-freespace-opt, size: 393416) | |
11:55 | [8bd2f2b5e4] part of check-in [5d7e833f25] Try to use a heap to make coalescence of adjacent free slots faster when freeing space on a btree page. Turns out that the overhead of managing the heap overwhelms any performance gain and the result is slower. (check-in: [5d7e833f25] user: drh branch: deadend, size: 393594) | |
2023-04-06
| ||
20:14 | [1a5f31d548] part of check-in [27c59f1ea7] Increase the size of the cache of free blocks inside of pageFreeArray() to reduce the number of calls to freeSpace(). (check-in: [27c59f1ea7] user: drh branch: btree-freespace-opt, size: 393412) | |
2023-04-03
| ||
12:45 | [b56f7af31b] part of check-in [0f9e65b6c1] Stronger constraint checking in allocateSpace(). (check-in: [0f9e65b6c1] user: drh branch: branch-3.41, size: 391832) | |
12:33 | [023b41e0a4] part of check-in [9e968f4fbc] Stronger constraint checking in allocateSpace(). dbsqlfuzz 93d4c9ff5ef7cd29f16e767af1ee71c29ec5a4c0 (check-in: [9e968f4fbc] user: drh branch: trunk, size: 393466) | |
2023-04-02
| ||
18:49 | [946f6a8ae1] part of check-in [728633c0bd] Earlier detection of corruption in sqlite3BtreeDelete(). dbsqlfuzz a4c48c291d6e40157a1b749a05eaa7c7faf5a625. (check-in: [728633c0bd] user: drh branch: branch-3.41, size: 391818) | |
16:43 | [c2ececcbcb] part of check-in [978dc71c38] Earlier detection of corruption in sqlite3BtreeDelete(). dbsqlfuzz a4c48c291d6e40157a1b749a05eaa7c7faf5a625. (check-in: [978dc71c38] user: drh branch: trunk, size: 393452) | |
2023-04-01
| ||
13:14 | [ecce2a6cf7] part of check-in [a1cb152e69] Improved error messages from PRAGMA integrity_check. Identify the root of the tree when a problem is found in a b-tree, making it easier to track the problem to a specific table or index. (check-in: [a1cb152e69] user: drh branch: trunk, size: 393363) | |
12:22 | [0fda1fc90c] part of check-in [33ac62d8ee] In the b-tree module use %u instead of %d to print unsigned quantities such as page numbers and offsets. (check-in: [33ac62d8ee] user: drh branch: trunk, size: 393315) | |
2023-03-22
| ||
13:35 | [baf82fca02] part of check-in [b7a144c499] Merge the 3.41.2 patches into the bedrock-3.41 subbranch of bedrock. (check-in: [b7a144c499] user: drh branch: bedrock-3.41, size: 410730) | |
13:25 | [ef79262ce5] part of check-in [db44f17a84] Merge the 3.41.2 patch into the wal2-3.41 subbranch of wal2. (check-in: [db44f17a84] user: drh branch: wal2-3.41, size: 391760) | |
2023-03-20
| ||
20:22 | [2ba5590848] part of check-in [3065dadb3e] Reinsert two NEVER() macros for b-tree branches that were previously needed for [b6a82f3c3b9d89fd] but which are now obsolete due to [73f0036f045bf371]. Later: dbsqlfuzz quickly found new cases for which those two branches are needed. The new test cases have been added to TH3. (check-in: [3065dadb3e] user: drh branch: backout, size: 393327) | |
18:35 | [47def1b43b] part of check-in [20b3ef04d8] Minor change to btreeNext() to facilitate coverage testing. (check-in: [20b3ef04d8] user: drh branch: trunk, size: 393313) | |
15:50 | [0621c72ab2] part of check-in [b02811847c] Fix a problem causing a cursor to retain an out-of-date cell-info cache when processing a DISTINCT query on values that are identical according to their collation sequence, but different on disk. (check-in: [b02811847c] user: drh branch: branch-3.41, size: 391729) | |
14:59 | [8c04a7ed24] part of check-in [1b3abc1dae] Fix a problem causing a cursor to retain an out-of-date cell-info cache when processing a DISTINCT query on values that are identical according to their collation sequence, but different on disk. Forum post e123e6cde4. (check-in: [1b3abc1dae] user: dan branch: trunk, size: 393289) | |
2023-03-16
| ||
09:16 | [3b86f65f05] part of check-in [40623f5ab0] Remove a NEVER() from btreeNext(). (check-in: [40623f5ab0] user: drh branch: branch-3.41, size: 391729) | |
09:07 | [9192990bb7] part of check-in [1dffeffe15] Remove a NEVER() from btreeNext() that dbsqlfuzz 460aa158f9a2c41145831cc924296cde1f312b3f found could sometimes be reached. I will find a way to test that branch later. (check-in: [1dffeffe15] user: drh branch: trunk, size: 393289) | |
02:30 | [b7318b5a3c] part of check-in [ba964eb0f3] Another approach at attempting to contain the damage caused by corruption that leaves MemPage.isInit clear. Works better than the previous but is still not perfect. (check-in: [ba964eb0f3] user: drh branch: corruption-in-btree-init, size: 393380) | |
01:20 | [a5e655d5be] part of check-in [44e83f8b8f] When the btreeInitPage() routine detects database corruption, it should continue to the end and set MemPage.isInit before it returns SQLITE_CORRUPT, because if it leaves MemPage.isInit unset, then can cause difficulty later. dbsqlfuzz 460aa158f9a2c41145831cc924296cde1f312b3f (check-in: [44e83f8b8f] user: drh branch: corruption-in-btree-init, size: 393334) | |
2023-02-28
| ||
12:31 | [c547e099f8] part of check-in [b2b91c7cb4] Performance optimization in the varint decoder for the cell parser. (check-in: [b2b91c7cb4] user: drh branch: trunk, size: 393296) | |
2023-02-25
| ||
16:03 | [04bf3d1c49] part of check-in [22d32eef87] Split out a new variant of cellSizePtr() that applies only to leaf pages, for a small performance increase. (check-in: [22d32eef87] user: drh branch: trunk, size: 393235) | |
15:34 | [ff9634e33c] part of check-in [2dc7342e12] Remove an unnecessary and redundant corruption checks in defragmentPage(). (check-in: [2dc7342e12] user: drh branch: trunk, size: 391710) | |
2023-02-06
| ||
17:35 | [0cefb45d60] part of check-in [46e79167b9] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [46e79167b9] user: drh branch: begin-concurrent, size: 410714) | |
2023-02-02
| ||
14:27 | [a8fedc8ac6] part of check-in [5a22010c35] Merge latest enhancments into this branch from branch wal2. (check-in: [5a22010c35] user: dan branch: begin-concurrent-pnu-wal2, size: 410737) | |
14:21 | [c4662a9c34] part of check-in [c9b0180203] Merge trunk enhancements into this branch. (check-in: [c9b0180203] user: dan branch: wal2, size: 391767) | |
2023-01-27
| ||
20:15 | [2f012aea07] part of check-in [e446c8b4aa] Add an assert() to help static analyzers. (check-in: [e446c8b4aa] user: drh branch: trunk, size: 391736) | |
2023-01-16
| ||
20:33 | [8e8fb7a582] part of check-in [906caf8911] Another version of the debug-only logging on this branch. (check-in: [906caf8911] user: dan branch: schema-version-instr, size: 408555) | |
2023-01-11
| ||
16:17 | [8b776a47d1] part of check-in [6db42780a9] Improved progress-handler and interrupt detection during PRAGMA integrity_check. (check-in: [6db42780a9] user: drh branch: trunk, size: 391709) | |
2023-01-03
| ||
15:11 | [cc4d9e293a] part of check-in [df5ea47130] Small performance improvement in the btreeOverwriteCell() routine. (check-in: [df5ea47130] user: drh branch: trunk, size: 390915) | |
2022-12-26
| ||
16:12 | [0d2aa1331a] part of check-in [71dd920f92] Add the SQLITE_FCNTL_RESET_CACHE verb. Use it to ensure that the page cache is purged before and after a the recovery extension is run. (check-in: [71dd920f92] user: drh branch: branch-3.40, size: 389538) | |
2022-12-23
| ||
15:05 | [5b85d48684] part of check-in [d5a8d6cf05] Another iteration of "PRAGMA schema_version" instrumentation. (check-in: [d5a8d6cf05] user: dan branch: schema-version-instr, size: 408597) | |
2022-12-22
| ||
14:29 | [2bf3ae3484] part of check-in [b9efbc538b] Different version of "PRAGMA schema_version" instrumentation. (check-in: [b9efbc538b] user: dan branch: schema-version-instr, size: 408943) | |
2022-12-21
| ||
20:43 | [4fc2187dd8] part of check-in [bcab19d21b] Merge the latest trunk enhancements into the begin-concurrent-pnu-wal2 branch. (check-in: [bcab19d21b] user: drh branch: begin-concurrent-pnu-wal2, size: 409093) | |
20:28 | [98e30e36a9] part of check-in [21ebd4cfcf] Merge the latest trunk enhancements into the wal2 branch. (check-in: [21ebd4cfcf] user: drh branch: wal2, size: 390123) | |
20:17 | [b07494870e] part of check-in [397fb07bb4] Merge the latest trunk enhancements into the begin-concurrent-report branch. (check-in: [397fb07bb4] user: drh branch: begin-concurrent-report, size: 423452) | |
20:07 | [2956457364] part of check-in [0c198aee53] Update the begin-concurrent branch with the latest enhancements on trunk. (check-in: [0c198aee53] user: drh branch: begin-concurrent, size: 409070) | |
2022-11-28
| ||
21:17 | [2f794c217e] part of check-in [46cdd3637d] Check-in [8d5b76593d82b3a5] contained an error that was causing some obscure error codes to be lost. Fixed here. (check-in: [46cdd3637d] user: drh branch: trunk, size: 390092) | |
20:08 | [bd4375adcc] part of check-in [8d5b76593d] Fix harmless compiler warnings. (check-in: [8d5b76593d] user: drh branch: trunk, size: 390091) | |
18:41 | [d7d74e6c87] part of check-in [6db0bc4bc0] Add the SQLITE_FCNTL_RESET_CACHE verb. Use it to ensure that the page cache is purged before and after a the recovery extension is run. (check-in: [6db0bc4bc0] user: dan branch: trunk, size: 390088) | |
2022-11-21
| ||
15:55 | [522df0f117] part of check-in [bee94d1bb0] Performance optimization and size reduction in insertCell() by omitting the "pRC" argument and instead returning the result code as an integer. (check-in: [bee94d1bb0] user: drh branch: trunk, size: 389827) | |
14:13 | [6fc3f0c6db] part of check-in [b8976ebfe0] Performance optimization to sqlite3BtreeInsert(). (check-in: [b8976ebfe0] user: drh branch: trunk, size: 389925) | |
13:35 | [89e0e5af46] part of check-in [dab959ea3e] Small performance improvement in sqlite3BtreeTransferRow(). (check-in: [dab959ea3e] user: drh branch: trunk, size: 389869) | |
2022-11-19
| ||
20:10 | [308474d813] part of check-in [f40bf2c642] New assert()s confirm that BTREE_PREFORMAT must be the same value as OPFLAG_PREFORMAT. (check-in: [f40bf2c642] user: drh branch: trunk, size: 389844) | |
19:37 | [52e71b216c] part of check-in [9776fa3175] Performance optimization in sqlite3BtreeInsert(). (check-in: [9776fa3175] user: drh branch: trunk, size: 389797) | |
18:43 | [b9e66886f0] part of check-in [715bc81eb8] Performance improvement and size reduction in balance_nonroot(). (check-in: [715bc81eb8] user: drh branch: trunk, size: 389754) | |
18:17 | [80f29390ee] part of check-in [daa07149c0] Small performance improvement and size reduction in btree. (check-in: [daa07149c0] user: drh branch: trunk, size: 389741) | |
14:18 | [c98cf491cb] part of check-in [0c2adc6d35] Improved comments on the pageFreeArray() routine of btree.c. No changes to code. (check-in: [0c2adc6d35] user: drh branch: trunk, size: 389708) | |
13:09 | [405994e58b] part of check-in [4cb285210b] Streamline the decodeFlags() routine in btree.c for a small performance increase. (check-in: [4cb285210b] user: drh branch: trunk, size: 389419) | |
00:22 | [e8fae9a95e] part of check-in [f710cce135] Small performance optimization in btree.c. (check-in: [f710cce135] user: drh branch: trunk, size: 389367) | |
2022-11-14
| ||
13:18 | [4ad1f12ad1] part of check-in [b0e2b9aa2c] Merge the 3.40.0 rc1 changes into the begin-concurrent-pnu-wal2 branch. (check-in: [b0e2b9aa2c] user: drh branch: begin-concurrent-pnu-wal2, size: 408278) | |
13:10 | [61a7a3bf18] part of check-in [a5a610a650] Merge the 3.40.0 rc1 changes into the wal2 branch. (check-in: [a5a610a650] user: drh branch: wal2, size: 389308) | |
12:54 | [634ac44e75] part of check-in [4d3f2531a9] Merge the 3.40.0 rc1 changes into the begin-concurrent-report branch. (check-in: [4d3f2531a9] user: drh branch: begin-concurrent-report, size: 422637) | |
12:44 | [7fe482a41d] part of check-in [5ba588e7eb] Merge 3.40.0 rc1 into the begin-concurrent branch. (check-in: [5ba588e7eb] user: drh branch: begin-concurrent, size: 408255) | |
2022-11-07
| ||
12:21 | [6321ff2926] part of check-in [10d6189d23] Fix requirements marks so that they match documentation corrections. (check-in: [10d6189d23] user: drh branch: trunk, size: 389277) | |
2022-11-04
| ||
19:09 | [1ec9a2e72c] part of check-in [aa2e247b58] Merge the latest trunk enhancements into the begin-concurrent-pnu-wal2 branch. (check-in: [aa2e247b58] user: drh branch: begin-concurrent-pnu-wal2, size: 408285) | |
18:58 | [12fcfc2c72] part of check-in [ca63a1bee1] Merge the latest trunk enhancements into the wal2 branch. (check-in: [ca63a1bee1] user: drh branch: wal2, size: 389315) | |
18:47 | [79d665f9b1] part of check-in [d8568a848a] Merge the latest trunk enhancements into the begin-concurrent-report branch. (check-in: [d8568a848a] user: drh branch: begin-concurrent-report, size: 422644) | |
18:33 | [a058e19b91] part of check-in [b361ee983c] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [b361ee983c] user: drh branch: begin-concurrent, size: 408262) | |
12:59 | [36f21a5596] part of check-in [cd7e3568a9] Remove an unimportant testcase() macro that is no longer reachable due to the improvement in corruption detection. (check-in: [cd7e3568a9] user: drh branch: trunk, size: 389284) | |
2022-10-10
| ||
12:10 | [0fd520ec47] part of check-in [835e191213] Improved detection of database corrupting when moving pages on an autovacuumed database when creating a new btree. dbsqlfuzz 9a55397eae13cec64aebf1fd35489c3a90bdaac5 (check-in: [835e191213] user: drh branch: branch-3.39, size: 389698) | |
12:02 | [74fc5f6a05] part of check-in [327965bc71] Improved detection of database corrupting when moving pages on an autovacuumed database when creating a new btree. dbsqlfuzz 9a55397eae13cec64aebf1fd35489c3a90bdaac5 (check-in: [327965bc71] user: drh branch: trunk, size: 389316) | |
2022-09-30
| ||
22:40 | [ef9c126d6d] part of check-in [bd8ae5febb] Remove one of the NEVER() macros added by [5166acf3f0040459] because it is reachable after all. (check-in: [bd8ae5febb] user: drh branch: trunk, size: 389200) | |
20:48 | [9c1aa10132] part of check-in [5166acf3f0] Add NEVER() to two error-detection tests that were made unreachable by the previous check-in. (check-in: [5166acf3f0] user: drh branch: trunk, size: 389207) | |
20:15 | [ba16b9cfcf] part of check-in [a24e468048] Better handle a case of database corruption where a b-tree page is one of its own ancestor pages. (check-in: [a24e468048] user: dan branch: trunk, size: 389620) | |
14:04 | [1cc413c83c] part of check-in [68a61513f9] Merge the latest trunk enhancements into the begin-concurrent-pnu-wal2 branch. (check-in: [68a61513f9] user: drh branch: begin-concurrent-pnu-wal2, size: 408325) | |
13:54 | [e1c9ad300f] part of check-in [c22c7c8798] Merge recent trunk enhancements into the wal2 branch. (check-in: [c22c7c8798] user: drh branch: wal2, size: 389355) | |
13:42 | [384c4d3166] part of check-in [4d6141f32d] Merge the latest trunk changes into the begin-concurrent-report branch (check-in: [4d6141f32d] user: drh branch: begin-concurrent-report, size: 422684) | |
13:29 | [976f21bb2c] part of check-in [ba2539f6de] Merge all recent trunk enhancements into the begin-concurrent branch. (check-in: [ba2539f6de] user: drh branch: begin-concurrent, size: 408302) | |
2022-09-28
| ||
17:10 | [5568847705] part of check-in [cf0999d4f8] 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: [cf0999d4f8] user: drh branch: reset-database, size: 389348) | |
13:38 | [98e30d5822] part of check-in [a4342fc020] Remove a NEVER macro in defragmentPage() that dbsqlfuzz discovered can be true. crash-32d9312f145cdce41613573f6431d9a3e439e3d7 (check-in: [a4342fc020] user: drh branch: branch-3.39, size: 389582) | |
2022-09-18
| ||
17:59 | [aad3381b25] part of check-in [90403759e1] Remove a NEVER macro in defragmentPage() that dbsqlfuzz discovered can be true. crash-32d9312f145cdce41613573f6431d9a3e439e3d7 (check-in: [90403759e1] user: drh branch: trunk, size: 389324) | |
2022-09-10
| ||
13:50 | [7f1dcdfc69] part of check-in [aa6a5b7297] Enhance the b-tree page sorting code to ensure that sqlite3PagerRekey() never overloads a page number and uses only the PENDING_BYTE page for temporary storage. (check-in: [aa6a5b7297] user: dan branch: branch-3.39, size: 389589) | |
2022-08-31
| ||
15:04 | [138804ba7c] part of check-in [5007742886] Enhance the b-tree page sorting code to ensure that sqlite3PagerRekey() never overloads a page number and uses only the PENDING_BYTE page for temporary storage. (check-in: [5007742886] user: drh branch: trunk, size: 389331) | |
2022-08-27
| ||
14:43 | [971276350a] part of check-in [e67f03c166] Ensure that every pcache page always has either the PGHDR_DIRTY or the PGHDR_CLEAN bit set, even during transient page reshuffling during btree balancing. (check-in: [e67f03c166] user: drh branch: trunk, size: 389695) | |
2022-08-22
| ||
16:08 | [89129b1afa] part of check-in [dde76e91d3] Merge all recent trunk changes into the begin-concurrent-pnu-wal2 branch. (check-in: [dde76e91d3] user: drh branch: begin-concurrent-pnu-wal2, size: 408656) | |
15:57 | [baf0387c2b] part of check-in [0b7578bf3d] Merge all recent trunk enhancements into the wal2 branch. (check-in: [0b7578bf3d] user: drh branch: wal2, size: 389686) | |
15:48 | [6f00e103be] part of check-in [2ec6e9e134] Merge all recent trunk enhancements into the begin-concurrent-report branch. (check-in: [2ec6e9e134] user: drh branch: begin-concurrent-report, size: 423015) | |
15:42 | [9a1e46b2bf] part of check-in [7eac6136ab] Merge all recent trunk enhancements into the begin-concurrent branch. (check-in: [7eac6136ab] user: drh branch: begin-concurrent, size: 408633) | |
2022-07-26
| ||
15:41 | [4a8d349b9e] part of check-in [2d703c5e94] Omit a unused variable initialization in order to suppress a harmless compiler warning. (check-in: [2d703c5e94] user: drh branch: trunk, size: 389655) | |
2022-07-07
| ||
22:59 | [1307d57f65] part of check-in [9a7c031a82] Very small size reduction and performance increase in btree.c. (check-in: [9a7c031a82] user: drh branch: trunk, size: 389661) | |
21:04 | [85e73fcdad] part of check-in [1b03f197b5] Size reduction and performance increase in defragementPage() of btree.c. (check-in: [1b03f197b5] user: drh branch: trunk, size: 389669) | |
20:29 | [6599d972b6] part of check-in [5d247e3856] Size reduction and performance increase in the pageFindSlot() routine of btree.c. (check-in: [5d247e3856] user: drh branch: trunk, size: 389675) | |
20:11 | [4cba0082bd] part of check-in [7d7aed053f] Size reduction and performance increase in the freeSpace() routine of btree.c. (check-in: [7d7aed053f] user: drh branch: trunk, size: 389690) | |
2022-07-05
| ||
10:40 | [8923fefe16] part of check-in [4774938134] Fix an assert() in btree to be more precise, as the previous form of that asser might fail due to recent performance optimizations. (check-in: [4774938134] user: drh branch: trunk, size: 389691) | |
2022-07-03
| ||
11:12 | [d4037518ce] part of check-in [b54064170c] Remove debugging code that has always been commented out. Cosmetic change. (check-in: [b54064170c] user: drh branch: trunk, size: 389779) | |
2022-06-28
| ||
21:52 | [51d2808e9e] part of check-in [77fe737610] Merge latest fixes from begin-concurrent-pnu-wal2 branch. (check-in: [77fe737610] user: dan branch: begin-concurrent-report-wal2, size: 423302) | |
2022-06-24
| ||
15:26 | [3180ee5742] part of check-in [d3fa692179] Merge the latest changes into the begin-concurrent-pnu-wal2 branch. (check-in: [d3fa692179] user: drh branch: begin-concurrent-pnu-wal2, size: 408914) | |
15:15 | [ce975e3e06] part of check-in [5a5e6e368f] Merge 3.39.0 release candidate 1 into the wal2 branch. (check-in: [5a5e6e368f] user: drh branch: wal2, size: 389944) | |
15:04 | [081cb5bd5a] part of check-in [1b28ad2caa] Merge the version 3.39.0 release candidate 1 changes into the begin-concurrent-report branch. (check-in: [1b28ad2caa] user: drh branch: begin-concurrent-report, size: 423273) | |
14:55 | [890831d572] part of check-in [5ae706a401] Merge 3.39.0 release candidate 1 changes into the begin-concurrent branch. (check-in: [5ae706a401] user: drh branch: begin-concurrent, size: 408891) | |
2022-06-19
| ||
16:55 | [b5a74c39d3] part of check-in [11162446f1] Follow-up to check-in [0057bbb508e7662b] - ensure that the database page has been initialized prior to continuing with the optimization. If the page is not initialized, that indicates that the database is corrupt. dbsqlfuzz 09ee46becd5e6d1b2a55c9f8ad767335a90aadb0. (check-in: [11162446f1] user: drh branch: trunk, size: 389913) | |
2022-06-16
| ||
13:56 | [67ff466850] part of check-in [82e7e83601] Merge the latest trunk enhancements into the begin-concurrent-pnu-wal2 branch. (check-in: [82e7e83601] user: drh branch: begin-concurrent-pnu-wal2, size: 408836) | |
13:44 | [db537493a3] part of check-in [c8ad869938] Merge the latest trunk enhancements into the wal2 branch. (check-in: [c8ad869938] user: drh branch: wal2, size: 389866) | |
13:44 | [beb9bfe3e0] part of check-in [8b446d0b85] Merge the latest trunk enhancements into the begin-concurrent-report branch. (check-in: [8b446d0b85] user: drh branch: begin-concurrent-report, size: 423195) | |
13:37 | [89d1b4dd5f] part of check-in [221e07ed78] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [221e07ed78] user: drh branch: begin-concurrent, size: 408813) | |
2022-06-15
| ||
14:57 | [cc49f394c1] part of check-in [cd7a441245] When running an incremental vacuum, detect growth in the size of the database file (which can only occur if the file is corrupt) and fail with SQLITE_CORRUPT. (check-in: [cd7a441245] user: drh branch: trunk, size: 389835) | |
2022-05-31
| ||
15:18 | [6f12c520c3] part of check-in [fe0a840805] Fix an assert that is incorrect for a corrupt database. (check-in: [fe0a840805] user: drh branch: trunk, size: 389682) | |
2022-05-10
| ||
12:45 | [38b64fb83d] part of check-in [d28af1f8a5] Merge the latest trunk enhancements into theh begin-concurrent-pnu-wal2 branch. (check-in: [d28af1f8a5] user: drh branch: begin-concurrent-pnu-wal2, size: 408669) | |
12:39 | [01a6bd849a] part of check-in [33d77fea40] Merge recent trunk enhancements into the wal2 branch. (check-in: [33d77fea40] user: drh branch: wal2, size: 389699) | |
12:24 | [d30242c1c0] part of check-in [e6b5224d71] 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: [e6b5224d71] user: drh branch: begin-concurrent-report, size: 423028) | |
12:00 | [6e460bdc4c] part of check-in [f65bd76760] Merge recent trunk enhancements into the begin-concurrent branch. (check-in: [f65bd76760] user: drh branch: begin-concurrent, size: 408646) | |
2022-05-09
| ||
21:57 | [a40eb604e3] part of check-in [c013544116] Update this branch with latest changes from trunk, and the fts5 fix for "BEGIN CCONCURRENT" transactions. (check-in: [c013544116] user: dan branch: begin-concurrent-report-wal2, size: 421998) | |
2022-04-27
| ||
13:00 | [54a4f5de3b] part of check-in [5590f0a4e6] Merge version 3.38.3 fixes onto the begin-concurrent-wal2-3.38 branch. (check-in: [5590f0a4e6] user: drh branch: begin-concurrent-wal2-3.38, size: 402551) | |
2022-04-26
| ||
19:48 | [4ac832687f] part of check-in [fece097c70] Cherry-pick various minor fixes from trunk into branch-3.38. (check-in: [fece097c70] user: drh branch: branch-3.38, size: 383550) | |
2022-04-18
| ||
15:56 | [df695e953c] part of check-in [2de7f8cc7f] Avoid an assert() failure in allocateSpace() triggered by a corrupt database. dbsqlfuzz f022eb0ce64d27808574d1dcde5cf7d002dabde8. (check-in: [2de7f8cc7f] user: dan branch: trunk, size: 389668) | |
2022-04-13
| ||
10:49 | [093c940ddf] part of check-in [dbd8e2e46c] Fix an assert() in btree.c that might not be true for a corrupt database file. (check-in: [dbd8e2e46c] user: drh branch: trunk, size: 389609) | |
2022-04-12
| ||
17:02 | [c5ede430f7] part of check-in [bff4f083eb] Earlier detection of corruption in balance_nonroot(). dbsqlfuzz 9191ade77ebd3b7a3356e074957aa85b0c669d14. (check-in: [bff4f083eb] user: dan branch: trunk, size: 389595) | |
2022-04-01
| ||
21:01 | [45161c2d5c] part of check-in [390c239e53] The putVarint32() macro does not optimize well. So expand it into in-line code in places were performance is an issue. (check-in: [390c239e53] user: drh branch: trunk, size: 389595) | |
2022-03-31
| ||
16:09 | [d705859e23] part of check-in [b916087aac] Fix harmless compiler warnings. (check-in: [b916087aac] user: drh branch: trunk, size: 389504) | |
2022-03-29
| ||
13:16 | [485157b77a] part of check-in [d0966d1bdd] Avoid unnecessary calls to balance() from sqlite3BtreeDelete(). (check-in: [d0966d1bdd] user: drh branch: trunk, size: 389494) | |
2022-03-26
| ||
17:39 | [7536bfbbc7] part of check-in [73a15377ef] Merge the version 3.38.2 patches with the begin-concurrent-pnu-wal2 branch to create this new sub-branch. (check-in: [73a15377ef] user: drh branch: begin-concurrent-wal2-3.38, size: 402478) | |
2022-03-22
| ||
23:47 | [1ebe34ee73] part of check-in [780d00d4ec] Ensure that database corruption does not cause the cursor passed into sqlite3BtreeDelete() to be invalid. dbsqlfuzz 209bf3de9ee11ae440848ab9bc9c13858f9be2e4. (check-in: [780d00d4ec] user: drh branch: branch-3.38, size: 383477) | |
23:33 | [11a4719bba] part of check-in [a85126f966] Ensure that database corruption does not cause the cursor passed into sqlite3BtreeDelete() to be invalid. dbsqlfuzz 209bf3de9ee11ae440848ab9bc9c13858f9be2e4. (check-in: [a85126f966] user: drh branch: trunk, size: 389000) | |
2022-03-21
| ||
18:48 | [dd4d780d23] part of check-in [88d69f60cc] Some branches are no longer reachable after the previous change. Mark them accordingly. Also improve comments. (check-in: [88d69f60cc] user: drh branch: trunk, size: 388866) | |
18:23 | [94e3549238] part of check-in [883fec9c3a] Strengthen the defenses against corrupt databases in the sqlite3BtreeInsert() function of the btree module. Forum post c7ec29905f. (check-in: [883fec9c3a] user: drh branch: branch-3.38, size: 383396) | |
18:17 | [3362779aa9] part of check-in [4df301c861] Strengthen the defenses against corrupt databases in the sqlite3BtreeInsert() function of the btree module. Forum post c7ec29905f. (check-in: [4df301c861] user: drh branch: trunk, size: 388603) | |
2022-03-12
| ||
15:11 | [db6a80a40a] part of check-in [0071d9da18] Merge the latest trunk changes into the begin-concurrent-pnu-wal2 branch. (check-in: [0071d9da18] user: drh branch: begin-concurrent-pnu-wal2, size: 407616) | |
15:04 | [aa5897d99b] part of check-in [bafaefc6ab] Merge the lates trunk enhancements into the wal2 branch. (check-in: [bafaefc6ab] user: drh branch: wal2, size: 388646) | |
14:54 | [77f141b3b4] part of check-in [c4a61135d5] Merge trunk enhancements, including 3.38.1 patches, into the begin-concurrent-report branch. (check-in: [c4a61135d5] user: drh branch: begin-concurrent-report-3.28, size: 421975) | |
14:47 | [6791ede8d3] part of check-in [aa8b5e9558] Merge the latest trunk enhancements, including the 3.38.1 patches plus additional performance enhancements, into the begin-concurrent branch. (check-in: [aa8b5e9558] user: drh branch: begin-concurrent, size: 407593) | |
2022-03-11
| ||
14:20 | [ddc3cec12a] part of check-in [8b032293b3] Fix a harmless compiler warning and restore performance in the sqlite3BtreeIndexMoveto() last-page optimization. (check-in: [8b032293b3] user: drh branch: trunk, size: 388615) | |
2022-03-10
| ||
23:37 | [961ae88f10] part of check-in [531e6ad038] Another corruption detection case in the sqlite3BtreeIndexMoveto() last page optimization. (check-in: [531e6ad038] user: drh branch: trunk, size: 388643) | |
22:54 | [ed07403097] part of check-in [4ef19ba9b5] In the sqlite3BtreeIndexMoveto() last-page optimization, make sure to return SQLITE_CORRUPT if corruption is detected. (check-in: [4ef19ba9b5] user: drh branch: trunk, size: 388572) | |
2022-03-08
| ||
13:59 | [f00f7323b3] part of check-in [5e30c6ea70] Fix compiler warnings. (check-in: [5e30c6ea70] user: drh branch: trunk, size: 388515) | |
2022-03-07
| ||
18:38 | [259413ef30] part of check-in [ab744a5da8] Disable an assert in moveToRoot() when the database is corrupt. Forum post e9a176b7bd. (check-in: [ab744a5da8] user: drh branch: branch-3.38, size: 383408) | |
18:32 | [1b45f4520b] part of check-in [ae464a18d7] Disable an assert in moveToRoot() when the database is corrupt. Forum post e9a176b7bd. (check-in: [ae464a18d7] user: drh branch: trunk, size: 388520) | |
17:19 | [8abb72f4b4] part of check-in [0021bebc16] In the stay-on-last-page optimization for sqlite3BtreeIndexMoveto() (check-in [0057bbb508e7662b] about 16 hours ago), be sure to clear the BTCF_ValidOvfl flag, since the overflow cache is invalidated by the search on the last page. OSSFuzz issue 45329. (check-in: [0021bebc16] user: drh branch: trunk, size: 388506) | |
01:29 | [dff405cefe] part of check-in [0057bbb508] Optimizations to sqlite3BtreeIndexMoveto() avoid unnecessary comparisons if the cursor is already near the end of the table and is not moving far. This case is more common that you would expect. The optimization saves almost 4 million CPU cycles. (check-in: [0057bbb508] user: drh branch: trunk, size: 388465) | |
2022-03-06
| ||
20:22 | [3a925b8542] part of check-in [4838b888e4] Fix obsolete but harmless comments in btree. No changes to code. (check-in: [4838b888e4] user: drh branch: trunk, size: 385446) | |
2022-03-05
| ||
19:39 | [e30bcf46b6] part of check-in [45a5d5acf7] Cherry-pick all bug fix changes since the 3.38.0 release. (check-in: [45a5d5acf7] user: drh branch: branch-3.38, size: 383394) | |
2022-03-03
| ||
16:48 | [9a5112589d] part of check-in [725a06434b] Make sure the xParseCell and xCellSize methods of the MemPage object are initialized consistently even if the page is detected as being corrupt. dbsqlfuzz fd21f341f3b4f582401d2feb2a1c0c4cc2c26caa. (check-in: [725a06434b] user: drh branch: trunk, size: 385436) | |
2022-03-01
| ||
20:15 | [752fc154c0] part of check-in [f839c0bc83] The MemPage.aDataEnd field should point to the end of the data buffer for the page, not just the end of the usable portion of that buffer. The purpose aDataEnd is to detect cells that overflow the page, and that won't work on a page with reserved bytes and a cell that starts in the reserved region, unless the boundary is at the very end of the page. Chromium issue 1276294. (check-in: [f839c0bc83] user: drh branch: trunk, size: 385300) | |
19:19 | [7e9400d158] part of check-in [86ba06aa4c] Fix a minor typo in a comment. (check-in: [86ba06aa4c] user: drh branch: trunk, size: 385304) | |
16:22 | [7ca88aa557] part of check-in [3b36ed79d8] Fix two assert() statements in btree.c which were not true in the case of a corrupt database file. Forum post 14819f2063. (check-in: [3b36ed79d8] user: drh branch: trunk, size: 385305) | |
15:48 | [e9b7ca07af] part of check-in [3c9f5c9def] Fix slightly-incorrect assert() statements. Forum post f1e83b77b5ff37db (check-in: [3c9f5c9def] user: drh branch: trunk, size: 385277) | |
2022-02-24
| ||
01:41 | [11dfaa1139] part of check-in [ecf832f71f] Fix an assert() so that it is still valid following OOM with the latest enhancements. (check-in: [ecf832f71f] user: drh branch: trunk, size: 385284) | |
2022-02-23
| ||
22:56 | [50a8f846a1] part of check-in [7ad829224a] Add a new subclass for MemPage.xCellSize specifically for the case of a leaf page in a B+Tree, that is optimized for that cases. This gains a half million cycles or more at the cost of less than 200 bytes of code space. (check-in: [7ad829224a] user: drh branch: trunk, size: 385201) | |
18:23 | [35870e7059] part of check-in [41061f2996] Optimize calls to get2byte() in btree.c for almost a one-million cycle performance gain and a few bytes less code. (check-in: [41061f2996] user: drh branch: trunk, size: 383657) | |
2022-02-15
| ||
20:47 | [0b78248567] part of check-in [1336d2f23f] Merge the latest trunk enhancements into the begin-concurrent-pnu-wal2 branch. (check-in: [1336d2f23f] user: drh branch: begin-concurrent-pnu-wal2, size: 402378) | |
20:37 | [f7a4f869f4] part of check-in [7dba818893] Merge recent trunk enhancements into the wal2 branch. (check-in: [7dba818893] user: drh branch: wal2, size: 383408) | |
20:24 | [b0a6e1e1fc] part of check-in [213df7a063] Merge recent trunk enhancements into the begin-concurrent-report branch. (check-in: [213df7a063] user: drh branch: begin-concurrent-report, size: 416737) | |
20:18 | [701beb1950] part of check-in [94838f16ba] Merge the latest trunk changes into the begin-concurrent branch. (check-in: [94838f16ba] user: drh branch: begin-concurrent, size: 402355) | |
2022-02-14
| ||
18:18 | [1178089437] part of check-in [a5ec16907e] Minor correction to the early corruption detection added by [a6fda39e81d0da98|check-in a6fda39e81d0da98] so that it works even if the page being cleared in page 1 of the database. (check-in: [a5ec16907e] user: drh branch: trunk, size: 383377) | |
13:53 | [36171a7ac6] part of check-in [f5f263cc62] Fix a bad assert() (it needs an "||CORRUPT_DB" term) in b-tree, discovered by dbsqlfuzz. (check-in: [f5f263cc62] user: drh branch: trunk, size: 383368) | |
2022-01-17
| ||
19:46 | [a7f304a0c8] part of check-in [45fa7efecb] Merge the latest trunk enhancements into the begin-concurrent-pnu-wal2 branch. (check-in: [45fa7efecb] user: drh branch: begin-concurrent-pnu-wal2, size: 402221) | |
19:36 | [a65ebd8105] part of check-in [82f031b41d] Merge the latest trunk enhancements into the wal2 branch. (check-in: [82f031b41d] user: drh branch: wal2, size: 383251) | |
19:24 | [f037ec5624] part of check-in [ef6fc89507] Bring the begin-concurrent-report branch up to date with all the latest trunk enhancements. (check-in: [ef6fc89507] user: drh branch: begin-concurrent-report, size: 416580) | |
19:17 | [bdcf1b01f6] part of check-in [02daae7a67] Merge recent trunk enhancements into the begin-concurrent branch. (check-in: [02daae7a67] user: drh branch: begin-concurrent, size: 402198) | |
14:42 | [ddab31c38d] part of check-in [0407c87937] Never allow the b-tree layers view of the number of pages in the database file exceed the actual number of pages in the database file, even when PRAGMA writeable_schema=ON. This helps with earlier detection of corruption, and prevents excess memory usage and CPU cycles in some integrity_check ops. (check-in: [0407c87937] user: drh branch: trunk, size: 383220) | |
2022-01-12
| ||
00:28 | [9d9949b3fa] part of check-in [adebb9d747] Fix harmless compiler warning seen with MSVC. (check-in: [adebb9d747] user: mistachkin branch: trunk, size: 383158) | |
2022-01-07
| ||
14:09 | [163c266508] part of check-in [e525892d3d] Merge 3.37.2 changes into the begin-concurrent-pnu branch. (check-in: [e525892d3d] user: drh branch: begin-concurrent-3.37, size: 401130) | |
2022-01-05
| ||
21:08 | [012772a0cb] part of check-in [e1871201e7] Remove two NEVER() macros that can sometimes be true if the database is corrupt. dbsqlfuzz 0414d2c18290fc80fd5fb540def7d3e46c1ae9c6. (check-in: [e1871201e7] user: drh branch: branch-3.37, size: 382152) | |
21:01 | [0e9f84f974] part of check-in [b6a82f3c3b] Remove two NEVER() macros that can sometimes be true if the database is corrupt. dbsqlfuzz 0414d2c18290fc80fd5fb540def7d3e46c1ae9c6. (check-in: [b6a82f3c3b] user: drh branch: trunk, size: 383158) | |
2022-01-02
| ||
21:53 | [224f59b5de] part of check-in [01bd266eb6] Remove unnecessary assignment operations in the btree search algorithm, for a small size reduction and performance increase. (check-in: [01bd266eb6] user: drh branch: trunk, size: 383172) | |
17:46 | [b756d9d0d4] part of check-in [eb07219965] Earlier detection of corruption in sqlite3BtreeDelete(). Fix for the assertion fault reported by forum post 9d78389221. (check-in: [eb07219965] user: drh branch: branch-3.37, size: 382166) | |
17:02 | [9f21ecc67b] part of check-in [6e08a542ad] Fix harmless compiler warnings seen with MSVC. (check-in: [6e08a542ad] user: drh branch: branch-3.37, size: 382020) | |
16:48 | [75aed1a53f] part of check-in [fef72368a2] Performance optimization in btreeParseCellPtr() by unrolling the loop that decodes the rowid. (check-in: [fef72368a2] user: drh branch: trunk, size: 383222) | |
14:55 | [d4b6e026d8] part of check-in [da0af4dd9b] Small performance optimization and size reduction in sqlite3BtreeDelete(). (check-in: [da0af4dd9b] user: drh branch: trunk, size: 382694) | |
11:25 | [fab3d2a9e2] part of check-in [13e9ff9e84] Earlier detection of corruption in sqlite3BtreeDelete(). Fix for the assertion fault reported by forum post 9d78389221. (check-in: [13e9ff9e84] user: drh branch: trunk, size: 382538) | |
2021-12-31
| ||
18:26 | [ea774b39e4] part of check-in [a9bfb62109] Fix harmless compiler warnings seen with MSVC. (check-in: [a9bfb62109] user: mistachkin branch: trunk, size: 382392) | |
2021-12-13
| ||
19:59 | [06abea6fbd] part of check-in [cdcde00b2d] Small performance optimization and code size reduction in moveToRoot(). (check-in: [cdcde00b2d] user: drh branch: trunk, size: 382362) | |
2021-12-03
| ||
14:57 | [81feddbcc6] part of check-in [f3d6853ee8] Fix unreachable branches resulting from prior optimizations. (check-in: [f3d6853ee8] user: drh branch: trunk, size: 382377) | |
13:42 | [be33f2b299] part of check-in [9df939716a] Performance optimization in the B-Tree cursor allocator btreeCursor(), making it about 800K CPU cycles faster in speedtest1, and reducing the executable size by about 100 bytes. (check-in: [9df939716a] user: drh branch: trunk, size: 382409) | |
2021-11-22
| ||
17:08 | [88f75d0322] part of check-in [9b2ffa8477] Merge trunk enhancements into the begin-concurrent-report-wal2 branch. (check-in: [9b2ffa8477] user: drh branch: begin-concurrent-report-wal2, size: 415373) | |
17:01 | [5943ec18ac] part of check-in [8a9fad0f71] Merge trunk enhancements into the begin-concurrent-pnu-wal2 branch. (check-in: [8a9fad0f71] user: drh branch: begin-concurrent-pnu-wal2, size: 400991) | |
16:47 | [645d1259dd] part of check-in [135133b7a6] Merge trunk enhancements into the wal2 branch. (check-in: [135133b7a6] user: drh branch: wal2, size: 382021) | |
16:39 | [0bd2611eaa] part of check-in [ddc11f5599] Merge the latest trunk enhancements into the begin-concurrent-report branch. (check-in: [ddc11f5599] user: drh branch: begin-concurrent-report, size: 415350) | |
16:14 | [83f2ea858a] part of check-in [8f3e68424a] Merge the latest trunk changes into the begin-concurrent branch. (check-in: [8f3e68424a] user: drh branch: begin-concurrent, size: 400968) | |
2021-11-17
| ||
14:21 | [24c4e0e948] part of check-in [8eef878213] Apply the begin-concurrent-report patch to the wal2 branch. (check-in: [8eef878213] user: dan branch: begin-concurrent-report-wal2, size: 415359) | |
2021-11-11
| ||
16:26 | [13b965a0f3] part of check-in [83e6ac7107] Remove a NEVER() that was add yesterday. The fuzzer found a new test case to make it happen. (check-in: [83e6ac7107] user: drh branch: trunk, size: 381990) | |
2021-11-10
| ||
10:59 | [6fd5c54a2e] part of check-in [3feb0f1c38] 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: [3feb0f1c38] user: drh branch: trunk, size: 381997) | |
2021-11-09
| ||
15:36 | [1ad1fb5b87] part of check-in [122f4a762a] Merge all recent trunk changes into the begin-concurrent-report branch. (check-in: [122f4a762a] user: drh branch: begin-concurrent-report, size: 415336) | |
15:18 | [5fa29b7952] part of check-in [07bc13395d] Merge all recent trunk enhancements into the begin-concurrent-pnu-wal2 branch. (check-in: [07bc13395d] user: drh branch: begin-concurrent-pnu-wal2, size: 400977) | |
15:06 | [f6be62aefa] part of check-in [2d0c8f3099] Merge all recent trunk enhancements into the begin-concurrent branch. (check-in: [2d0c8f3099] user: drh branch: begin-concurrent, size: 400954) | |
14:36 | [780a1f3a46] part of check-in [6603f00581] Merge all trunk enhancements prior to the walIndexPage() fix into the begin-concurrent branch. (check-in: [6603f00581] user: drh branch: begin-concurrent, size: 400549) | |
2021-11-06
| ||
16:46 | [c69775cb3b] part of check-in [700876b79c] Merge further changes from trunk into this branch. (check-in: [700876b79c] user: dan branch: wal2, size: 382007) | |
16:10 | [a5bc064ffe] part of check-in [52667bce48] Merge changes from trunk into this branch. (check-in: [52667bce48] user: dan branch: wal2, size: 381602) | |
2021-10-30
| ||
17:30 | [2c8a52a7fd] part of check-in [638c1b0c50] Merge trunk changes into this branch. (check-in: [638c1b0c50] user: dan branch: autovacuum-pages-callback, size: 381976) | |
2021-10-25
| ||
18:51 | [004c647dfb] part of check-in [ac3f617827] Remove a NEVER() in rebuildPage that is reachable, as is demonstrated by dbsqlfuzz case beac09b2756b5d285aa68f9737fdb06c972f159a. (check-in: [ac3f617827] user: drh branch: trunk, size: 381571) | |
2021-10-21
| ||
14:37 | [f7f98daa52] part of check-in [0770f320b9] Merge all recent trunk changes into the begin-concurrent-report branch. (check-in: [0770f320b9] user: drh branch: begin-concurrent-report, size: 414938) | |
14:24 | [0d9794d3bd] part of check-in [1958e6faca] Merge trunk enhancements into the begin-concurrent-pnu-wal2 branch. (check-in: [1958e6faca] user: drh branch: begin-concurrent-pnu-wal2, size: 400579) | |
14:13 | [93a0ee8eee] part of check-in [ae4eed0b7e] Merge recent trunk enhancements into begin-concurrent branch. (check-in: [ae4eed0b7e] user: drh branch: begin-concurrent, size: 400556) | |
14:01 | [301a939b99] part of check-in [7e2bc836f6] Merge recent trunk enhancements into the wal2 branch. (check-in: [7e2bc836f6] user: drh branch: wal2, size: 381609) | |
2021-10-19
| ||
18:00 | [91e27692b9] part of check-in [c26c9e5040] Merge trunk enhancements into the autovacuum-pages-callback branch. (check-in: [c26c9e5040] user: drh branch: autovacuum-pages-callback, size: 381983) | |
2021-10-16
| ||
18:53 | [0604f4af97] part of check-in [5fa272cc03] Add NEVER() macros on branches that become unreachable due to the previous check-in. (check-in: [5fa272cc03] user: drh branch: trunk, size: 381578) | |
17:09 | [91cc6d99b0] part of check-in [a6fda39e81] Have the btree layer detect when a "DELETE FROM tbl" statement is clearing a database page that is still in use (due to database corruption) and report SQLITE_CORRUPT. (check-in: [a6fda39e81] user: dan branch: trunk, size: 381564) | |
2021-10-15
| ||
23:02 | [faa3248f55] part of check-in [bb6f2b8b48] Demostrate a prototype sqlite3_autovacuum_pages() interface. (check-in: [bb6f2b8b48] user: drh branch: autovacuum-pages-callback, size: 381934) | |
2021-10-13
| ||
20:11 | [35782a608c] part of check-in [f038d7f90e] Convert an assert() into a corruption detection branch in sqlite3BtreePayload(). dbsqlfuzz 848171b5d58f6e4a62257466e0e7de16696d4f02. (check-in: [f038d7f90e] user: drh branch: trunk, size: 381529) | |
2021-10-11
| ||
09:39 | [472cc43a26] part of check-in [e2bb82a409] Fix an over-zealous assert(). (check-in: [e2bb82a409] user: drh branch: trunk, size: 381530) | |
2021-10-08
| ||
18:12 | [7c07979ab5] part of check-in [87c357c601] Remove a "harmless()" macro that is no longer relevant. (check-in: [87c357c601] user: drh branch: trunk, size: 381516) | |
16:15 | [8ec2758e13] part of check-in [c7fae46c8a] Improved detection of database corruption. (check-in: [c7fae46c8a] user: drh branch: trunk, size: 382036) | |
2021-10-05
| ||
22:51 | [15b8bdbcf4] part of check-in [8ca0c7d826] Fix a harmless typo in a comment. forum post 218c116fdf. (check-in: [8ca0c7d826] user: drh branch: trunk, size: 381977) | |
2021-10-04
| ||
22:34 | [57c2ac1247] part of check-in [32f33f3569] Fix harmless static-analyzer warnings. (check-in: [32f33f3569] user: drh branch: trunk, size: 381971) | |
12:16 | [d7098c6817] part of check-in [71b102942c] Merge recent trunk changes into the begin-concurrent-report branch. (check-in: [71b102942c] user: drh branch: begin-concurrent-report, size: 415427) | |
12:02 | [76d9c81d0f] part of check-in [bce02eaa0c] Merge recent trunk changes into the begin-concurrent-pnu-wal2 branch. (check-in: [bce02eaa0c] user: drh branch: begin-concurrent-pnu-wal2, size: 401068) | |
11:54 | [8495859cfe] part of check-in [4f5ef7aa4c] Merge recent trunk enhancements into the begin-concurrent branch. (check-in: [4f5ef7aa4c] user: drh branch: begin-concurrent, size: 401045) | |
11:44 | [d704e06a2a] part of check-in [127173e0ba] Merge recent trunk enhancements into the wal2 branch. (check-in: [127173e0ba] user: drh branch: wal2, size: 382098) | |
2021-10-02
| ||
18:22 | [ced03fe226] part of check-in [5906a0152d] Try to fix a harmless static-analyzer warning in sqlite3BtreeTransferRow(). (check-in: [5906a0152d] user: drh branch: trunk, size: 382067) | |
2021-10-01
| ||
21:01 | [c97860dd57] part of check-in [94b59691ee] Fix harmless compiler warnings. (check-in: [94b59691ee] user: drh branch: trunk, size: 382047) | |
2021-09-10
| ||
01:02 | [bed4239e31] part of check-in [32210fa4ac] Back out changes [00286ca5d998d802] and [6844ede29e1dac93] (replacing the associated branches with NEVER()) and add a single new test to btreeOverwriteCell() that detects when an overflow pages is also mapped into a b-tree page and raises and immediate SQLITE_CORRUPT error before making any changes. dbsqlfuzz 81791bd980fe6935ff2c7334ec8bef11c1c12b82 and others. (check-in: [32210fa4ac] user: drh branch: trunk, size: 382088) | |
2021-09-09
| ||
19:19 | [742425ddcc] part of check-in [6844ede29e] Remove a NEVER() in btree that is sometimes reachable. dbsqlfuzz b9140023005430654c8fe544cf0a082ef8d561c1. (check-in: [6844ede29e] user: drh branch: trunk, size: 382057) | |
14:03 | [ad8eacc83d] part of check-in [00286ca5d9] Improved database corruption detection in the editPage() subroutine of the btree rebalancer. dbsqlfuzz f035b1b5a100a5f0cffb95c958b6c67d7c5eaf1f. (check-in: [00286ca5d9] user: drh branch: trunk, size: 382064) | |
2021-08-23
| ||
15:56 | [441e7643b0] part of check-in [d953646a63] Fix a typo in a comment. No changes to code. (check-in: [d953646a63] user: drh branch: trunk, size: 382016) | |
2021-08-03
| ||
17:05 | [fc2953cb19] part of check-in [385e3b4e9d] Merge recent trunk enhancements into the begin-concurrent-report branch. (check-in: [385e3b4e9d] user: drh branch: begin-concurrent-report, size: 415377) | |
16:44 | [c80e07516d] part of check-in [5b6f6514bd] Merge recent trunk changes into the begin-concurrent-pnu-wal2 branch. (check-in: [5b6f6514bd] user: drh branch: begin-concurrent-pnu-wal2, size: 401018) | |
16:31 | [0003bd8a3a] part of check-in [8d806cf93c] Merge recent trunk enhancements into the begin-concurrent branch. (check-in: [8d806cf93c] user: drh branch: begin-concurrent, size: 400995) | |
2021-08-02
| ||
20:29 | [467993910f] part of check-in [f615d7baa8] Merge recent trunk enhancements into the wal2 branch. (check-in: [f615d7baa8] user: drh branch: wal2, size: 382048) | |
2021-06-22
| ||
18:32 | [e204a9c8fb] part of check-in [48fdec22c9] Add the sqlite3_changes64() and sqlite3_total_changes64() API functions. (check-in: [48fdec22c9] user: dan branch: trunk, size: 382017) | |
18:06 | [34f14b261a] part of check-in [f662ff4746] Fix a problem causing sqlite3_changes() to return an incorrect value following a "DELETE FROM tbl" command on an intkey table (because internal b+tree cells were being included in the count). (check-in: [f662ff4746] user: dan branch: trunk, size: 382017) | |
14:59 | [195bb34aec] part of check-in [53f64e83b3] Ensure that the cell array used in balance_nonroot() is always large enough, even if the pages being balanced are corrupt. (check-in: [53f64e83b3] user: dan branch: trunk, size: 381979) | |
2021-06-20
| ||
22:49 | [8bb85e524b] part of check-in [1c41e86fa1] Remove a NEVER() that is reachable by a corrupt database. dbsqlfuzz 8456a0f88e39a49fb675d8f77394979ebb2a03c1. Test case in TH3. (check-in: [1c41e86fa1] user: drh branch: trunk, size: 381980) | |
22:17 | [df7f1f926d] part of check-in [50e818767e] Do not allow an SQLITE_CORRUPT error to mask a prior SQLITE_IOERR in balance_nonroot(). dbsqlfuzz 5e1c86e7f18023f2b9abe3429977d7ea726f50d8 (check-in: [50e818767e] user: drh branch: trunk, size: 381987) | |
2021-06-19
| ||
20:20 | [5c6533683f] part of check-in [70d1836474] Remove unnecessary (redundant) variable initialization from sqlite3BtreeInsert() for a small size reduction and performance increase. (check-in: [70d1836474] user: drh branch: trunk, size: 381957) | |
18:32 | [6079ee9dc3] part of check-in [3b0d34e5e5] 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: [3b0d34e5e5] user: drh branch: trunk, size: 382016) | |
2021-06-14
| ||
14:25 | [b1cffe75bf] part of check-in [0ab899012c] Update this branch with latest changes from wal2. (check-in: [0ab899012c] user: dan branch: begin-concurrent-pnu-wal2, size: 398358) | |
14:12 | [5b4dae6c53] part of check-in [b38c2b8bc4] Update this branch with latest changes from trunk. (check-in: [b38c2b8bc4] user: dan branch: wal2, size: 379388) | |
14:01 | [183bb926c8] part of check-in [a485d1a1b8] Update this branch with latest changes from begin-concurrent-pnu. (check-in: [a485d1a1b8] user: dan branch: begin-concurrent-report, size: 412717) | |
12:23 | [cebbb6e1a0] part of check-in [d81996340a] Update this branch with latest trunk changes. (check-in: [d81996340a] user: dan branch: begin-concurrent, size: 398335) | |
2021-06-07
| ||
13:50 | [399e1ebcd6] part of check-in [35e40d7575] Avoid use of uninitialized memory while running defragmentPage() on a corrupt database file. dbsqlfuzz 4c45cecc0b255aaf2ea85453ccd17e814fd0b6b2 (check-in: [35e40d7575] user: drh branch: trunk, size: 379357) | |
2021-06-03
| ||
18:51 | [6b24d93490] part of check-in [820ae3b117] 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: [820ae3b117] user: drh branch: trunk, size: 379358) | |
2021-05-21
| ||
17:31 | [8869176dd0] part of check-in [4efefb5938] Merge latest changes from wal2 into this branch. (check-in: [4efefb5938] user: dan branch: begin-concurrent-pnu-wal2, size: 398445) | |
16:42 | [8e6896c17b] part of check-in [95cc778345] Merge the latest trunk enhancements into the wal2 branch. (check-in: [95cc778345] user: drh branch: wal2, size: 379475) | |
16:32 | [2796e765c1] part of check-in [1dc6cf5113] Merge the latest trunk changes into begin-concurrent-report branch via the begin-concurrent-pnu branch. (check-in: [1dc6cf5113] user: drh branch: begin-concurrent-report, size: 412804) | |
15:33 | [c48a67a825] part of check-in [0dba9010ad] Merge all recent trunk changes into the begin-concurrent branch. (check-in: [0dba9010ad] user: drh branch: begin-concurrent, size: 398422) | |
2021-05-17
| ||
17:14 | [51ba860953] part of check-in [ace12a3912] Fix harmless compiler warnings. (check-in: [ace12a3912] user: drh branch: trunk, size: 379444) | |
2021-05-15
| ||
13:08 | [f74511a147] part of check-in [c4e02619a4] Performance optimization to the clearCell() routine inside of btree. (check-in: [c4e02619a4] user: drh branch: trunk, size: 379489) | |
2021-05-14
| ||
20:01 | [43e755a22f] part of check-in [4ae64484c5] Small performance improvement for sqlite3BtreeInsert(). (check-in: [4ae64484c5] user: drh branch: trunk, size: 379021) | |
2021-05-11
| ||
10:47 | [5372d8bca3] part of check-in [f39666e64d] Fix a NEVER() that can sometimes be true. dbsqlfuzz 9a86fb3830977e216fde061bfbe1c1e5c2e9bfc4 (check-in: [f39666e64d] user: drh branch: trunk, size: 378887) | |
2021-05-06
| ||
11:02 | [3b1f4a53cd] part of check-in [9080d3d5f5] Improved detection of oversized cells in balance_nonroot(), especially in index b-trees when a cell is being moved from a child page into the parent page in order to become a new divider cell. (check-in: [9080d3d5f5] user: drh branch: trunk, size: 378944) | |
2021-04-26
| ||
15:32 | [0555f7e97e] part of check-in [6c6334660d] Fix a problem that could cause a crash in sqlite3BtreeDelete() when operating on a corrupt database file. (check-in: [6c6334660d] user: dan branch: trunk, size: 378654) | |
2021-04-22
| ||
20:01 | [054bd037a6] part of check-in [bab132cbd1] Change a memcpy() into a memmove() to prevent a warning about overlapping regions passed to memcpy() in case of some obscure and unlikely database corruption. (check-in: [bab132cbd1] user: drh branch: trunk, size: 378551) | |
2021-04-20
| ||
22:48 | [c747dca6b2] part of check-in [ca70c8ac72] Remove a testcase() that is no longer relevant due to the previous check-in. (check-in: [ca70c8ac72] user: drh branch: trunk, size: 378550) | |
20:48 | [df156adf8b] part of check-in [a18c65068b] More aggressive detection of database corruption in the rebuildPage() routine. (check-in: [a18c65068b] user: drh branch: trunk, size: 378596) | |
13:31 | [3555069cbe] part of check-in [d74bf88c5a] Update an assert() in btree.c that may fail with a corrupt database. (check-in: [d74bf88c5a] user: dan branch: trunk, size: 378594) | |
2021-04-10
| ||
20:27 | [15cfe91aa3] part of check-in [8096f7aee4] Avoid an uninitialized-memory valgrind error by tightening up corruption detection in internal routine defragmentPage(). (check-in: [8096f7aee4] user: dan branch: trunk, size: 378580) | |
20:21 | [247c9874a9] part of check-in [e07ce46396] Add NEVER() to a branch that became unreachable with check-in [58f36af2271517ab]. (check-in: [e07ce46396] user: drh branch: trunk, size: 378499) | |
2021-04-09
| ||
22:34 | [e8eaf65959] part of check-in [c174f5d32b] Remove a NEVER() in a corruption detection conditional in defragmentPage(). dbsqlfuzz 9c61c33802600b2b01dfb09b0386ceb4ade02a19 (check-in: [c174f5d32b] user: drh branch: trunk, size: 378492) | |
2021-04-08
| ||
19:39 | [223f8a50e0] part of check-in [cb27ce2509] Handle the corruption fixed by the previous commit in a different way so as to also fix dbsqlfuzz crash 753de0a0ac5b25b18f1e4d41e650d3333cdc270c. (check-in: [cb27ce2509] user: dan branch: trunk, size: 378499) | |
15:19 | [829bf06416] part of check-in [58f36af227] Handle a special case of corruption that can present if "PRAGMA writable_schema=1" is set. Fix for dbsqlfuzz test case 6229ad63de49e3ba0630aaf0058868f36008bcca. (check-in: [58f36af227] user: dan branch: trunk, size: 378710) | |
2021-04-07
| ||
17:46 | [7fad474c16] part of check-in [655c28412f] Merge latest changes into this branch. (check-in: [655c28412f] user: dan branch: begin-concurrent-report, size: 411403) | |
17:32 | [8a0d5a63d3] part of check-in [1f3f7e4bf3] Merge latest trunk changes into this branch. (check-in: [1f3f7e4bf3] user: dan branch: begin-concurrent-pnu, size: 397021) | |
12:21 | [bd7d9d608f] part of check-in [b1bf0d9875] Earlier detection of page 1 on the freelist (which is impossible) and reporting of that as database corruption. dbsqlfuzz 6fe6c504b320be5e3eed66896cb0db28bfb38a93. (check-in: [b1bf0d9875] user: drh branch: trunk, size: 378043) | |
2021-04-06
| ||
18:02 | [36a162403b] part of check-in [55cad6f628] Update an assert statement that could fail when using "PRAGMA writable_schema = 1" to access a database with a corrupt schema. (check-in: [55cad6f628] user: dan branch: trunk, size: 378032) | |
2021-04-04
| ||
23:56 | [800eb0b924] part of check-in [ad718388a1] Fix an assert() in sqlite3BtreeLast() that needs an "|| CORRUPT_DB" term. Dbsqlfuzz case b92b72e4de80b5140c30ab71372ca719b8feb618. (check-in: [ad718388a1] user: drh branch: trunk, size: 378018) | |
2021-03-26
| ||
14:04 | [0ee2ae302a] part of check-in [4d425e641d] Merge up all the 3.35.3 changes into the begin-concurrent-pnu-wal2 branch. (check-in: [4d425e641d] user: drh branch: begin-concurrent-pnu-wal2, size: 396892) | |
13:58 | [b1e36ac807] part of check-in [a1b8d9d213] Merge the 3.35.3 enhancements into the wal2 branch. (check-in: [a1b8d9d213] user: drh branch: wal2, size: 377922) | |
13:47 | [56b9f23f64] part of check-in [4ba9fc34c5] Merge patch 3.35.3 into the begin-concurrent-report branch. (check-in: [4ba9fc34c5] user: drh branch: begin-concurrent-report, size: 411251) | |
13:31 | [d20d202238] part of check-in [988da36c86] Merge from 3.35.3 into the begin-concurrent branch. (check-in: [988da36c86] user: drh branch: begin-concurrent, size: 396869) | |
2021-03-18
| ||
16:47 | [cfd2a37794] part of check-in [bcbe5308f3] 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: [bcbe5308f3] user: drh branch: trunk, size: 377891) | |
16:36 | [227adc33e7] part of check-in [edbfdcaefa] Remove unnecessary code from sqlite3BtreeClose() and add test cases. (check-in: [edbfdcaefa] user: drh branch: opendup-fix, size: 377889) | |
15:42 | [25cdff8bd4] part of check-in [0ec71cf169] Further sanity checking of the OpenDup cursors. (check-in: [0ec71cf169] user: drh branch: opendup-fix, size: 377924) | |
14:31 | [b048dcb502] part of check-in [39b5af18c0] Automatically close ephemeral b-trees when their last cursor is closed. (check-in: [39b5af18c0] user: dan branch: opendup-fix, size: 377864) | |
13:42 | [83cb92554f] part of check-in [b8de980b2f] Allow instruction OP_OpenDup to duplicate cursors created by OP_OpenDup, as well as by OP_OpenEphemeral. (check-in: [b8de980b2f] user: dan branch: opendup-fix, size: 377701) | |
12:36 | [f5334a1c09] part of check-in [e4c44c0bca] Change the name of the iDataVersion field of Btree to iBDataVersion to make it distinct from Pager.iDataVersion. (check-in: [e4c44c0bca] user: drh branch: trunk, size: 377547) | |
2021-03-11
| ||
19:26 | [eb07eb19d0] part of check-in [6994a2d8af] Merge latest changes from begin-concurrent-pnu into this branch. (check-in: [6994a2d8af] user: dan branch: begin-concurrent-report, size: 410905) | |
2021-03-03
| ||
19:41 | [27e89248b5] part of check-in [b0fc8ca14e] Merge in recent enhancements. (check-in: [b0fc8ca14e] user: drh branch: begin-concurrent-pnu-wal2, size: 396546) | |
19:32 | [07e8fa51fd] part of check-in [0ae8103908] Merge recent trunk enhancements into the wal2 branch. (check-in: [0ae8103908] user: drh branch: wal2, size: 377576) | |
19:17 | [30dd658db1] part of check-in [acdafef836] Merge recent trunk changes into the begin-concurrent branch. (check-in: [acdafef836] user: drh branch: begin-concurrent, size: 396523) | |
2021-03-01
| ||
16:15 | [bafa3a2e8b] part of check-in [d235d40628] Fix another msan complain triggered by a corrupt database. (check-in: [d235d40628] user: dan branch: msan-fix, size: 377545) | |
2021-02-04
| ||
13:52 | [694020ad8a] part of check-in [5c8e6296aa] Add NEVER() to a branch that check-in [5d54d9fd40638138] apparently made unreachable. (check-in: [5c8e6296aa] user: drh branch: trunk, size: 377507) | |
2021-02-01
| ||
12:39 | [4da2569498] part of check-in [5d54d9fd40] Improved corrupt database detection in balance_nonroot(). (check-in: [5d54d9fd40] user: drh branch: trunk, size: 377500) | |
2021-01-21
| ||
21:36 | [47d9fe97d5] part of check-in [d5ea75a09d] Do not allow VACUUM to resize the page_size to 512 if the reserve_byte value is 31 or greater. forum post e807885dc5. (check-in: [d5ea75a09d] user: drh branch: trunk, size: 377378) | |
2020-12-16
| ||
21:09 | [0f9cb68687] part of check-in [85952e7117] Enhance the sqlite3BtreeTransferRow() routine so that it does more careful checks for corrupt database pages. (check-in: [85952e7117] user: drh branch: trunk, size: 377322) | |
14:20 | [fae8279463] part of check-in [31cd1bbfa5] Remove an unnecessary and incorrect #ifdef. Fix harmless compiler warnings. (check-in: [31cd1bbfa5] user: drh branch: trunk, size: 377158) | |
2020-12-15
| ||
19:27 | [b995dfb6a2] part of check-in [4e2dd2a533] Fix another integer overflow triggered by a corrupt database in recently modified vacuum code. (check-in: [4e2dd2a533] user: dan branch: trunk, size: 377158) | |
2020-12-14
| ||
16:26 | [31a23d1e93] part of check-in [a1708e8457] Merge recent trunk enhancements into the begin-concurrent branch. (check-in: [a1708e8457] user: drh branch: begin-concurrent, size: 396136) | |
15:25 | [f8cdad7e00] part of check-in [59b4367fd8] Fix an integer overflow problem in new VACUUM code. (check-in: [59b4367fd8] user: dan branch: trunk, size: 377158) | |
2020-12-11
| ||
19:01 | [ea5e8bfe90] part of check-in [dd058da85c] Fix an assert() broken by recent changes to vacuum. (check-in: [dd058da85c] user: dan branch: trunk, size: 377158) | |
2020-12-10
| ||
19:54 | [91da5fd5d9] part of check-in [b4d6f6d728] Remove a redundant branch added by [56a54258560]. (check-in: [b4d6f6d728] user: dan branch: trunk, size: 377158) | |
19:20 | [de8d2a4d8d] part of check-in [f7fa76d096] Fix minor issues with new code on this branch. (check-in: [f7fa76d096] user: dan branch: vacuum-lomem, size: 377174) | |
18:06 | [b14822d4dd] part of check-in [101cef1491] Better integrate the changes on this branch with OP_Insert and OP_IdxInsert. (check-in: [101cef1491] user: dan branch: vacuum-lomem, size: 376386) | |
2020-12-09
| ||
20:33 | [ce6a27f7d8] part of check-in [dfd4ca6891] Transfer large index or WITHOUT ROWID records between b-trees when vacuuming without loading them into memory. (check-in: [dfd4ca6891] user: dan branch: vacuum-lomem, size: 375964) | |
16:32 | [2dd52a7d6f] part of check-in [0d2c377606] Avoid loading large intkey rows when VACUUMing, even if the page-size is changing. (check-in: [0d2c377606] user: dan branch: vacuum-lomem, size: 375703) | |
2020-12-08
| ||
20:19 | [6d5cfd0e41] part of check-in [c90e063ca9] 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: [c90e063ca9] user: dan branch: vacuum-lomem, size: 375003) | |
2020-11-26
| ||
18:41 | [f667788093] part of check-in [b451bb724e] Merge latest changes from wal2 branch. (check-in: [b451bb724e] user: dan branch: begin-concurrent-pnu-wal2, size: 391504) | |
18:08 | [abfcbfc8aa] part of check-in [cb1f6f18e7] Merge latest trunk changes into this branch. (check-in: [cb1f6f18e7] user: dan branch: wal2, size: 372534) | |
17:54 | [3b25558afd] part of check-in [d2de81a24f] Merge latest changes from begin-concurrent-pnu into this branch. (check-in: [d2de81a24f] user: dan branch: begin-concurrent-report, size: 405863) | |
11:37 | [658804cedb] part of check-in [ddb97eeef7] Update this branch with latest changes from trunk. (check-in: [ddb97eeef7] user: dan branch: begin-concurrent, size: 391481) | |
2020-11-24
| ||
19:55 | [ee14224322] part of check-in [b2a201f1b5] Fix a harmless typo in a comment. (check-in: [b2a201f1b5] user: drh branch: trunk, size: 372503) | |
2020-10-06
| ||
15:48 | [ad0a38e4d4] part of check-in [a49a7cdec7] More additions and improvements to btree.h documentation (check-in: [a49a7cdec7] user: shearer branch: btree-code-documentation, size: 372512) | |
2020-09-30
| ||
18:22 | [47276c5c15] part of check-in [f07ac3fb38] 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: [f07ac3fb38] user: drh branch: branch-3.28, size: 367359) | |
00:48 | [c678de5bf6] part of check-in [29cca775d3] Add an sqlite3FaultSim() call to btreeNext() to make it easier to simulate I/O errors in calls to sqlite3BtreeNext(), and in OP_SeekScan. (check-in: [29cca775d3] user: drh branch: in-scan-vs-index, size: 372502) | |
2020-09-25
| ||
13:56 | [fb79706544] part of check-in [78d8db7cb7] More classification of functions. Fix incorrect comment that sqlite3BtreeCursorHasHint() is only used within asserts. (check-in: [78d8db7cb7] user: shearer branch: btree-code-documentation, size: 372488) | |
2020-09-16
| ||
16:45 | [73a3e74e0f] part of check-in [61981b9747] Fix a tsan error that could occur when using shared-cache mode. (check-in: [61981b9747] user: dan branch: branch-3.33, size: 372252) | |
2020-09-04
| ||
19:10 | [1fbb15cf6a] part of check-in [de80bc8730] Fix a tsan error that could occur when using shared-cache mode. (check-in: [de80bc8730] user: dan branch: trunk, size: 372478) | |
2020-08-31
| ||
18:49 | [87f2c3f181] part of check-in [dca5b91926] New test-control that returns the number of calls to sqlite3BtreeMovetoUnpacked() on the main database and then resets the counter. This only works for SQLITE_DEBUG builds. (check-in: [dca5b91926] user: drh branch: trunk, size: 372491) | |
2020-08-25
| ||
19:09 | [634381c86f] part of check-in [ad195e3dd8] Add support for the sqlite3_txn_state() interface. (check-in: [ad195e3dd8] user: drh branch: trunk, size: 372196) | |
2020-08-11
| ||
14:06 | [abc4d4ef16] part of check-in [3ee73880ed] Update this branch with latest from begin-concurrent-pnu. (check-in: [3ee73880ed] user: dan branch: begin-concurrent-report, size: 405625) | |
13:22 | [868a8d1076] part of check-in [ebefcb8607] Merge all the latest changes into the begin-concurrent-pnu-wal2 branch. (check-in: [ebefcb8607] user: drh branch: begin-concurrent-pnu-wal2, size: 391266) | |
11:34 | [e0f00b5a95] part of check-in [91262e6657] Merge latest trunk changes into this branch. (check-in: [91262e6657] user: dan branch: wal2, size: 372296) | |
2020-08-10
| ||
21:16 | [869e74c2a9] part of check-in [ed4c742c4e] Merge recent trunk enhancements into begin-concurrent. (check-in: [ed4c742c4e] user: drh branch: begin-concurrent, size: 391243) | |
21:01 | [1439fd9b45] part of check-in [5bbd4bddd3] Simplify #ifdefs associated with Parse.eParseMode. Fix an #ifdef error associated with SQLITE_OMIT_AUTOVACUUM. (check-in: [5bbd4bddd3] user: drh branch: trunk, size: 372265) | |
2020-07-31
| ||
23:34 | [9950163f54] part of check-in [8cf342d4e5] Back out a NEVER() that turns out to be reachable. (check-in: [8cf342d4e5] user: drh branch: trunk, size: 372265) | |
17:08 | [1d4dd53355] part of check-in [ebd39665e5] Merge latest wal2 changes into this branch. (check-in: [ebd39665e5] user: dan branch: begin-concurrent-pnu-wal2, size: 391281) | |
16:01 | [8a28f5051e] part of check-in [0c0d0a77bc] Merge latest trunk changes into this branch. (check-in: [0c0d0a77bc] user: dan branch: wal2, size: 372311) | |
02:07 | [08f951b4b0] part of check-in [12bb75d9ed] Remove an ALWAYS() that turns out to be reachable. (check-in: [12bb75d9ed] user: drh branch: trunk, size: 372272) | |
2020-07-30
| ||
19:56 | [9069ece217] part of check-in [fd01e78827] Merge begin-concurrent-pnu changes into this branch. (check-in: [fd01e78827] user: dan branch: begin-concurrent-report, size: 405640) | |
19:19 | [d8388dadc7] part of check-in [e8a6651539] Merge latest trunk changes into this branch. (check-in: [e8a6651539] user: dan branch: begin-concurrent, size: 391258) | |
17:14 | [56ec47e80d] part of check-in [905752da98] Fix unreachable branches. (check-in: [905752da98] user: drh branch: larger-databases, size: 372280) | |
2020-07-29
| ||
16:18 | [62f1c3a167] part of check-in [a80ae2c98b] 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: [a80ae2c98b] user: drh branch: typos, size: 372151) | |
12:23 | [e047029ffa] part of check-in [1d69eee8b0] Fix signed/unsigned compiler warnings. (check-in: [1d69eee8b0] user: drh branch: larger-databases, size: 372307) | |
2020-07-28
| ||
20:32 | [398b6a2ec3] part of check-in [805bb67a82] Earlier detection of out-of-range page numbers in the btree layer. (check-in: [805bb67a82] user: drh branch: larger-databases, size: 372307) | |
2020-07-23
| ||
09:14 | [312780d344] part of check-in [b5443b47af] Merge support for partial integrity checks. (check-in: [b5443b47af] user: drh branch: larger-databases, size: 372126) | |
00:45 | [4bb684b2aa] part of check-in [65dd321432] Add the ability to do a PRAGMA integrity_check (or quick_check) on a single table by specifying the table name as the argument. (check-in: [65dd321432] user: drh branch: trunk, size: 372147) | |
2020-07-22
| ||
17:12 | [a4720f5194] part of check-in [4c5f3c6cac] All TCL tests now passing. (check-in: [4c5f3c6cac] user: drh branch: larger-databases, size: 371125) | |
13:38 | [7c8eec7364] part of check-in [9ce1710aad] Continuing work toward supporting unsigned 32-bit page numbers. (check-in: [9ce1710aad] user: drh branch: larger-databases, size: 371130) | |
2020-07-20
| ||
12:47 | [21984273a6] part of check-in [9cb7da9bdb] Initial changes to allow database up to 281TB in size. (check-in: [9cb7da9bdb] user: drh branch: larger-databases, size: 371150) | |
2020-07-17
| ||
11:07 | [f567a05803] part of check-in [12a909fb3d] Bring this branch up to date with begin-concurrent-pnu. (check-in: [12a909fb3d] user: dan branch: begin-concurrent-report, size: 404445) | |
2020-07-16
| ||
20:57 | [2897731a49] part of check-in [2160ede1d1] Allow BEGIN CONCURRENT transactions to contain schema modifications. However, this causes them to conflict with all other transactions. (check-in: [2160ede1d1] user: dan branch: begin-concurrent-pnu-wal2, size: 390024) | |
20:39 | [f420325b40] part of check-in [e9393a18cb] Allow BEGIN CONCURRENT transactions to contain schema modifications. However, this causes them to conflict with all other transactions. (check-in: [e9393a18cb] user: dan branch: begin-concurrent-pnu, size: 390063) | |
20:10 | [e1b94261d2] part of check-in [24eead9204] Allow BEGIN CONCURRENT transactions to contain schema modifications. However, this causes them to conflict with all other transactions. (check-in: [24eead9204] user: dan branch: mistake, size: 389993) | |
2020-07-14
| ||
12:40 | [b8b0e80c8b] part of check-in [f25a56c26e] Early detection of freelist size corruption in incremental vacuum. (check-in: [f25a56c26e] user: drh branch: trunk, size: 371147) | |
2020-07-11
| ||
16:42 | [e8a64df5eb] part of check-in [30735432bc] Improved detection of a corrupt database schema. Fix for a problem discovered by dbsqlfuzz. (check-in: [30735432bc] user: drh branch: trunk, size: 371131) | |
2020-06-29
| ||
18:30 | [e8e4a7e472] part of check-in [87c7d96258] Change the name of IntegrityCk.mallocFailed to IntegrityCk.bOomFault to avoid confusion with the sqlite3 object field with the same name. (check-in: [87c7d96258] user: drh branch: trunk, size: 371041) | |
2020-06-19
| ||
15:24 | [b49799f05f] part of check-in [7a876209a6] Extend the refactoring into extensions. Clean up stray newlines. (check-in: [7a876209a6] user: drh branch: trunk, size: 371059) | |
13:33 | [fe9c4c68d7] part of check-in [9536fa0ae0] Further refactoring of the schema table name. (check-in: [9536fa0ae0] user: drh branch: trunk, size: 371051) | |
11:34 | [d9d7813a28] part of check-in [7bb08b1bfc] Refactoring various names. No changes in the resulting machine code. (check-in: [7bb08b1bfc] user: drh branch: trunk, size: 371051) | |
2020-06-18
| ||
13:16 | [70129047b9] part of check-in [b69b9c0628] Fix an assert() that could fail when operating on a database with a corrupt schema. (check-in: [b69b9c0628] user: drh branch: branch-3.32, size: 371059) | |
2020-06-17
| ||
20:29 | [e6db473ab1] part of check-in [4a340c9bc7] Fix an assert() that could fail when operating on a database with a corrupt schema. (check-in: [4a340c9bc7] user: dan branch: trunk, size: 371059) | |
2020-06-15
| ||
20:27 | [f3a4479b0d] part of check-in [61782a7ae3] Provide "sqlite_schema" as an alternative name to the table that holds the database schema. (check-in: [61782a7ae3] user: drh branch: trunk, size: 371020) | |
2020-06-12
| ||
00:31 | [fabc215bd1] part of check-in [44e573ecd5] Remove a NEVER() that turns out to be reachable. (check-in: [44e573ecd5] user: drh branch: trunk, size: 371020) | |
2020-05-18
| ||
19:55 | [61260c56f8] part of check-in [5dc355ccf6] Merge latest trunk changes into this branch. (check-in: [5dc355ccf6] user: dan branch: begin-concurrent-pnu-wal2, size: 389927) | |
17:18 | [8977eed059] part of check-in [16b1eca922] Merge latest trunk changes into this branch. (check-in: [16b1eca922] user: dan branch: wal2, size: 371058) | |
16:19 | [9cdd780b9e] part of check-in [c69f030b1e] Merge recent changes from trunk. (check-in: [c69f030b1e] user: drh branch: begin-concurrent-pnu, size: 389966) | |
15:41 | [0f2b08c721] part of check-in [9e4a7b3ed8] Merge latest trunk changes into this branch. (check-in: [9e4a7b3ed8] user: dan branch: begin-concurrent, size: 389896) | |
2020-05-07
| ||
14:26 | [f14e415fcf] part of check-in [49e4dc72f7] Fix an error that could occur if the first transaction executed by a connection configured to use blocking locks is a write-transaction for which the WRITER lock cannot be obtained. (check-in: [49e4dc72f7] user: dan branch: setlk-deadlock-changes, size: 371027) | |
14:05 | [d78458bf4c] part of check-in [ac4ee69664] Merge trunk changes into this branch. (check-in: [ac4ee69664] user: dan branch: setlk-deadlock-changes, size: 371025) | |
01:56 | [b7b9b444d0] part of check-in [99749d4fd4] Fix the handling of reserve-bytes so that the maximum value of 255 can be used. (check-in: [99749d4fd4] user: drh branch: trunk, size: 370542) | |
2020-05-06
| ||
20:55 | [a0f550b2df] part of check-in [92dc59132f] Fix harmless compiler warnings. (check-in: [92dc59132f] user: drh branch: setlk-deadlock-changes, size: 371043) | |
20:27 | [f0cd4a3683] part of check-in [f3ef9c7c2b] Add error code SQLITE_BUSY_TIMEOUT, used internally by the OS layer to indicate that a call to xShmLock() has failed due to timeout of a blocking lock. (check-in: [f3ef9c7c2b] user: dan branch: setlk-deadlock-changes, size: 371108) | |
19:22 | [98e6ff5f2f] part of check-in [22de99ef41] Fix compiler warnings in non-SQLITE_ENABLE_SETLK_TIMEOUT builds. (check-in: [22de99ef41] user: dan branch: setlk-deadlock-changes, size: 371013) | |
19:14 | [4d5a7d2208] part of check-in [105d6c9bbc] Block on the WRITER lock when attempting to run recovery. (check-in: [105d6c9bbc] user: dan branch: setlk-deadlock-changes, size: 371007) | |
15:07 | [e810b07f22] part of check-in [a3727dba10] Merge latest trunk changes into this branch. (check-in: [a3727dba10] user: dan branch: setlk-deadlock-changes, size: 370949) | |
2020-05-05
| ||
20:30 | [2a152165ef] part of check-in [d6f819a9e6] Unless upgrading an existing read transaction, have ENABLE_SETLK_TIMEOUT builds attempt to use a blocking lock when opening a write transaction on a wal mode database. (check-in: [d6f819a9e6] user: dan branch: setlk-deadlock-changes, size: 370942) | |
19:54 | [079ae87477] part of check-in [9a84d8eb44] The only known path to a corruption detection branch was cut off by the previous commit implementing earlier index corruption. So make the branch NEVER. Maybe a fuzzer will find a new path. (check-in: [9a84d8eb44] user: drh branch: trunk, size: 370560) | |
2020-05-04
| ||
19:42 | [54d404ff88] part of check-in [553423c231] Changes to avoid deadlock in SQLITE_ENABLE_SETLK_TIMEOUT builds. (check-in: [553423c231] user: dan branch: setlk-deadlock-changes, size: 370508) | |
2020-05-01
| ||
15:04 | [3383ad7675] part of check-in [2100b2c8f3] Merge recent trunk enhancements. (check-in: [2100b2c8f3] user: drh branch: approximate-analyze, size: 370553) | |
2020-04-22
| ||
00:50 | [02376eb7d4] part of check-in [52a6acca6d] Clarify the comment on the sqlite3BtreeGetRequestedReserve() routine. No changes to code. (check-in: [52a6acca6d] user: drh branch: trunk, size: 370591) | |
2020-04-20
| ||
15:18 | [97673c54a3] part of check-in [abc1aad74f] The SQLITE_TESTCTRL_RESERVE operator is removed. In its place is the more general SQLITE_FCNTL_RESERVE_BYTES which is an API and which can operator on more than just the main schema. (check-in: [abc1aad74f] user: drh branch: trunk, size: 370394) | |
14:05 | [671be07873] part of check-in [4135cb0244] Remove an obsolete comment. No changes to code. (check-in: [4135cb0244] user: drh branch: trunk, size: 370276) | |
2020-04-09
| ||
19:00 | [f35d8d490c] part of check-in [6c11b67bd2] Merge recent trunk changes into begin-concurrent-pnu-wal2. (check-in: [6c11b67bd2] user: drh branch: begin-concurrent-pnu-wal2, size: 389332) | |
18:51 | [bb7cf28864] part of check-in [d6fda470fe] Merge recent trunk changes into the apple-osx branch. (check-in: [d6fda470fe] user: drh branch: apple-osx, size: 370646) | |
18:46 | [05522a88df] part of check-in [6fb870625c] Merge recent trunk enhancements into the wal2 branch. (check-in: [6fb870625c] user: drh branch: wal2, size: 370461) | |
18:29 | [73d4dabe25] part of check-in [92f71a88c4] Merge recent trunk enhancements into the begin-concurrent branch. (check-in: [92f71a88c4] user: drh branch: begin-concurrent, size: 389301) | |
2020-03-31
| ||
18:41 | [25e062b160] part of check-in [c705ce266a] Merge recent enhancements from trunk. (check-in: [c705ce266a] user: drh branch: approximate-analyze, size: 370392) | |
2020-03-30
| ||
13:35 | [79ce96ab39] part of check-in [a49f8ec552] Use __atomic_load_n() and __atomic_store_n() for a few more things where they are available. (check-in: [a49f8ec552] user: dan branch: trunk, size: 370430) | |
2020-03-17
| ||
13:41 | [f2e0c75c83] part of check-in [a9bfa47aee] Remove the SQLITE_OMIT_BTREECOUNT option. Btree count is required. (check-in: [a9bfa47aee] user: drh branch: approximate-analyze, size: 370366) | |
2020-03-11
| ||
19:30 | [df9c363cca] part of check-in [b288bbd1df] Add documentation notes and fix outstanding issues on this branch. (check-in: [b288bbd1df] user: dan branch: begin-concurrent-report, size: 403852) | |
16:46 | [fd245c43dd] part of check-in [724a4a844d] Support reporting of blob fields. (check-in: [724a4a844d] user: dan branch: begin-concurrent-report, size: 403545) | |
2020-03-10
| ||
21:14 | [5bee9ee08b] part of check-in [9ae970fdc1] Fix test and other problems with reporting pages read and written. (check-in: [9ae970fdc1] user: dan branch: begin-concurrent-report, size: 403391) | |
2020-03-09
| ||
21:00 | [246757a947] part of check-in [b661ccc88f] Report on pages, as well as keys, read and written by BEGIN CONCURRENT transactions. (check-in: [b661ccc88f] user: dan branch: begin-concurrent-report, size: 403113) | |
2020-03-08
| ||
13:33 | [7271a120a6] part of check-in [25dc53f660] Avoid a redundant NULL check (check-in: [25dc53f660] user: pdr branch: trunk, size: 370404) | |
2020-03-07
| ||
16:51 | [8f8f1fa20c] part of check-in [d28d1739a6] Fix reporting cases related to UPDATE. And of WITHOUT ROWID tables. (check-in: [d28d1739a6] user: dan branch: begin-concurrent-report, size: 401632) | |
2020-03-06
| ||
20:51 | [43733638d2] part of check-in [1c1f180eb6] Enhancement to log logical writes as well as reads. (check-in: [1c1f180eb6] user: dan branch: begin-concurrent-report, size: 401608) | |
2020-03-05
| ||
20:59 | [14a0d8c53b] part of check-in [ab458a319f] Fix reporting for indexed range scans that extend past the end of the data. (check-in: [ab458a319f] user: dan branch: begin-concurrent-report, size: 400156) | |
2020-03-04
| ||
19:17 | [205b22089c] part of check-in [6ec5a8995f] Fix cases to do with index scans. (check-in: [6ec5a8995f] user: dan branch: begin-concurrent-report, size: 398848) | |
2020-03-03
| ||
21:01 | [0ead4efa3b] part of check-in [427e2c9d95] Extend begin_concurrent_report() so that it reports on accesses to non-intkey tables as well. (check-in: [427e2c9d95] user: dan branch: begin-concurrent-report, size: 396636) | |
2020-03-02
| ||
21:00 | [3db1636762] part of check-in [ad961aee15] Fix reporting for some range scan cases. (check-in: [ad961aee15] user: dan branch: begin-concurrent-report, size: 394240) | |
15:05 | [c6622891cb] part of check-in [b1880b1899] Merge latest begin-concurrent-pnu changes with this branch. (check-in: [b1880b1899] user: dan branch: begin-concurrent-report, size: 392927) | |
2020-02-18
| ||
23:58 | [4dfab58621] part of check-in [ee034fe916] Remove a NEVER() macro and add a test case to cause its argument to be true. (check-in: [ee034fe916] user: drh branch: trunk, size: 370399) | |
2020-02-07
| ||
01:12 | [7cc1fb4086] part of check-in [5a877221ce] Simplify the code by removing the unsupported and undocumented SQLITE_HAS_CODEC compile-time option (check-in: [5a877221ce] user: drh branch: trunk, size: 370406) | |
2020-02-04
| ||
20:22 | [248e7a828a] part of check-in [76668b5589] Merge latest trunk/wal2 changes, including the SQLITE_ENABLE_CORRUPT_PGNO patch, with this branch. (check-in: [76668b5589] user: dan branch: begin-concurrent-pnu-wal2, size: 389501) | |
20:11 | [e42ef2a864] part of check-in [6ad4d6b7ff] Merge latest trunk changes into this branch. (check-in: [6ad4d6b7ff] user: dan branch: wal2, size: 370630) | |
20:08 | [d4f73dbe77] part of check-in [f253618ac6] Merge latest trunk changes, including the SQLITE_ENABLE_CORRUPT_PGNO patch, into this branch. (check-in: [f253618ac6] user: dan branch: begin-concurrent, size: 389470) | |
2020-01-29
| ||
13:50 | [ff1af84ce7] part of check-in [ffd8bb9351] Remove a NEVER() that is in fact reachable. Test cases in dbsqlfuzz and TH3. (check-in: [ffd8bb9351] user: drh branch: trunk, size: 370599) | |
2020-01-21
| ||
21:01 | [f24e74f413] part of check-in [c39e3c14a9] Begin adding instrumentation to record and report on the set of key-ranges a concurrent transaction reads from the database. (check-in: [c39e3c14a9] user: dan branch: begin-concurrent-report, size: 392934) | |
2020-01-15
| ||
14:21 | [ff96ebfc92] part of check-in [350627f3b1] Merge in the latest trunk changes via the begin-concurrent-pnu branch. (check-in: [350627f3b1] user: drh branch: begin-concurrent-pnu-wal2, size: 389508) | |
14:11 | [dff80958a9] part of check-in [35eae71a4d] Merge recent enhancements and fixes from trunk. (check-in: [35eae71a4d] user: drh branch: wal2, size: 370637) | |
13:34 | [cb9f45dd17] part of check-in [95ba2f50fd] Merge fixes and enhancements from trunk into begin-concurrent. (check-in: [95ba2f50fd] user: drh branch: begin-concurrent, size: 389477) | |
12:49 | [87013de9de] part of check-in [dadedf41c7] Merge all recent enhancements and fixes from trunk into the apple-osx branch. (check-in: [dadedf41c7] user: drh branch: apple-osx, size: 370822) | |
2020-01-14
| ||
16:39 | [7af5ff0f88] part of check-in [54bf048119] Remove an ALWAYS on a branch for improved database corruption detection in btree.c:freeSpace(). Test case found by dbsqlfuzz. (check-in: [54bf048119] user: drh branch: trunk, size: 370606) | |
2020-01-07
| ||
18:10 | [d70000b515] part of check-in [d7d98d3dff] Fix a performance regression caused by the previous check-in. (check-in: [d7d98d3dff] user: drh branch: trunk, size: 370588) | |
13:32 | [68dc49062f] part of check-in [03c1d75ddc] Add an "|| CORRUPT_DB" term to an assert() statement inside of btree. (check-in: [03c1d75ddc] user: drh branch: trunk, size: 370588) | |
2020-01-05
| ||
21:53 | [ac383ca583] part of check-in [46f8ef70fb] Remove a NEVER in btree due to a new test case from dbsqlfuzz. (check-in: [46f8ef70fb] user: drh branch: trunk, size: 370564) | |
2020-01-04
| ||
17:55 | [c457b6a978] part of check-in [481f4956af] Remove another NEVER added by check-in [7b62555e285f32d3]. Dbsqlfuzz found another test case. (check-in: [481f4956af] user: drh branch: trunk, size: 370545) | |
14:50 | [615294ab54] part of check-in [61f873b14c] Back out another NEVER added by check-in [7b62555e285f32d3] - the test case was already in test/fuzzdata3.db, but it only occurs if compiled without SQLITE_ENABLE_PREUPDATE_HOOK. (check-in: [61f873b14c] user: drh branch: trunk, size: 370552) | |
12:34 | [71f8faded1] part of check-in [04a05c83f5] Restore a NEVER and an assert in btree that was removed by check-in [7b62555e285f32d3]. Dbsqlfuzz found test cases. (check-in: [04a05c83f5] user: drh branch: trunk, size: 370559) | |
2020-01-03
| ||
17:40 | [df0ec5541f] part of check-in [7b62555e28] Add NEVER macros to error-detection branches that were made unreachable (as far as I can tell) by check-in [ceacc28b03580334]. (check-in: [7b62555e28] user: drh branch: trunk, size: 370506) | |
15:51 | [0eb5d02aac] part of check-in [ceacc28b03] Improve a specific case of early database corruption dectecion in the b-tree layer. (check-in: [ceacc28b03] user: dan branch: trunk, size: 370420) | |
2019-12-29
| ||
22:08 | [f191aa4d99] part of check-in [db4b7e1dc3] 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: [db4b7e1dc3] user: drh branch: trunk, size: 370427) | |
00:52 | [e03085a75c] part of check-in [21ef6e9933] 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: [21ef6e9933] user: drh branch: trunk, size: 370060) | |
2019-12-23
| ||
18:02 | [695bcbc621] part of check-in [61c2233654] Early detection of database corruption in balance_deeper(). (check-in: [61c2233654] user: drh branch: trunk, size: 370097) | |
2019-12-20
| ||
12:33 | [716fc9bd12] part of check-in [07beb3629e] Fix an assert() in btree.c that can fail if an INSERT is attempted on a corrupted database while in PRAGMA writable_schema=ON. (check-in: [07beb3629e] user: drh branch: trunk, size: 369084) | |
2019-11-22
| ||
00:42 | [d22498af71] part of check-in [6a64fb6a2d] Revise the SQLITE_OPEN_NOFOLLOW so that it actually uses O_NOFOLLOW in the open() system call. This backs out the SQLITE_ACCESS_SYMLINK value but adds the new SQLITE_OK_SYMLINK return code from the xFullPathname method of sqlite3_vfs when that routine resolves symbolic links. O_NOFOLLOW is always included in open() system calls for journal files. (check-in: [6a64fb6a2d] user: drh branch: trunk, size: 369055) | |
2019-11-17
| ||
11:47 | [b43507671f] part of check-in [ed57c48e4b] Fix an assert that can fail if the schema is corrupt. (check-in: [ed57c48e4b] user: drh branch: trunk, size: 368953) | |
2019-10-25
| ||
14:46 | [12e251f8c3] part of check-in [ea068b099c] Performance optimization in sqlite3BtreeCursor(). (check-in: [ea068b099c] user: drh branch: trunk, size: 368873) | |
2019-10-11
| ||
14:21 | [a8a9c2ce62] part of check-in [bf875dc599] Faster response to sqlite3_interrupt() in the OP_IntegrityCk and OP_Count opcodes. (check-in: [bf875dc599] user: drh branch: trunk, size: 368315) | |
2019-09-16
| ||
12:29 | [5de41f117c] part of check-in [15593bf3ad] Bring the begin-concurrent-pnu-wal2 branch up to date with all the latest enhancements on trunk. (check-in: [15593bf3ad] user: drh branch: begin-concurrent-pnu-wal2, size: 387046) | |
12:23 | [48b4ced955] part of check-in [da8bc97412] Merge recent trunk enhancements into the wal2 branch. (check-in: [da8bc97412] user: drh branch: wal2, size: 368175) | |
12:08 | [50fc34cd39] part of check-in [93b9ef3f47] Merge recent trunk enhancements into the begin-concurrent branch. (check-in: [93b9ef3f47] user: drh branch: begin-concurrent, size: 387015) | |
12:02 | [fe7876b04f] part of check-in [a95191deab] Merge the latest changes from trunk into the apple-osx branch. (check-in: [a95191deab] user: drh branch: apple-osx, size: 368360) | |
2019-08-24
| ||
21:02 | [fdc4389b27] part of check-in [d7434cae3e] Minor performance improvement for balance_nonroot(). (check-in: [d7434cae3e] user: dan branch: trunk, size: 368144) | |
20:59 | [a1af850bb2] part of check-in [c88d42a921] Minor performance improvement to balance_nonroot(). (check-in: [c88d42a921] user: dan branch: mistake, size: 368176) | |
2019-08-15
| ||
13:17 | [5cf994516c] part of check-in [4cc5694cbd] Ensure that the cell overwrite optimization does not overwrite the header of the b-tree page. (check-in: [4cc5694cbd] user: drh branch: trunk, size: 368072) | |
00:04 | [a6b6f47308] part of check-in [b517a52fa3] Early detection out-of-bounds page numbers on the direct-overflow-read optimization gives consistent error messages regardless of whether or not the optimization is enabled. (check-in: [b517a52fa3] user: drh branch: trunk, size: 368002) | |
2019-08-12
| ||
18:26 | [6061323b98] part of check-in [7dae7b969e] Make sure the btree cursor overflow cache is cleared when overwriting a cell in sqlite3BtreeInsert(). Ticket [3cf9bb227e9a5d32] (check-in: [7dae7b969e] user: drh branch: trunk, size: 367934) | |
2019-08-08
| ||
01:39 | [781e459409] part of check-in [30e6ee27a9] Remove a NEVER() that is reachable from a corrupt database. (check-in: [30e6ee27a9] user: drh branch: trunk, size: 367850) | |
2019-08-05
| ||
16:22 | [397b507544] part of check-in [4b00799bdf] Improved detection of corruption on the freeblock list of a btree page. (check-in: [4b00799bdf] user: drh branch: trunk, size: 367857) | |
2019-08-03
| ||
01:39 | [4f122e985d] part of check-in [49aa344806] Give the SQLITE_TESTCTRL_PRNG_SEED two arguments. The second argument if not NULL is a pointer to a database connection which seeds the connection from its schema cookie. In this way, fuzzers can control the PRNG seed. (check-in: [49aa344806] user: drh branch: prng-seed-test-control, size: 367769) | |
2019-07-22
| ||
23:30 | [af0a7159db] part of check-in [9991626b25] Do not use the insert-overwrite optimization if the cell might overwrite the page header. (check-in: [9991626b25] user: drh branch: branch-3.29, size: 368066) | |
23:24 | [58d002f711] part of check-in [f60a830691] Do not use the insert-overwrite optimization if the cell might overwrite the page header. (check-in: [f60a830691] user: drh branch: trunk, size: 367776) | |
2019-07-17
| ||
16:18 | [4508402e26] part of check-in [59c9e73f86] Fix an incorrect assert() in balance_nonroot(). (check-in: [59c9e73f86] user: drh branch: trunk, size: 367659) | |
2019-07-16
| ||
19:44 | [83a4b1b744] part of check-in [9e66458592] Add new assert() statements in an attempt to help static analyzers avoid false-positives. (check-in: [9e66458592] user: drh branch: trunk, size: 368028) | |
2019-07-13
| ||
09:55 | [0e30c98649] part of check-in [c7920f5569] Trivial performance improvement for balance(). (check-in: [c7920f5569] user: dan branch: filter-clause, size: 367951) | |
2019-07-08
| ||
21:25 | [62662509b6] part of check-in [08dcb4593d] Merge enhancments from wal2, which also merges trunk enhancements. (check-in: [08dcb4593d] user: drh branch: begin-concurrent-pnu-wal2, size: 386851) | |
21:19 | [caaf623a96] part of check-in [dcbcbc2a69] Merge all enhancements from trunk into the wal2 branch. (check-in: [dcbcbc2a69] user: drh branch: wal2, size: 367980) | |
21:06 | [41ac7b8c83] part of check-in [7fff080335] Merge recent trunk enhancements into the begin-concurrent branch. (check-in: [7fff080335] user: drh branch: begin-concurrent, size: 386820) | |
20:59 | [b2baa0d710] part of check-in [de88ed862e] Merge recent enhancements from trunk into apple-osx. (check-in: [de88ed862e] user: drh branch: apple-osx, size: 368165) | |
2019-05-16
| ||
20:36 | [1dbc191e5c] part of check-in [4b05caeb1b] Initialize the 18-byte overrun area on the buffer used to reconstruct overflow btree cells during a btree search, to avoid a harmless jump-depends-on-uninit-values warning. (check-in: [4b05caeb1b] user: drh branch: trunk, size: 367949) | |
2019-05-14
| ||
22:07 | [bcd6ac1f1f] part of check-in [3deaa6e23b] Merge the latest trunk and wal2 enhancements. (check-in: [3deaa6e23b] user: drh branch: begin-concurrent-pnu-wal2, size: 386697) | |
22:02 | [1c9c480169] part of check-in [23ec34e4f6] Merge the latest trunk enhancements into the wal2 branch. (check-in: [23ec34e4f6] user: drh branch: wal2, size: 367826) | |
21:51 | [58ed494034] part of check-in [5d3a6e18d4] Merge the latest trunk enhancements into begin-concurrent. (check-in: [5d3a6e18d4] user: drh branch: begin-concurrent, size: 386666) | |
19:39 | [53ccbd3ecb] part of check-in [40362d5181] Merge recent enhancements from trunk into apple-osx. (check-in: [40362d5181] user: drh branch: apple-osx, size: 368011) | |
2019-05-10
| ||
14:34 | [5e15f903fd] part of check-in [e6d5fee8cd] Ensure that the BtShared.nPage value is reset correctly on a SAVEPOINT ROLLBACK. (check-in: [e6d5fee8cd] user: drh branch: trunk, size: 367795) | |
2019-05-08
| ||
23:55 | [0a276df3f9] part of check-in [ebe4845cd0] Ensure that the sqlite3BtreeLast() interface initializes the *pRes return to zero if the cursor is already sitting on the last entry of the table. Manuel Rigger found the obscure test case for which this makes a difference. (check-in: [ebe4845cd0] user: drh branch: trunk, size: 367611) | |
04:33 | [9177613eee] part of check-in [ad8fc5d8b4] Remove an ALWAYS() that was previously added by check-in [a0819086] but which turns out can sometimes be false. (check-in: [ad8fc5d8b4] user: drh branch: trunk, size: 367596) | |
03:34 | [fcfd6b960e] part of check-in [74eba2558a] Remove a NEVER() that was added in the previous check-in [a0819086a521f] because it is in fact reachable. (check-in: [74eba2558a] user: drh branch: trunk, size: 367604) | |
00:17 | [3fe1f1b3cd] part of check-in [a0819086a5] Earlier detections of errors in the byte-offset-to-cell-content integer at offset 5 in the header of a btree page. (check-in: [a0819086a5] user: drh branch: trunk, size: 367611) | |
2019-05-07
| ||
17:47 | [096a98aae7] part of check-in [8b6691f619] Strive to prevent harmless compiler warnings in GCC 4.8.5. (check-in: [8b6691f619] user: drh branch: trunk, size: 367577) | |
2019-05-02
| ||
15:56 | [e048f240d9] part of check-in [c509d8a8ae] Earlier detection of a database corruption case in balance_nonroot(), to prevent a possible use of an uninitialized variable. (check-in: [c509d8a8ae] user: drh branch: trunk, size: 367539) | |
2019-04-22
| ||
11:47 | [ffe7101006] part of check-in [b2ce5ed175] Fix an assert() that may be false for corrupt databases. (check-in: [b2ce5ed175] user: dan branch: trunk, size: 367319) | |
2019-04-15
| ||
15:28 | [024bdefd81] part of check-in [1cd536ecc8] Merge all recent enhancements. (check-in: [1cd536ecc8] user: drh branch: begin-concurrent-pnu-wal2, size: 386237) | |
15:17 | [2550761e76] part of check-in [8950f1195a] Merge the latest trunk enhancements. (check-in: [8950f1195a] user: drh branch: wal2, size: 367366) | |
14:59 | [380dce2fe3] part of check-in [7c328e8894] Merge the latest enhancements from trunk. (check-in: [7c328e8894] user: drh branch: begin-concurrent, size: 386206) | |
14:49 | [917d4a4913] part of check-in [378230ae7f] Bring in the latest enhancements from trunk. (check-in: [378230ae7f] user: drh branch: apple-osx, size: 367551) | |
2019-04-09
| ||
01:26 | [958939f608] part of check-in [8820408597] Use an unsigned integer to count free pages in btree.c:freePage2(). (check-in: [8820408597] user: drh branch: trunk, size: 367335) | |
2019-04-02
| ||
00:34 | [5a6023e4cb] part of check-in [0b35aebbb3] Merge enhancements from trunk. (check-in: [0b35aebbb3] user: drh branch: apple-osx, size: 367551) | |
2019-04-01
| ||
03:07 | [d1261e5ed3] part of check-in [6cf8b18ec2] Fix harmless compiler warnings seen with MSVC. (check-in: [6cf8b18ec2] user: mistachkin branch: trunk, size: 367335) | |
2019-03-30
| ||
19:17 | [0799c27648] part of check-in [bb643bac53] Add a call to sqlite3FaultSim(410) inside of btreeRestoreCursorPosition() to simplify testing of error scenarios. (check-in: [bb643bac53] user: drh branch: trunk, size: 367331) | |
18:39 | [0de9fec35c] part of check-in [fb125bd338] The defragmentPage() routine detects corruption in the first-free-slot fields at offset 1 in the header and throws an error, rather than asserting. (check-in: [fb125bd338] user: drh branch: trunk, size: 367263) | |
2019-03-29
| ||
15:21 | [bf2e05e26c] part of check-in [c2edbf3b8c] Remove the unused P5 flag from the OP_Rewind opcode. (check-in: [c2edbf3b8c] user: drh branch: trunk, size: 367428) | |
2019-03-26
| ||
13:08 | [a644e8f3b7] part of check-in [c6da39115d] Add support for new window functions related features - GROUPS frames, RANGE frames with logical start and end points, the EXCLUDE clause and window chaining. (check-in: [c6da39115d] user: dan branch: trunk, size: 368023) | |
12:37 | [c496125ae0] part of check-in [dc3c0b8b28] Merge recent enhancements from trunk. (check-in: [dc3c0b8b28] user: drh branch: apple-osx, size: 368167) | |
12:29 | [45d2c042cc] part of check-in [2e964aafc2] Bring this branch up to date with all the latest enhancements. (check-in: [2e964aafc2] user: drh branch: begin-concurrent-pnu-wal2, size: 386853) | |
12:22 | [ca5a54eb6f] part of check-in [a0e2e90206] Merge enhancements from trunk. (check-in: [a0e2e90206] user: drh branch: wal2, size: 367982) | |
12:16 | [b517c680d1] part of check-in [51e3e83549] Merge the latest trunk changes. (check-in: [51e3e83549] user: drh branch: begin-concurrent-pnu, size: 386822) | |
12:07 | [b8d297f81e] part of check-in [774d0d5288] Merge recent enhancements from trunk. (check-in: [774d0d5288] user: drh branch: begin-concurrent, size: 386822) | |
2019-03-25
| ||
19:50 | [6bea025989] part of check-in [8c80b004ca] Earlier detection of corruption while added to the freelist. (check-in: [8c80b004ca] user: drh branch: trunk, size: 367951) | |
18:44 | [482c81f4ac] part of check-in [bcbe7d96df] Fix a faulty assert() statement in balance_nonroot() - the assert() should use get2byteNotZero() instead of get2byte() for the corner case where the number cells is zero on a 65536-byte page. (check-in: [bcbe7d96df] user: drh branch: trunk, size: 367922) | |
2019-03-21
| ||
21:18 | [e967c83e69] part of check-in [80e951fce3] Add an extra test for database corruption to defragmentPage(). (check-in: [80e951fce3] user: dan branch: trunk, size: 367901) | |
2019-03-20
| ||
05:45 | [9bcd70009c] part of check-in [1c0fe5b576] Fix various harmless compiler warnings seen with MSVC. (check-in: [1c0fe5b576] user: mistachkin branch: noWarnings, size: 367814) | |
2019-03-19
| ||
20:48 | [116deec8f0] part of check-in [000f4398db] Merge recent enhancements from trunk. (check-in: [000f4398db] user: drh branch: apple-osx, size: 368025) | |
15:36 | [a4e19b7292] part of check-in [a420ebd08f] When computing the amount of scratch memory needed during a rebalance operation, assume the worst case for the number of cells per page, rather than relying on the BtPage.nCell value, which might be incorrect for a corrupt database. (check-in: [a420ebd08f] user: drh branch: trunk, size: 367809) | |
2019-03-13
| ||
17:31 | [b4fe9e7143] part of check-in [0b904517bd] Merge latest trunk changes into this branch. (check-in: [0b904517bd] user: dan branch: window-functions, size: 367914) | |
15:29 | [3aa86a5230] part of check-in [6ad5531920] Remove rows from the ephemeral table used by window functions once they are no longer required. (check-in: [6ad5531920] user: dan branch: window-functions, size: 367913) | |
10:29 | [4c09765664] part of check-in [c4f0568fde] Detect zero-length free slots on btree pages and report that as corruption. (check-in: [c4f0568fde] user: drh branch: trunk, size: 367801) | |
2019-03-08
| ||
16:06 | [021c960a9e] part of check-in [543ecb30d6] Merge the latest enhancements and fixes from trunk. (check-in: [543ecb30d6] user: drh branch: begin-concurrent-pnu-wal2, size: 386703) | |
15:57 | [7e3d0fde47] part of check-in [bf20d4ffcb] Merge the latest enhancements and fixes from trunk. (check-in: [bf20d4ffcb] user: drh branch: wal2, size: 367831) | |
15:30 | [82829cc64c] part of check-in [667cce3dce] Merge all the latest enhancements from trunk. (check-in: [667cce3dce] user: drh branch: begin-concurrent-pnu, size: 386672) | |
14:02 | [51ff9c432f] part of check-in [174da3c32c] Patch makes balance_nonroot() slightly smaller and faster and more robust against corrupt databases. (check-in: [174da3c32c] user: drh branch: trunk, size: 367800) | |
01:52 | [9abc432630] part of check-in [235a9698f5] Detect an attempt to drop a btree that is not within the bounds of the database file and abort early with an SQLITE_CORRUPT error, to avoid problems later on in the process. (check-in: [235a9698f5] user: drh branch: trunk, size: 367795) | |
2019-03-05
| ||
14:39 | [7da25dbf42] part of check-in [c1ac00706b] If the initial byte of a record is a large value, then always used the generalized record comparison routine sqlite3VdbeRecordCompare() rather than one of the specialized versions that are optimized for shorter records. (check-in: [c1ac00706b] user: drh branch: trunk, size: 367723) | |
2019-03-01
| ||
18:27 | [847c636732] part of check-in [e64ded7b04] Merge the latest enhancements from trunk. (check-in: [e64ded7b04] user: drh branch: apple-osx, size: 367929) | |
2019-02-28
| ||
13:21 | [59695c6e5e] part of check-in [6bfd8655f0] Add an "|| CORRUPT_DB" term to an assert() statement in the btree defragmenter. (check-in: [6bfd8655f0] user: drh branch: trunk, size: 367713) | |
2019-02-26
| ||
16:17 | [f85f8abe99] part of check-in [05b87e0755] Use unsigned integers to count the number of pages in a freelist during an integrity_check, to avoid any possibility of a signed integer overflow. (check-in: [05b87e0755] user: drh branch: trunk, size: 367699) | |
2019-02-20
| ||
13:23 | [00e3e1b6cf] part of check-in [be71d1e24c] Merge the latest performance enhancements and fixes from trunk. (check-in: [be71d1e24c] user: drh branch: apple-osx, size: 367915) | |
2019-02-19
| ||
16:42 | [026f48c39b] part of check-in [f2d400db4d] Fix an assert() that might not be true if the database file is corrupt. (check-in: [f2d400db4d] user: drh branch: trunk, size: 367699) | |
2019-02-16
| ||
22:45 | [2105865a62] part of check-in [0cfb888723] Fix an assert() that might be false for a corrupt database. (check-in: [0cfb888723] user: drh branch: trunk, size: 367685) | |
2019-02-14
| ||
15:27 | [161b6a57b9] part of check-in [aa61435a4c] Improved oversized cell detection when updating ptrmap pages in balance_nonroot(). (check-in: [aa61435a4c] user: drh branch: trunk, size: 367671) | |
2019-02-12
| ||
16:58 | [1336cc1670] part of check-in [93ae382e97] Further performance improvements to btreeInitPage(). (check-in: [93ae382e97] user: drh branch: trunk, size: 367393) | |
00:58 | [7457f78138] part of check-in [fec071b89d] Change an assert() into a NEVER(), since the condition is difficult to prove with certainty. Improved comment on the MemPage.nFree field. (check-in: [fec071b89d] user: drh branch: deferred-free-space, size: 367442) | |
2019-02-11
| ||
22:50 | [70ac9dc861] part of check-in [f11b0ed474] Do not invoke btreeComputeFreeSpace() when not necessary. (check-in: [f11b0ed474] user: drh branch: deferred-free-space, size: 367402) | |
19:27 | [47812e0c85] part of check-in [16eb0fc8f8] Improvements to comments. No changes to code. (check-in: [16eb0fc8f8] user: drh branch: deferred-free-space, size: 367409) | |
17:22 | [aa182a9b5a] part of check-in [480a5090be] Fix test cases. Avoid unnecessary tests for MemPage.nFree less than zero. (check-in: [480a5090be] user: drh branch: deferred-free-space, size: 367433) | |
12:51 | [85d4931871] part of check-in [7499f74351] Updates to a comment to keep it in alignment to the changes on this branch. (check-in: [7499f74351] user: drh branch: deferred-free-space, size: 367524) | |
2019-02-09
| ||
22:33 | [0c9455de1f] part of check-in [9285899120] Fix a page-cache reference leak in the btree balancer when there is a corrupt database. (check-in: [9285899120] user: drh branch: deferred-free-space, size: 367516) | |
21:06 | [b2bb677fa5] part of check-in [1d43ee4000] Defer computing the MemPage.nFree value of an in-memory btree page until it is actually needed, since for many pages it is never needed. This checkin works sufficiently to prove the concept, but still has issues with exception handling. (check-in: [1d43ee4000] user: drh branch: deferred-free-space, size: 367423) | |
2019-02-08
| ||
22:34 | [18046bf14f] part of check-in [1969372ac7] Small performance improvement and size reduction for pageFindSlot() - the routine in btree.c that locates a free slot for a cell on a btree page. (check-in: [1969372ac7] user: drh branch: trunk, size: 365170) | |
2019-02-07
| ||
18:49 | [1ceb21b660] part of check-in [628291641f] Merge the offical 3.27.0 release. (check-in: [628291641f] user: drh branch: apple-osx, size: 364808) | |
2019-02-04
| ||
21:10 | [84b7c5c382] part of check-in [2c8769c69f] Early detection of implausibly sized records to avoid unnecessary large memory allocations. (check-in: [2c8769c69f] user: drh branch: trunk, size: 364592) | |
2019-02-01
| ||
14:50 | [9649c95a84] part of check-in [ef27e7a087] Improve the strict enforcement of cell sizes in balancing from check-in [12713f320b2c1def] so that it also works with table-btrees in addition to index-btrees. (check-in: [ef27e7a087] user: drh branch: trunk, size: 363900) | |
2019-01-29
| ||
19:17 | [2971798ae0] part of check-in [31efcc3775] Merge enhancements from trunk. (check-in: [31efcc3775] user: drh branch: apple-osx, size: 363528) | |
16:54 | [7946466860] part of check-in [9a93c68a76] Fix harmless compiler warnings. (check-in: [9a93c68a76] user: drh branch: trunk, size: 363312) | |
16:41 | [af023d6caa] part of check-in [97704cb7d2] More robust handling of corrupt database file in the rebalance operation of the btree logic. (check-in: [97704cb7d2] user: drh branch: trunk, size: 363307) | |
2019-01-28
| ||
00:42 | [3378f2f410] part of check-in [6089d5dba7] Change the definition of the BtCursor.skipNext field so that it is undefined for states CURSOR_VALID and CURSOR_INVALID. (check-in: [6089d5dba7] user: drh branch: trunk, size: 363071) | |
2019-01-26
| ||
23:34 | [c78051b514] part of check-in [a3ea1a822d] Ensure that the btree cursor is correctly set up prior to backing it up as part of a delete operation on a divider cell in an index. (check-in: [a3ea1a822d] user: drh branch: trunk, size: 363643) | |
2019-01-25
| ||
13:42 | [f7ee98fca2] part of check-in [5eb5e8289f] Fix a couple of assert() statments in btree.c that could fail with corrupt databases. (check-in: [5eb5e8289f] user: dan branch: trunk, size: 363619) | |
2019-01-24
| ||
15:16 | [21eb929285] part of check-in [db4b4c2c1e] Fix a potential problem with "INSERT INTO ... SELECT * FROM" (or VACUUM) statements on a corrupted database. (check-in: [db4b4c2c1e] user: dan branch: trunk, size: 363591) | |
13:36 | [5857415436] part of check-in [65ad6c55f1] Use memmove() instead of memcpy() in a place where buffers might overlap if the database file is badly corrupted, to prevent warnings from ASAN and valgrind. (check-in: [65ad6c55f1] user: drh branch: trunk, size: 363524) | |
2019-01-23
| ||
19:25 | [60fa67e135] part of check-in [12713f320b] Stricter enforcement of cell sizes when doing balancing operations on the btree, in order to catch file corruption sooner. (check-in: [12713f320b] user: drh branch: trunk, size: 363274) | |
2019-01-21
| ||
23:18 | [315ccbc0d2] part of check-in [3ecaaee69f] Enhance the btree search routine so that it does early detection of impossibly large keys and thereby avoids a large malloc() call. (check-in: [3ecaaee69f] user: drh branch: trunk, size: 359291) | |
16:01 | [73f282db45] part of check-in [2737564929] Make sure the extra bytes allocated for the saved cursor position by check-in [160b1e31c0f27257] are initialized to zero. (check-in: [2737564929] user: drh branch: trunk, size: 359243) | |
2019-01-17
| ||
15:47 | [59eeeaad88] part of check-in [475a179a27] Sync up with the latest enhancements on trunk. (check-in: [475a179a27] user: drh branch: apple-osx, size: 359411) | |
2019-01-14
| ||
05:48 | [a1030989a4] part of check-in [cb50509020] Avoid reading off the front of a page buffer when balancing a corrupt btree page. (check-in: [cb50509020] user: drh branch: trunk, size: 359195) | |
2019-01-13
| ||
20:17 | [d2ee84255b] part of check-in [35f04235c4] Improved detection of database corruption while balancing pages from an auto_vacuum database with overflow pages. Test cases in TH3. (check-in: [35f04235c4] user: drh branch: trunk, size: 358803) | |
2019-01-11
| ||
17:41 | [789380da84] part of check-in [556dd8922f] Fix a problem handling a negative value in the "number-of-pages" database header field. Also a problem with running "REINDEX tbl" against a virtual table for which the SQL passed to sqlite3_declare_vtab() contains PRIMARY KEY or UNIQUE constraints. (check-in: [556dd8922f] user: dan branch: trunk, size: 358653) | |
14:46 | [735e0cfc61] part of check-in [aaa3a19f8c] Fix PRAGMA integrity_check so that it does not cancel the PRAGMA vdbe_debug setting. (check-in: [aaa3a19f8c] user: drh branch: trunk, size: 358647) | |
2019-01-06
| ||
02:06 | [9632272d3c] part of check-in [6064584d57] The page size becomes fixed as soon as page1 from a non-empty database file is read. (check-in: [6064584d57] user: drh branch: trunk, size: 358647) | |
2019-01-02
| ||
16:30 | [33cceb8e62] part of check-in [c31eeb3c87] Merge latest wal2 changes into this branch. (check-in: [c31eeb3c87] user: dan branch: begin-concurrent-wal2, size: 377509) | |
16:15 | [8e21892e5d] part of check-in [87ef68f917] Merge latest trunk changes into this branch. (check-in: [87ef68f917] user: dan branch: wal2, size: 358637) | |
16:08 | [ed1faebf70] part of check-in [5bf212f1a7] Merge latest trunk changes into this branch. (check-in: [5bf212f1a7] user: dan branch: begin-concurrent, size: 377478) | |
2019-01-01
| ||
18:00 | [11c18d6d4b] part of check-in [5c188361a9] 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: [5c188361a9] user: dan branch: trunk, size: 358606) | |
2018-12-26
| ||
19:10 | [5feb770700] part of check-in [404f9d99d3] Merge latest trunk changes with this branch. (check-in: [404f9d99d3] user: dan branch: wal2, size: 358615) | |
2018-12-18
| ||
17:32 | [3140a87697] part of check-in [b3a163b46c] Merge latest trunk changes into this branch. (check-in: [b3a163b46c] user: dan branch: begin-concurrent-wal2, size: 377487) | |
17:20 | [1cd5a483fb] part of check-in [123cbb3312] Merge latest trunk changes into this branch. (check-in: [123cbb3312] user: dan branch: begin-concurrent, size: 377456) | |
2018-12-15
| ||
20:59 | [b068dd1f48] part of check-in [06bb80eeb8] Merge latest wal2 changes into this branch. (check-in: [06bb80eeb8] user: dan branch: begin-concurrent-wal2, size: 376946) | |
2018-12-14
| ||
17:57 | [4429a16154] part of check-in [395599116d] Fix possible integer overflow while running PRAGMA integrity_check on a database file with a badly corrupted freelist. (check-in: [395599116d] user: drh branch: trunk, size: 358584) | |
16:20 | [38e21cf089] part of check-in [8ba3d9f380] Back out the expansion of the temporary buffer size from [32754ca6f86da816] and replace it with an explicit test for buffer overreads. (check-in: [8ba3d9f380] user: drh branch: trunk, size: 358579) | |
16:00 | [af1055a0a6] part of check-in [f8b781cf41] Avoid a buffer overread in ptrmapPutOvflPtr() that can occurs in a corrupt database file that has large entries and uses autovacuum. (check-in: [f8b781cf41] user: drh branch: trunk, size: 358502) | |
13:18 | [89e9abe6a3] part of check-in [160b1e31c0] When saving the position of a cursor at the b-tree layer, allocate a few extra bytes at the end of the buffer used to save the key. Otherwise, if the key is corrupt, the code that restores the cursor position may overread the buffer by a little. (check-in: [160b1e31c0] user: dan branch: trunk, size: 358370) | |
03:14 | [14b4b17b75] part of check-in [3036fd71ac] Detect when an attempt is made to write to a pointer map page that is also being used as a btree page and report corruption. (check-in: [3036fd71ac] user: drh branch: fuzzcheck-fix, size: 358044) | |
2018-12-13
| ||
21:52 | [20fdad9411] part of check-in [1201615cbb] dbfuzz2 found a NEVER() that is sometimes true. (check-in: [1201615cbb] user: drh branch: trunk, size: 357771) | |
21:11 | [e3e08171f9] part of check-in [997b65117f] Add extra tests for database corruption inside the defragmentPage() routine, as dbfuzz2 has found ways for corruption to leak into that point. Add test cases in fuzzdata7.db. (check-in: [997b65117f] user: drh branch: trunk, size: 357831) | |
21:05 | [d4bf14ab64] part of check-in [682053d1e6] Fix a problem in sqlite3BtreeDelete() in which deleting an entry from a corrupt database can leave a btree page with zero cells. (check-in: [682053d1e6] user: drh branch: trunk, size: 358109) | |
03:36 | [3d898feaef] part of check-in [b4210d320c] New database corruption test cases discovered by dbfuzz2. The new cases have been added to test/fuzzdata7.db, but have not yet all been fixed, so tests will not currently pass. (check-in: [b4210d320c] user: drh branch: dbfuzz2-cases, size: 357765) | |
2018-12-11
| ||
13:44 | [dcc6191c30] part of check-in [d8dd98a39e] Merge latest trunk changes into this branch. (check-in: [d8dd98a39e] user: dan branch: wal2, size: 358074) | |
2018-12-10
| ||
02:00 | [f2a2336dc4] part of check-in [b1bbc718c7] Merge enhancements from trunk. (check-in: [b1bbc718c7] user: drh branch: apple-osx, size: 358259) | |
2018-12-06
| ||
17:06 | [4377d0d9a0] part of check-in [53d3b169d8] 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: [53d3b169d8] user: drh branch: trunk, size: 358043) | |
2018-12-03
| ||
20:49 | [f5041e98e9] part of check-in [b7281a1caa] Merge the wal2 and begin-concurrent code. Both features work, but not at the same time. (check-in: [b7281a1caa] user: dan branch: begin-concurrent-wal2, size: 376941) | |
2018-12-01
| ||
20:14 | [3887a4f551] part of check-in [7a44fa5a35] Sync this branch with the latest trunk. (check-in: [7a44fa5a35] user: dan branch: wal2, size: 358069) | |
2018-11-26
| ||
23:35 | [35097c9e30] part of check-in [e8c20a88c1] Merge recent enhancements from trunk. (check-in: [e8c20a88c1] user: drh branch: apple-osx, size: 358254) | |
07:34 | [4a2184be69] part of check-in [76608f750a] Merge latest begin-concurrent changes into this branch. (check-in: [76608f750a] user: dan branch: begin-concurrent-pnu, size: 376910) | |
07:21 | [4ad4c92bbd] part of check-in [28a615a2e0] Merge latest trunk changes into this branch. (check-in: [28a615a2e0] user: dan branch: begin-concurrent, size: 375838) | |
2018-11-22
| ||
19:10 | [ba7c7eef44] part of check-in [81629ba914] Fix a problem reading from temp databases in SQLITE_DIRECT_OVERFLOW_READ builds. (check-in: [81629ba914] user: dan branch: trunk, size: 358038) | |
2018-11-09
| ||
23:45 | [9e94292b78] part of check-in [e3e9b85ead] Merge fixes from trunk. (check-in: [e3e9b85ead] user: drh branch: apple-osx, size: 358455) | |
2018-11-03
| ||
17:31 | [3ef104ecae] part of check-in [7609434582] Correct the internal logic for SQLITE_DBCONFIG_DEFENSIVE. (check-in: [7609434582] user: drh branch: dbconfig-defensive, size: 358239) | |
16:09 | [41ab526796] part of check-in [af3f29d493] Add the SQLITE_DBCONFIG_DEFENSIVE flag. (check-in: [af3f29d493] user: drh branch: dbconfig-defensive, size: 358274) | |
2018-10-31
| ||
01:26 | [d85ef1a1e7] part of check-in [4b370c74ae] Merge fixes from trunk, especially rebustness against corrupt database files. (check-in: [4b370c74ae] user: drh branch: apple-osx, size: 358462) | |
01:04 | [75ec335265] part of check-in [d57873337a] Improved corrupt database detection in the relocatePage() routine of the b-tree module. (check-in: [d57873337a] user: drh branch: trunk, size: 358246) | |
2018-10-09
| ||
22:50 | [5415f811ef] part of check-in [ddf6a54ef3] Merge changes for the 3.25.0 release. (check-in: [ddf6a54ef3] user: drh branch: apple-osx, size: 358416) | |
2018-09-28
| ||
21:11 | [b53864f01a] part of check-in [6f3dd9809f] Merge latest begin-concurrent changes into this branch. (check-in: [6f3dd9809f] user: dan branch: begin-concurrent-pnu, size: 377072) | |
20:58 | [e642eb7124] part of check-in [86750c927c] Merge latest trunk into this branch. (check-in: [86750c927c] user: dan branch: begin-concurrent, size: 376000) | |
2018-07-20
| ||
15:44 | [3f5e1a03db] part of check-in [a4663f09c9] New checks in PRAGMA integrity_check to validate the autovacuum settings in the header. (check-in: [a4663f09c9] user: drh branch: trunk, size: 358200) | |
13:39 | [76395ea8cb] part of check-in [11e58f5b37] Enhanced detection of problems on the freelist and on overflow list in PRAGMA integrity_check. (check-in: [11e58f5b37] user: drh branch: trunk, size: 357692) | |
2018-07-19
| ||
11:44 | [4b91880ab0] part of check-in [e2394002d0] Experimental fix for resetting databases that have been deemed read-only due to a corrupt "read-version" header field. (check-in: [e2394002d0] user: dan branch: exp-dbreset-fix, size: 357785) | |
2018-07-10
| ||
15:48 | [9e56cdf277] part of check-in [af17432eb1] Merge begin-concurrent changes into this branch. (check-in: [af17432eb1] user: dan branch: begin-concurrent-pnu, size: 376519) | |
15:45 | [23bad79f6a] part of check-in [e9a3e8642e] Merge latest trunk changes into this branch. (check-in: [e9a3e8642e] user: dan branch: begin-concurrent, size: 375447) | |
2018-07-09
| ||
20:41 | [d9dcccd604] part of check-in [12be361a53] Add an ALWAYS() around a branch in sqlite3BtreeSkipNext() that we believe must always be true. (check-in: [12be361a53] user: drh branch: trunk, size: 357647) | |
2018-07-05
| ||
17:16 | [0c27fb9b4b] part of check-in [e6108047cb] In wal mode, if a "BEGIN EXCLUSIVE" command (or any other command that upgrades from no transaction directly to a write transaction) hits an SQLITE_BUSY_SNAPSHOT error, change the error code to SQLITE_BUSY to indicate to the caller that the condition may be transient. (check-in: [e6108047cb] user: dan branch: trunk, size: 357449) | |
17:03 | [757b29862c] part of check-in [e335772847] Fix a typo inside an assert() statement introduced by the previous commit. (check-in: [e335772847] user: dan branch: exp-busy-snapshot-fix, size: 357645) | |
15:46 | [c2b55e3a31] part of check-in [221ff63e79] In wal mode, if a "BEGIN EXCLUSIVE" command (or any other command that upgrades from no transaction directly to a write transaction) hits an SQLITE_BUSY_SNAPSHOT error, change the error code to SQLITE_BUSY to indicate to the caller that the condition may be transient. (check-in: [221ff63e79] user: dan branch: exp-busy-snapshot-fix, size: 357645) | |
2018-06-22
| ||
20:51 | [bb23e5470e] part of check-in [5f04b01646] Omit all window-function related code when building with SQLITE_OMIT_WINDOWFUNC. (check-in: [5f04b01646] user: dan branch: exp-window-functions, size: 357159) | |
2018-06-12
| ||
20:53 | [50425f7f26] part of check-in [6413e38a17] Fix another issue to do with window-functions in aggregate queries. (check-in: [6413e38a17] user: dan branch: exp-window-functions, size: 357092) | |
2018-06-09
| ||
18:09 | [671207d68a] part of check-in [c71f23590c] Merge recent trunk changes with this branch. (check-in: [c71f23590c] user: dan branch: exp-window-functions, size: 356908) | |
2018-06-08
| ||
19:13 | [06690f5ad1] part of check-in [99057383ac] Fix an assert() that can be false for a corrupt database and a strange query that uses a recursive SQL function to delete content from a corrupt database file while it is being queried. (check-in: [99057383ac] user: drh branch: trunk, size: 356762) | |
2018-06-07
| ||
20:35 | [c38cd92064] part of check-in [2510220342] Merge latest trunk changes with this branch. (check-in: [2510220342] user: dan branch: exp-window-functions, size: 356448) | |
2018-06-06
| ||
17:12 | [99f493bdda] part of check-in [be7004a971] Merge the 3.24.0 changes plus a few subsequent enhancements. (check-in: [be7004a971] user: drh branch: begin-concurrent-pnu, size: 375174) | |
17:03 | [c0c5ce45d2] part of check-in [d7299bfeb1] Merge changes from trunk, including all the 3.24.0 changes plus some later enhancements. (check-in: [d7299bfeb1] user: drh branch: begin-concurrent, size: 374102) | |
16:28 | [ae7687faa3] part of check-in [a10662aa91] Change sqlite3BtreeBeginTrans() to return the BTREE_SCHEMA_COOKIE, for a small speed improvement when starting new transactions. (check-in: [a10662aa91] user: drh branch: trunk, size: 356302) | |
2018-06-04
| ||
14:10 | [194a98d932] part of check-in [95fbac39ba] Merge changes from trunk. (check-in: [95fbac39ba] user: drh branch: apple-osx, size: 356376) | |
08:28 | [7c26bc1d8e] part of check-in [83d6416a86] Merge latest trunk changes into this branch. (check-in: [83d6416a86] user: dan branch: exp-window-functions, size: 356306) | |
2018-06-02
| ||
16:32 | [44405d03a0] part of check-in [1b807b51cd] Work around a sanitizer warning about a pointer being only 4-byte aligned instead of 8-byte aligned. (check-in: [1b807b51cd] user: drh branch: align8-fix, size: 356160) | |
2018-05-23
| ||
20:55 | [b8fc4fcf85] part of check-in [3a203660f1] Add support for "ROWS BETWEEN <expr> PRECEDING AND <expr> FOLLOWING" window frames. (check-in: [3a203660f1] user: dan branch: exp-window-functions, size: 356140) | |
2018-05-15
| ||
11:55 | [677a5e36f9] part of check-in [72f39efa9b] Merge latest trunk changes into this branch. (check-in: [72f39efa9b] user: dan branch: begin-concurrent-pnu, size: 374858) | |
11:45 | [9e839c8c1e] part of check-in [ae86cf60b6] Merge latest trunk changes with this branch. (check-in: [ae86cf60b6] user: dan branch: begin-concurrent, size: 373786) | |
11:33 | [05cb666b7e] part of check-in [52e443eb55] Instead of just the flags byte, include the first 8 bytes of the relevant page in an on-commit conflict log message. (check-in: [52e443eb55] user: dan branch: begin-concurrent-pnu, size: 369845) | |
11:28 | [78be543c89] part of check-in [e7dc03e743] Instead of just the flags byte, include the first 8 bytes of the relevant page in an on-commit conflict log message. (check-in: [e7dc03e743] user: dan branch: begin-concurrent, size: 368773) | |
09:03 | [facc1e1a47] part of check-in [de19abb950] Include the value of the "flags" byte of the relevant page in the log message emitted when a BEGIN CONCURRENT commit conflict is detected. (check-in: [de19abb950] user: dan branch: begin-concurrent-pnu, size: 369495) | |
08:51 | [593a904312] part of check-in [fbfa547177] Include the value of the "flags" byte of the relevant page in the log message emitted when a BEGIN CONCURRENT commit conflict is detected. (check-in: [fbfa547177] user: dan branch: begin-concurrent, size: 368423) | |
2018-05-09
| ||
13:46 | [8270813c8f] part of check-in [87f261f0cb] Make the internal dynamic string interface available to extensions using the new sqlite3_str object and its associated methods. This is mostly just a renaming of internal objects and methods to use external names, through there are a few small wrapper functions. (check-in: [87f261f0cb] user: drh branch: trunk, size: 355994) | |
2018-05-08
| ||
13:32 | [9b2301d653] part of check-in [a016144b0e] Merge changes from trunk, especially the activation of the cell-overwrite optimization for indexes and WITHOUT ROWID tables. (check-in: [a016144b0e] user: drh branch: apple-osx, size: 356211) | |
2018-05-07
| ||
18:41 | [abedb349c6] part of check-in [a68697d10e] Activate the cell-overwrite optimization for index b-trees. (check-in: [a68697d10e] user: drh branch: trunk, size: 355995) | |
17:27 | [7b21976dc0] part of check-in [a4fe966da2] Improved comments on the cell-overwrite optimization code. (check-in: [a4fe966da2] user: drh branch: trunk, size: 355568) | |
13:01 | [10ac889edd] part of check-in [cb3aa77802] Merge enhancements from trunk, and especially the cell-overwrite optimization. (check-in: [cb3aa77802] user: drh branch: apple-osx, size: 354852) | |
11:48 | [6be0267a7d] part of check-in [5887d8beb5] On an UPDATE, try to overwrite an existing btree cell with the modified content, if the old and new cell are the same size. Use memcmp() first to avoid dirtying pages that are unchanged. (check-in: [5887d8beb5] user: drh branch: trunk, size: 354636) | |
11:29 | [b4ca692c0c] part of check-in [3e11dc3183] Fix harmless compiler warnings in the cell-overwrite logic. (check-in: [3e11dc3183] user: drh branch: cell-overwrite-prototype, size: 354535) | |
2018-05-05
| ||
01:23 | [79982b0779] part of check-in [9191ff670c] Fix a slightly incorrect corruption detection branch in the btree logic. (check-in: [9191ff670c] user: drh branch: trunk, size: 351216) | |
2018-05-04
| ||
19:33 | [76a514d839] part of check-in [e17bca2cdb] Merge recent enhancements from trunk. (check-in: [e17bca2cdb] user: drh branch: apple-osx, size: 351331) | |
2018-05-03
| ||
16:56 | [8faf9ebbec] part of check-in [f89b54f414] Fix various error handling conditions on the cell overwrite optimization. Fix a test case so that it works with the new optimization. (check-in: [f89b54f414] user: drh branch: cell-overwrite-prototype, size: 354419) | |
14:07 | [edb3c69a73] part of check-in [54c537eead] The BtCursor.info fields are only valid if info.nSize!=0. (check-in: [54c537eead] user: drh branch: cell-overwrite-prototype, size: 354328) | |
13:56 | [ffaf0f6524] part of check-in [58d14afe1e] Add more corruption checking to the cell overwrite logic. (check-in: [58d14afe1e] user: drh branch: cell-overwrite-prototype, size: 354305) | |
12:57 | [7216dac5e8] part of check-in [0cb6cd2a6a] Bug fixes in the overwrite optimization. (check-in: [0cb6cd2a6a] user: drh branch: cell-overwrite-prototype, size: 354107) | |
03:59 | [d1b1bd0602] part of check-in [489451b378] The sqlite3BtreeInsert() routine tries to overwrite an existing cell with modified content if the new content is the same size. Pages are only dirtied if they change. This prototype works some, but still has issues. (check-in: [489451b378] user: drh branch: cell-overwrite-prototype, size: 354120) | |
2018-04-28
| ||
01:27 | [fa7da0a558] part of check-in [02e1a13c1f] Add the "PRAGMA reset_database=ON|OFF" command. When on, it causes the database to appear to be empty, causing the next transaction to reset it to an empty database. (check-in: [02e1a13c1f] user: drh branch: reset-database, size: 351115) | |
2018-04-24
| ||
19:22 | [d741750784] part of check-in [2d8d13e4a1] Update this branch with latest changes from trunk. (check-in: [2d8d13e4a1] user: dan branch: begin-concurrent-pnu, size: 369380) | |
19:21 | [a64d302f0f] part of check-in [b27bd799ea] Merge latest trunk changes into this branch. (check-in: [b27bd799ea] user: dan branch: begin-concurrent, size: 368308) | |
2018-04-10
| ||
18:05 | [203c72f796] part of check-in [e20fcb5159] Merge all version 3.23.1 changes and enhancements from trunk. (check-in: [e20fcb5159] user: drh branch: apple-osx, size: 351197) | |
2018-03-28
| ||
15:41 | [ac5e98b809] part of check-in [df52e89fff] Update this branch with latest trunk changes. (check-in: [df52e89fff] user: dan branch: server-process-edition, size: 361420) | |
2018-03-26
| ||
20:43 | [9eb9531c65] part of check-in [b81960561b] Avoid a race condition that might cause a busy_timeout to last longer than it should. (check-in: [b81960561b] user: drh branch: lowlevel-lock-timeout, size: 350981) | |
17:40 | [4c30691bec] part of check-in [2e54a7433e] Add infrastructure to support for using F_SETLKW with a timeout on system that support that functionality. Requires SQLITE_ENABLE_SETLK_TIMEOUT. (check-in: [2e54a7433e] user: drh branch: lowlevel-lock-timeout, size: 350936) | |
16:37 | [dc9fda9c84] part of check-in [6c40c5574f] Refactor some internal object element names used by the busy handler, to simplify analysis. (check-in: [6c40c5574f] user: drh branch: trunk, size: 350871) | |
2018-03-14
| ||
17:17 | [cd68bc5a0c] part of check-in [a658f80c8f] Merge the latest enhancements from trunk. (check-in: [a658f80c8f] user: drh branch: apple-osx, size: 351087) | |
2018-03-02
| ||
18:26 | [828485509a] part of check-in [8ade94ba67] Merge latest changes from begin-concurrent into this branch. (check-in: [8ade94ba67] user: dan branch: begin-concurrent-pnu, size: 369270) | |
17:40 | [d070d79e81] part of check-in [36801effa9] Merge latest trunk changes into this branch. (check-in: [36801effa9] user: dan branch: begin-concurrent, size: 368198) | |
2018-02-20
| ||
21:00 | [8c6b975926] part of check-in [5702337160] Add extra code to log details when corruption is detected in the pointer-map structure maintained by the b-tree layer in begin-concurrent transactions. (check-in: [5702337160] user: dan branch: begin-concurrent-pnu, size: 367767) | |
2018-02-19
| ||
13:53 | [18a53540aa] part of check-in [88258770ad] Fix an assert so that it compares two CellInfo objects field by field instead of using memcmp(). Memcmp() does not work on x86 because of uninitialized padding bytes. (check-in: [88258770ad] user: drh branch: trunk, size: 350871) | |
2018-02-04
| ||
01:30 | [f7bb37c27b] part of check-in [63a914410b] Fix harmless compiler warning seen with MSVC. (check-in: [63a914410b] user: mistachkin branch: trunk, size: 350602) | |
2018-01-24
| ||
16:04 | [d711228cac] part of check-in [0ddf5292cc] Rearrange fields of the BtCursor object so that it is smaller and requires less initialization, for a small performance improvement. (check-in: [0ddf5292cc] user: drh branch: trunk, size: 350597) | |
2018-01-23
| ||
13:30 | [1beceb1c5f] part of check-in [8e5e74c66b] Fix comment typos. No changes to code. (check-in: [8e5e74c66b] user: drh branch: trunk, size: 350551) | |
2018-01-22
| ||
19:04 | [656173030b] part of check-in [27e20d6998] Merge all version-3.22.0 changes. (check-in: [27e20d6998] user: drh branch: apple-osx, size: 350825) | |
15:45 | [bfc453babe] part of check-in [395f8ea790] Avoid unnecessary OOM detection warnings in a debugging routine. (check-in: [395f8ea790] user: drh branch: trunk, size: 350609) | |
2018-01-15
| ||
21:59 | [811b367bbe] part of check-in [c9d2ec51c8] Merge the enhancements associated with the first 3.22.0 beta. (check-in: [c9d2ec51c8] user: drh branch: apple-osx, size: 350759) | |
2018-01-04
| ||
18:36 | [8cbe0ce256] part of check-in [dc0fc2aa7c] Fix problem causing free-list corruption when merging free-lists for two concurrent transactions that have both used page X as an in-memory free-list trunk page, where X lies past the end of the initial database images. (check-in: [dc0fc2aa7c] user: dan branch: begin-concurrent-pnu, size: 366814) | |
2018-01-02
| ||
19:57 | [c3e15a9e57] part of check-in [50c8952c92] Fix a spurious SQLITE_CORRUPT error that could occur within a COMMIT of a concurrent transaction. (check-in: [50c8952c92] user: dan branch: begin-concurrent-pnu, size: 366707) | |
2017-12-29
| ||
15:04 | [0a1f63b50a] part of check-in [7a7f826e32] 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: [7a7f826e32] user: drh branch: location-function, size: 350543) | |
14:33 | [516fea6cad] part of check-in [dd94d6a880] 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: [dd94d6a880] user: drh branch: location-function, size: 350465) | |
2017-12-16
| ||
20:20 | [6fba32ea06] part of check-in [51be955816] 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: [51be955816] user: drh branch: location-function, size: 350488) | |
2017-11-28
| ||
08:08 | [d9fa7d5bac] part of check-in [1fd1034935] Merge latest trunk changes, including the SQLITE_ENABLE_MULTITHREADED_CHECKS feature, into this branch. (check-in: [1fd1034935] user: dan branch: apple-osx, size: 350301) | |
2017-11-18
| ||
17:30 | [b83a6b03f1] part of check-in [23a3128083] Enhance the log messages produced in some cases if database corruption is encountered by an SQLITE_DEBUG build. (check-in: [23a3128083] user: dan branch: sqlite-corrupt-page, size: 350085) | |
2017-11-06
| ||
20:02 | [a41d580524] part of check-in [7f217edab4] Merge latest trunk changes into this branch. (check-in: [7f217edab4] user: dan branch: begin-concurrent, size: 366695) | |
2017-10-24
| ||
19:12 | [0553adcffe] part of check-in [13be3a441d] Merge all enhancements and fixes from the 3.21.0 release. (check-in: [13be3a441d] user: drh branch: apple-osx, size: 349584) | |
2017-10-19
| ||
15:17 | [75229a5a47] part of check-in [04925dee41] Take extra care to avoid an OOB read caused by a corrupt b-tree page. This fixes a problem detected by Natalie Silvanovich of Google Project Zero. (check-in: [04925dee41] user: dan branch: trunk, size: 349368) | |
2017-10-12
| ||
01:19 | [8565b061a6] part of check-in [f0a2724f0a] Fix a typo in a numeric constant in an assert() - a bug that has been present in the code since check-in [79e22b95038] on 2010-03-30. (check-in: [f0a2724f0a] user: drh branch: branch-3.21, size: 349164) | |
2017-10-06
| ||
14:25 | [a559d64185] part of check-in [7e43517861] Merge latest trunk changes into this branch. (check-in: [7e43517861] user: dan branch: wal2, size: 349194) | |
2017-10-05
| ||
20:57 | [07ad643c75] part of check-in [8ca0fa8dfe] Fix compiler warnings that come up with SQLITE_OMIT_WAL. (check-in: [8ca0fa8dfe] user: drh branch: trunk, size: 349163) | |
2017-10-04
| ||
20:57 | [c7d94975b0] part of check-in [e2fc5c814c] Add experimental mode that uses two wal files. Activated using "PRAGMA journal_mode = wal2". (check-in: [e2fc5c814c] user: dan branch: wal2, size: 349159) | |
18:26 | [cc88a7fca7] part of check-in [40964a4ef7] Updates to requirements marks. (check-in: [40964a4ef7] user: drh branch: trunk, size: 349128) | |
2017-09-28
| ||
13:47 | [221bc1b836] part of check-in [5b9ae69312] Fix an issue introduced by check-in [4cd2a9672c59] (2017-03-03) that could allow a negative value in the 3rd parameter to memmove() when defragmentPage() is called on a btree page with a corrupted freeblock list. The corruption is now detected early and results in an SQLITE_CORRUPT return before the memmove() is reached. (check-in: [5b9ae69312] user: drh branch: trunk, size: 349261) | |
2017-09-22
| ||
20:18 | [9c27358750] part of check-in [8d2a1cca61] 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: [8d2a1cca61] user: drh branch: est_count_pragma, size: 351208) | |
10:49 | [e709a9ab33] part of check-in [307b802e86] Merge latest trunk changes into this branch. (check-in: [307b802e86] user: dan branch: begin-concurrent, size: 366501) | |
2017-09-09
| ||
06:10 | [0e4827cd58] part of check-in [6a0b9d9d4e] Merge trunk enhancements (check-in: [6a0b9d9d4e] user: drh branch: apple-osx, size: 349390) | |
2017-09-04
| ||
19:31 | [1c2b2f1714] part of check-in [72d22c226b] Use the SQLITE_CORRUPT_BKPT return code in a couple more places. (check-in: [72d22c226b] user: mistachkin branch: trunk, size: 349174) | |
2017-09-01
| ||
14:50 | [f1ac9509f4] part of check-in [b2e2100cf7] Add the new sqlite3PagerUnrefPageOne() pager method to deal with the special case of unreferencing page1. (check-in: [b2e2100cf7] user: drh branch: trunk, size: 349164) | |
2017-08-28
| ||
17:26 | [a4421dd056] part of check-in [cc440400a1] Remove the rarely-used scratch memory allocator. This makes the code smaller, faster, and easier to maintain. In place of the scratch allocator, add the SQLITE_CONFIG_SMALL_MALLOC configuration option that provides a hint to SQLite that large memory allocations should be avoided. (check-in: [cc440400a1] user: drh branch: begin-concurrent-branch-3.19, size: 365312) | |
17:19 | [fd5d4ce006] part of check-in [d53108e763] Merge recent enhancements from trunk. (check-in: [d53108e763] user: drh branch: begin-concurrent, size: 365962) | |
15:51 | [1033b88fe5] part of check-in [54b000246c] Remove the rarely-used scratch memory allocator. This makes the code smaller, faster, and easier to maintain. In place of the scratch allocator, add the SQLITE_CONFIG_SMALL_MALLOC configuration option that provides a hint to SQLite that large memory allocations should be avoided. (check-in: [54b000246c] user: drh branch: trunk, size: 348603) | |
2017-08-25
| ||
13:02 | [83933a8d1e] part of check-in [2738b8db3c] Convert a branch made unreachable by [59560d07] into an assert(). (check-in: [2738b8db3c] user: drh branch: trunk, size: 348601) | |
2017-08-23
| ||
23:09 | [f93c05dbd6] part of check-in [59560d079f] Performance optimization to pageFindSlot() in the b-tree layer. (check-in: [59560d079f] user: drh branch: trunk, size: 348603) | |
20:36 | [45f3b8b3ad] part of check-in [bc1ec123ce] Size and performance optimization to dropCell() and freeSpace(). (check-in: [bc1ec123ce] user: drh branch: trunk, size: 348719) | |
14:45 | [ea10ca6343] part of check-in [77074990ed] Smaller and faster implementation of the fillInCell() routine. (check-in: [77074990ed] user: drh branch: trunk, size: 348727) | |
2017-08-16
| ||
19:20 | [e1a98bef27] part of check-in [f078deb251] Avoid a test for CURTYPE_BTREE in sqlite3VdbeCursorMoveto() in order to reduce the size and improve the performance of OP_Column. (check-in: [f078deb251] user: drh branch: trunk, size: 348318) | |
17:06 | [70fcdba84b] part of check-in [380a7b7a45] Update this branch with the latest changes from trunk. (check-in: [380a7b7a45] user: dan branch: server-process-edition, size: 358380) | |
2017-08-15
| ||
03:46 | [d2f5f347e5] part of check-in [373b71d19c] Btree optimization: New field BtCursor.pPage that points to the current page, saving a single pointer dereference on each access. (check-in: [373b71d19c] user: drh branch: trunk, size: 347941) | |
2017-08-14
| ||
23:53 | [05781141fe] part of check-in [1696933884] Minor size and performance optimization to sqlite3BtreeCloseCursor(). (check-in: [1696933884] user: drh branch: trunk, size: 348106) | |
18:13 | [43d1c5b335] part of check-in [240d57143d] Change the internal btree routine moveToRoot() to return SQLITE_EMPTY if the table is empty or if it has pgnoRoot==0. This simplifies the callers, making them smaller and faster. The SQLITE_EMPTY result code is intercepted and changed into SQLITE_OK before surfacing in an API. (check-in: [240d57143d] user: drh branch: trunk, size: 348141) | |
17:03 | [5a6efa29cc] part of check-in [25e92baaae] Fix harmless indentation error. (check-in: [25e92baaae] user: drh branch: trunk, size: 348064) | |
2017-08-11
| ||
19:16 | [91e4c8414e] part of check-in [47e716952d] Merge the latest enhancements from trunk. (check-in: [47e716952d] user: drh branch: begin-concurrent, size: 365394) | |
2017-08-07
| ||
14:15 | [f96286765c] part of check-in [17bc7ded07] Update this branch with latest trunk changes. (check-in: [17bc7ded07] user: dan branch: server-process-edition, size: 358504) | |
2017-08-02
| ||
18:27 | [1a17ba1a76] part of check-in [f3c39c2986] Minor optimization on clearCell() (check-in: [f3c39c2986] user: drh branch: trunk, size: 348065) | |
15:50 | [412321430e] part of check-in [49ba54e267] Optimizations associated with error handling in btree cursors. (check-in: [49ba54e267] user: drh branch: trunk, size: 348058) | |
2017-07-20
| ||
19:08 | [a21ffc8223] part of check-in [44c760d150] Fix compiler warnings. (check-in: [44c760d150] user: drh branch: begin-concurrent, size: 365310) | |
18:28 | [7e96734787] part of check-in [a29401e924] Get the build working with SQLITE_OMIT_CONCURRENT. (check-in: [a29401e924] user: drh branch: begin-concurrent, size: 365336) | |
17:47 | [b3d5ea919c] part of check-in [213c61cb82] Merge all the latest trunk enhancements. (check-in: [213c61cb82] user: drh branch: begin-concurrent, size: 365273) | |
2017-07-19
| ||
18:54 | [d0111c10f4] part of check-in [be0df0a65f] Merge latest trunk changes with this branch. (check-in: [be0df0a65f] user: dan branch: server-process-edition, size: 358420) | |
2017-07-17
| ||
20:21 | [155f59dcd4] part of check-in [e181225dc7] Merge all the latest fixes and enhancements from trunk. (check-in: [e181225dc7] user: drh branch: apple-osx, size: 348197) | |
2017-07-13
| ||
21:06 | [85cd6d97be] part of check-in [dcc407972a] Make the freelist format a separate feature from the page-level locking. Freelist format is now configure using "PRAGMA freelist_format". (check-in: [dcc407972a] user: dan branch: server-process-edition, size: 357492) | |
2017-07-11
| ||
18:11 | [f55ea8f456] part of check-in [55e93f2560] Fix harmless compiler warnings in the core. (check-in: [55e93f2560] user: drh branch: trunk, size: 347981) | |
2017-07-08
| ||
20:46 | [0e1bcecde0] part of check-in [5a043aa8dd] Support read-only MVCC transactions in server-mode. Started using "BEGIN READONLY". (check-in: [5a043aa8dd] user: dan branch: server-process-edition, size: 356391) | |
2017-07-07
| ||
22:58 | [d8a9a8b6cb] part of check-in [7f48f6ab2a] Merge in all the latest trunk enhancements. (check-in: [7f48f6ab2a] user: drh branch: apple-osx, size: 348080) | |
20:06 | [79fb003347] part of check-in [38978ce65b] Add the "PRAGMA secure_delete=FAST" option, which overwrites most deleted content without increasing the amount of I/O. Deleted content might persist on the free page list, however. And extra CPU cycles are used for zeroing, of course. (check-in: [38978ce65b] user: drh branch: trunk, size: 347864) | |
16:40 | [6ff4027f89] part of check-in [216c757f92] Merge latest trunk changes with this branch. (check-in: [216c757f92] user: dan branch: server-process-edition, size: 356367) | |
2017-06-26
| ||
13:57 | [00579ff9c2] part of check-in [7076e8283e] 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: [7076e8283e] user: drh branch: enable-QPSG, size: 347053) | |
2017-06-23
| ||
21:05 | [388fd95a65] part of check-in [53b14a3888] Merge all recent trunk enhancements into the apple-osx branch. (check-in: [53b14a3888] user: drh branch: apple-osx, size: 347282) | |
2017-06-19
| ||
11:44 | [127ae15b63] part of check-in [f1682f0faf] Experimental "PRAGMA secure_delete=FAST" pragma. The intent is to overwrite deleted content with zeros without increasing the amount of disk I/O. (check-in: [f1682f0faf] user: drh branch: fast-secure-delete, size: 347877) | |
2017-06-17
| ||
00:39 | [8668d6eea7] part of check-in [e1b7102908] When building an ephemeral table of integers, do not assume that the table does not already contain N if the insert cursor points to N-1. Fix for ticket [61fe9745]. Also increase the version number to 3.18.2. This is the release candidate. (check-in: [e1b7102908] user: drh branch: branch-3.18, size: 347402) | |
2017-06-12
| ||
23:44 | [5aa6108269] part of check-in [30c50f0e06] Ensure pointer map entries are always added when a row that does use overflow pages replaces one that does not in an auto-vacuum database. Fix for [fda22108]. (check-in: [30c50f0e06] user: drh branch: branch-3.18, size: 347530) | |
2017-06-11
| ||
18:26 | [430e34151e] part of check-in [a2f77285fa] Fix a potential null-pointer deference following OOM introduced by check-in [e39795d7] (unreleased). (check-in: [a2f77285fa] user: drh branch: trunk, size: 347066) | |
2017-06-10
| ||
17:23 | [5a93ba67ec] part of check-in [79544fc285] Remove sqlite3_log() and abort() calls added to this branch to debug the pointer-map problem ([fda22108]). (check-in: [79544fc285] user: dan branch: begin-concurrent, size: 364459) | |
2017-06-08
| ||
16:23 | [1394abd656] part of check-in [8e311a6dba] Update the recent auto-vacuum fix so that it works for the in-memory pointer-map structure used by this branch. (check-in: [8e311a6dba] user: dan branch: begin-concurrent, size: 365925) | |
16:10 | [95dd5106cb] part of check-in [e2d38d51a9] Merge 3.19.3 changes with this branch. (check-in: [e2d38d51a9] user: dan branch: begin-concurrent, size: 365923) | |
14:41 | [4f095b81d7] part of check-in [93f32dd2dd] Merge the auto_vacuum bug fix and all other changes from the 3.19.3 release. (check-in: [93f32dd2dd] user: drh branch: apple-osx, size: 347383) | |
11:26 | [de57bf3f20] part of check-in [9478106ca9] Ensure pointer map entries are always added when a row that does use overflow pages replaces one that does not in an auto-vacuum database. Fix for [fda22108]. (check-in: [9478106ca9] user: drh branch: branch-3.19, size: 347167) | |
11:14 | [896b823ada] part of check-in [b30dfba811] Ensure pointer map entries are always added when a row that does use overflow pages replaces one that does not in an auto-vacuum database. Fix for [fda22108]. (check-in: [b30dfba811] user: dan branch: trunk, size: 347049) | |
2017-06-07
| ||
22:32 | [a13e516b94] part of check-in [e39795d7d7] In SQLITE_DEBUG mode, attempt to log the page number of the database that contained the problem when SQLITE_CORRUPT errors are seen. (check-in: [e39795d7d7] user: drh branch: trunk, size: 346769) | |
2017-06-02
| ||
09:31 | [63ae795334] part of check-in [f131677dcb] Extend even further the logging designed to find problems in the pointer-map structure. Call abort() to dump a core as soon as such a problem is seen. (check-in: [f131677dcb] user: dan branch: begin-concurrent, size: 365643) | |
2017-05-31
| ||
17:06 | [322cd2e8aa] part of check-in [f7e3e2bc88] Generate extra log messages in response to irregularites in the pointer-map used by "BEGIN CONCURRENT" transactions. (check-in: [f7e3e2bc88] user: dan branch: begin-concurrent, size: 365435) | |
2017-05-30
| ||
18:34 | [8ac6ae352c] part of check-in [e972a38608] 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: [e972a38608] user: drh branch: trunk, size: 346155) | |
2017-05-29
| ||
19:23 | [8be55b3e9e] part of check-in [9ad846e57b] Instead of a root page number, log the object (table or index) name if a page level locking conflict is detected. (check-in: [9ad846e57b] user: dan branch: begin-concurrent, size: 364177) | |
14:27 | [3c5409453a] part of check-in [92618492b0] Enhance the log messages emitted when a page conflict is detected. (check-in: [92618492b0] user: dan branch: begin-concurrent, size: 362684) | |
2017-05-27
| ||
18:05 | [babb72f4fd] part of check-in [214d238a47] Add debugging functions btreePageOriginFile() and btreePageOriginOffset(). (check-in: [214d238a47] user: dan branch: btree-debug, size: 347766) | |
2017-05-26
| ||
16:15 | [ca942fd75c] part of check-in [a4a3bbe646] Fix a problem with deferred page allocation in transactions that revert page allocations by savepoint rollbacks. (check-in: [a4a3bbe646] user: dan branch: begin-concurrent, size: 362057) | |
2017-05-25
| ||
21:35 | [0065e4bb6d] part of check-in [6f415833e0] Small performance increase and size decrease in the btreeInitPage() routine. (check-in: [6f415833e0] user: drh branch: trunk, size: 346719) | |
21:02 | [ffb001f02b] part of check-in [47a7dd9235] Fix a problem with the deferred page allocation on this branch that could occur when the database file is just slightly smaller than the PENDING_BYTE page offset. (check-in: [47a7dd9235] user: dan branch: begin-concurrent, size: 362032) | |
2017-05-15
| ||
17:34 | [b8ffd067e7] part of check-in [14ea840036] Merge the latest changes from trunk. (check-in: [14ea840036] user: drh branch: begin-concurrent, size: 362009) | |
2017-05-11
| ||
18:49 | [9d5f134694] part of check-in [b55c0f14c3] Merge recent enhancements from trunk. (check-in: [b55c0f14c3] user: drh branch: apple-osx, size: 347103) | |
2017-05-01
| ||
20:07 | [ca26f48d5c] part of check-in [83b1e163ef] Update this branch with latest trunk changes. (check-in: [83b1e163ef] user: dan branch: server-edition, size: 356201) | |
18:24 | [8c1fd4cfa2] part of check-in [adcad37b00] Enhance "PRAGMA integrity_check" to detect duplicate rowids within a leaf page. (check-in: [adcad37b00] user: dan branch: trunk, size: 346887) | |
18:12 | [ef42df0cd8] part of check-in [a6727eef6d] Clear the BTCF_ValidNKey flag set if a cursor is moved by sqlite3BtreeInsert(). Fix for [f68dc596c4]. (check-in: [a6727eef6d] user: dan branch: trunk, size: 346808) | |
2017-04-29
| ||
15:48 | [5bd5e1f17a] part of check-in [f6b025bf63] Avoid reading the file-size before page 1 is read-locked. (check-in: [f6b025bf63] user: dan branch: server-edition, size: 356083) | |
2017-04-28
| ||
17:32 | [defa752577] part of check-in [a40b42c422] Fix various bugs revealed by running performance tests. (check-in: [a40b42c422] user: dan branch: server-edition, size: 356237) | |
14:09 | [16a5f4fd30] part of check-in [a5a085483c] Add a missing releasePage() call to the server-mode free-list management code. (check-in: [a5a085483c] user: dan branch: server-edition, size: 355645) | |
10:20 | [c721037ad3] part of check-in [778e8a102d] Use a different free-list format for server-mode databases in order to reduce contention. (check-in: [778e8a102d] user: dan branch: server-edition, size: 355620) | |
2017-04-24
| ||
16:14 | [71c947c2a4] part of check-in [031feebc94] Bring in all the latest enhancements from trunk. (check-in: [031feebc94] user: drh branch: apple-osx, size: 346985) | |
14:16 | [a0d9a1c782] part of check-in [1c1b086223] When building an ephemeral table of integers, do not assume that the table does not already contain N if the insert cursor points to N-1. Fix for ticket [61fe9745]. (check-in: [1c1b086223] user: dan branch: trunk, size: 346769) | |
2017-04-08
| ||
00:25 | [1b654f06bc] part of check-in [dd16439ea1] Merge the latest trunk changes. (check-in: [dd16439ea1] user: drh branch: apple-osx, size: 347113) | |
2017-04-01
| ||
00:20 | [24ae5472bd] part of check-in [2452f0617d] Save a 78 bytes of code space and a million CPU cycles in speedtest1 by storing the cell index for the leaf page in the BtCursor object in its own field (BtCursor.ix), rather than as an entry in the BtCursor.aiIdx array. (check-in: [2452f0617d] user: drh branch: trunk, size: 346897) | |
2017-03-30
| ||
20:26 | [9f218dcf45] part of check-in [ed28f15e05] Merge all changes from the 3.18.0 release. (check-in: [ed28f15e05] user: drh branch: apple-osx, size: 347466) | |
2017-03-29
| ||
18:03 | [64ff65a018] part of check-in [4a01880b62] Avoid unnecessary blob handle invalidation when changes are made to an unrelated table. (check-in: [4a01880b62] user: drh branch: trunk, size: 347390) | |
2017-03-24
| ||
15:09 | [a6be01292e] part of check-in [fd5676fe7f] Merge all recent enhancements from trunk. (check-in: [fd5676fe7f] user: drh branch: begin-concurrent, size: 362372) | |
2017-03-16
| ||
18:54 | [ae0e0397e6] part of check-in [df39adeaa4] Fix a typo causing the build to fail if SQLITE_DEFAULT_SYNCHRONOUS==SQLITE_DEFAULT_WAL_SYNCHRONOUS. (check-in: [df39adeaa4] user: dan branch: default-synchronous-fix, size: 347250) | |
18:14 | [ace24955d0] part of check-in [78030c0f52] If the user has not set it explicitly, set the "PRAGMA synchronous" setting to SQLITE_DEFAULT_SYNCHRONOUS when a database connection changes from wal to rollback journal mode. (check-in: [78030c0f52] user: dan branch: default-synchronous-fix, size: 347237) | |
2017-03-06
| ||
20:00 | [75b1170456] part of check-in [1650c3f468] Merge all pending 3.18 enhancements from trunk. (check-in: [1650c3f468] user: drh branch: apple-osx, size: 347056) | |
11:39 | [e2bae0a03f] part of check-in [5f7fc79aa0] Merge updates from trunk. (check-in: [5f7fc79aa0] user: drh branch: auto-analyze, size: 346840) | |
2017-03-03
| ||
20:02 | [91baade798] part of check-in [5d0455fece] Fix a case introduced by [4cd2a967] where a corrupt database could cause a buffer overwrite. (check-in: [5d0455fece] user: dan branch: trunk, size: 346141) | |
2017-03-02
| ||
13:22 | [83e2bc48be] part of check-in [c60cdb4761] Merge recent trunk enhancements. (check-in: [c60cdb4761] user: drh branch: auto-analyze, size: 346094) | |
2017-02-25
| ||
16:24 | [03149b0f3f] part of check-in [f9863b39d9] Tweak the code on this branch to detect b-tree page corruption in the same cases as the trunk. (check-in: [f9863b39d9] user: dan branch: defragmentpage-opt, size: 345395) | |
2017-02-24
| ||
19:58 | [1763e0ec3a] part of check-in [202b1c0276] Optimize defragmentPage() in the case where the page contains either one or two free-blocks and a small number of fragmented bytes. (check-in: [202b1c0276] user: dan branch: defragmentpage-opt, size: 345380) | |
2017-02-23
| ||
02:15 | [19746a7db1] part of check-in [7a959f6d1e] Add two NEVER() operators in the sqlite3BtreeRowCountEst() routine. (check-in: [7a959f6d1e] user: drh branch: auto-analyze, size: 344757) | |
2017-02-18
| ||
02:42 | [a4ab1fb5cd] part of check-in [4229caec0b] Fix errors in the table resize detection. (check-in: [4229caec0b] user: drh branch: auto-analyze, size: 344568) | |
2017-02-17
| ||
19:24 | [e7d724b023] part of check-in [bfbdd07409] The analyze_as_needed pragma now responds to table size growth and will automatically rerun the analysis after each 10x size increase. (check-in: [bfbdd07409] user: drh branch: auto-analyze, size: 344569) | |
2017-02-16
| ||
14:02 | [ab9cb31e13] part of check-in [325ccfa95e] Merge recent enhancements from trunk. (check-in: [325ccfa95e] user: drh branch: est_count_pragma, size: 346092) | |
2017-02-13
| ||
13:35 | [3ae6697488] part of check-in [670f10b242] Change all legacy instances of "#if SQLITE_DEBUG" to "#ifdef SQLITE_DEBUG" for consistency. (check-in: [670f10b242] user: drh branch: trunk, size: 344058) | |
2017-02-04
| ||
15:29 | [05843aa228] part of check-in [6c3f09028f] Merge recent trunk enhancements. (check-in: [6c3f09028f] user: drh branch: apple-osx, size: 344268) | |
2017-02-02
| ||
00:46 | [9fe65ab418] part of check-in [01d97e5b65] This is an experimental patch that ensures that all cursors have their position saved prior to starting a ROLLBACK TO. (check-in: [01d97e5b65] user: drh branch: savepoint-rollback, size: 344052) | |
2017-01-27
| ||
16:39 | [a018a533bb] part of check-in [0e14fe1b98] Merge all recent trunk enhancements into the apple-osx branch. (check-in: [0e14fe1b98] user: drh branch: apple-osx, size: 344157) | |
16:24 | [4be2a8e4a2] part of check-in [fe86ff5429] Merge all recent enhancements from trunk. (check-in: [fe86ff5429] user: drh branch: est_count_pragma, size: 345975) | |
01:25 | [6a63fa34e6] part of check-in [c012619b65] Another micro-optimization in accessPayload(). Slightly smaller and faster. (check-in: [c012619b65] user: drh branch: trunk, size: 343941) | |
01:13 | [1329274c46] part of check-in [ebb1fd98d4] Performance optimization in accessPayload(). (check-in: [ebb1fd98d4] user: drh branch: trunk, size: 343897) | |
00:31 | [d42f290214] part of check-in [68e7a8c676] Simplify the accessPayload() routine so that it always populates the overflow page cache. In the one case where populating the page cache can lead to problems, simply invalidate the cache as soon as accessPayload() returns. This simplification reduces code size and helps accessPayload() to run a little faster. This backs out the eOp==2 mode of accessPayload() added by check-in [da59198505]. (check-in: [68e7a8c676] user: drh branch: trunk, size: 343869) | |
2017-01-26
| ||
21:30 | [bd72bb69ab] part of check-in [293bf3ed7e] Remove an unreachable branch in the error handling logic for sqlite3BtreePayloadChecked(). (check-in: [293bf3ed7e] user: drh branch: trunk, size: 344368) | |
16:54 | [6fe6a58531] part of check-in [7459f4b7ed] Performance optimization to sqlite3_blob_read(). (check-in: [7459f4b7ed] user: drh branch: trunk, size: 344363) | |
16:27 | [a168da7c4f] part of check-in [3e96d6efa8] Minor simplification and performance optimization for Direct Overflow Read. (check-in: [3e96d6efa8] user: drh branch: trunk, size: 344087) | |
02:26 | [4a4ae5fd82] part of check-in [9879be1899] Make SQLITE_DIRECT_OVERFLOW_READ work for in WAL mode as long as the page being read is not in the the -wal file. (check-in: [9879be1899] user: drh branch: trunk, size: 344285) | |
2017-01-21
| ||
21:47 | [f1b36bcfb1] part of check-in [2c4ecb85a4] A better implementation of the moveto-neighbor optimization that checks for nearby rows on adjacent pages. (check-in: [2c4ecb85a4] user: drh branch: btree-moveto-neighbor, size: 344289) | |
16:54 | [972b7e1346] part of check-in [8e5cfb2039] B-tree optimization: When seeking on a rowid table that has already been positioned, check to see if the new row happens to be the next row on the same leaf page. That is a reasonably common case, and if it is true it avoids a full binary search. (check-in: [8e5cfb2039] user: drh branch: btree-moveto-neighbor, size: 344029) | |
2017-01-20
| ||
20:43 | [e6b8f39d7d] part of check-in [264e5c10d7] Minor performance optimization and size reduction to the accessPayload() routine in btree.c. (check-in: [264e5c10d7] user: drh branch: trunk, size: 343675) | |
2017-01-19
| ||
11:52 | [9e3d38d2d9] part of check-in [50ca94b919] Add test cases for the instrumentation on this branch. Fix some OOM handling issues in the same. (check-in: [50ca94b919] user: dan branch: transaction-pages, size: 346905) | |
2017-01-18
| ||
20:14 | [b0b714e311] part of check-in [2a8f6c890c] Add temporary code to record and report on the set of b-tree pages read and written by the current transaction. This is likely still buggy. (check-in: [2a8f6c890c] user: dan branch: transaction-pages, size: 346705) | |
2017-01-12
| ||
19:10 | [69966fb2c5] part of check-in [9acc72381c] Remove a branch that is probably unreachable, and which adds no value. (check-in: [9acc72381c] user: drh branch: trunk, size: 343646) | |
16:14 | [5f8642134a] part of check-in [bddf39562d] Remove an unnecessary corruption test from the btree balancer. If corruption is present, it will be found harmlessly by later tests. (check-in: [bddf39562d] user: drh branch: trunk, size: 343663) | |
15:19 | [e40ad22492] part of check-in [bd8b977abb] Test case macros to show that the previous check-in is well tested. (check-in: [bd8b977abb] user: drh branch: extra-testcase-macros, size: 343895) | |
15:11 | [90f8b15ec9] part of check-in [8097712c9c] Improved detection of cells that extend into the reserved space at the end of the page while adjusting overflow page pointers during autovacuum. (check-in: [8097712c9c] user: drh branch: trunk, size: 343735) | |
2017-01-10
| ||
20:04 | [44e9612965] part of check-in [46db23ccd1] Changes to allow some multi-row UPDATE statements to avoid the two-pass approach. (check-in: [46db23ccd1] user: dan branch: onepass-update, size: 343659) | |
2017-01-09
| ||
20:57 | [32c8ebdef3] part of check-in [ff9eab9587] Merge latest changes from trunk, and also move the perf-counter into the inner loop of sqlite3BtreeMovetoUnpacked(). (check-in: [ff9eab9587] user: drh branch: vdbe-aux-perf, size: 342897) | |
06:33 | [5e5bf5079a] part of check-in [d0e212d08f] Upgrade this branch to 3.16 plus the various fixes that appeared after its release. (check-in: [d0e212d08f] user: dan branch: begin-concurrent, size: 357983) | |
2017-01-07
| ||
00:42 | [616212acc1] part of check-in [746b183683] 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: [746b183683] user: drh branch: vdbe-aux-perf, size: 342879) | |
2017-01-03
| ||
20:20 | [95ffea8c0d] part of check-in [dcbec226ca] Merge changes from the 3.16.1 release (check-in: [dcbec226ca] user: drh branch: apple-osx, size: 343077) | |
2016-12-26
| ||
01:41 | [d2c1006187] part of check-in [e447b23cfd] Remove an incorrect ALWAYS() macro from balance_nonroot(), which could result in corrupt databases if it were optimized out. This ALWAYS was added only two weeks ago (check-in [f9f2e23bbd68a]) and has never appeared in an official release. (check-in: [e447b23cfd] user: drh branch: trunk, size: 342861) | |
2016-12-21
| ||
19:45 | [2e07a5a6d7] part of check-in [f7ab01f254] Simplifications to the way UnpackedRecord objects are allocated. Smaller and faster code that also fixes a subtle (currently unreachable) bug. (check-in: [f7ab01f254] user: drh branch: trunk, size: 342869) | |
2016-12-16
| ||
21:29 | [66e482529d] part of check-in [4b1e780433] Merge recent enhancements from trunk, and especially the pragma-as-vtab change. (check-in: [4b1e780433] user: drh branch: apple-osx, size: 343237) | |
15:57 | [7892be7e01] part of check-in [74a0ca1f15] Merge recent trunk enhancements. (check-in: [74a0ca1f15] user: drh branch: est_count_pragma, size: 345055) | |
2016-12-13
| ||
20:30 | [b2055dff0b] part of check-in [ed2c9f3738] Fix harmless compiler warnings. (check-in: [ed2c9f3738] user: drh branch: trunk, size: 343021) | |
2016-12-12
| ||
18:12 | [0d377e5769] part of check-in [1b36fbb9f0] Remove unnecessary MemPage initialization resets in the autovacuum ptrmap processing. (check-in: [1b36fbb9f0] user: drh branch: trunk, size: 343007) | |
16:15 | [50bd8434b6] part of check-in [a24f805b5e] Merge all the latest performance enhancements from trunk. (check-in: [a24f805b5e] user: drh branch: apple-osx, size: 343403) | |
12:58 | [328113973f] part of check-in [dc006e08b8] Merge recent enhancements from trunk. (check-in: [dc006e08b8] user: drh branch: est_count_pragma, size: 345221) | |
01:30 | [383ce69bd3] part of check-in [57deb1b412] Size and performance optimization in btreeInitPage() in the freeblock validation step. (check-in: [57deb1b412] user: drh branch: trunk, size: 343187) | |
00:58 | [5299b39ca2] part of check-in [f9f2e23bbd] Change the order of comparison for divider cell overflow in balance non-root to avoid a (harmless) reference to an uninitialized variable. (check-in: [f9f2e23bbd] user: drh branch: trunk, size: 343103) | |
2016-12-10
| ||
13:12 | [55b5e0e106] part of check-in [35ecd4ebc5] Avoid an unnecessary memset() in the sqlite3BtreeInsert() routine. (check-in: [35ecd4ebc5] user: drh branch: trunk, size: 343095) | |
00:14 | [518b5a3692] part of check-in [478627c9e9] In balance_nonroot, try to combine dropCell/insertCell combinations for the dividers into a cell overwrites. This results in a very small (0.05%) performance gain which is probably not worth the added complexity. (check-in: [478627c9e9] user: drh branch: failed-dropCell-opt, size: 344476) | |
2016-12-09
| ||
19:42 | [217c9900de] part of check-in [684ef4582e] When doing the sqlite3BtreeInsert() overwrite optimization, make sure the memcpy() does not extend off the end of the page. (check-in: [684ef4582e] user: drh branch: trunk, size: 343030) | |
18:09 | [38bc160dfb] part of check-in [c1f0ae9d29] Additional comments and an assert on the sqlite3BtreeInsert() overwrite optimization. (check-in: [c1f0ae9d29] user: drh branch: trunk, size: 342958) | |
17:32 | [71f31086e4] part of check-in [0b86fbca66] In sqlite3BtreeInsert() when replacing a re-existing row, try to overwrite the cell directly rather than deallocate and reallocate the cell. (check-in: [0b86fbca66] user: drh branch: trunk, size: 342582) | |
16:02 | [c73d77875c] part of check-in [01ada3d106] Avoid unnecessary zeroing of fields in the MemPage object that are going to be reinitialized before use anyhow. A smaller and faster binary results. (check-in: [01ada3d106] user: drh branch: trunk, size: 342422) | |
2016-11-30
| ||
16:39 | [7b23553373] part of check-in [7ca58a07d3] Merge all the latest changes from trunk. (check-in: [7ca58a07d3] user: drh branch: est_count_pragma, size: 344277) | |
2016-11-26
| ||
20:44 | [f1818376b0] part of check-in [41a3af5443] Merge all recent trunk changes, and especially the new sqlite3_snapshot_recover() interface. (check-in: [41a3af5443] user: drh branch: apple-osx, size: 342459) | |
2016-11-25
| ||
19:18 | [9b30dbe2f6] part of check-in [49ebc219fa] 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: [49ebc219fa] user: drh branch: trunk, size: 342243) | |
2016-11-22
| ||
01:26 | [090a13ac2a] part of check-in [32be7aae92] Remove unnecessary OP_Close opcodes for a size reduction and performance increase. (check-in: [32be7aae92] user: drh branch: trunk, size: 342137) | |
2016-11-15
| ||
04:00 | [a7ed407f87] part of check-in [663473850c] 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: [663473850c] user: drh branch: trunk, size: 342816) | |
2016-11-11
| ||
18:19 | [cfe038d184] part of check-in [1a587d72f9] Remove obselete and unused logic in the update code generator. Fix the sqlite3BtreeMovetoUnpacked() routine so that it remembers the rowid of the row that it landed on. (check-in: [1a587d72f9] user: drh branch: unpacked-IdxInsert, size: 342707) | |
2016-11-10
| ||
21:19 | [0974c9d937] part of check-in [9a64a4f235] Break up the sqlite3BtreeMovetoUnpacked() routine into an eponymous routine and sqlite3BtreeMovetoIntkey(). Each routine specializes in a single kind of btree. (check-in: [9a64a4f235] user: drh branch: split-moveto, size: 344727) | |
20:42 | [592a72c259] part of check-in [eac0e827a6] Avoid a few unnecessary calls to sqlite3BtreeMovetoUnpacked(). (check-in: [eac0e827a6] user: drh branch: unpacked-IdxInsert, size: 342718) | |
2016-11-09
| ||
20:14 | [d1a3d69191] part of check-in [345b46be75] 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: [345b46be75] user: drh branch: unpacked-IdxInsert, size: 342614) | |
00:10 | [fa0e4f2656] part of check-in [89d958abba] Enhance the OP_IdxInsert opcode to optionally accept unpacked key material. (check-in: [89d958abba] user: drh branch: unpacked-IdxInsert, size: 342481) | |
2016-11-04
| ||
19:09 | [67d1cc4ed9] part of check-in [0e5ffd9123] Merge recent trunk changes, including all the fixes that appeared in version 3.15.1. (check-in: [0e5ffd9123] user: drh branch: apple-osx, size: 342445) | |
2016-11-03
| ||
18:30 | [72965b0231] part of check-in [63cfe19724] Avoid using the "direct overflow read" optimization to read large blobs if the pager layer has a wal file open - even if the database header indicates that the db is not a wal database. (check-in: [63cfe19724] user: drh branch: branch-3.15, size: 341933) | |
2016-10-25
| ||
19:39 | [4ea67e4254] part of check-in [f7f78147c5] Simplifications to faststat1.c. Fix a bug in sqlite3MovetoProportional() for very large b-trees. (check-in: [f7f78147c5] user: drh branch: est_count_pragma, size: 344263) | |
17:28 | [c0921ff514] part of check-in [c3570e462a] Merge recent trunk changes, and especially the PRAGMA index_info enhancement which is needed on this branch. (check-in: [c3570e462a] user: drh branch: est_count_pragma, size: 344193) | |
2016-10-24
| ||
01:01 | [6ae1c17347] part of check-in [98795c2dd9] Performance optimization in moveToRoot(). Avoid repeated validity checking of the root page on each call. Once is enough. (check-in: [98795c2dd9] user: drh branch: trunk, size: 342229) | |
2016-10-21
| ||
17:45 | [da29550955] part of check-in [0c8a5b8844] Merge updates from trunk, and especially the ".mode quote" enhancement to the shell. (check-in: [0c8a5b8844] user: drh branch: est_count_pragma, size: 344091) | |
17:25 | [955375bb15] part of check-in [affc2ef5ee] Add the btree_sample(INDEX,LOCATION,LIMIT) pragma. (check-in: [affc2ef5ee] user: drh branch: est_count_pragma, size: 344091) | |
10:49 | [0fde2593dc] part of check-in [b54c15f117] Avoid using the "direct overflow read" optimization to read large blobs if the pager layer has a wal file open - even if the database header indicates that the db is not a wal database. (check-in: [b54c15f117] user: dan branch: trunk, size: 342127) | |
2016-10-20
| ||
22:02 | [c58b8a52ad] part of check-in [340822afbe] Experimental est_count pragma. (check-in: [340822afbe] user: drh branch: est_count_pragma, size: 344042) | |
2016-10-17
| ||
15:28 | [4d035fb52b] part of check-in [c88d36e251] Changes to support interrupting a checkpoint using sqlite3_interrupt(). (check-in: [c88d36e251] user: dan branch: trunk, size: 342127) | |
2016-10-04
| ||
00:47 | [7a45743fb9] part of check-in [b10d0f939c] Do not bother to initialize unused fields in the BtreePayload object. (check-in: [b10d0f939c] user: drh branch: trunk, size: 341933) | |
2016-10-03
| ||
01:21 | [a0a80fbbb3] part of check-in [ea8affa9e4] Allocate Parse objects off of the stack where appropriate for a substantial performance increase and a size reduction. (check-in: [ea8affa9e4] user: drh branch: trunk, size: 341989) | |
2016-09-28
| ||
16:15 | [39e9ee3251] part of check-in [0601416347] Merge recent enhancements from trunk. (check-in: [0601416347] user: drh branch: apple-osx, size: 342205) | |
2016-09-17
| ||
19:34 | [56e1732ecf] part of check-in [63962e2a92] Small performance optimization in the freeSpace() routine of btree.c. (check-in: [63962e2a92] user: drh branch: trunk, size: 341989) | |
2016-08-13
| ||
14:30 | [a4a3ac603c] part of check-in [c7a9f26d11] Questionable changes to support interruptible checkpoint in ZipVFS. (check-in: [c7a9f26d11] user: dan branch: interruptible-checkpoint, size: 342147) | |
2016-08-12
| ||
16:21 | [7aa56fb354] part of check-in [8a5f41c7b1] Have wal file checkpoints exit early if the sqlite3_interrupt() API function is called. (check-in: [8a5f41c7b1] user: dan branch: interruptible-checkpoint, size: 341970) | |
2016-08-11
| ||
19:12 | [8872dcc869] part of check-in [d9f8918c5b] Merge version 3.14 plus some subsequent patches (including the page-cache performance patch) from trunk. (check-in: [d9f8918c5b] user: drh branch: begin-concurrent, size: 357075) | |
2016-08-04
| ||
09:13 | [0a3308f223] part of check-in [bf5a9542d0] Merge the ORDER BY LIMIT fix, and other enhancements, from trunk. (check-in: [bf5a9542d0] user: drh branch: apple-osx, size: 342169) | |
2016-08-03
| ||
14:51 | [2551bd3ecb] part of check-in [722c128163] Fix a typo in a comment in btree.c. No changes to code. (check-in: [722c128163] user: drh branch: trunk, size: 341953) | |
2016-07-25
| ||
17:31 | [eb4d02a079] part of check-in [e98cefb17d] Merge 3.14 alpha changes from trunk. (check-in: [e98cefb17d] user: drh branch: apple-osx, size: 342166) | |
2016-07-14
| ||
20:19 | [44c34502f1] part of check-in [46bd9533c0] Experimental patch restore the slight bias in btree-balancing immediately after the change to reduces the amount of memcpy() work done by balancing. (check-in: [46bd9533c0] user: drh branch: btree-balance-bias, size: 308892) | |
19:48 | [6a42efa461] part of check-in [d2a0af7a37] Minor tweak the the b-tree balancer. (check-in: [d2a0af7a37] user: drh branch: btree-tuning, size: 341950) | |
2016-07-06
| ||
10:12 | [dc4e5f3e95] part of check-in [118321c8b9] Add the SQLITE_DBSTATUS_PROPORTIONAL_CACHE_USED sqlite3_db_status() parameter. (check-in: [118321c8b9] user: dan branch: dbstatus-prop-cache-used, size: 341940) | |
2016-06-15
| ||
10:21 | [765b38f612] part of check-in [0f707d1532] Merge changes from trunk. (check-in: [0f707d1532] user: drh branch: apple-osx, size: 341783) | |
2016-06-13
| ||
12:51 | [0621247619] part of check-in [fcf6114be9] Fix an incorrect assert() in the btree logic. (check-in: [fcf6114be9] user: drh branch: trunk, size: 341567) | |
2016-06-06
| ||
01:54 | [2781fb1db1] part of check-in [e106a77d85] Small performance boost and size decrease in sqlite3BtreeMovetoUnpacked(). (check-in: [e106a77d85] user: drh branch: trunk, size: 341567) | |
2016-06-04
| ||
21:05 | [b8875cff2d] part of check-in [5e269c2d26] Improved comment on cursorOwnsBtShared(). No changes to code. (check-in: [5e269c2d26] user: drh branch: btree-refactor, size: 341495) | |
20:58 | [579a8160f5] part of check-in [aa53a36ea2] Fix a C99-ism and a compiler warning for MSVC. (check-in: [aa53a36ea2] user: drh branch: btree-refactor, size: 340970) | |
20:37 | [b55e96857e] part of check-in [bef35e18dd] 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: [bef35e18dd] user: drh branch: btree-refactor, size: 340960) | |
2016-05-23
| ||
02:57 | [3a0ee76b57] part of check-in [815cc2bb48] Merge changes from trunk. (check-in: [815cc2bb48] user: drh branch: apple-osx, size: 341878) | |
2016-05-21
| ||
23:25 | [2128172fc1] part of check-in [dec1307581] More tweaks to improve the performance of the insert logic, slightly. (check-in: [dec1307581] user: drh branch: trunk, size: 341662) | |
20:03 | [e312cc3fdf] part of check-in [55f348cdd2] 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: [55f348cdd2] user: drh branch: trunk, size: 341569) | |
19:10 | [09df167470] part of check-in [2ce1166717] Remove some unused legacy code from the btree insert logic. (check-in: [2ce1166717] user: drh branch: trunk, size: 341476) | |
12:29 | [da39b19be8] part of check-in [1dbaf7a119] Yet another minor size reduction and performance increase in the b-tree insert logic. (check-in: [1dbaf7a119] user: drh branch: trunk, size: 341556) | |
11:23 | [ab4ab00fa4] part of check-in [656aa1ecf5] Small size reduction and performance increase in the sqlite3BtreeInsert() logic. (check-in: [656aa1ecf5] user: drh branch: trunk, size: 341494) | |
2016-05-16
| ||
13:37 | [57540cfb66] part of check-in [0d9b82afea] Merge recent fixes from trunk. (check-in: [0d9b82afea] user: drh branch: apple-osx, size: 341575) | |
2016-05-09
| ||
23:11 | [e53a01547d] part of check-in [79ecd0ef20] Fixes to requirements marks. No changes to code. (check-in: [79ecd0ef20] user: drh branch: trunk, size: 341359) | |
2016-04-21
| ||
15:35 | [134f1b049d] part of check-in [a15c49aed0] Merge all recent enhancements from trunk. (check-in: [a15c49aed0] user: drh branch: apple-osx, size: 341547) | |
2016-04-20
| ||
12:16 | [6deeeeffaf] part of check-in [1f709fbf93] Merge all recent enhancements from trunk. (check-in: [1f709fbf93] user: drh branch: begin-concurrent, size: 356453) | |
2016-04-18
| ||
16:06 | [c833d5ac44] part of check-in [368e86c760] Fix the sqlite3BtreeDelete() routine so that it preserves the correct key even when the row being deleted is not on a leaf page. Fix for ticket [a306e56ff68b8fa56] (check-in: [368e86c760] user: drh branch: branch-3.12.0, size: 341317) | |
2016-04-09
| ||
17:04 | [3ae6aea66c] part of check-in [ca2ef8a86c] Fix the sqlite3BtreeDelete() routine so that it preserves the correct key even when the row being deleted is not on a leaf page. Fix for ticket [a306e56ff68b8fa56] (check-in: [ca2ef8a86c] user: drh branch: trunk, size: 341331) | |
2016-04-05
| ||
13:35 | [556203aab5] part of check-in [7cacf4e954] Use SQLITE_WITHIN() for pointer range comparisons in some testing code. (check-in: [7cacf4e954] user: drh branch: trunk, size: 341331) | |
13:19 | [2b5504ac63] part of check-in [85b979319b] Do not allow pointer arithmetic to move a pointer across a memory allocation boundary. (check-in: [85b979319b] user: drh branch: trunk, size: 341324) | |
2016-03-29
| ||
10:36 | [108728aeca] part of check-in [d7381efff4] Merge 3.12.0 changes. (check-in: [d7381efff4] user: drh branch: begin-concurrent, size: 356439) | |
10:30 | [2c5e9c747f] part of check-in [eef557449c] Merge 3.12.0 changes. (check-in: [eef557449c] user: drh branch: apple-osx, size: 341533) | |
2016-03-22
| ||
15:25 | [577fb5674e] part of check-in [5ace870d3a] Fix a harmless compiler warning. (check-in: [5ace870d3a] user: drh branch: trunk, size: 341317) | |
14:37 | [8a02b1fb98] part of check-in [2484cc0c3f] Create the "uptr" typedef (the same as uintptr_t when available) and use it to cast pointers before comparison. (check-in: [2484cc0c3f] user: drh branch: trunk, size: 341311) | |
14:10 | [5753da5307] part of check-in [ff1b1ac331] Avoid the possibility of integer overflow on a pointer comparison test for corruption in the database file. (check-in: [ff1b1ac331] user: drh branch: trunk, size: 341287) | |
2016-03-16
| ||
19:34 | [dab12f0a78] part of check-in [a7978ab6d2] Merge the latest enhancements from trunk. (check-in: [a7978ab6d2] user: drh branch: begin-concurrent, size: 356172) | |
2016-03-15
| ||
12:45 | [119943fda9] part of check-in [f41a7361a1] Merge updates from trunk - FTS5 fixes and enhancemenets to the tests scripts so that they work with SEE. (check-in: [f41a7361a1] user: drh branch: apple-osx, size: 341266) | |
2016-03-09
| ||
03:29 | [6eee126fe9] part of check-in [fa20dcb03b] Update a comment in btree.c to account for WITHOUT ROWID tables. No code changes. (check-in: [fa20dcb03b] user: drh branch: trunk, size: 341050) | |
2016-03-08
| ||
16:35 | [1e36580a1f] part of check-in [2974194123] Merge changes from trunk, especially the SQLITE_DEFAULT_SYNCHRONOUS enhancements. (check-in: [2974194123] user: drh branch: apple-osx, size: 341297) | |
15:30 | [2712f08735] part of check-in [592d210436] Make the SQLITE_DEFAULT_SYNCHRONOUS and SQLITE_DEFAULT_WAL_SYNCHRONOUS values zero-based to agree with PRAGMA synchronous. (check-in: [592d210436] user: drh branch: default-synchronous, size: 341081) | |
15:14 | [be3ac34a9d] part of check-in [5791407b52] If SQLITE_DEFAULT_WAL_SYNCHRONOUS is not the same value as SQLITE_DEFAULT_SYNCHRONOUS and the application has not run "PRAGMA synchronous", then set synchronous to the SQLITE_DEFAULT_WAL_SYNCHRONOUS setting when entering WAL mode for the first time. (check-in: [5791407b52] user: drh branch: default-synchronous, size: 341077) | |
2016-02-26
| ||
16:14 | [975209703b] part of check-in [4fb4aee83d] Merge all recent enhancements from trunk, and in particular the SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER change. (check-in: [4fb4aee83d] user: drh branch: apple-osx, size: 341659) | |
2016-02-22
| ||
23:44 | [7bb920c473] part of check-in [aa9f4c622a] Remove code not needed now that synchronous=OFF database files no longer trigger the use of a master journal. (check-in: [aa9f4c622a] user: drh branch: trunk, size: 340528) | |
2016-02-18
| ||
01:36 | [733117e4ef] part of check-in [b7fa0fb339] Merge recent performance enhancements and the enhanced API_ARMOR from trunk. (check-in: [b7fa0fb339] user: drh branch: apple-osx, size: 342056) | |
2016-02-15
| ||
17:44 | [2cca792e04] part of check-in [c393ddc71a] Merge version 3.11.0 (check-in: [c393ddc71a] user: drh branch: begin-concurrent, size: 355982) | |
2016-02-13
| ||
23:43 | [474ad91c16] part of check-in [6a9c4a3ebf] Enhance ability to debug out-of-memory errors. (check-in: [6a9c4a3ebf] user: mistachkin branch: noMemBkpt, size: 340925) | |
2016-02-09
| ||
15:50 | [c9123aa7c7] part of check-in [f073401792] Merge recent fixes and enhancements from trunk. (check-in: [f073401792] user: drh branch: apple-osx, size: 341991) | |
2016-02-06
| ||
22:32 | [4c8caaeed7] part of check-in [b0b4624fc5] Add a utility program that looks for assert(), NEVER(), ALWAYS(), and testcase() macros that have side-effects, and reports errors when they are found. Also fix a bug that this utility detected as it was being tested. (check-in: [b0b4624fc5] user: drh branch: trunk, size: 340860) | |
2016-02-05
| ||
14:34 | [deead36f1e] part of check-in [332c8036ca] Merge PRAGMA synchronous=EXTRA and OOM performance enhancements from trunk. (check-in: [332c8036ca] user: drh branch: begin-concurrent, size: 355879) | |
14:29 | [b5c39d04a4] part of check-in [201fcbeef3] Merge OOM handling optimizations and PRAGMA synchronous=EXTRA as well as other enhancements from trunk. (check-in: [201fcbeef3] user: drh branch: apple-osx, size: 341888) | |
2016-02-04
| ||
11:48 | [0b359bcc23] part of check-in [b787165b25] Remove unnecessary sets of db->mallocFailed. (check-in: [b787165b25] user: drh branch: trunk, size: 340757) | |
2016-02-02
| ||
02:53 | [3d3c562e11] part of check-in [347f6a80c2] Merge recent enhancements from trunk. (check-in: [347f6a80c2] user: drh branch: begin-concurrent, size: 355911) | |
02:30 | [af43a8326a] part of check-in [e6a4a16312] Merge recent enhancements from trunk. (check-in: [e6a4a16312] user: drh branch: apple-osx, size: 341920) | |
2016-02-01
| ||
00:21 | [a2a0244ea3] part of check-in [22eaced727] Fix an assert() that might fail on a corrupt database. (check-in: [22eaced727] user: drh branch: trunk, size: 340789) | |
2016-01-30
| ||
13:32 | [e3929afb9b] part of check-in [85c467041c] 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: [85c467041c] user: drh branch: trunk, size: 340775) | |
12:50 | [5e3435a31a] part of check-in [0bdb41c45a] Simplification and size reduction to the printf logic. Remove the bFlags parameter from sqlite3VXPrintf() and sqlite3XPrintf(). Use sqlite3XPrintf() instead of sqlite3_snprintf() for rendering P4 values in EXPLAIN output. (check-in: [0bdb41c45a] user: drh branch: trunk, size: 339373) | |
2016-01-27
| ||
16:26 | [16edaf415a] part of check-in [1d3bf6bebd] Change the name of the BTREE_IDXDELETE flag to BTREE_AUXDELETE, to better reflect its purpose. (check-in: [1d3bf6bebd] user: drh branch: fordelete-assert, size: 340727) | |
2016-01-21
| ||
17:06 | [97cf881292] part of check-in [ac2cbadd80] 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: [ac2cbadd80] user: drh branch: btree-fordelete-flag, size: 340503) | |
2016-01-20
| ||
12:18 | [7d0dc384f7] part of check-in [5520f600ea] Merge recent enhancements from trunk. (check-in: [5520f600ea] user: drh branch: begin-concurrent, size: 354447) | |
11:40 | [3744d1452c] part of check-in [3ed49691a1] Merge all recent enhancements from trunk. (check-in: [3ed49691a1] user: drh branch: apple-osx, size: 340456) | |
01:32 | [f224ae877f] part of check-in [f421adf54c] Very small simplification to the btree balancer. (check-in: [f421adf54c] user: drh branch: trunk, size: 339325) | |
2016-01-15
| ||
15:06 | [d9c6b2e2df] part of check-in [c52ca2c066] Work toward making the schema parsing logic simplier and more compact. (check-in: [c52ca2c066] user: drh branch: trunk, size: 339387) | |
2016-01-14
| ||
15:46 | [04dccbd580] part of check-in [fccc5f20c3] Merge the latest enhancements and fixes from trunk. (check-in: [fccc5f20c3] user: dan branch: begin-concurrent, size: 354650) | |
15:03 | [258d048e42] part of check-in [d85774e0dc] Merge the latest enhancements and fixes from trunk. (check-in: [d85774e0dc] user: drh branch: apple-osx, size: 340659) | |
2016-01-12
| ||
04:08 | [5d93e2477a] part of check-in [5fc0a4c1f3] Remove an unused field from the MemPage object. (check-in: [5fc0a4c1f3] user: drh branch: trunk, size: 339528) | |
2016-01-11
| ||
12:49 | [cefa8e087e] part of check-in [79125ec9d2] Merge enhancements from trunk, and in particular the WAL overwrite feature. (check-in: [79125ec9d2] user: drh branch: apple-osx, size: 340921) | |
2016-01-08
| ||
19:34 | [6bd9b3d778] part of check-in [3392f8fa2d] Fix the build for SQLITE_OMIT_SHARED_CACHE, which was broken, possibly by check-in [2d96aeba]. (check-in: [3392f8fa2d] user: drh branch: trunk, size: 339790) | |
2016-01-07
| ||
16:43 | [09ec3ca5e7] part of check-in [359277e0e5] Add some assert() statements to verify, where possible, that BtShared.db is set correctly. (check-in: [359277e0e5] user: dan branch: shared-cache-fix, size: 339690) | |
16:06 | [d40cbcd254] part of check-in [d0214602d4] Have the vdbe layer call sqlite3BtreeEnter() on all b-trees in use from within sqlite3VdbeExec() even in SQLITE_THREADSAFE=0 builds. This ensures that BtShared.db is set correctly. (check-in: [d0214602d4] user: dan branch: shared-cache-fix, size: 339535) | |
2016-01-01
| ||
14:14 | [90fda80e91] part of check-in [6bea792c3d] Merge recent trunk enhancements. (check-in: [6bea792c3d] user: drh branch: begin-concurrent, size: 354521) | |
13:31 | [c24afbe7c9] part of check-in [5b700f313d] Merge all recent trunk enhancements. (check-in: [5b700f313d] user: drh branch: apple-osx, size: 340530) | |
03:37 | [4d3452b2a3] part of check-in [68360cd221] Fix an assert() that might be false for a corrupt database. (check-in: [68360cd221] user: drh branch: trunk, size: 339399) | |
2015-12-30
| ||
20:50 | [ec6627fbb4] part of check-in [1541607d45] Use the OvflOffset() macro to try to remove some magic numbers from btree.c. (check-in: [1541607d45] user: drh branch: ovfloffset-macro, size: 339403) | |
2015-12-18
| ||
03:59 | [5ac3f868d4] part of check-in [7850715406] Reduce the size of the CellInfo object from 32 to 24 bytes on 64-bit machines. (check-in: [7850715406] user: drh branch: optimize-cellinfo, size: 339383) | |
2015-12-17
| ||
17:30 | [cb0ed74a82] part of check-in [98b710c363] Reduce the size of the VdbeCursor object by a pointer (the pBt pointer used for ephemeral tables). (check-in: [98b710c363] user: drh branch: optimize-vdbecursor, size: 339668) | |
2015-12-16
| ||
19:55 | [d8e450a560] part of check-in [cb22efaf50] Merge recent enhancements from trunk. (check-in: [cb22efaf50] user: drh branch: begin-concurrent, size: 354646) | |
13:07 | [84ede51e37] part of check-in [f2fc3aede5] Make greater use of the SQLITE_WITHIN macro. (check-in: [f2fc3aede5] user: drh branch: trunk, size: 339524) | |
2015-12-11
| ||
12:53 | [1b90ae0506] part of check-in [7e7b240645] Merge recent trunk enhancements, and in particular the snapshot interface. (check-in: [7e7b240645] user: drh branch: apple-osx, size: 340642) | |
2015-12-10
| ||
15:09 | [450950ce36] part of check-in [ad3124c834] Move pointer range comparisons into a macro, where they can be dealt with in a more portable way. (check-in: [ad3124c834] user: drh branch: stdint.h, size: 339511) | |
2015-12-08
| ||
16:58 | [81d0414213] part of check-in [901d0b8f3b] Changes to avoid undefined behavior in memset() and memcpy() and in the comparisons of pointers from different allocations. All problems are found by analysis tools - none have been seen in the wild. (check-in: [901d0b8f3b] user: drh branch: trunk, size: 339642) | |
2015-11-20
| ||
13:49 | [ab52539c0c] part of check-in [41c8b8e39b] Merge all the latest enhancements and fixes from trunk. (check-in: [41c8b8e39b] user: drh branch: begin-concurrent, size: 354634) | |
2015-11-12
| ||
16:51 | [59c8f28530] part of check-in [e72331c719] Merge the latest enhancements from trunk, and in particular the "PRAGMA cache_spill=N" change. (check-in: [e72331c719] user: drh branch: apple-osx, size: 340643) | |
14:57 | [d3bdd8462a] part of check-in [549d42be0d] First attempt at enhancing the "PRAGMA cache_spill" statement to accept a cache threashold size. (check-in: [549d42be0d] user: drh branch: cache_spill=N, size: 339512) | |
2015-11-07
| ||
01:57 | [5e5316b3c6] part of check-in [5429f99b98] Merge recent enhancements and fixes from trunk. (check-in: [5429f99b98] user: drh branch: apple-osx, size: 340327) | |
2015-11-05
| ||
22:30 | [9e5d713bf5] part of check-in [997ce6c90b] Improvements and simplifications to the equality seek logic. Tests are adjusted so that they all pass now. (check-in: [997ce6c90b] user: drh branch: seekeq-experiment, size: 339196) | |
03:26 | [233c153692] part of check-in [b9b22fae69] Remove #pragma that was used to work around an obsolete issue with MSVC 2012. (check-in: [b9b22fae69] user: mistachkin branch: reoptimizeArm, size: 339091) | |
2015-11-04
| ||
22:31 | [080c3cb544] part of check-in [2aa50f6f20] Performance improvements in the getAndInitPage() routine of btree.c. (check-in: [2aa50f6f20] user: drh branch: trunk, size: 339278) | |
20:22 | [692ca3e69a] part of check-in [708253be34] Rename the sqlite3PagerAcquire() function to sqlite3PagerGet(). The former macro called sqlite3PagerGet() has been removed. (check-in: [708253be34] user: drh branch: trunk, size: 339046) | |
2015-10-30
| ||
17:17 | [0a1dd8e05e] part of check-in [f2cde4cfc5] Merge the sqlite3_db_cacheflush() enhancements and other changes from trunk. (check-in: [f2cde4cfc5] user: drh branch: begin-concurrent, size: 354171) | |
16:23 | [35af7ace61] part of check-in [6e4306efaf] Merge latest trunk changes, including sqlite3_db_cacheflush(), with this branch. (check-in: [6e4306efaf] user: dan branch: apple-osx, size: 340180) | |
2015-10-27
| ||
13:24 | [77343aac89] part of check-in [b3ec9a0d62] Split out sqlite3BtreeCursorHintFlags() from sqlite3BtreeCursorHint() the interface for improved performance. (check-in: [b3ec9a0d62] user: drh branch: cursor-hints, size: 339049) | |
2015-10-26
| ||
20:50 | [4213df6243] part of check-in [bc195e1cd9] Merge latest trunk changes, including the SQLITE_IOERR_AUTH error code, with this branch. (check-in: [bc195e1cd9] user: dan branch: apple-osx, size: 339800) | |
20:11 | [8022201b30] part of check-in [20da0849ce] Merge the BTREE_FORDELETE enhancement with this branch. (check-in: [20da0849ce] user: dan branch: cursor-hints, size: 339090) | |
18:51 | [6e7cafdb9f] part of check-in [53d5a4add6] Merge in all trunk changes prior to the BTREE_FORDELETE enhancement. (check-in: [53d5a4add6] user: drh branch: cursor-hints, size: 339044) | |
2015-10-22
| ||
20:54 | [9d684e19f8] part of check-in [cdc92919e6] 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: [cdc92919e6] user: dan branch: btree-fordelete-flag, size: 338669) | |
2015-10-16
| ||
03:34 | [ea8c62f65e] part of check-in [08e8f04d12] 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: [08e8f04d12] user: drh branch: reorder-column-opcodes, size: 338623) | |
2015-10-15
| ||
07:44 | [8853e6dab8] part of check-in [5c3a2a6ed6] Merge in the 3.9.0 changes from trunk. (check-in: [5c3a2a6ed6] user: drh branch: begin-concurrent, size: 353695) | |
2015-10-14
| ||
20:09 | [7fc9513b15] part of check-in [2944414934] Merge in all the 3.9.0 updates from trunk. (check-in: [2944414934] user: drh branch: cursor-hints, size: 338994) | |
2015-10-13
| ||
17:49 | [7893a74448] part of check-in [1900ce011c] Merge 3.9.0 prerelease changes into the apple-osx branch. (check-in: [1900ce011c] user: drh branch: apple-osx, size: 339704) | |
2015-10-10
| ||
16:41 | [0b74bc28b2] part of check-in [fab6f09044] Work around a "security feature" bug in memcpy() on OpenBSD. (check-in: [fab6f09044] user: drh branch: trunk, size: 338573) | |
2015-10-09
| ||
17:28 | [4c60a119d7] part of check-in [1ccae39b8a] Merge all changes through the first 3.9.0 beta from trunk. (check-in: [1ccae39b8a] user: drh branch: apple-osx, size: 339365) | |
2015-09-30
| ||
14:19 | [a5a653087a] part of check-in [29f7227ff1] Fix an assert() in btree.c that is only true for non-corrupt databases. (check-in: [29f7227ff1] user: drh branch: trunk, size: 338234) | |
12:59 | [dd877a85fc] part of check-in [a6d5e4e869] Clear the BTCF_ValidNKey flag when putting a cursor into REQUIRESEEK state. Fix for [1b266395]. (check-in: [a6d5e4e869] user: dan branch: trunk, size: 338220) | |
2015-09-24
| ||
15:17 | [82ba91898a] part of check-in [c63c1e15f8] Merge all recent trunk enhancements and fixes into the begin-concurrent branch. (check-in: [c63c1e15f8] user: drh branch: begin-concurrent, size: 353309) | |
15:06 | [9c79154043] part of check-in [fbe637620f] Merge trunk changes into the cursor-hints branch. (check-in: [fbe637620f] user: drh branch: cursor-hints, size: 338608) | |
14:43 | [a6b7433b14] part of check-in [4dd06d8ba1] Merge recent trunk enhancements into the apple-osx branch. (check-in: [4dd06d8ba1] user: drh branch: apple-osx, size: 339318) | |
2015-09-20
| ||
22:57 | [1645831511] part of check-in [825ce3201d] Fix an overly-strict assert() in the btree logic. (check-in: [825ce3201d] user: drh branch: trunk, size: 338187) | |
2015-09-18
| ||
14:45 | [0dc030ce71] part of check-in [26f64986d1] Ensure that "PRAGMA integrity_check" reports an error if the free-list count header field contains a value smaller than the actual number of pages on the database free-list. (check-in: [26f64986d1] user: dan branch: trunk, size: 338121) | |
2015-09-15
| ||
19:16 | [1c1519fcf3] part of check-in [fc4d1de8ae] Merge enhancements from trunk. (check-in: [fc4d1de8ae] user: drh branch: begin-concurrent, size: 353126) | |
17:31 | [9d19d3f8dc] part of check-in [66fe068326] Merge enhancements from trunk. (check-in: [66fe068326] user: drh branch: cursor-hints, size: 338425) | |
17:20 | [1fd5b28b39] part of check-in [f12b8a0f79] Merge trunk enhancements into the apple-osx branch. (check-in: [f12b8a0f79] user: drh branch: apple-osx, size: 339135) | |
2015-09-14
| ||
14:08 | [d31008cfbf] part of check-in [2edd2e5edd] Fix a compiler warning and providing missing VdbeCoverage() calls. (check-in: [2edd2e5edd] user: drh branch: trunk, size: 338004) | |
2015-09-12
| ||
19:26 | [38ed0262d1] part of check-in [eaeb2b80f6] 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: [eaeb2b80f6] user: dan branch: onepass-delete, size: 338004) | |
2015-09-03
| ||
15:17 | [7663d05467] part of check-in [f8ae9bfd05] 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: [f8ae9bfd05] user: drh branch: begin-concurrent, size: 350659) | |
14:39 | [3d759d9943] part of check-in [25ee3000e9] Merge enhancements from trunk. (check-in: [25ee3000e9] user: drh branch: cursor-hints, size: 335958) | |
14:31 | [0ac85a1584] part of check-in [d01658adf8] Merge enhancements from trunk. (check-in: [d01658adf8] user: drh branch: apple-osx, size: 336668) | |
14:04 | [89f97b912a] part of check-in [71e7299e8d] Merge trunk optimizations. (check-in: [71e7299e8d] user: drh branch: begin-concurrent, size: 350383) | |
2015-09-02
| ||
15:37 | [4084d9eed2] part of check-in [82355e4108] Use sqlite3XPrintf() instead of sqlite3StrAccumAppend() in a few places for better performance and a smaller footprint. (check-in: [82355e4108] user: drh branch: trunk, size: 335537) | |
2015-09-01
| ||
17:48 | [ca6c7e4bbb] part of check-in [5ed2a445a1] Fixes so that it builds without warnings both with and without SQLITE_ENABLE_CONCURRENT. (check-in: [5ed2a445a1] user: drh branch: begin-concurrent, size: 350456) | |
2015-08-28
| ||
02:12 | [d82a50a602] part of check-in [da8646582a] Merge trunk enhancements into the apple-osx branch. Most tests works, but there are yet a few issues to be resolved. (check-in: [da8646582a] user: drh branch: apple-osx, size: 336741) | |
2015-08-27
| ||
17:42 | [88ff0f5bdc] part of check-in [fc17f73170] Fix a problem whereby concurrent transactions would not consider pages read by the transaction before the first write statement. (check-in: [fc17f73170] user: dan branch: begin-concurrent, size: 350386) | |
2015-08-25
| ||
17:16 | [aacef0cd0c] part of check-in [f32b57b493] If "PRAGMA integrity_check" is run while the database is being written by a CONCURRENT transaction, do not consider unreferenced pages to be an error. They may be part of the free-page list, which is not visible at the b-tree layer when running a CONCURRENT transaction. (check-in: [f32b57b493] user: dan branch: begin-concurrent, size: 350251) | |
14:37 | [a763296915] part of check-in [231b588022] Fix a segfault that could occur following an OOM condition in the concurrent transaction code. (check-in: [231b588022] user: dan branch: begin-concurrent, size: 350029) | |
2015-08-24
| ||
19:56 | [f4db20fab7] part of check-in [ba1ab858e2] Change "BEGIN UNLOCKED" to "BEGIN CONCURRENT". (check-in: [ba1ab858e2] user: dan branch: begin-concurrent, size: 350027) | |
16:00 | [13f924763e] part of check-in [0411355754] Fix compilation without SQLITE_ENABLE_UNLOCKED. Also other code organization issues. (check-in: [0411355754] user: dan branch: begin-concurrent, size: 349979) | |
10:05 | [e807409602] part of check-in [701302b4bd] Consolidate two blocks of similar code in btreeFixUnlocked(). (check-in: [701302b4bd] user: dan branch: begin-concurrent, size: 349942) | |
2015-08-22
| ||
17:28 | [245bc69682] part of check-in [ed0a31be72] Add further tests for deferred page allocation. And fixes for the same. (check-in: [ed0a31be72] user: dan branch: begin-concurrent, size: 348734) | |
2015-08-21
| ||
20:11 | [dc80ac8374] part of check-in [53aaeea6c9] Fix many minor issues in the unlocked transaction code. (check-in: [53aaeea6c9] user: dan branch: begin-concurrent, size: 347586) | |
18:55 | [e455c3dbe8] part of check-in [069679162d] When committing an UNLOCKED transaction, try to move pages allocated at the end of the file to free slots within the file (like an incremental-vacuum operation does). (check-in: [069679162d] user: dan branch: begin-concurrent, size: 347586) | |
17:57 | [fca7884ea8] part of check-in [227bb8a181] Fix a problem with UNLOCKED transactions that free pages allocated within the same transaction. (check-in: [227bb8a181] user: dan branch: begin-concurrent, size: 346545) | |
2015-08-19
| ||
20:27 | [a00a7c4809] part of check-in [3bbc31d515] When committing an unlocked transaction, relocate newly allocated database pages within the file to avoid conflicting with committed transactions. There are lots of things still to fix in this code. (check-in: [3bbc31d515] user: dan branch: begin-concurrent, size: 345852) | |
2015-08-15
| ||
18:16 | [c1bbc83539] part of check-in [de1ea450db] Handle writes to auto-vacuum databases within UNLOCKED transactions in the same way as for non-UNLOCKED transactions. (check-in: [de1ea450db] user: dan branch: begin-concurrent, size: 336067) | |
2015-08-14
| ||
23:57 | [b8083a37c0] part of check-in [83a844357e] 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: [83a844357e] user: drh branch: cursor-hints, size: 336031) | |
15:05 | [84ae3d2d5b] part of check-in [fc3fb5cd0d] Refactor the sqlite3BtreeCursorHint() interface for improved maintainability. (check-in: [fc3fb5cd0d] user: drh branch: cursor-hints, size: 336397) | |
2015-08-13
| ||
20:07 | [060f2482ef] part of check-in [82a7a61bc0] 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: [82a7a61bc0] user: drh branch: cursor-hints, size: 336213) | |
2015-08-11
| ||
01:45 | [37d3bece89] part of check-in [56ff336e0a] Two more places where logging of freelist trunk pages is needed. (check-in: [56ff336e0a] user: drh branch: experimentalIoLog, size: 337049) | |
2015-08-10
| ||
20:53 | [546be5b424] part of check-in [bb5d7782bd] Record when an allocated page is taken from the freelist trunk. (check-in: [bb5d7782bd] user: drh branch: experimentalIoLog, size: 336849) | |
20:22 | [304e7b5a8f] part of check-in [ac5d2e9d76] Add the sqlite3_experimental_log_open() interface. This is for diagnostic use only and is not intended to ever go on trunk. (check-in: [ac5d2e9d76] user: drh branch: experimentalIoLog, size: 336734) | |
2015-07-29
| ||
12:14 | [5087b0a135] part of check-in [0b9718426e] Only allow UNLOCKED transactions to commit if none of the pages read by the transaction have been modified since it was opened. (check-in: [0b9718426e] user: dan branch: begin-concurrent, size: 336048) | |
2015-07-27
| ||
19:31 | [b184ce6d48] part of check-in [8079421604] Add an experimental "BEGIN UNLOCKED" command. (check-in: [8079421604] user: dan branch: begin-concurrent, size: 336261) | |
2015-07-14
| ||
17:18 | [f48b3ef916] part of check-in [3de030c904] Fix some harmless compiler warnings. (check-in: [3de030c904] user: mistachkin branch: trunk, size: 335610) | |
2015-07-08
| ||
01:22 | [781deff0d5] part of check-in [9417b4021b] Avoid left-shifting bits into the sign of a signed integer, as such behavior is technically undefined. (check-in: [9417b4021b] user: drh branch: pcache-bulk-local, size: 335606) | |
2015-07-04
| ||
11:14 | [740ab30df8] part of check-in [743bf1f184] Do not preserve the btreeInitPage() results in PRAGMA integrity_check if there were cell sizing errors because PRAGMA cell_size_check was turned off during the btreeInitPage() call. (check-in: [743bf1f184] user: drh branch: trunk, size: 335599) | |
2015-07-02
| ||
19:47 | [7705ce3e17] part of check-in [e53d497c2d] When doing coverage analysis of a btree page for pragma integrity_check, make the first entry (that covers the header, cell index, and gap) implied, for a performance boost and size reduction. (check-in: [e53d497c2d] user: drh branch: trunk, size: 335496) | |
16:52 | [cf3375bf70] part of check-in [bcc8a75509] Fix harmless compiler warnings and one macro VVA_ONLY macro usage issue. (check-in: [bcc8a75509] user: mistachkin branch: trunk, size: 334997) | |
16:29 | [6368ffd4c5] part of check-in [3a26a919fd] Fix a (harmless) shadowed local variable definition in the integrity_check logic. (check-in: [3a26a919fd] user: drh branch: trunk, size: 334980) | |
16:17 | [98ef3db8f9] part of check-in [251a7590ff] Smaller and faster PRAGMA integrity_check that also does a better job of detecting errors. Some output text describing discovered file corruption has changed for clarity. (check-in: [251a7590ff] user: drh branch: trunk, size: 334970) | |
2015-07-01
| ||
17:53 | [e283de2f9d] part of check-in [550705fcb6] Simplification of PRAGMA integrity_check logic. Make sure that the depth of the right-most subtree is correct. Size reduction and performance increase, with no change in output. (check-in: [550705fcb6] user: drh branch: trunk, size: 333710) | |
17:13 | [41c63a0f4e] part of check-in [1c52212369] Rework the PRAGMA integrity_check logic. Simplify the checkTreePage() routine and clean up the error messages generated. (check-in: [1c52212369] user: drh branch: integrity-check-refactor, size: 332825) | |
04:08 | [075ce6ddce] part of check-in [307195c870] Fix some harmless compiler warnings. (check-in: [307195c870] user: drh branch: trunk, size: 334131) | |
01:31 | [a0eb750d85] part of check-in [59ad912c4c] Change integrity_check to analyze the cells of a page in reverse order, as this will tend to insert the cells into the analysis heap in increasing order by address, which is the most efficient way to load a min-heap. (check-in: [59ad912c4c] user: drh branch: trunk, size: 334103) | |
2015-06-30
| ||
13:28 | [3a535c0118] part of check-in [79ff36b717] Remove the use of htonl() in the previous check-in due to linkage issues. Add the get2byteAligned() macro and use it for access to the cell offsets on btree pages for about a 1% performance gain. (check-in: [79ff36b717] user: drh branch: bswap-functions, size: 334100) | |
02:47 | [08ae64b038] part of check-in [429ccef2b3] Put BtCursor objects on a singly-linked list instead of a doubly-linked list. Add the BTCF_Multiple flag. Only invoke saveAllCursors() when using a cursor that has BTCF_Multiple set. (check-in: [429ccef2b3] user: drh branch: trunk, size: 334051) | |
01:25 | [5d5d48461b] part of check-in [ed54c14ea8] Convert several 5-year-old and older NEVER() macros into assert(). (check-in: [ed54c14ea8] user: drh branch: trunk, size: 332969) | |
2015-06-29
| ||
23:01 | [9d8ae0dbbd] part of check-in [53fe685d56] From sqlite3BtreeInsert(), bypass the btreeMoveto() routine for table inserts and go directly to sqlite3BtreeMovetoUnpacked(). (check-in: [53fe685d56] user: drh branch: trunk, size: 333112) | |
00:52 | [ce342e1567] part of check-in [18115164e1] Move an assert() and testcase() into their correct position within getAndInitPage(). (check-in: [18115164e1] user: drh branch: trunk, size: 332963) | |
2015-06-27
| ||
23:55 | [8f86dae090] part of check-in [63998471d0] Make greater use of BtCursor.curIntKey. (check-in: [63998471d0] user: drh branch: trunk, size: 332964) | |
22:49 | [124fb2cf37] part of check-in [4a17df139a] Add the BtCursor.curIntKey field and use it for a small size reduction and performance boost. (check-in: [4a17df139a] user: drh branch: trunk, size: 332942) | |
20:55 | [a6b0259834] part of check-in [291d9e0c32] Enhancements to the previous check-in to make it a little smaller and faster. (check-in: [291d9e0c32] user: drh branch: trunk, size: 332903) | |
19:45 | [b1ba9f65eb] part of check-in [1956a4ce8e] Performance improvements in moveToChild() by shifting some work over to getAndInitPage(). Net improvement is about 800K cycles at cost of 30 bytes. (check-in: [1956a4ce8e] user: drh branch: trunk, size: 332821) | |
15:51 | [be03b25d28] part of check-in [7f65b96b40] Manually inline the call from getAndInitPage() to btreeGetPage() for a savings of 2.5 million cycles at a cost of less than 100 bytes. (check-in: [7f65b96b40] user: drh branch: trunk, size: 332306) | |
14:59 | [bcd36697ae] part of check-in [9383a68870] Add releasePageNotNull() as an alternative to releasePage() when the argument is guaranteed to be non-NULL, and use it for a small performance gain. (check-in: [9383a68870] user: drh branch: trunk, size: 332203) | |
03:58 | [2a7554d560] part of check-in [bee94dc351] Add the Mempage.aDataOfst field and use it in sqlite3BtreeMovetoUnpacked() for about a 2 million cycle gain. (check-in: [bee94dc351] user: drh branch: trunk, size: 332081) | |
2015-06-26
| ||
03:12 | [c113f73fc4] part of check-in [7097716cae] Fix harmless compiler warning in assert statement. (check-in: [7097716cae] user: mistachkin branch: trunk, size: 331771) | |
2015-06-25
| ||
19:53 | [40e98c1072] part of check-in [7d02e6c992] Simplifications and performance improvements in insertCell(). (check-in: [7d02e6c992] user: drh branch: trunk, size: 331766) | |
18:36 | [960a641306] part of check-in [78da0f69cb] More simplifications and performance improvements to cell allocation logic associated with allocateSpace(). (check-in: [78da0f69cb] user: drh branch: trunk, size: 331766) | |
16:01 | [85679f63eb] part of check-in [d67b0ed105] Reorder the terms of a conditional for a small performance gain. (check-in: [d67b0ed105] user: drh branch: trunk, size: 331937) | |
15:21 | [cb50b3f00f] part of check-in [f824e66b0d] Remove a NEVER() that is in fact reachable. (check-in: [f824e66b0d] user: drh branch: trunk, size: 331937) | |
15:04 | [8910b2a624] part of check-in [d007bc339b] Minor optimization to allocateSpace(). (check-in: [d007bc339b] user: drh branch: trunk, size: 331944) | |
13:03 | [8a4109bdc6] part of check-in [476b11563c] Enhance the Btree object to remember whether or not it is holding an Incrblob cursor. Use this knowledge to improve performance in the common case where it does not. (check-in: [476b11563c] user: drh branch: trunk, size: 331822) | |
02:26 | [a0eaf1139b] part of check-in [3ee888beb9] Remove a line of code that doesn't do any useful work. (check-in: [3ee888beb9] user: drh branch: trunk, size: 331694) | |
2015-06-24
| ||
13:32 | [10ff19e09c] part of check-in [3b6fa95eeb] Fix a harmless compiler warning. (check-in: [3b6fa95eeb] user: drh branch: trunk, size: 331739) | |
12:24 | [1fbed35020] part of check-in [4e5424fe89] Prevent an infinite loop while searching a corrupt freelist. (check-in: [4e5424fe89] user: drh branch: trunk, size: 331739) | |
12:07 | [2167a4fdf8] part of check-in [5ba9834320] Strengthen the new balance_nonroot() code against various corrupt database problems. (check-in: [5ba9834320] user: drh branch: trunk, size: 331654) | |
01:07 | [9980353a77] part of check-in [14b73d2015] Remove an invalid NEVER() and add a test case to cover it. (check-in: [14b73d2015] user: drh branch: trunk, size: 331790) | |
2015-06-23
| ||
21:35 | [587dd00c67] part of check-in [eed6a33145] Testability improvement. (check-in: [eed6a33145] user: drh branch: btree-opt2, size: 331797) | |
18:24 | [ca39499768] part of check-in [f77f2f48f4] Multiple overflow cells are always adjacent and sequential. Exploit this invariant for a small size reduction and performance increase and add assert()s to prove the invariant. (check-in: [f77f2f48f4] user: drh branch: btree-opt2, size: 331845) | |
17:09 | [0b20e8281e] part of check-in [fda89b0512] Faster loading of cell pointers into the b.apCell array in balance_nonroot. (check-in: [fda89b0512] user: drh branch: btree-opt2, size: 331262) | |
16:00 | [57f1687079] part of check-in [6319ee1256] Avoid unnecessary cachedCellSize() calls in the cell partition adjustment phase of balance_nonroot(). (check-in: [6319ee1256] user: drh branch: btree-opt2, size: 331272) | |
15:36 | [d3299e9237] part of check-in [f7f4181811] Change pageInsertArray() and pageFreeArray() so that they use the CellArray object and compute cell sizes as needed, resulting in smaller and faster code. (check-in: [f7f4181811] user: drh branch: btree-opt2, size: 331254) | |
14:49 | [8d772673dc] part of check-in [ee44bb25b2] Improvements to the way balance_nonroot() constructs the b.apCell array of pointers to cells. (check-in: [ee44bb25b2] user: drh branch: btree-opt2, size: 331414) | |
02:37 | [e6ac65de17] part of check-in [43844537e8] Avoid computing cell sizes in balance_nonroot() until they are really needed. This gives an overall 1.7% performance gain for about 1000 extra bytes of code space. (check-in: [43844537e8] user: drh branch: btree-opt2, size: 330783) | |
2015-06-22
| ||
20:02 | [8f65725c7c] part of check-in [1687287151] Change the way that balance_nonroot() partitions cells between the sibling pages such that a scan of the cell size array is not required. (check-in: [1687287151] user: drh branch: btree-opt2, size: 328768) | |
2015-06-20
| ||
18:13 | [a311c31f1d] part of check-in [522502ec18] Split out all four cases of cellSizePtr() into different methods, each optimized for the specific page type. This gives a 0.36% performance increase at a cost of about 300 bytes of code. (check-in: [522502ec18] user: drh branch: btree-opt, size: 330951) | |
2015-06-19
| ||
20:08 | [173c2ba1b8] part of check-in [3189116b42] Fix corner cases involving corrupt varint values in record headers. (check-in: [3189116b42] user: drh branch: btree-opt, size: 327692) | |
18:24 | [32d2d8674e] part of check-in [faab0ed928] Performance improvements in btreeParseCell() by inlining the varint decoder. (check-in: [faab0ed928] user: drh branch: btree-opt, size: 327692) | |
17:19 | [cf8310b442] part of check-in [41d03d883c] Add the MemPage.xParseCell method and provide various implementations (variations on the former btreeParseCellPtr()) depending on the page type. (check-in: [41d03d883c] user: drh branch: trunk, size: 326869) | |
15:07 | [960e66f4a9] part of check-in [02f7e9d7d7] Make cellSizePtr() a method on the MemPage object, with alternative implementations depending on the page type. This results is a small performance improvement and size reduction. (check-in: [02f7e9d7d7] user: drh branch: trunk, size: 324531) | |
2015-06-17
| ||
02:11 | [02caf39192] part of check-in [55c393ea14] Make getCellInfo() a real function instead of a macro, for a size reduction and a 0.2% performance gain. (check-in: [55c393ea14] user: drh branch: trunk, size: 323409) | |
2015-06-15
| ||
16:09 | [e557af3120] part of check-in [ae68765218] Fix a harmless comment typo. No code changes. (check-in: [ae68765218] user: drh branch: trunk, size: 324614) | |
12:58 | [e269b13c9a] part of check-in [29bcb56887] Improved detection of database corruption in freeSpace(). (check-in: [29bcb56887] user: drh branch: trunk, size: 324611) | |
2015-06-02
| ||
19:36 | [5166c27883] part of check-in [9f035c45a4] Always check for cell overflow before returning a slot from the pageFindSlot routine in btree.c. (check-in: [9f035c45a4] user: drh branch: trunk, size: 324541) | |
14:02 | [c73a170115] part of check-in [4e621af134] Fix a faulty assert() in btree.c. Update the database fuzz test file with new test cases. (check-in: [4e621af134] user: drh branch: trunk, size: 324541) | |
2015-05-29
| ||
18:42 | [9e837a0e7e] part of check-in [09a38bf665] Ensure that allocateBtreePage() always clears the MemPage pointer when it fails due to an I/O or memory allocation error. (check-in: [09a38bf665] user: drh branch: trunk, size: 324512) | |
17:51 | [5fa5fda801] part of check-in [db4e9728fa] Move two unreachable conditionals inside of NEVER() or assert(). (check-in: [db4e9728fa] user: drh branch: trunk, size: 324568) | |
17:13 | [7dcddf0ae2] part of check-in [00693682d8] Remove a corruption test in balance_nonroot that is superceded by a prior better check. (check-in: [00693682d8] user: drh branch: trunk, size: 324405) | |
2015-05-28
| ||
15:14 | [a1f5104920] part of check-in [7da7dc714b] Added comments and testcase() macros to error cases in the btree search. (check-in: [7da7dc714b] user: drh branch: trunk, size: 324492) | |
11:23 | [f34b936893] part of check-in [60a09f17d8] Earlier detection of incompatible sibling pages in balance_nonroot. (check-in: [60a09f17d8] user: drh branch: trunk, size: 324198) | |
03:28 | [7cd71f5579] part of check-in [fe15d1f703] Add the btreeGetUnusedPage() routine to btree.c, and use it to detect content pages on the freelist and to cause that condition to trigger an SQLITE_CORRUPT. (check-in: [fe15d1f703] user: drh branch: trunk, size: 323950) | |
2015-05-27
| ||
18:13 | [84b1f0f468] part of check-in [7373a004ed] All bytes of a page are initialized, even bytes that follow a 2-byte cell on a malformed page. (check-in: [7373a004ed] user: drh branch: trunk, size: 323206) | |
15:42 | [de509eeae5] part of check-in [95eaa49f4e] A different approach to preventing buffer overreads when comparing a vector of values with a corrupt index record that spans at least one overflow page. (check-in: [95eaa49f4e] user: drh branch: trunk, size: 323205) | |
14:21 | [9c72a5a277] part of check-in [7e9e1b6123] A different approach to preventing buffer overreads when comparing a vector of values with a corrupt index record that spans at least one overflow page. (check-in: [7e9e1b6123] user: dan branch: avoid-buffer-overread, size: 323389) | |
03:46 | [5905cbd143] part of check-in [2ead43f074] Add the "PRAGMA cell_size_check=ON" command. (check-in: [2ead43f074] user: drh branch: cell-size-check-pragma, size: 322799) | |
2015-05-26
| ||
20:31 | [51cafeb181] part of check-in [62a5b3633a] Avoid a buffer overread when comparing against a corrupt record that spans at least one overflow page. (check-in: [62a5b3633a] user: dan branch: trunk, size: 323254) | |
17:33 | [82bb9ad936] part of check-in [5b46d2a78a] Add a cast to one side of the test added by [97806a78] in order to avoid a signed/unsigned comparison warning. (check-in: [5b46d2a78a] user: dan branch: trunk, size: 322983) | |
12:18 | [8921e4d70b] part of check-in [68876003f9] Return SQLITE_CORRUPT to the user if an attempt is made to add database page 1 to the free page list. (check-in: [68876003f9] user: dan branch: trunk, size: 322978) | |
2015-05-25
| ||
20:04 | [a7d627f89e] part of check-in [7d2c4f7b66] Fix a case of a corrupt database causing SQLite to read from up to 4 bytes before the start of a memory allocation. (check-in: [7d2c4f7b66] user: dan branch: trunk, size: 322920) | |
19:24 | [a5beb7f19f] part of check-in [aa18c8e9d1] Have the b-tree layer return SQLITE_CORRUPT to any attempt to open a cursor with a root page number less than 1. (check-in: [aa18c8e9d1] user: dan branch: trunk, size: 322859) | |
18:47 | [91a435b34d] part of check-in [8fa0937a2f] Fix a couple of btree asserts that would fail when encountering 32-bit rollover in cell payload size fields (cell payloads this large always indicate corruption). (check-in: [8fa0937a2f] user: dan branch: trunk, size: 322792) | |
17:07 | [0305353341] part of check-in [97806a7814] Fix a case where database corruption may cause SQLite to write past the end of a buffer. (check-in: [97806a7814] user: dan branch: trunk, size: 322723) | |
15:03 | [9114263de9] part of check-in [00a473c561] Fix an assert() in btree routine freeSpace() that may be false if the database is corrupt. (check-in: [00a473c561] user: dan branch: trunk, size: 322693) | |
2015-05-24
| ||
21:46 | [148cbc4387] part of check-in [336fccc84c] The assert() changes removed in the previous check-in are needed after all. (check-in: [336fccc84c] user: drh branch: trunk, size: 322679) | |
21:09 | [17776a0c3a] part of check-in [bf7bb53ee2] Better detection of corruption in allocateSpace() in btree.c. (check-in: [bf7bb53ee2] user: drh branch: trunk, size: 322614) | |
10:18 | [c222cc2b5a] part of check-in [4f0bba42f9] Detect database corruption in the modifyPagePointer() routine and abort. (check-in: [4f0bba42f9] user: drh branch: trunk, size: 322642) | |
2015-05-23
| ||
19:53 | [3cf8dde013] part of check-in [7bbf9b3cd6] Instead of early detection of corruption in balance_nonroot, simply ignore the error, as it is harmless and exceedingly uncommon. (check-in: [7bbf9b3cd6] user: drh branch: trunk, size: 322601) | |
19:29 | [c40b848352] part of check-in [ee6dc9913a] Earlier detection of a specific kind of corruption in the balance_nonroot() routine. (check-in: [ee6dc9913a] user: drh branch: trunk, size: 322674) | |
2015-05-22
| ||
23:39 | [d2bf38cf25] part of check-in [89f0bbfde4] Fix another bad assert() in btree - one that can be false on a corrupt database file. (check-in: [89f0bbfde4] user: drh branch: trunk, size: 322573) | |
13:09 | [0eb4eb39e7] part of check-in [799817bfb2] Fix two faulty assert statements discovered by fuzzing. (check-in: [799817bfb2] user: drh branch: trunk, size: 322508) | |
12:37 | [dbc8f92072] part of check-in [a6eb2a3935] Fix an assert in btree.c that can be false when using a corrupted database file. (check-in: [a6eb2a3935] user: drh branch: trunk, size: 322462) | |
2015-05-21
| ||
17:21 | [3baad8da3d] part of check-in [31b13eb528] Avoid ever writing before the start of an allocated buffer in the DIRECT_OVERFLOW_READ code. Fix for [e3a290961a6]. Cherrypick of [c3c15d20c691]. (check-in: [31b13eb528] user: dan branch: branch-3.8.6, size: 293946) | |
2015-05-05
| ||
10:03 | [30a8034048] part of check-in [90b197489a] Fix a faulty assert() in the btree part of the "PRAGMA page_size = ?" code. (check-in: [90b197489a] user: dan branch: trunk, size: 322420) | |
2015-05-02
| ||
11:45 | [9c1a6b3aaf] part of check-in [7952c32268] Cleanup of the sqlite3StrAccumInit() function. No functionality changes. (check-in: [7952c32268] user: drh branch: trunk, size: 322436) | |
2015-04-28
| ||
01:28 | [809cdb06a5] part of check-in [60174cf572] Fix comment typos. No code changes. (check-in: [60174cf572] user: drh branch: trunk, size: 322464) | |
2015-04-20
| ||
01:25 | [d061b108be] part of check-in [74b7bf1744] Merge all recent trunk enhancements and fixes into the apple-osx branch. (check-in: [74b7bf1744] user: drh branch: apple-osx, size: 323592) | |
2015-04-16
| ||
21:57 | [127aceb71b] part of check-in [e94b2ef224] Use a heap rather than a bitmap for cell coverage and overlap testing on btree pages in PRAGMA integrity_check. (check-in: [e94b2ef224] user: drh branch: trunk, size: 322461) | |
11:56 | [c0e7a97c11] part of check-in [5619c959bf] Use a heap instead of a bitmap for cell overlap and coverage testing of btree pages in PRAGMA integrity_check. (check-in: [5619c959bf] user: drh branch: integrity-check-heap, size: 322448) | |
2015-04-15
| ||
19:13 | [485e357f24] part of check-in [a200e1eae9] Add the BtCursor.pPage field which is the current page to which the cursor points, for a very small performance gain. (check-in: [a200e1eae9] user: drh branch: btree-current-page-cache, size: 321559) | |
17:26 | [c6e32d8444] part of check-in [f71053cf65] Prevent the fetchPayload() routine from reporting a cell size that extends off the end of the page on a pathologically corrupted database file. (check-in: [f71053cf65] user: drh branch: trunk, size: 320661) | |
2015-04-13
| ||
23:11 | [66bb78f5a2] part of check-in [e709d3b4e7] Merge all recent trunk enhances into the apple-osx branch. (check-in: [e709d3b4e7] user: drh branch: apple-osx, size: 321505) | |
14:44 | [67648f6532] part of check-in [d06669d968] Remove a faulty assert() from the btree balancing logic. (check-in: [d06669d968] user: drh branch: trunk, size: 320374) | |
2015-04-06
| ||
22:05 | [02064f49cd] part of check-in [e5f5ef008d] Detect and suppress an endless loops in clearDatabasePage() that might result from a corrupt database file. This is an edited cherry-pick from [30011ad2f55c] and [395bb3e677a]. (check-in: [e5f5ef008d] user: drh branch: apple-osx-385, size: 294908) | |
2015-04-01
| ||
16:13 | [a6b1c0efbd] part of check-in [71b6f507f1] Merge all recent trunk fixes and enhancements into the apple-osx branch. (check-in: [71b6f507f1] user: drh branch: apple-osx, size: 321531) | |
13:21 | [2caf598165] part of check-in [30011ad2f5] Improved detection and suppression of endless loops in clearDatabasePage(). (check-in: [30011ad2f5] user: drh branch: trunk, size: 320400) | |
2015-03-31
| ||
16:33 | [525f19f01d] part of check-in [586a94e85b] Handle very large URI pathnames for in-memory shared-cache databases. (check-in: [586a94e85b] user: drh branch: trunk, size: 320386) | |
2015-03-30
| ||
23:52 | [24cc28c8a1] part of check-in [4d42bf5e18] Merge the latest trunk enhancements, and especially the fix for the infinite loop on a DROP TABLE in a corrupt database, into the apple-osx branch. (check-in: [4d42bf5e18] user: drh branch: apple-osx, size: 321468) | |
23:43 | [e565971caa] part of check-in [395bb3e677] Prevent a possible infinite loop when trying to DROP a table from a corrupt database. (check-in: [395bb3e677] user: drh branch: trunk, size: 320337) | |
19:56 | [d90cda662b] part of check-in [763d2bc74b] 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: [763d2bc74b] user: dan branch: mistake, size: 320236) | |
2015-03-25
| ||
18:29 | [4f305e554d] part of check-in [fb076b28c3] Change an unreachable branch into an assert(). (check-in: [fb076b28c3] user: drh branch: trunk, size: 320224) | |
17:35 | [933ab4ad88] part of check-in [37866b4d48] Fix the saveCursorPosition() routine in btree.c so that it works correctly for a eState=CURSOR_SKIPNEXT cursor. (check-in: [37866b4d48] user: drh branch: trunk, size: 320212) | |
13:06 | [3634c2ee74] part of check-in [1e96520ac1] Reactivate an older assert() (adding an "|| CORRUPT_DB" term) and add a new assert() in btree.c. (check-in: [1e96520ac1] user: drh branch: trunk, size: 319975) | |
12:05 | [8d92800add] part of check-in [42d1793d65] Add two new assert()s to the sqlite3BtreeDataSize() method. (check-in: [42d1793d65] user: drh branch: trunk, size: 320181) | |
2015-03-24
| ||
18:49 | [13590ad357] part of check-in [a2bd81e575] Merge the latest trunk enhancements into the apple-osx branch. (check-in: [a2bd81e575] user: drh branch: apple-osx, size: 321240) | |
2015-03-23
| ||
19:03 | [3e320cac83] part of check-in [ff4812d0e8] Fix datetype size asserts in btree.c. (check-in: [ff4812d0e8] user: drh branch: trunk, size: 320109) | |
2015-03-21
| ||
17:00 | [22086fbd68] part of check-in [9f1f8b331e] Merge all recent trunk enhancements and especially the blocking WAL-lock fix into the apple-osx branch. (check-in: [9f1f8b331e] user: drh branch: apple-osx, size: 321276) | |
2015-03-20
| ||
14:57 | [d4d52fb14e] part of check-in [e750830f1e] Provide the BTREE_SEEK_EQ hint to the b-tree layer. (check-in: [e750830f1e] user: drh branch: seek-eq, size: 320145) | |
2015-02-21
| ||
01:03 | [7f5174c074] part of check-in [3896e23373] Merge trunk changes into the apple-osx branch. (check-in: [3896e23373] user: drh branch: apple-osx, size: 321019) | |
00:19 | [a31ac00e30] part of check-in [28c2b72628] Keep track of the optimal number of reserved bytes (by looking at reserve byte requests in calls to sqlite3BtreeSetPageSize()) and then change the reserve byte count to the optimal when doing a VACUUM or when using the backup API. (check-in: [28c2b72628] user: drh branch: trunk, size: 319888) | |
2015-02-06
| ||
16:03 | [11945da2e5] part of check-in [44711921fe] Merge all recent trunk enhancements into the apple-osx branch. (check-in: [44711921fe] user: drh branch: apple-osx, size: 320905) | |
2015-01-30
| ||
21:00 | [ddca0ae681] part of check-in [3ed6eb2fab] Merge the SQLITE_TESTCTRL_IMPOSTER changes from trunk. (check-in: [3ed6eb2fab] user: drh branch: ota-update, size: 319817) | |
20:59 | [2a1245df03] part of check-in [42d5601739] Change SQLITE_TESTCTRL_INITMODE to SQLITE_TESTCTRL_IMPOSTER. Revise the order of parameters. Give it the ability to reset the schema parse table so that imposter tables can be erased. (check-in: [42d5601739] user: drh branch: trunk, size: 319774) | |
2015-01-28
| ||
12:00 | [73cfa17521] part of check-in [17c69be805] Merge in all changes from trunk. (check-in: [17c69be805] user: drh branch: ota-update, size: 319585) | |
2015-01-02
| ||
19:17 | [2dfa99acdb] part of check-in [df3cdf9f06] Merge the latest changes from trunk into the apple-osx branch. (check-in: [df3cdf9f06] user: drh branch: apple-osx, size: 320673) | |
2014-12-30
| ||
00:57 | [4c098bb6e8] part of check-in [b28ce75f2d] Round all object sizes that go into computing SQLITE_CONFIG_PCACHE_HDRSZ up to a multiple of 8 bytes. (check-in: [b28ce75f2d] user: drh branch: trunk, size: 319542) | |
2014-12-24
| ||
18:11 | [904d304786] part of check-in [e2e323145f] Fix a failing assert() in balance_nonroot(). (check-in: [e2e323145f] user: dan branch: trunk, size: 319534) | |
2014-12-22
| ||
18:41 | [1de0560426] part of check-in [7a97826f33] Redefine the way PRAGMA data_version works: It continues to change when any other connection commits, including shared-cache connections, but does not change if the local connection commits. (check-in: [7a97826f33] user: drh branch: trunk, size: 319530) | |
2014-12-19
| ||
19:28 | [b2b2bd0aa0] part of check-in [43db1f44bc] Experimental "PRAGMA data_version" command for detecting when another process has changed the database file. (check-in: [43db1f44bc] user: drh branch: data_version_pragma, size: 319443) | |
2014-12-16
| ||
00:29 | [ecb0416688] part of check-in [2c1d8ddab2] Merge latest fixes and enhancements from trunk into apple-osx. (check-in: [2c1d8ddab2] user: drh branch: apple-osx, size: 320063) | |
00:08 | [92f745ccd1] part of check-in [5b1b697040] Make sure the sqlite3BtreeCount() routine does not leave index cursors in an inconsistent state, as doing so might result in an assertion fault inside of sqlite3BtreeKey() called from saveAllCursors() if content is deleted out from under the statement that issued the sqlite3BtreeCount() call. (check-in: [5b1b697040] user: drh branch: trunk, size: 318932) | |
2014-12-11
| ||
16:38 | [ab4b60fcf9] part of check-in [fc157dd7f1] Fix a race condition to do with very large index keys in shared-cache mode. (check-in: [fc157dd7f1] user: dan branch: trunk, size: 318925) | |
2014-12-09
| ||
15:01 | [e8325955bd] part of check-in [6e2da589ad] Increase the default PMA size from 10 to 250 pages and provide the SQLITE_SORTER_PMASZ compile-time option to change this default. Add needed mutex call when clearing the KeyInfo cache in shared-cache mode. (check-in: [6e2da589ad] user: drh branch: apple-osx, size: 320043) | |
04:26 | [ea6692ce58] part of check-in [e97b7a8b4d] Fix harmless compiler warning. (check-in: [e97b7a8b4d] user: mistachkin branch: trunk, size: 318912) | |
2014-12-08
| ||
07:50 | [7071995e9a] part of check-in [69a312ad3f] Update this branch with latest trunk changes. (check-in: [69a312ad3f] user: dan branch: ota-update, size: 318950) | |
2014-12-06
| ||
14:56 | [9023963463] part of check-in [6aeece19a2] Avoid accessing a single uninitialized byte when moving a rare 3-byte cell from an internal page to a leaf. This was not actually causing a problem, just a valgrind warning. (check-in: [6aeece19a2] user: dan branch: trunk, size: 318907) | |
02:05 | [b175716702] part of check-in [dd1dd4451f] Fix a (harmless) uninitialized variable reference in b-tree balancing for auto-vacuumed tables with overflow pages. (check-in: [dd1dd4451f] user: drh branch: trunk, size: 318713) | |
2014-12-02
| ||
16:38 | [da9a40fdf9] part of check-in [43c4ba26a2] Merge all recent enhancements and bug fixes from trunk into the apple-osx branch. (check-in: [43c4ba26a2] user: drh branch: apple-osx, size: 319803) | |
16:16 | [44b58cd798] part of check-in [61b31e7714] Convert two unreachable branches into assert() statements. (check-in: [61b31e7714] user: drh branch: trunk, size: 318672) | |
2014-11-27
| ||
03:46 | [c82a514c06] part of check-in [f242394e07] Fix a problem in the new b-tree balancer that was causing corruption of the fragmentation count. (check-in: [f242394e07] user: drh branch: trunk, size: 318654) | |
2014-11-21
| ||
14:37 | [1ab82a27ed] part of check-in [7ef44c5b5b] Merge latest trunk changes with this branch. (check-in: [7ef44c5b5b] user: dan branch: ota-update, size: 318241) | |
2014-11-20
| ||
15:30 | [4db5e06ca2] part of check-in [ef9fbc08b0] Ensure that when the number of cells on a page drops to zero that the freelist and fragment counter are both cleared. Also add evidence marks corresponding to file-format documentation. (check-in: [ef9fbc08b0] user: drh branch: trunk, size: 318198) | |
2014-11-19
| ||
16:36 | [d0a7cfc878] part of check-in [6d00bcca6e] Add new requirements marks associated with the file format documentation. No changes to code. (check-in: [6d00bcca6e] user: drh branch: trunk, size: 314586) | |
2014-11-18
| ||
21:27 | [6d877cd224] part of check-in [ccb601f6df] Merge recent trunk enhancements. (check-in: [ccb601f6df] user: drh branch: apple-osx, size: 312637) | |
20:49 | [b562da29eb] part of check-in [296b0c7397] Merge in all the other ROLLBACK fixes from the branch-3.8.7 branch. I don't know why I was doing them one-by-one. (check-in: [296b0c7397] user: drh branch: trunk, size: 311506) | |
20:22 | [75edb585cc] part of check-in [2896f2640a] Fix a bug in the sqlite3TripAllCursors() routine that prevents it from reporting errors. It is unknown at this time whether or not this omission can result in any incorrect result in an actual query. (check-in: [2896f2640a] user: drh branch: trunk, size: 311607) | |
2014-11-17
| ||
20:33 | [c961588f01] part of check-in [57c4aa988c] Remove code from sqlite3BtreeKeySize() made unreachable by the previous check-in. (check-in: [57c4aa988c] user: drh branch: branch-3.8.7, size: 301105) | |
15:32 | [2087125172] part of check-in [42588207ff] Fix a bug in the sqlite3TripAllCursors() routine that prevents it from reporting errors. It is unknown at this time whether or not this omission can result in any incorrect result in an actual query. (check-in: [42588207ff] user: drh branch: branch-3.8.7, size: 301206) | |
2014-11-13
| ||
13:42 | [2c15850c5c] part of check-in [402780a9c8] 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: [402780a9c8] user: drh branch: branch-3.8.7, size: 301210) | |
2014-11-12
| ||
14:56 | [d5d991b518] part of check-in [dd03a2802f] When a transaction or savepoint rollback occurs, save the positions of all open read-cursors so that they can be restored following the rollback operation. (check-in: [dd03a2802f] user: dan branch: trunk, size: 311611) | |
2014-11-11
| ||
22:55 | [944b84f72f] part of check-in [d4b2d5d066] 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: [d4b2d5d066] user: drh branch: branch-3.8.7, size: 300288) | |
01:33 | [eaef0003bb] part of check-in [fa6e6a9ae2] Experimental changes that permit read operations to continue after a ROLLBACK, as long as the schema is unchanged. (check-in: [fa6e6a9ae2] user: drh branch: read-after-rollback, size: 310689) | |
2014-11-05
| ||
21:21 | [4a126e2066] part of check-in [83a1e5db92] Fix harmless compiler warnings in the new balance_nonroot() routine. (check-in: [83a1e5db92] user: drh branch: trunk, size: 310184) | |
2014-11-04
| ||
14:22 | [11d1262110] part of check-in [391c9b85ab] Change the definition of SQLITE_CONFIG_SCRATCH so that at most one scratch buffer is used per thread. Use the generic heap memory allocator for the WalIterator object when running a checkpoint. (check-in: [391c9b85ab] user: drh branch: trunk, size: 310034) | |
13:41 | [5b6e02a2cb] part of check-in [681031a436] Improved documentation and addition of source-code evidence marks for the sqlite3_config() interface. (check-in: [681031a436] user: drh branch: trunk, size: 310179) | |
12:11 | [3cc918768d] part of check-in [6eb03e62a3] Add the SQLITE_CONFIG_PCACHE_HDRSZ option for sqlite3_config(). (check-in: [6eb03e62a3] user: drh branch: trunk, size: 309920) | |
2014-10-31
| ||
15:20 | [eeebb8175d] part of check-in [fef8430f12] Merge all recent trunk enhancements into the apple-osx branch. (check-in: [fef8430f12] user: drh branch: apple-osx, size: 310916) | |
14:26 | [61d96c2eda] part of check-in [a07078b600] Simplify the logic in the cell redistribution loop of balance_nonroot(). Enhance and clarify comments and add assert() statements for additional verification of correctness. (check-in: [a07078b600] user: drh branch: trunk, size: 309785) | |
12:22 | [0f294d5e1e] part of check-in [2e838db82e] Simplify the math slightly, and reduce by one the number of loop iterations, for the loop in balance_nonroot() that moves cells between pages. (check-in: [2e838db82e] user: drh branch: trunk, size: 308957) | |
02:51 | [7031b8cec2] part of check-in [9fc7c88e3f] Remove an unnecessary branch from balance_nonroot(). (check-in: [9fc7c88e3f] user: drh branch: trunk, size: 308859) | |
00:05 | [88c87803b3] part of check-in [69c3924fe8] In the balance_nonroot() routine, protect the values in aPgno[] array from change during the page sort, so that aPgno[] can be used to avoid unnecessary pointer-map updates for auto_vacuum databases. (check-in: [69c3924fe8] user: drh branch: trunk, size: 308823) | |
2014-10-30
| ||
23:14 | [8f7ea96935] part of check-in [67adb44838] Improvements to the wording of some comments. Reinstate an assert() that is only true for non-corrupt database files by adding an "|| CORRUPT_DB" term. (check-in: [67adb44838] user: drh branch: trunk, size: 308721) | |
20:48 | [8d955d8ef1] part of check-in [c7d9aa3a1c] Tweaks to comments in btree.c. Minor code changes to enhance testability. (check-in: [c7d9aa3a1c] user: drh branch: trunk, size: 308782) | |
2014-10-28
| ||
00:56 | [5189881ca4] part of check-in [30f86eb3f9] Correct the documentation on the maximum size of a scratch allocation. (check-in: [30f86eb3f9] user: drh branch: trunk, size: 308873) | |
2014-10-27
| ||
19:42 | [0e3262c36b] part of check-in [d33a1ff3aa] Fix harmless compiler warning in an assert statement. (check-in: [d33a1ff3aa] user: mistachkin branch: trunk, size: 308813) | |
18:42 | [ef97f308df] part of check-in [10aaf3b148] Merge latest enhancements, including the SQLITE_ENABLE_API_ARMOR patch, from trunk. (check-in: [10aaf3b148] user: drh branch: apple-osx, size: 309937) | |
18:21 | [812c03daa8] part of check-in [637246165a] Fix an unused variable in btree.c:allocateSpace(). (check-in: [637246165a] user: drh branch: trunk, size: 308806) | |
08:02 | [9790fb4df5] part of check-in [1f80f8c136] If a free-slot is found within a page, but using that free-slot would fragment the page further and there are already at least 60 fragmented bytes, degragment the page. This matches the behaviour of the trunk. (check-in: [1f80f8c136] user: dan branch: defrag-opt, size: 308881) | |
2014-10-25
| ||
20:36 | [2639b89f67] part of check-in [1a8cf0a043] Further modifications to new code to better handle corrupt databases. (check-in: [1a8cf0a043] user: dan branch: defrag-opt, size: 308485) | |
2014-10-24
| ||
20:57 | [4decfb3b97] part of check-in [ecc3544e71] Ensure that the "Any prior cache entry associated with newKey is guaranteed not to be pinned" guarantee made to xRekey implementations is not violated. (check-in: [ecc3544e71] user: dan branch: defrag-opt, size: 307802) | |
18:43 | [df15daf116] part of check-in [19736dd9fb] Fix some issues in the new code on this branch related to the handling of corrupt databases. (check-in: [19736dd9fb] user: dan branch: defrag-opt, size: 307942) | |
16:40 | [56381ce761] part of check-in [eab8706dc4] Fix some minor formatting and code organization issues. (check-in: [eab8706dc4] user: dan branch: defrag-opt, size: 307645) | |
2014-10-22
| ||
18:42 | [37229f3134] part of check-in [854a54c6c2] Merge latest trunk with this branch. (check-in: [854a54c6c2] user: dan branch: defrag-opt, size: 307505) | |
2014-10-20
| ||
16:34 | [c602291831] part of check-in [d380a6482a] Merge version-3.8.7 changes with this branch. (check-in: [d380a6482a] user: dan branch: ota-update, size: 299826) | |
2014-10-17
| ||
12:11 | [ad424e7285] part of check-in [aa7bbed10b] Merge the 3.8.7 changes into the apple-osx branch. (check-in: [aa7bbed10b] user: drh branch: apple-osx, size: 300914) | |
2014-10-15
| ||
11:55 | [1b1123cba0] part of check-in [9386bfca12] Add a four-byte prefix to the BtShared.pTmpSpace buffer to avoid reading before the beginning of an allocation. (check-in: [9386bfca12] user: drh branch: trunk, size: 299783) | |
2014-10-14
| ||
17:27 | [3c72c5aa96] part of check-in [58d7793bd5] Fix some code duplication issues on this branch. Add minor optimizations to the new code. (check-in: [58d7793bd5] user: dan branch: defrag-opt, size: 307165) | |
14:17 | [94ffa3e926] part of check-in [880df7568a] Merge from trunk recent micro-optimizations and the fix for the DESC index GROUP BY ORDER BY bug. (check-in: [880df7568a] user: drh branch: apple-osx, size: 300574) | |
2014-10-13
| ||
18:09 | [3d9d1db1d0] part of check-in [d5b7c5a88d] Merge trunk changes into this branch. (check-in: [d5b7c5a88d] user: dan branch: defrag-opt, size: 307531) | |
18:03 | [63211ca1d4] part of check-in [6594f9b420] Further work on balance_nonroot(). (check-in: [6594f9b420] user: dan branch: defrag-opt, size: 307648) | |
16:02 | [c9fcae8145] part of check-in [c2799aece1] Reduce the CPU load imposed by sqlit3VdbeCursorMoveto() by factoring out some of its functions and by avoiding unnecessary calls. (check-in: [c2799aece1] user: drh branch: trunk, size: 299443) | |
2014-10-11
| ||
20:00 | [d5f4f74e30] part of check-in [fec849dcca] Attempt to further reduce memcpy() in balance_nonroot(). (check-in: [fec849dcca] user: dan branch: defrag-opt, size: 305666) | |
17:22 | [5c0b78c49d] part of check-in [66de15580d] Simplification to the insertCell() routine in btree.c, resulting in a performance boost and a very small size decrease. It turns out that the extra work involved in sometimes avoiding an memcpy() of the first four bytes of a record takes more time than just unconditionally copying those four bytes. (check-in: [66de15580d] user: drh branch: trunk, size: 299451) | |
2014-10-09
| ||
19:35 | [7b89fde3bf] part of check-in [29304499ea] Change the balance_nonroot() routine to reduce the amount of memcpy work that takes place. This is a work in progress. (check-in: [29304499ea] user: dan branch: defrag-opt, size: 301227) | |
11:27 | [5c97b88747] part of check-in [6fc7207727] Merge the latest trunk enhancements into the apple-osx branch. (check-in: [6fc7207727] user: drh branch: apple-osx, size: 300912) | |
2014-10-01
| ||
12:01 | [fa00618117] part of check-in [c3c15d20c6] Avoid ever writing before the start of an allocated buffer in the DIRECT_OVERFLOW_READ code. Fix for [e3a290961a6]. (check-in: [c3c15d20c6] user: dan branch: trunk, size: 299781) | |
01:46 | [fe089e57e1] part of check-in [2078454ac9] Merge the latest enhancements from trunk. (check-in: [2078454ac9] user: drh branch: apple-osx, size: 300638) | |
2014-09-29
| ||
15:00 | [ede8348a7d] part of check-in [414f0d6a64] Ensure that the OP_Prev opcode verifies that content has not been deleted out from under the cursor. Fix for ticket [209d31e3161b9e9ff]. (check-in: [414f0d6a64] user: drh branch: trunk, size: 299507) | |
2014-09-27
| ||
05:00 | [95a942a6eb] part of check-in [3edab9957c] Reduce the amount of memcpy() required by defragmentPage(). (check-in: [3edab9957c] user: drh branch: defrag-opt, size: 299704) | |
2014-09-26
| ||
02:41 | [59f03e421d] part of check-in [8391351583] Fix the "PRAGMA integrity_check" command so that it avoids formatting error message context messages until it actually needs to generate an error message. This avoids much formatting, and hence greatly improves the performance of "PRAGMA integrity_check" in the common case when there are no errors. It also makes the code a little smaller. (check-in: [8391351583] user: drh branch: trunk, size: 299560) | |
2014-09-24
| ||
19:47 | [4d5cdfeaea] part of check-in [99323552c0] 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: [99323552c0] user: drh branch: trunk, size: 299588) | |
18:31 | [ee77b1d3a3] part of check-in [13c746f85d] Small performance and size optimization for btreeUnlockIfUnused(). (check-in: [13c746f85d] user: drh branch: trunk, size: 299540) | |
04:38 | [f1b4d64c99] part of check-in [c705cf856d] Experiment using linear interpolation, instead of a strict binary search, when looking for integer-keyed rows on a single b-tree page. The experiment was not successful. The number of key comparisons is reduced by about 15%, but the added complexity of the search logic causes an overall reduction in performance. The patch is saved for historical reference only. (check-in: [c705cf856d] user: drh branch: linear-interpolation, size: 300038) | |
02:05 | [183d62b373] part of check-in [f21d217583] Have the clearCell() routine return the cell size to the caller, rather than have the caller make a separate call to cellSizePtr(). (check-in: [f21d217583] user: drh branch: trunk, size: 299549) | |
01:23 | [3732a278d8] part of check-in [5dd41cdbfe] Shorten all lines of source code in btree.c to at most 80 characters. No logical changes. (check-in: [5dd41cdbfe] user: drh branch: trunk, size: 299209) | |
00:59 | [d64b3c5569] part of check-in [8e3375313e] Add the MemPage.noPayload boolean and use it to help cellSizePtr() and btreeParseCellPtr() run faster. (check-in: [8e3375313e] user: drh branch: trunk, size: 299211) | |
2014-09-23
| ||
23:12 | [b10d4c349e] part of check-in [f480582cca] Remove an unused C-preprocessor macro. No functional changes to the code. (check-in: [f480582cca] user: drh branch: trunk, size: 298685) | |
22:36 | [11cf36074a] part of check-in [4147f6671e] Avoid calling btreeParseCellPtr() from within fillInCell() since most of what btreeParseCellPtr() computes is ignored by fillInCell(). Instead, have fillInCell() compute the values it needs inline. Performance improvement. (check-in: [4147f6671e] user: drh branch: trunk, size: 298905) | |
21:25 | [2a7c67d474] part of check-in [bf59df66b3] Simplify the CellInfo structure for a size reduction and performance improvement. (check-in: [bf59df66b3] user: drh branch: trunk, size: 297757) | |
2014-09-22
| ||
20:38 | [c2645014c5] part of check-in [7609744014] Fix to payload size overflow detection in the cellSizePtr() change of the previous check-in. (check-in: [7609744014] user: drh branch: trunk, size: 297942) | |
19:51 | [86cc6efed0] part of check-in [bc8bbf3207] Size reduction and substantial performance increase for cellSizePtr(). (check-in: [bc8bbf3207] user: drh branch: trunk, size: 297947) | |
2014-09-21
| ||
23:08 | [16c922112e] part of check-in [3967ebe83e] Merge in all recent changes from trunk. (check-in: [3967ebe83e] user: drh branch: apple-osx, size: 298930) | |
2014-09-18
| ||
11:31 | [be6c5e1170] part of check-in [67ea2979d5] Merge latest trunk changes with this branch. (check-in: [67ea2979d5] user: dan branch: ota-update, size: 297842) | |
2014-09-16
| ||
14:37 | [6aa61c0e3d] part of check-in [8239c35aed] Reduce the number of arguments to RecordCompare functions from 4 to 3, resulting in a small performance increase. (check-in: [8239c35aed] user: drh branch: micro-optimizations, size: 297799) | |
2014-09-15
| ||
15:34 | [3957262c61] part of check-in [55b8011d5b] Merge latest trunk changes with this branch. (check-in: [55b8011d5b] user: dan branch: ota-update, size: 297851) | |
2014-09-09
| ||
17:27 | [e4916b441b] part of check-in [94954850cf] Add new APIs that take 64-bit length parameters: sqlite3_malloc64(), sqlite3_realloc64(), sqlite3_bind_blob64(), sqlite3_bind_texte64(), sqlite3_result_blob64(), and sqlite3_result_texte64(). Internal memory allocation routines also now use 64-bit unsigned length parameters for safety. Also add the sqlite3_msize() interface. Fix the sqlite3_get_table() to use sqlite3_realloc64() to avoid a integer overflow problem. (check-in: [94954850cf] user: drh branch: 64-bit-lengths, size: 297808) | |
2014-09-06
| ||
16:39 | [b1c1cd1cc3] part of check-in [e62aab5e92] Fix typos in comments. No code changes. (check-in: [e62aab5e92] user: peter.d.reid branch: trunk, size: 297813) | |
2014-09-03
| ||
19:30 | [9cb1989073] part of check-in [209f672e58] Split part of "PRAGMA ota_mode" off into "PRAGMA pager_ota_mode". This allows some specialized custom VFS implementations to intercept and implement the expected pager-related effects of this pragma. (check-in: [209f672e58] user: dan branch: ota-update, size: 297854) | |
2014-09-02
| ||
19:59 | [c46043fbb0] part of check-in [2954ab5010] Add an experimental extension for applying bulk updates to databases. (check-in: [2954ab5010] user: dan branch: ota-update, size: 297893) | |
15:57 | [1e5bb10be0] part of check-in [696dc935f7] Merge the latest trunk changes into the apple-osx branch. (check-in: [696dc935f7] user: drh branch: apple-osx, size: 298942) | |
2014-09-01
| ||
17:36 | [2a483a8045] part of check-in [b1c0f0bc1b] Add support for using separate worker threads to speed large sorts. The SQLITE_MAX_WORKER_THREADS and SQLITE_DEFAULT_WORKER_THREADS compile-time options and the SQLITE_LIMIT_WORKER_THREADS argument to sqlite3_limit() and the "PRAGMA threads=N" pragma are added. (check-in: [b1c0f0bc1b] user: drh branch: trunk, size: 297811) | |
13:29 | [4d0427bab5] part of check-in [839c7996ee] Micro-optimizations in sqlite3BtreeNext() and sqlite3BtreePrevious(). (check-in: [839c7996ee] user: drh branch: trunk, size: 297702) | |
2014-08-26
| ||
02:02 | [85855eafcb] part of check-in [5c27311105] Merge recent performance enhancements and the CAST operator enhancements into the apple-osx branch. (check-in: [5c27311105] user: drh branch: apple-osx, size: 297256) | |
2014-08-25
| ||
13:27 | [a10ceaccf0] part of check-in [dfdc900f5d] Merge the recent performance enhancements implemented on trunk into the threads branch. (check-in: [dfdc900f5d] user: drh branch: threads, size: 296234) | |
2014-08-23
| ||
19:08 | [4737cb5bdb] part of check-in [45abd5c0ba] Fix a variable-declaration after code problem in btree.c. Harmless in GCC and CLANG but unacceptable for MSVC. (check-in: [45abd5c0ba] user: drh branch: trunk, size: 296125) | |
2014-08-22
| ||
23:33 | [c4b4e1c952] part of check-in [ce123b5c59] Another performance tweak: Split the sqlite3BtreeCursorHasMoved() routine into two with the second routine named sqlite3BtreeCursorRestore(). The first now only reports whether or not the cursor has moved and the second tries to restore the cursor. This allows the sqlite3VdbeCursorMoveto() routine to be refactored to avoid stack pointer movements, for a noticable performance gain. (check-in: [ce123b5c59] user: drh branch: trunk, size: 296125) | |
22:26 | [776885dfef] part of check-in [3eb0843903] Factor the saveAllCursors() routine of btree.c into two separate routines, for a noticable performance improvement. (check-in: [3eb0843903] user: drh branch: trunk, size: 295662) | |
2014-08-20
| ||
18:43 | [4195fed574] part of check-in [49f44d355f] A small performance improvement in freeSpace() by special-casing the relatively common case of an empty freelist. (check-in: [49f44d355f] user: drh branch: trunk, size: 294445) | |
17:56 | [fe2d11c8c0] part of check-in [fe4fd014b4] Reimplement the freeSpace() routine in btree.c so that it runs faster. (check-in: [fe4fd014b4] user: drh branch: trunk, size: 294210) | |
14:37 | [c1235eacb8] part of check-in [7e63089a19] Refactor local variable names in the freeSpace() routine of btree.c for improved understandability. (check-in: [7e63089a19] user: drh branch: trunk, size: 294104) | |
13:17 | [53eb576f72] part of check-in [fe51d3aa0c] Change an assert() added by the previous commit into a testcase(). Fix a separate assert() in btree.c:freeSpace(). (check-in: [fe51d3aa0c] user: drh branch: btree-speedup, size: 293630) | |
11:56 | [398ecbdb4a] part of check-in [1cb1cd6493] Further size reduction and performance improvement in btree.c:allocateSpace(). (check-in: [1cb1cd6493] user: drh branch: btree-speedup, size: 293627) | |
00:54 | [c580f3fb3b] part of check-in [73637d12e3] Minor performance improvement and size reduction for the btree-page space allocator. (check-in: [73637d12e3] user: drh branch: trunk, size: 293649) | |
2014-08-15
| ||
22:37 | [48dad2fb0e] part of check-in [c8ade949d4] Aborted merge. (check-in: [c8ade949d4] user: numist branch: obsolete, size: 295920) | |
16:10 | [7d780ca121] part of check-in [b91fcb3b1b] Merge the 3.8.6 changes into the apple-osx branch. (check-in: [b91fcb3b1b] user: drh branch: apple-osx, size: 294805) | |
15:46 | [691d09b5d2] part of check-in [05807c4122] Merge the 3.8.6 release into the threads branch. (check-in: [05807c4122] user: drh branch: threads, size: 293783) | |
2014-08-14
| ||
19:53 | [fa057e3079] part of check-in [3f45b8192d] Fix an assert that can fail if the database file is corrupted. (check-in: [3f45b8192d] user: dan branch: trunk, size: 293674) | |
2014-08-06
| ||
02:03 | [f3d64fe70d] part of check-in [a353a8515f] Merge all recent changes from trunk. (check-in: [a353a8515f] user: drh branch: threads, size: 293759) | |
01:51 | [cc753a6219] part of check-in [b2e01080cc] Merge 3.8.6 beta changes in from trunk. (check-in: [b2e01080cc] user: drh branch: apple-osx, size: 294781) | |
2014-08-05
| ||
11:04 | [99d162e57a] part of check-in [5ae80b3c8f] Rename the internal Schema.flags field to Schema.schemaFlags. (check-in: [5ae80b3c8f] user: drh branch: trunk, size: 293650) | |
2014-07-30
| ||
11:49 | [ab2fad23fd] part of check-in [654c6c658b] Merge all recent trunk changes, and especially the R-Tree IN operator fix of ticket [d2889096e7bdeac]. (check-in: [654c6c658b] user: drh branch: apple-osx, size: 294775) | |
2014-07-28
| ||
15:01 | [dff8e77897] part of check-in [163c247bd8] Merge recent trunk changes into the threads branch. (check-in: [163c247bd8] user: drh branch: threads, size: 293753) | |
2014-07-25
| ||
21:35 | [b5531339cd] part of check-in [e0fa6fdc14] Try to fix harmless compiler warnings reported by Fortify. (check-in: [e0fa6fdc14] user: drh branch: trunk, size: 293644) | |
2014-05-29
| ||
20:36 | [c25678d790] part of check-in [b9fad4490c] Merge trunk changes into the apple-osx branch. (check-in: [b9fad4490c] user: drh branch: apple-osx, size: 294780) | |
20:24 | [32b552d538] part of check-in [416cb09126] Merge changes from the trunk into the threads branch. (check-in: [416cb09126] user: drh branch: threads, size: 293758) | |
2014-05-27
| ||
15:21 | [70c60a3807] part of check-in [8bc9737112] Remove unused code (previously #ifdef-ed out) from btree.c. (check-in: [8bc9737112] user: drh branch: trunk, size: 293649) | |
2014-05-26
| ||
20:15 | [34172d28ad] part of check-in [8215202759] Merge recent trunk changes into the threads branch. (check-in: [8215202759] user: drh branch: threads, size: 293909) | |
20:08 | [9656f30cce] part of check-in [54b5fa77e9] Merge recent trunk changes into the apple-osx branch. (check-in: [54b5fa77e9] user: drh branch: apple-osx, size: 294931) | |
2014-05-21
| ||
08:21 | [e29fc07a96] part of check-in [8d8af114da] Fix the sqlite3_db_readonly() API so that it reports true if the database is readonly because the file format write version (byte 18 of the header) is too large. (check-in: [8d8af114da] user: drh branch: trunk, size: 293800) | |
2014-05-19
| ||
15:16 | [6f94e30c50] part of check-in [17349a49d2] 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: [17349a49d2] user: drh branch: safer-malloc, size: 293657) | |
2014-05-08
| ||
23:01 | [12c020dbba] part of check-in [9411d7dc6f] 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: [9411d7dc6f] user: drh branch: apple-osx, size: 294788) | |
2014-05-02
| ||
17:12 | [e14daeed62] part of check-in [e15f47064b] Fix some broken asserts in btree.c and vdbeaux.c that may fail following an OOM error. (check-in: [e15f47064b] user: dan branch: threads, size: 293766) | |
2014-04-24
| ||
13:20 | [7339c511e4] part of check-in [34155c406c] Add sqlite3_log() diagnostic messages for a specific type of corruption where the file size is reported to be too small relative to the size in the header. This branch is intended to help debug a specific problem reported from the wild and is not for general use. (check-in: [34155c406c] user: drh branch: filesize-debug, size: 279054) | |
2014-04-18
| ||
12:38 | [1e8fa0e597] part of check-in [8729aa3e3e] Merge recent trunk changes into the threads branch. (check-in: [8729aa3e3e] user: drh branch: threads, size: 293767) | |
2014-04-01
| ||
10:19 | [0d1be67448] part of check-in [59cd5229e2] Fix a problem with OOM handling in the sorter code. (check-in: [59cd5229e2] user: dan branch: threads, size: 292764) | |
01:24 | [6c9b51abd4] part of check-in [834bf1c367] Remove an unnecessary conditional, replacing it with an assert(). Improvements to comments. (check-in: [834bf1c367] user: drh branch: overflow-pgno-cache, size: 293657) | |
2014-03-31
| ||
23:57 | [b1d6309d66] part of check-in [96385dc460] Fix a compiler warning when SQLITE_DIRECT_OVERFLOW_READ is defined. Minor performance enhancement and size reduction. (check-in: [96385dc460] user: drh branch: overflow-pgno-cache, size: 293332) | |
22:03 | [33338d61b9] part of check-in [f6211540c9] Merge in the latest changes and fixes from trunk. (check-in: [f6211540c9] user: drh branch: overflow-pgno-cache, size: 293208) | |
2014-03-28
| ||
03:12 | [a59a199f21] part of check-in [7fa85eaaaf] Enhance the sqlite3VdbeRecordCompare() routines so that if they encounter database corruption, they will set the UnpackedRecord.isCorrupt field and return 0. The sqlite3BtreeMovetoUnpacked() routine detects this and returns SQLITE_CORRUPT, causing the corruption to be reported back to the top-level. (check-in: [7fa85eaaaf] user: drh branch: trunk, size: 292654) | |
2014-03-25
| ||
11:00 | [8d7e432bdd] part of check-in [e6798871ce] Detect when a VdbeCursor is still pointing at a valid row but that row has moved, and invalidated the return from prior sqlite3BtreeDataFetch() or sqlite3BtreeKeyFetch() calls. (check-in: [e6798871ce] user: drh branch: trunk, size: 292521) | |
2014-03-20
| ||
18:56 | [0384d399cf] part of check-in [d8e1f75ddf] Only use the direct-overflow-read optimization if all data from the overflow page in question is being read. (check-in: [d8e1f75ddf] user: dan branch: overflow-pgno-cache, size: 292251) | |
2014-03-19
| ||
14:10 | [029cec7b98] part of check-in [59742dd4c5] 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: [59742dd4c5] user: drh branch: orderby-planning, size: 292018) | |
2014-03-14
| ||
11:46 | [2a0e73f26c] part of check-in [1277932b7e] Fix a harmless compiler warning that crops up with SQLITE_MAX_MMAP_SIZE=0. (check-in: [1277932b7e] user: drh branch: trunk, size: 291760) | |
2014-03-11
| ||
23:44 | [33b5ad54a1] part of check-in [f500e87d6e] Remove a stray C99-style comment. (check-in: [f500e87d6e] user: drh branch: overflow-pgno-cache, size: 292007) | |
23:40 | [225a3f4d55] part of check-in [968fec44d7] Combine the various boolean fields of the BtCursor object into a single bit-vector. This allows setting or clearing more than one boolean at a time and makes the overflow-pgno-cache branch faster than trunk on speedtest1. (check-in: [968fec44d7] user: drh branch: overflow-pgno-cache, size: 292042) | |
20:33 | [c748d83877] part of check-in [da59198505] Enable the b-tree cursor object's overflow page-number cache, which is normally enabled only for incr-blob cursors, for all cursors. (check-in: [da59198505] user: dan branch: overflow-pgno-cache, size: 291356) | |
2014-03-06
| ||
01:56 | [4d28fb1554] part of check-in [b83cfe899d] Fix some incorrect comments and typos in comments. Add testcase() macros to some of the new record comparison code. (check-in: [b83cfe899d] user: drh branch: trunk, size: 291697) | |
2014-03-04
| ||
16:05 | [ad795be588] part of check-in [2879234b7c] Ensure that BtreeMovetoUnpacked() does not try to invoke xRecordCompare when it is set to NULL. (check-in: [2879234b7c] user: dan branch: trunk, size: 291722) | |
2014-03-03
| ||
21:46 | [7a81c2c6b5] part of check-in [fcf480cc63] Fix a couple of harmless compiler warnings. (check-in: [fcf480cc63] user: drh branch: experimental, size: 291718) | |
2014-03-01
| ||
19:44 | [d288e66861] part of check-in [3861e85310] Remove the vdbeRecordCompareLargeHeader function. Fix some other details. (check-in: [3861e85310] user: dan branch: experimental, size: 291632) | |
2014-02-27
| ||
20:44 | [77f175987c] part of check-in [5708937400] Further changes to sqlite3VdbeRecordCompare(). (check-in: [5708937400] user: dan branch: experimental, size: 291672) | |
2014-02-25
| ||
21:01 | [f4d85c3e2e] part of check-in [85206e0bba] Attempt to speed up sqlite3VdbeRecordCompare() by various means. This code is in an interim state. (check-in: [85206e0bba] user: dan branch: experimental, size: 291626) | |
2014-02-12
| ||
23:52 | [b945df4f01] part of check-in [cc8f10bcb2] Minor simplifications to the "zeroPage()" routine in btree.c. (check-in: [cc8f10bcb2] user: drh branch: trunk, size: 291430) | |
21:31 | [97020a77cb] part of check-in [56bc5ce895] 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: [56bc5ce895] user: drh branch: trunk, size: 291458) | |
2014-02-05
| ||
17:08 | [ae408b77ca] part of check-in [a332908b70] Make the root page of an ephemeral index be page 1 instead of page 2. (check-in: [a332908b70] user: drh branch: subquery-codegen-refactor, size: 292591) | |
2014-02-03
| ||
14:04 | [7b2c3cd16d] part of check-in [6c643e45c2] 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: [6c643e45c2] user: drh branch: trunk, size: 292457) | |
2014-01-28
| ||
00:49 | [c695c10622] part of check-in [a2c347faf9] 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: [a2c347faf9] user: drh branch: branch-3.8.2, size: 293836) | |
2014-01-20
| ||
18:25 | [02e1a4e71d] part of check-in [eba8a564e6] Handle a few obscure problems that could manifest if a database corrupted in a certain way was written by a connection in the middle of a SELECT statement on the same db. (check-in: [eba8a564e6] user: dan branch: trunk, size: 291279) | |
2014-01-14
| ||
20:14 | [c15e172269] part of check-in [a5c2a54a07] Add code to handle recursive CTEs. (check-in: [a5c2a54a07] user: dan branch: common-table-expr, size: 291403) | |
2013-12-13
| ||
19:35 | [11e29ef8cf] part of check-in [e00f37e233] Create and use a new pager interface sqlite3PagerUnrefNotNull() that works just like sqlite3PagerUnref() but guarantees that its argument is not a NULL pointer. (check-in: [e00f37e233] user: drh branch: trunk, size: 291360) | |
2013-12-09
| ||
20:43 | [09285d6ffe] part of check-in [bf97598592] Simplify the sqlite3BtreeKeyFetch() and sqlite3BtreeDataFetch() interfaces to the storage engine. (check-in: [bf97598592] user: drh branch: trunk, size: 291320) | |
19:03 | [44a44aa21e] part of check-in [9227ad48e1] Performance optimizations for sqlite3VXPrintf(). (check-in: [9227ad48e1] user: drh branch: trunk, size: 292038) | |
02:32 | [432c3e22ff] part of check-in [a3d796b167] Use memmove() rather than a home-made copy loop in insertCell() too. (check-in: [a3d796b167] user: drh branch: trunk, size: 292039) | |
01:58 | [ac25a91a1e] part of check-in [78e1706804] Use memmove() rather than a home-made copy loop in dropCell() of btree.c, for a size reduction and performance improvement. (check-in: [78e1706804] user: drh branch: trunk, size: 292316) | |
01:04 | [368d2eaeea] part of check-in [81f5ae13b2] Avoid unnecessary no-op calls from getAndInitPage() to btreeInitPage() in the btree.c logic. (check-in: [81f5ae13b2] user: drh branch: trunk, size: 292507) | |
00:47 | [6a5f69e455] part of check-in [6996fb3444] Use putVarint32() instead of putVarint() for a quantity that can never exceed 2GiB - 1. (check-in: [6996fb3444] user: drh branch: trunk, size: 292483) | |
2013-12-07
| ||
20:39 | [9e6d189894] part of check-in [3a9bec524e] 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: [3a9bec524e] user: drh branch: cursor-hints, size: 293084) | |
2013-12-06
| ||
23:25 | [4037f58ef3] part of check-in [b5842a70f8] Performance optimization to the moveToRoot() subroutine in btree.c. (check-in: [b5842a70f8] user: drh branch: trunk, size: 292481) | |
22:44 | [1c1228bfef] part of check-in [2d62d1131f] Remove some commented-out code from sqlite3BtreeMovetoUnpacked() to try to make it more readable. (check-in: [2d62d1131f] user: drh branch: trunk, size: 292550) | |
2013-11-30
| ||
12:49 | [fe6c95c57f] part of check-in [55ec474db8] Detect a corrupt UnpackedRecord and return SQLITE_CORRUPT prior to calling sqlite3BtreeMovetoUnpacked(). (check-in: [55ec474db8] user: drh branch: trunk, size: 292658) | |
2013-11-25
| ||
21:41 | [ec8a4dcac5] part of check-in [18bdcb05c2] Remove a NEVER() from a branch that is now reachable during OOM faults. (check-in: [18bdcb05c2] user: drh branch: trunk, size: 292540) | |
20:14 | [c308e64d89] part of check-in [b48c4e4021] Return an SQLITE_CORRUPT error if the content size field of a table record extends off the end of a page. (check-in: [b48c4e4021] user: drh branch: btree-optimization, size: 292547) | |
17:38 | [f98e6ceada] part of check-in [5bf2a3feeb] Uses shifts rather than division for arithmetic on the cell indices, since those indices are always non-negative. (check-in: [5bf2a3feeb] user: drh branch: btree-optimization, size: 292485) | |
16:52 | [fc03d3fd33] part of check-in [55e5bfa231] Optimize the skipping of the payload size field when doing a binary search for a rowid. (check-in: [55e5bfa231] user: drh branch: btree-optimization, size: 292294) | |
16:23 | [0ce10b29df] part of check-in [a74675607f] Arrange for sqlite3BtreeMovetoUnpacked() to always leave the cursor cell parse cache invalidated. This fixes issues with previous check-ins on this branch and also runs faster. (check-in: [a74675607f] user: drh branch: btree-optimization, size: 292324) | |
15:01 | [7459c164e2] part of check-in [f80497be44] More optimizations to sqlite3BtreeMovetoUnpacked(). But there are failures in TH3. Committing this intermediate state to facilitate bisecting. (check-in: [f80497be44] user: drh branch: btree-optimization, size: 292333) | |
14:10 | [c300cb6894] part of check-in [8868069823] More improvements to sqlite3BtreeMovetoUnpacked() performance. (check-in: [8868069823] user: drh branch: btree-optimization, size: 292357) | |
02:38 | [b0fd869c04] part of check-in [d0fb7acea7] Performance improvements in sqlite3BtreeMovetoUnpacked(). (check-in: [d0fb7acea7] user: drh branch: btree-optimization, size: 292305) | |
2013-11-21
| ||
21:59 | [17ca5729d0] part of check-in [4e8c5d0795] Changes some offset and amount parameters from "int" to "u32" to avoid harmless signed/unsigned comparison warnings. (check-in: [4e8c5d0795] user: drh branch: trunk, size: 292028) | |
2013-11-06
| ||
14:36 | [260dedc131] part of check-in [a725a75f87] Allocate extra stack space for UnpackedRecord objects, reducing the need to malloc for them as often, and thereby get a performance improvement. (check-in: [a725a75f87] user: drh branch: omit-rowid, size: 292028) | |
2013-10-16
| ||
11:39 | [509722ce30] part of check-in [8651aba186] Clear a valgrind error by zeroing the first 4 bytes of the temp-space allocation used by the b-tree module. (check-in: [8651aba186] user: dan branch: trunk, size: 292028) | |
2013-10-06
| ||
22:52 | [d5720cbb21] part of check-in [2bb7f74bbd] Remove an incorrect debugging assert() that was accidently added during the STAT4 enhancement. (check-in: [2bb7f74bbd] user: drh branch: trunk, size: 291293) | |
2013-09-26
| ||
11:04 | [5ccbbaed7a] part of check-in [1e1321ee98] Fix a faulty assert() in sqlite3BtreeBeginTrans() that may fail in shared-cache mode. (check-in: [1e1321ee98] user: dan branch: trunk, size: 291339) | |
2013-08-26
| ||
23:18 | [b9b57df546] part of check-in [a32af0abe5] Merge the STAT4 capability into trunk. (check-in: [a32af0abe5] user: drh branch: trunk, size: 291304) | |
2013-08-21
| ||
23:42 | [b7cbb0bcc6] part of check-in [617e23ec28] Simplify the btreeGetPage() routine so that it uses a single flag parameter in place of two boolean parameters. (check-in: [617e23ec28] user: drh branch: trunk, size: 291258) | |
21:12 | [7e7b3eba8d] part of check-in [700dbbea86] Simplification to the StrAccum object and the sqlite3StrAccumAppend() method that also results in slightly better performance. (check-in: [700dbbea86] user: drh branch: trunk, size: 291245) | |
15:52 | [d49f160061] part of check-in [a17190a229] Performance enhancement in btreeParseCellPtr(). (check-in: [a17190a229] user: drh branch: trunk, size: 291233) | |
2013-08-20
| ||
00:42 | [adea13e65d] part of check-in [d78c5d89de] Performance optimizations in the VDBE and especially to the OP_Next and related opcodes. (check-in: [d78c5d89de] user: drh branch: toTypeFuncs, size: 291216) | |
2013-08-19
| ||
22:22 | [d8cb52cddf] part of check-in [6f99b54aed] Additional performance improvements in sqlite3BtreeNext() and sqlite3BtreePrevious(). (check-in: [6f99b54aed] user: drh branch: toTypeFuncs, size: 291110) | |
20:04 | [78287b3012] part of check-in [dc65ad8c4c] Performance improvement in sqlite3BtreeNext() and sqlite3BtreePrevious() for the common case of a valid cursor. (check-in: [dc65ad8c4c] user: drh branch: trunk, size: 290604) | |
2013-08-16
| ||
20:42 | [9b985e4f33] part of check-in [cdb181c04f] Add the cache_spill pragma. (check-in: [cdb181c04f] user: drh branch: cache_spill, size: 290358) | |
2013-08-03
| ||
20:24 | [15ea4e980b] part of check-in [2beea303a1] Begin adding experimental sqlite_stat4 table. This commit is buggy. (check-in: [2beea303a1] user: dan branch: sqlite_stat4, size: 290597) | |
2013-06-28
| ||
19:41 | [3f7bbfd72e] part of check-in [f308c48517] 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: [f308c48517] user: dan branch: trunk, size: 290551) | |
01:24 | [4fc3690a4a] part of check-in [59f98c5c24] Refactor the Vdbe.noIO field as Vdbe.bIsReader. The meaning is inverted. (check-in: [59f98c5c24] user: drh branch: trunk, size: 290553) | |
2013-06-27
| ||
23:54 | [c29ca37122] part of check-in [14f7969634] Refactor names of fields in the sqlite3 object: "activeVdbeCnt" becomes "nVdbeActive". Related fields becomes "nVdbeRead", "nVdbeWrite", and "nVdbeExec". (check-in: [14f7969634] user: drh branch: trunk, size: 290533) | |
2013-05-28
| ||
12:11 | [7fba377c29] part of check-in [a0d5cc9315] Many small harmless comment changes. Removal of obsolete comments and fixing misspelled words. No changes to code. (check-in: [a0d5cc9315] user: drh branch: trunk, size: 290535) | |
2013-05-14
| ||
23:13 | [fcfbe61a31] part of check-in [164e3d4da2] Merge together the fork in this branch. (check-in: [164e3d4da2] user: drh branch: shared-cache-fixes, size: 290533) | |
23:12 | [34ea83e16e] part of check-in [a6f851d0fe] Fix an assert() in unlockBtreeIfUnused() so that it checks for the existance of an untripped cursor, not for the existance of any cursor at all. (check-in: [a6f851d0fe] user: drh branch: shared-cache-fixes, size: 290500) | |
20:36 | [e42631ac1f] part of check-in [93462df782] Avoid deleting a b-tree "has-content" vector belonging to another shared-cache connection from within sqlite3_close(). (check-in: [93462df782] user: dan branch: shared-cache-fixes, size: 290454) | |
2013-04-15
| ||
17:03 | [480a6d255c] part of check-in [ea1404a10a] Refactoring the mmap interface. The controlling pragma is now "mmap_size" instead of "mmap_limit". Also change SQLITE_CONFIG_MMAP_LIMIT and SQLITE_FCNTL_MMAP_LIMIT to SQLITE_CONFIG_MMAP_SIZE and SQLITE_FCNTL_MMAP_SIZE, respecctively. The default mmap_size is now always 0, meaning that memory mapped I/O is off by default. There is a new compile-time option SQLITE_MAX_MMAP_SIZE that determines a hard upper bound on the mmap_size. Setting SQLITE_MAX_MMAP_SIZE to zero disables the memory-mapped I/O logic and causes it to be omitted from the build. An extra argument is added to SQLITE_CONFIG_MMAP_SIZE that can optionally lower the SQLITE_MAX_MMAP_SIZE at start-time. The SQLITE_MAX_MMAP_SIZE is zero for platforms where we know that it does not work, meaning that it cannot be turned on by mistake on those platforms. (check-in: [ea1404a10a] user: drh branch: trunk, size: 290421) | |
2013-04-04
| ||
00:40 | [5f2c4fe72f] part of check-in [fff2be6077] Try to use mmap() to speed access to the database file on windows, linux, and mac. (check-in: [fff2be6077] user: drh branch: trunk, size: 290421) | |
2013-04-03
| ||
21:23 | [58c4d68415] part of check-in [b2a72be9ba] Release resources prior to bailing out of the btreeCreateTable() routine following an OOM error. (check-in: [b2a72be9ba] user: drh branch: experimental-mmap, size: 290177) | |
20:04 | [4e3d07b378] part of check-in [f97d7274f4] Remove an unreachable branch in the direct blob I/O logic of btree.c. (check-in: [f97d7274f4] user: drh branch: experimental-mmap, size: 290178) | |
11:52 | [fd492d65ee] part of check-in [5b082efead] Remove the restriction on using xFetch to load the root pages of tables and indexes. It appears to have been based on a misconception. (check-in: [5b082efead] user: dan branch: experimental-mmap, size: 289981) | |
11:38 | [4f4b23941b] part of check-in [9d9b1da54a] When moving a page to make way for the root page of a new table or index in an auto-vacuum database, save the positions of any cursors that may be holding xFetch references to the page being moved. (check-in: [9d9b1da54a] user: dan branch: experimental-mmap, size: 290836) | |
11:17 | [b38cb3a175] part of check-in [3f09fba18f] In btree.c, save the positions of other cursors open on the same table when writing via an incremental blob handle. Otherwise, they may be left holding an out-of-date xFetch page reference. (check-in: [3f09fba18f] user: dan branch: experimental-mmap, size: 290563) | |
2013-04-01
| ||
22:38 | [bb679fddb7] part of check-in [78141d0a16] Add the SQLITE_CONFIG_MMAP_LIMIT configuration option for overriding the SQLITE_DEFAULT_MMAP_LIMIT compile-time setting. Enhance "PRAGMA mmap_limit" so that without a specific database name, it sets the limit on all database files and changes the default for any future databases that might be added using ATTACH. (check-in: [78141d0a16] user: drh branch: experimental-mmap, size: 290235) | |
2013-03-29
| ||
18:52 | [84c9a4a20b] part of check-in [e8bcdf938e] Fix a problem in btree.c that could cause a crash following an OOM. Also various test script problems. (check-in: [e8bcdf938e] user: dan branch: two-mappings, size: 290178) | |
2013-03-27
| ||
03:15 | [62ba595476] part of check-in [322a5f086d] Candidate fix for ticket [6bfb98dfc0c]: Make sure invalid cursors drop all references to database pages prior to doing any insert or update. (check-in: [322a5f086d] user: drh branch: trunk, size: 288538) | |
2013-03-26
| ||
14:16 | [19b587b325] part of check-in [30c0a69363] In btree.c, save the positions of any open cursors before moving any pages around to auto-vacuum the database on commit. (check-in: [30c0a69363] user: dan branch: experimental-mmap, size: 290185) | |
2013-03-25
| ||
23:09 | [771f039155] part of check-in [1b37c4effd] Memory-mapped I/O is now on by default. The "PRAGMA mmap_limit(N)" can be used to issue a hint to the VFS to limit mmap space to N bytes. The VFS is free to ignore that hint if desired. However, if "PRAGMA mmap_limit(0)" is used, xFetch is never called. (check-in: [1b37c4effd] user: drh branch: experimental-mmap, size: 290120) | |
19:57 | [ef238f2d88] part of check-in [a607d63f0b] Merge all recent trunk changes into the experimental-mmap branch. (check-in: [a607d63f0b] user: drh branch: experimental-mmap, size: 290104) | |
2013-03-22
| ||
19:56 | [f5ea8d3d65] part of check-in [e81ccdcd87] Fix a potential NULL-pointer dereference in btreeSwapOutMmap(). (check-in: [e81ccdcd87] user: drh branch: experimental-mmap, size: 290104) | |
2013-03-21
| ||
21:20 | [3cebaa69db] part of check-in [6f6e2d5094] Many spelling fixes in comments. No changes to code. (check-in: [6f6e2d5094] user: mistachkin branch: trunk, size: 288294) | |
15:57 | [dd4683fa67] part of check-in [32e0bbb736] Fix a problem when opening a write-transaction while there exist read-only b-tree cursors in mmap mode. (check-in: [32e0bbb736] user: dan branch: experimental-mmap, size: 290097) | |
2013-03-19
| ||
19:28 | [d4d551f05a] part of check-in [6183f1bd86] Add the sqlite3_io_methods.xMremap() method to the VFS interface. Also "PRAGMA mmap_size". (check-in: [6183f1bd86] user: dan branch: experimental-mmap, size: 290098) | |
2013-03-15
| ||
18:29 | [934921ec91] part of check-in [b387e2f9d2] Allow read-only cursors to use mmap pages even if there is an open write transaction. (check-in: [b387e2f9d2] user: dan branch: experimental-mmap, size: 289769) | |
2013-03-14
| ||
18:34 | [c1a956c676] part of check-in [6f21d9cbf5] Use mmap() to read from the database file in rollback mode. This branch is unix only for now. (check-in: [6f21d9cbf5] user: dan branch: experimental-mmap, size: 289177) | |
2013-03-11
| ||
11:49 | [746c4dafae] part of check-in [938b91e855] Fixes for compiling with SQLITE_OMIT_AUTOVACUUM and/or SQLITE_OMIT_TRIGGER defined. (check-in: [938b91e855] user: dan branch: omit-fixes, size: 288294) | |
2013-03-05
| ||
11:27 | [c7ce6045f0] part of check-in [717863fca6] Fix a bug in the recent incremental-vacuum related changes. (check-in: [717863fca6] user: dan branch: trunk, size: 287908) | |
2013-03-02
| ||
03:25 | [ea4cc87067] part of check-in [9a135e37b6] Update comments on the free-page allocator to accurately reflect the latest implementation. Add new asserts to the free-page allocator. (check-in: [9a135e37b6] user: drh branch: trunk, size: 287908) | |
2013-02-24
| ||
11:50 | [cbad71970c] part of check-in [ba33bb059e] Fix a case where database corruption may cause an assert() to fail. (check-in: [ba33bb059e] user: dan branch: incr-vacuum-opt, size: 287417) | |
2013-02-23
| ||
19:43 | [b84e2ac3b4] part of check-in [4cd30c7262] Fix a case in the incremental vacuum code where database corruption was going unreported. (check-in: [4cd30c7262] user: dan branch: incr-vacuum-opt, size: 287357) | |
19:11 | [02ab112a16] part of check-in [f921df5956] Fix a cut-and-paste bug causing the library to fail to report database corruption in a few cases. (check-in: [f921df5956] user: dan branch: incr-vacuum-opt, size: 287360) | |
17:49 | [bcd64dff70] part of check-in [66f9faa9a9] Fix off-by-one bug in [c3939d2491] uncovered by th3. (check-in: [66f9faa9a9] user: dan branch: incr-vacuum-opt, size: 287407) | |
16:40 | [f021a7f59f] part of check-in [b73847f17b] If a rollback mode transaction reduces the size of the database file, avoid actually truncating the file until after the transaction has been committed (but before the db has been unlocked). This means pages that are removed from the database by truncating the file need not be journalled. (check-in: [b73847f17b] user: dan branch: incr-vacuum-opt, size: 287406) | |
2013-02-22
| ||
20:57 | [76f063ffd7] part of check-in [720a3ceafc] Fix a problem with the previous commit. (check-in: [720a3ceafc] user: dan branch: incr-vacuum-opt, size: 286667) | |
20:16 | [960274cb93] part of check-in [c3939d2491] Avoid moving pages more than once in an incremental vacuum operation. (check-in: [c3939d2491] user: dan branch: incr-vacuum-opt, size: 286390) | |
2012-12-12
| ||
14:30 | [7a80e4a67f] part of check-in [120c82d56e] Allow the error message from "PRAGMA integrity_check" to be longer than 20,000 bytes. (check-in: [120c82d56e] user: drh branch: trunk, size: 285056) | |
2012-10-18
| ||
10:35 | [eccee944cb] part of check-in [51a6a797e1] More warning fixes. (check-in: [51a6a797e1] user: mistachkin branch: warnings, size: 285044) | |
2012-10-13
| ||
19:58 | [299377f079] part of check-in [af5c9ee4a4] Ensure that when the source of a backup is a database that is zero bytes in size, the final destination database consists of at least one page. Truncating it to zero bytes is equivalent to zeroing the schema cookie and change counter, which can cause problems for existing clients. (check-in: [af5c9ee4a4] user: dan branch: zero-byte-backup-fix, size: 285044) | |
2012-10-02
| ||
23:26 | [97edf88abd] part of check-in [9fab9edd0d] Work around an optimization issue with the MSVC compiler for ARM. (check-in: [9fab9edd0d] user: drh branch: branch-3.7.14, size: 283920) | |
22:54 | [14de53ebb3] part of check-in [7d301fdfee] Work around an optimization issue with the MSVC compiler for ARM. (check-in: [7d301fdfee] user: mistachkin branch: trunk, size: 284686) | |
2012-10-01
| ||
12:44 | [95ee3c1e78] part of check-in [f193dbb6b9] Omit the sqlite3GetReservedNoMutex() routine in build configurations where it is not used. (check-in: [f193dbb6b9] user: drh branch: trunk, size: 284499) | |
2012-09-28
| ||
20:23 | [821615a1e1] part of check-in [89b8c377a6] Avoid calling sqlite3BtreeEnter() in a corner case where the corresponding database handle mutex (sqlite3.mutex) may not be held. This prevents a potential deadlock or crash that can occur if the backup API, shared-cache mode and SQLITE_HAVE_CODEC are all in use. (check-in: [89b8c377a6] user: dan branch: trunk, size: 284398) | |
18:13 | [6e1b481435] part of check-in [472beb306a] Modify the clearCell function to use SQLITE_CORRUPT_BKPT in the one place it was not. (check-in: [472beb306a] user: mistachkin branch: trunk, size: 283738) | |
2012-08-31
| ||
14:10 | [64acbd5fd8] part of check-in [bc9b9cd058] Merge in latest trunk changes. (check-in: [bc9b9cd058] user: dan branch: apple-osx, size: 284864) | |
2012-08-25
| ||
10:01 | [9cf6de113d] part of check-in [9b19b84753] Fix all known instances of 'repeated the' style typos in comments. No changes to code. (check-in: [9b19b84753] user: mistachkin branch: trunk, size: 283733) | |
01:38 | [31cf99fcac] part of check-in [6723add4f4] Merge all the latest trunk changes into the apple-osx branch. (check-in: [6723add4f4] user: drh branch: apple-osx, size: 284868) | |
2012-08-20
| ||
15:53 | [32dc63ef18] part of check-in [7edd10a960] Remove tab characters from source code files. Replace them with spaces. (check-in: [7edd10a960] user: drh branch: trunk, size: 283737) | |
2012-08-14
| ||
18:43 | [82b6fcbec3] part of check-in [6730579cf5] Add an assert() to the btree rebalancer in order to silence a clang/scan-build warning. (check-in: [6730579cf5] user: drh branch: trunk, size: 283723) | |
2012-08-08
| ||
14:04 | [fe84910555] part of check-in [b0d31e779e] When populating an index b-tree as part of a CREATE INDEX or REINDEX statement, distribute cells between up to three siblings in balance_nonroot() instead of four. This produces identical database files, but is slightly faster. (check-in: [b0d31e779e] user: dan branch: trunk, size: 283694) | |
11:55 | [3a2dbf6f1b] part of check-in [efea62b96c] When building a b-tree as part of a CREATE INDEX or REINDEX statement, attempt to pack keys into pages as tightly as possible. (check-in: [efea62b96c] user: dan branch: trunk, size: 283636) | |
2012-08-06
| ||
18:50 | [1d366468b6] part of check-in [d045f8b2d4] When reusing pages as part of creating a new index, allocate the leaves from each free-list trunk page in ascending order, instead of trying to maximize localization for each individual allocation. This increases the chance that pages will be written to disk in ascending order by a large CREATE INDEX statement, improving overall performance. (check-in: [d045f8b2d4] user: dan branch: sorter-coalesce-writes, size: 283611) | |
2012-06-08
| ||
01:13 | [453a91808a] part of check-in [9d1b851562] Merge trunk changes into the apple-osx branch. (check-in: [9d1b851562] user: drh branch: apple-osx, size: 284384) | |
2012-05-28
| ||
13:58 | [f0b7105410] part of check-in [651520fa84] Add the mode=memory option to URI filenames, which when present forces the database to be an in-memory database. This enables named in-memory databases. (check-in: [651520fa84] user: drh branch: trunk, size: 283253) | |
2012-05-27
| ||
01:19 | [964c7862e1] part of check-in [595dfdbffe] Have user interfaces report out the filename of in-memory databases as an empty string, as it always has. This simplifies the changes. (check-in: [595dfdbffe] user: drh branch: shared-cache-memdb, size: 283192) | |
00:11 | [d938da251a] part of check-in [997ef5f61e] Fix corner-case problems with shared-cache for in-memory databases. (check-in: [997ef5f61e] user: drh branch: shared-cache-memdb, size: 283425) | |
2012-05-26
| ||
20:08 | [e5e992199f] part of check-in [e3ad61e030] Only allow :memory: databases to share cache if there are created using a URI filename. This minimizes the risk of breakages in legacy applications that have shared-cache enabled but also use :memory: databases which they expect to keep separate. (check-in: [e3ad61e030] user: drh branch: shared-cache-memdb, size: 283110) | |
18:06 | [23e2d21f1f] part of check-in [4590e433f2] Enable the use of shared cache for an in-memory database, so that separate database connections can share the same in-memory database. (check-in: [4590e433f2] user: drh branch: shared-cache-memdb, size: 283061) | |
2012-04-19
| ||
20:43 | [207d4859d7] part of check-in [b72f07b4a2] Update the apple-osx branch so that it includes all of the latest trunk changes. (check-in: [b72f07b4a2] user: drh branch: apple-osx, size: 284045) | |
2012-04-03
| ||
17:43 | [df800f1089] part of check-in [fa3a498dfe] Modify the integrity-check code to reduce the size of the large allocation from 4 bytes to 1 bit for each page in the database file. (check-in: [fa3a498dfe] user: dan branch: trunk, size: 282914) | |
2012-03-31
| ||
02:46 | [748ff64c56] part of check-in [18ec60cacd] Merge all the latest trunk changes into the apple-osx branch. (check-in: [18ec60cacd] user: drh branch: apple-osx, size: 283487) | |
2012-03-23
| ||
11:09 | [02aeee1f6d] part of check-in [82c3f2ba42] When an incremental blob cursor is invalidated (occurs when an SQL statement modifies or deletes the row the blob cursor points to) release all page references held by the cursor. Otherwise, the presence of these references may cause other code in btree.c to incorrectly infer that the database is corrupt. (check-in: [82c3f2ba42] user: dan branch: fts4-incr-merge, size: 282356) | |
2012-03-05
| ||
16:39 | [fbaf576446] part of check-in [504bf49086] Pull in all the latest trunk changes. (check-in: [504bf49086] user: drh branch: apple-osx, size: 283477) | |
2012-02-13
| ||
16:43 | [253c3147a4] part of check-in [9b66c79e05] Change the ROLLBACK command so that pending statements to not block it. The pending statements instead return SQLITE_ABORT upon next access. Note: This causes separate shared-cache connections in read_uncommitted mode to abort as well. (check-in: [9b66c79e05] user: drh branch: nonblocking-rollback, size: 282346) | |
2012-02-10
| ||
18:18 | [c21852e2e5] part of check-in [e248598649] Pull the latest trunk changes into the apple-osx branch. (check-in: [e248598649] user: drh branch: apple-osx, size: 283848) | |
2012-02-02
| ||
19:37 | [bb0132a725] part of check-in [21695c3476] Reduce the size of the MemPage object by about 32 bytes. Other structure size optimizations. (check-in: [21695c3476] user: drh branch: trunk, size: 282717) | |
2012-01-17
| ||
15:29 | [24bde76828] part of check-in [96900c47e4] Remove the undocumented PRAGMA omit_readlock hack. (check-in: [96900c47e4] user: drh branch: trunk, size: 282637) | |
2012-01-14
| ||
14:13 | [572deff98f] part of check-in [2cc414cd14] Merge the latest trunk changes into the apple-osx branch. (check-in: [2cc414cd14] user: drh branch: apple-osx, size: 284071) | |
2012-01-12
| ||
15:05 | [a65816cc00] part of check-in [0467742fd6] Fix typos in a testcase() macro introduced by the previous commit. (check-in: [0467742fd6] user: dan branch: trunk, size: 282940) | |
14:25 | [8276f93966] part of check-in [7654ae71bd] Remove some assert() statements that can fail with corrupt databases. (check-in: [7654ae71bd] user: dan branch: trunk, size: 282896) | |
2012-01-08
| ||
00:54 | [378a0f39d6] part of check-in [9612bcd648] Fix harmless compiler warning seen with MSVC. (check-in: [9612bcd648] user: mistachkin branch: trunk, size: 282142) | |
2012-01-05
| ||
23:32 | [ef51e9043f] part of check-in [119493318e] Combine various boolean variables in the BtShared structure into a single boolean vector. Also make performance improvement simplifications to sqlite3BtreeMovetoUnpacked(). (check-in: [119493318e] user: drh branch: trunk, size: 282138) | |
2012-01-03
| ||
21:54 | [7cf38b0943] part of check-in [8a048423f0] Pull all the latest trunk changes over into the apple-osx branch. (check-in: [8a048423f0] user: drh branch: apple-osx, size: 282315) | |
21:33 | [30dd27d35a] part of check-in [9e5add51ee] Experimental changes to prevent buffer overreads when parsing a corrupt database file. (check-in: [9e5add51ee] user: drh branch: no-overread, size: 281634) | |
2012-01-02
| ||
16:38 | [8f683b1fcf] part of check-in [c1691d998a] Remove an incorrect assert() in btree.c. (check-in: [c1691d998a] user: drh branch: trunk, size: 281184) | |
2011-12-21
| ||
17:00 | [2fdde7d16c] part of check-in [c5256b59ad] Avoid 32-bit overflow when calculating the byte offset of an overflow page in SQLITE_DIRECT_OVERFLOW_READ code. Fix for [ac0ff496b7]. (check-in: [c5256b59ad] user: dan branch: trunk, size: 280956) | |
2011-12-08
| ||
21:08 | [46eae4a082] part of check-in [59e0d4f3d9] Merge the latest trunk changes into the apple-osx branch. (check-in: [59e0d4f3d9] user: drh branch: apple-osx, size: 282084) | |
2011-11-14
| ||
12:34 | [c683806cd6] part of check-in [638a39bbaa] Further work on mmap(). Still does not work right - autovacuum tests are the first to fail. (check-in: [638a39bbaa] user: drh branch: mmap-experimental, size: 280880) | |
01:55 | [2d943dc55e] part of check-in [09be42d5fa] Begin making experimental changes to use mmap() for reading content from a database. The code compiles, but crashes on the test suite. (check-in: [09be42d5fa] user: drh branch: mmap-experimental, size: 280544) | |
2011-11-12
| ||
23:10 | [149cccf213] part of check-in [ceee03c79a] Attempt to modify btree.c so that it assumes that calls to sqlite3PagerWrite() will reallocate the page buffer. As there is not good way to test this assumption yet, probably a few spots were missed. (check-in: [ceee03c79a] user: drh branch: experimental-pcache, size: 280282) | |
2011-11-11
| ||
23:51 | [80ea652245] part of check-in [77119785c8] Catch and report errors from sqlite3OsFullPathname(). (check-in: [77119785c8] user: drh branch: trunk, size: 280953) | |
23:31 | [60e0151ccc] part of check-in [8966ec1797] Remove use of malloc and free from the Windows VFS. Also, prevent sqlite3BtreeOpen from assuming that sqlite3OsFullPathname cannot fail. (check-in: [8966ec1797] user: mistachkin branch: winSyscall, size: 280628) | |
00:27 | [2521a74f04] part of check-in [471cf0d8e7] Make sure a corrupt index does not cause a buffer overread in sqlite3VdbeRecordCompare(). (check-in: [471cf0d8e7] user: drh branch: trunk, size: 280843) | |
2011-10-21
| ||
17:18 | [601b808e1f] part of check-in [be62ef058b] Merge the latest trunk changes into the apple-osx branch. (check-in: [be62ef058b] user: drh branch: apple-osx, size: 281638) | |
2011-10-15
| ||
00:16 | [32199e2d93] part of check-in [39408702a9] Added the tool/warnings-clang.sh script. Changes so that there are no warnings with either gcc or clang even including FTS4 and RTREE and both with and without SQLITE_THREADSAFE=0. (check-in: [39408702a9] user: drh branch: trunk, size: 280507) | |
2011-10-14
| ||
21:49 | [4918e848d9] part of check-in [60fee9574b] Add assert() statements and eliminate needless variable assignments in order to get the clang scan-build utility to report zero problems against the SQLite core. Clang's static analysis did find one real problem - but it was in the command-line shell, not in the SQLite core. (check-in: [60fee9574b] user: drh branch: trunk, size: 280404) | |
2011-10-12
| ||
17:00 | [74da2e0887] part of check-in [4f1a558d00] Clarify a comment and fix a code formatting issue in btree.c. (check-in: [4f1a558d00] user: drh branch: trunk, size: 280290) | |
2011-10-11
| ||
14:19 | [2fdd62dfdb] part of check-in [7e2c489822] Merge the latest trunk changes into the apple-osx branch. (check-in: [7e2c489822] user: drh branch: apple-osx, size: 281405) | |
2011-10-10
| ||
22:11 | [1870b70e37] part of check-in [db5b7b778c] Merging in cherry picked diffs for persist wal, alloc padding, wal-safe vacuum and sqlite3_file_control based lockstate checking (check-in: [db5b7b778c] user: adam branch: apple-osx-377, size: 279529) | |
2011-10-08
| ||
14:57 | [b53e009bcc] part of check-in [2ab14a8467] Add the SQLITE_DIRECT_OVERFLOW_READ compile time option. (check-in: [2ab14a8467] user: dan branch: trunk, size: 280274) | |
2011-09-14
| ||
19:05 | [71a65f9bbd] part of check-in [2456b4d0d2] Merge in the latest changes from trunk. (check-in: [2456b4d0d2] user: drh branch: apple-osx, size: 280060) | |
18:19 | [77b09c69d4] part of check-in [3035dc1c73] Remove 'const' from a variable that might actually be written when an OOM error occurs. Also, fix a couple MSVC/Win32 compiler warnings. (check-in: [3035dc1c73] user: mistachkin branch: trunk, size: 278929) | |
2011-09-05
| ||
20:16 | [4cb13cf019] part of check-in [d0712dfb24] Fix a minor performance regression in btreeMoveto(). (check-in: [d0712dfb24] user: dan branch: trunk, size: 278924) | |
14:20 | [958f26c8f5] part of check-in [f115b23035] Refactor the sqlite3VdbeRecordUnpack() interface to better accommodate the vdbesort.c module. (check-in: [f115b23035] user: dan branch: trunk, size: 278923) | |
2011-09-02
| ||
21:42 | [4d46fe30b8] part of check-in [a9a64592cf] Remove some dead code. Fix a faulty assert(). Improve some variable names. (check-in: [a9a64592cf] user: drh branch: merge-sort, size: 278864) | |
18:03 | [dc3f244447] part of check-in [cf48ad8353] Combine two malloc calls in vdbesort.c. (check-in: [cf48ad8353] user: dan branch: merge-sort, size: 278890) | |
10:31 | [bc2099e7d3] part of check-in [7769fb988d] Instead of a temporary b-tree, use a linked-list and merge-sort to sort records in main memory in vdbesort.c. (check-in: [7769fb988d] user: dan branch: merge-sort, size: 279038) | |
2011-08-31
| ||
13:27 | [4a2856b3bd] part of check-in [d0b347b412] Add checks to make sure cells in corrupt database files do not overflow a page when doing autovacuum. Problem detected by valgrind. (check-in: [d0b347b412] user: drh branch: trunk, size: 279463) | |
2011-08-27
| ||
18:48 | [bd89d604a5] part of check-in [1a24984525] Experimental changes to improve the performance of OP_Next. (check-in: [1a24984525] user: dan branch: experimental, size: 279280) | |
2011-08-26
| ||
19:18 | [a10d12745f] part of check-in [55af80035f] Merge the latest trunk changes into the apple-osx branch. (check-in: [55af80035f] user: drh branch: apple-osx, size: 280128) | |
00:34 | [ed13fdefdb] part of check-in [c71d73201d] Create a new pager type, PAGER_SORTER, for use in the external merge sort. Such pagers are always held in memory but do report when they are under memory pressure by calling pagerStress. (check-in: [c71d73201d] user: drh branch: trunk, size: 278997) | |
2011-08-23
| ||
18:06 | [51e4af60aa] part of check-in [c5f7977b89] Merge latest trunk changes into the apple-osx branch. (check-in: [c5f7977b89] user: dan branch: apple-osx, size: 279705) | |
11:47 | [97cf3ba4ff] part of check-in [35e6ac18e3] When copying a rollback mode database over a WAL database using the backup API, leave the destination database in WAL mode (instead of switching it to rollback mode). Fix for [af95b8c609]. (check-in: [35e6ac18e3] user: dan branch: trunk, size: 278574) | |
2011-08-04
| ||
12:14 | [a30bdcc27e] part of check-in [a4770d079c] Change to using packed-memory-arrays instead of b-trees when performing an offline merge-sort for CREATE INDEX. This makes it easier to control the number of disc seeks required when merging. (check-in: [a4770d079c] user: dan branch: experimental, size: 278615) | |
2011-06-25
| ||
21:43 | [e09181860c] part of check-in [c6158b254f] Changes to make pragma synchronous sticky when SQLITE_DEFAULT_WAL_SAFETYLEVEL is used (check-in: [c6158b254f] user: adam branch: apple-osx, size: 279570) | |
16:35 | [43581d03fc] part of check-in [8f8b373eed] Fix test cases so that they work with SQLITE_DEFAULT_WAL_SAFETYLEVEL defined. (check-in: [8f8b373eed] user: dan branch: apple-osx, size: 279435) | |
2011-06-24
| ||
20:47 | [fea8eaab6b] part of check-in [34f0efa2b1] Merging local changes to apple-osx (check-in: [34f0efa2b1] user: adam branch: apple-osx, size: 279240) | |
2011-06-06
| ||
13:38 | [8c46f0ab69] part of check-in [98ccfa930e] Add assert() statements to verify that u16 pointers associated with the enhancement in [897f56a158] are always 2-byte aligned. (check-in: [98ccfa930e] user: drh branch: trunk, size: 278439) | |
2011-06-04
| ||
01:43 | [c19d7b35c8] part of check-in [65db822f20] Performance improvement to the btree search routine. (check-in: [65db822f20] user: drh branch: trunk, size: 278279) | |
2011-06-03
| ||
23:28 | [9f214af284] part of check-in [897f56a158] Performance improvements on memory copies inside of btree by moving 2 bytes at a time instead of just 1 byte at a time. (check-in: [897f56a158] user: drh branch: trunk, size: 278286) | |
17:50 | [12aa3b7135] part of check-in [1bd72d0c61] Factor an "if" out of a loop in balance_nonroot() for about a 1% performance increase. (check-in: [1bd72d0c61] user: drh branch: trunk, size: 278217) | |
2011-05-30
| ||
23:42 | [0d3b39dcb7] part of check-in [f9950c6af1] Minor performance improvements. (check-in: [f9950c6af1] user: drh branch: trunk, size: 277768) | |
2011-05-17
| ||
15:21 | [975ad691a5] part of check-in [f7c525f5fc] Avoid exceeding array bounds when reading a corrupt database file in autovacuum mode. Fixes a problem discovered by John Regehr and Peng Li using a customized clang compiler. (check-in: [f7c525f5fc] user: drh branch: trunk, size: 277719) | |
2011-05-01
| ||
22:57 | [40c7a36152] part of check-in [7155e6f328] Backport check-ins [0900e35348f4b9bf3] and [4fead8e714c7e50] to the 3.7.2 branch. These check-ins provide hints to the btree layer for when it is possible to use a hash table rather than a btree to implement an index. The SQLite BTree layer does not use these hints, but alternative btree layers might. (check-in: [7155e6f328] user: drh branch: branch-3.7.2, size: 277890) | |
2011-04-23
| ||
15:54 | [26f8a9d616] part of check-in [68240e75e8] Have the ATTACH command do URI interpretation in the same way as sqlite3_open() and sqlite3_open_v2() do. (check-in: [68240e75e8] user: dan branch: uri, size: 277541) | |
2011-04-07
| ||
14:47 | [6a9164af8a] part of check-in [d03d63d77e] When searching a list of freelist trunk pages looking for a specific page to allocate, avoid unnecessary journalling of the unchanged trunk pages towards the start of the list. (check-in: [d03d63d77e] user: drh branch: trunk, size: 277549) | |
2011-04-06
| ||
17:54 | [4fcad108b6] part of check-in [2039ed952a] Changes to support building with various SQLITE_OMIT_XXX options defined. (check-in: [2039ed952a] user: dan branch: trunk, size: 277517) | |
2011-04-05
| ||
22:08 | [6002f05e15] part of check-in [3eeb0ff78d] Suppress many harmless compiler warnings, mostly signed/unsigned comparisons within asserts or unused parameters in extensions. (check-in: [3eeb0ff78d] user: drh branch: trunk, size: 277517) | |
2011-04-03
| ||
02:41 | [107723ed4f] part of check-in [28c5f12e98] Fix typos in comments. No changes to code. (check-in: [28c5f12e98] user: drh branch: trunk, size: 277446) | |
2011-03-31
| ||
18:36 | [c1d7d81da6] part of check-in [a5aae1743a] 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: [a5aae1743a] user: drh branch: branch-3.7.2, size: 276025) | |
2011-03-29
| ||
15:40 | [2b9c81ff64] part of check-in [dbe569a099] Fix a problem whereby following an IO error in CommitPhaseTwo() of a multi-file transaction the b-tree layer could be left in TRANS_WRITE state, causing problems later on. (check-in: [dbe569a099] user: dan branch: trunk, size: 277441) | |
2011-03-08
| ||
02:38 | [43302cc4f3] part of check-in [2d5800bd8c] Fix additional cases of possible signed integer overflow, especially with regard to negation. (check-in: [2d5800bd8c] user: drh branch: trunk, size: 276712) | |
2011-03-06
| ||
21:28 | [33265f923a] part of check-in [01a79d5a7a] Remove dead code identified by the clang static analyzer. (check-in: [01a79d5a7a] user: drh branch: trunk, size: 276748) | |
2011-02-20
| ||
03:40 | [9fd4438357] part of check-in [e2616004df] Do not report the database corruption if the the db size header field is greater than the file size on disk unless the two change-counter header fields are identical. Fix for ticket [89b8c9ac54]. Backport by cherrypick of [00c4596f0b270]. (check-in: [e2616004df] user: drh branch: branch-3.7.4, size: 276797) | |
2011-02-09
| ||
18:19 | [ca9f448665] part of check-in [00c4596f0b] Do not report corruption if the the db size header field is greater than the file size on disk unless the two change-counter header fields are identical. Fix for ticket [89b8c9ac54]. (check-in: [00c4596f0b] user: dan branch: trunk, size: 276787) | |
2011-02-02
| ||
16:34 | [cefe096650] part of check-in [bac7342c36] Merge in the blocking-checkpoint enhancement, including the new sqlite3_wal_checkpoint_v2() interface and the PRAGMA wal_checkpoint(full) statement. (check-in: [bac7342c36] user: drh branch: trunk, size: 276793) | |
2011-01-25
| ||
04:34 | [9004c98fc5] part of check-in [e146493011] Shave a few cycles so that performance is better than 3.7.4 in speed tests. (check-in: [e146493011] user: drh branch: trunk, size: 276659) | |
2011-01-12
| ||
17:56 | [a27c3b4108] part of check-in [114640d920] Do not raise an SQLITE_CORRUPT error in Recoverymode if the database size in the header is larger than the physical file size. This facilitates recovery of a database in which the database size field has been corrupted. (check-in: [114640d920] user: drh branch: trunk, size: 276803) | |
2010-12-06
| ||
21:09 | [b70bf1dc56] part of check-in [fabcb6b95e] Fix the build so that it once again works with SQLITE_OMIT_SHARED_CACHE and SQLITE_OMIT_AUTOVACUUM. (check-in: [fabcb6b95e] user: drh branch: trunk, size: 276758) | |
2010-11-19
| ||
18:51 | [3578a5e812] part of check-in [ebf74015f0] Merge the checkpoint_fullfsync pragma and the superlock demonstration into the checkpoint-v2 experimental branch. (check-in: [ebf74015f0] user: drh branch: blocking-checkpoint, size: 277109) | |
18:23 | [ccafb8a86e] part of check-in [a069867301] Add the checkpoint_fullfsync pragma which enables F_FULLFSYNC on checkpoint operations only, not during ordinary commit fsyncs. (check-in: [a069867301] user: drh branch: trunk, size: 276975) | |
2010-11-18
| ||
12:11 | [d90149f6e0] part of check-in [72787c010c] Modify the interface to the blocking wal-checkpoint functionality. (check-in: [72787c010c] user: dan branch: blocking-checkpoint, size: 276842) | |
2010-11-16
| ||
18:56 | [444aae4fc6] part of check-in [7e3fc2c833] Add experimental command "PRAGMA wal_blocking_checkpoint", which uses the busy-handler to block until all readers have finished in order to ensure the next writer will be able to wrap around to the start of the log file. (check-in: [7e3fc2c833] user: dan branch: blocking-checkpoint, size: 277119) | |
2010-10-20
| ||
18:56 | [3edab36d03] part of check-in [d0a450ce78] Updates to FTS4 to improve performance and make more accurate cost estimates for prefix terms. (check-in: [d0a450ce78] user: dan branch: experimental, size: 276708) | |
2010-10-14
| ||
01:17 | [8a1b0267a4] part of check-in [c0ee614fd9] Avoid taking locks on unused database connections when committing a read transaction. (check-in: [c0ee614fd9] user: drh branch: trunk, size: 276738) | |
2010-09-01
| ||
02:38 | [d878577184] part of check-in [afdc82a99e] Fix some compiler warnings under MSVC. (check-in: [afdc82a99e] user: shaneh branch: trunk, size: 276687) | |
2010-08-30
| ||
22:15 | [175495bf9a] part of check-in [4fead8e714] Provide hints to the btree layer during the creation of transient tables for when it is possible for those tables to use a hash rather than a binary tree. No use is currently made of those hints, though assert() statement verify their accuracy. (check-in: [4fead8e714] user: drh branch: trunk, size: 276683) | |
15:02 | [e601b88b59] part of check-in [0900e35348] Remove the sqlite3BtreeFactory() wrapper routine. All modules now call sqlite3BtreeOpen() directly. (check-in: [0900e35348] user: drh branch: trunk, size: 276052) | |
2010-08-24
| ||
01:59 | [d66fc95665] part of check-in [60f16838cc] Cherrypick the incremental_vacuum bug fix ([255f1eefa373153942c67b18b]) into the apple-osx 3.6.23 branch. (check-in: [60f16838cc] user: drh branch: apple-osx-3623, size: 269635) | |
2010-08-23
| ||
15:41 | [5047fb303c] part of check-in [255f1eefa3] Fix for ticket [5e10420e8d]. (check-in: [255f1eefa3] user: dan branch: trunk, size: 274818) | |
2010-08-21
| ||
15:09 | [2dff4076d3] part of check-in [699a9bf283] Fix the ptrmapPageno() routine so that it works correctly for an input of 1. (check-in: [699a9bf283] user: drh branch: trunk, size: 274676) | |
2010-08-19
| ||
14:22 | [69942b33b4] part of check-in [b273891ab0] Remove a NEVER from balance_quick() that can occur in WAL mode on a corrupt database file. (check-in: [b273891ab0] user: drh branch: trunk, size: 274482) | |
2010-08-18
| ||
21:19 | [3089d018fd] part of check-in [e127192d10] Fix two asserts in the btree logic so that they work correctly even for maximum-size index entries for 32K and 64K pages. (check-in: [e127192d10] user: drh branch: trunk, size: 274489) | |
02:28 | [b121357282] part of check-in [1f5662b7db] Fix some compiler warnings in the MSVC build. (check-in: [1f5662b7db] user: shaneh branch: trunk, size: 274486) | |
2010-08-17
| ||
19:40 | [3b4bca08ab] part of check-in [3f8c068a41] Suppress harmless compiler warning. (check-in: [3f8c068a41] user: drh branch: trunk, size: 274434) | |
2010-08-14
| ||
21:21 | [083ced0941] part of check-in [faf1974e2d] Adjustments for better 64K page size handling. (check-in: [faf1974e2d] user: drh branch: trunk, size: 274434) | |
17:12 | [f5758ebc36] part of check-in [7dd78eb797] Change sqlite3PagerPagecount() to return void, since the return value was always SQLITE_OK and was never used. (check-in: [7dd78eb797] user: drh branch: trunk, size: 274433) | |
16:02 | [4d861dd162] part of check-in [364df6c773] Minor simplifications to btree.c in support of full-coverage testing. (check-in: [364df6c773] user: drh branch: trunk, size: 274490) | |
2010-08-12
| ||
02:41 | [042a5c0a6a] part of check-in [45362437d4] Increase the maximum page size from 32k to 64k. (check-in: [45362437d4] user: drh branch: trunk, size: 274072) | |
2010-08-05
| ||
03:21 | [63eebba7bd] part of check-in [fbe70e1106] Do not read the database file size on a SAVEPOINT rollback any more since after checkin [65b8636ac6e5] the in-header-size field is always valid. (check-in: [fbe70e1106] user: drh branch: trunk, size: 273840) | |
2010-08-04
| ||
11:59 | [0de928e4da] part of check-in [dec70c63d0] Backport the [65b8636ac6e5] fix for ticket [51ae9cad317a1] to version 3.7.0. (check-in: [dec70c63d0] user: drh branch: branch-3.7.0, size: 273146) | |
11:34 | [397093afc0] part of check-in [65b8636ac6] When opening a write-transaction on a database file that has been appended to or truncated by a pre-3.7.0 client, update the database-size field in the database header. Fix for [51ae9cad31]. (check-in: [65b8636ac6] user: dan branch: trunk, size: 273733) | |
2010-08-02
| ||
10:47 | [2b122b7d7d] part of check-in [e75b52d156] In shared-cache mode, do not allow one connection to checkpoint a database while a second connection is reading or writing the same shared-cache. (check-in: [e75b52d156] user: dan branch: trunk, size: 273135) | |
2010-07-24
| ||
16:34 | [ed454f53f7] part of check-in [ac1f37a647] Make sure all memory from sqlite3DbMalloc() is freed by sqlite3DbFree() and all memory from sqlite3_malloc() is freed by sqlite3_free(). (check-in: [ac1f37a647] user: drh branch: malloc-enhancement, size: 272588) | |
2010-07-03
| ||
05:56 | [9a214e6141] part of check-in [4f62dbcfc9] Change code in OP_Rewind to avoid a valgrind warning following an error in the btree layer. This change does not fix any bug, just a warning. (check-in: [4f62dbcfc9] user: dan branch: mistake, size: 272548) | |
2010-07-02
| ||
17:05 | [c34267e880] part of check-in [7083387739] Fix some warnings when compiling under MSVC. (check-in: [7083387739] user: shaneh branch: mistake, size: 272570) | |
2010-06-30
| ||
04:29 | [ac51d07748] part of check-in [5e19bc360e] Add coverage test cases. Have sqlite3_backup_step() transform SQLITE_IOERR_NOMEM to SQLITE_NOMEM before returning. (check-in: [5e19bc360e] user: dan branch: trunk, size: 272560) | |
2010-06-17
| ||
02:13 | [9806fb4030] part of check-in [f80c3f922a] Bug fix: Only trust the database size number at offset 28 if the change counter at offset 24 matches the version number counter at offset 92. This prevents corruption in the case of two applications writing to the database where one is an older version of SQLite and the other is a newer version. (check-in: [f80c3f922a] user: drh branch: trunk, size: 272483) | |
2010-06-01
| ||
14:12 | [5934a9f5a3] part of check-in [ce64496509] If an attempt to get a read-lock on the WAL fails with SQLITE_BUSY_RECOVER, call the busy-handler at the btree level. (check-in: [ce64496509] user: dan branch: wal-incr-ckpt, size: 272422) | |
2010-05-01
| ||
16:40 | [d0414a5f09] part of check-in [9b230c43df] Support compile-time option SQLITE_OMIT_WAL, for building without WAL support. (check-in: [9b230c43df] user: dan branch: wal, size: 272415) | |
2010-04-29
| ||
22:34 | [2e41e62e80] part of check-in [62db5fa3b6] Refactor wal.c to use the VFS. This check-in compiles and links and works ok as long as you leave WAL turned off, but WAL does not work. (check-in: [62db5fa3b6] user: drh branch: wal, size: 272265) | |
2010-04-27
| ||
14:37 | [dd26f3b572] part of check-in [c8658da446] Fix a problem with identifying a corrupt database in WAL mode. (check-in: [c8658da446] user: dan branch: wal, size: 272265) | |
2010-04-22
| ||
06:27 | [f87ed73ef8] part of check-in [1236318477] Further tests and changes related to switching between WAL and rollback modes. (check-in: [1236318477] user: dan branch: wal, size: 272239) | |
2010-04-21
| ||
18:37 | [fcfff21fb2] part of check-in [9f4f933f2c] Tests for (and changes to) the code to switch between WAL and rollback modes. (check-in: [9f4f933f2c] user: dan branch: wal, size: 272239) | |
11:43 | [e6ef1020c3] part of check-in [33cabf271b] If, after obtaining a SHARED lock, there exists a *-wal file in the file-system, use WAL mode. This is necessary to recover from a crash that damages the first page of the database file. (check-in: [33cabf271b] user: dan branch: wal, size: 271785) | |
2010-04-20
| ||
18:53 | [013cf01948] part of check-in [96bef18c14] Use the read and write version fields of the database header to mark a database as operating in wal-mode. (check-in: [96bef18c14] user: dan branch: wal, size: 271411) | |
2010-04-07
| ||
20:29 | [01559397cb] part of check-in [a3540c6acf] When rolling back a savepoint to the beginning of the transaction, make sure to initialize the database size in the btree layer correctly even if the database size field of the header is zeroed. (check-in: [a3540c6acf] user: drh branch: trunk, size: 270466) | |
2010-04-02
| ||
12:46 | [aa756431f7] part of check-in [8eb1f2443f] If the size of the database according to the header is larger than the actual database file size, report that the database is corrupt. (check-in: [8eb1f2443f] user: drh branch: trunk, size: 270368) | |
2010-04-01
| ||
02:22 | [639a8ca065] part of check-in [802aeb30c9] Restore the size information in the BtShared structure when a transaction rolls back. (check-in: [802aeb30c9] user: drh branch: trunk, size: 270105) | |
2010-03-31
| ||
20:29 | [02ad0060d0] part of check-in [a91db0b1cd] Report corruption if a database contains a reference that is out of range according to the filesize-in-header database size. (check-in: [a91db0b1cd] user: drh branch: trunk, size: 269898) | |
02:31 | [de086bad7e] part of check-in [dbc2c3c014] Increase test coverage following the introduction of the new filesize-in-header logic. (check-in: [dbc2c3c014] user: drh branch: trunk, size: 270221) | |
2010-03-30
| ||
22:58 | [d3a0ee18bd] part of check-in [79e22b9503] Continuing refinements to the filesize-in-header enhancement. (check-in: [79e22b9503] user: drh branch: trunk, size: 270046) | |
15:51 | [dc9dc08fcc] part of check-in [c117f99236] Add a NEVER macro around a test in btree.c that can not longer be true. (check-in: [c117f99236] user: drh branch: trunk, size: 269913) | |
2010-03-29
| ||
21:13 | [ca75bce338] part of check-in [01ef6c1944] The btree layer now tracks when a database is empty at the start of a transaction and rolls back to that state. (check-in: [01ef6c1944] user: drh branch: experimental, size: 269611) | |
19:36 | [6bb6cf7bed] part of check-in [09786e2a51] Fix issues with the io.test script. There is still a problem with a ROLLBACK TO not working on an initially empty database files. And much more testing is needed. (check-in: [09786e2a51] user: drh branch: experimental, size: 269508) | |
2010-03-27
| ||
17:12 | [28c3975060] part of check-in [b844ac6fcb] Experimental changes that cause SQLite to use bytes 28..31 of the database header to determine the database size, rather than using the actual database size. This allows database space to be preallocated. (check-in: [b844ac6fcb] user: drh branch: experimental, size: 269618) | |
2010-03-09
| ||
14:41 | [0d6e44d664] part of check-in [115c978b6b] Minor changes to silence compiler warnings on various MSVC builds. (check-in: [115c978b6b] user: shaneh branch: trunk, size: 269493) | |
2010-02-26
| ||
15:09 | [22bcd5cbc5] part of check-in [7bdb1e05fa] Avoid a buffer overwrite that can occur with a corrupt database if secure-delete is enabled. (check-in: [7bdb1e05fa] user: dan branch: trunk, size: 269448) | |
13:07 | [65359edf31] part of check-in [8f29490da6] Avoid incorrect compiler warnings by doing a couple of needless variable initializations. (check-in: [8f29490da6] user: drh branch: trunk, size: 269225) | |
01:46 | [fa6f583496] part of check-in [4927c62d62] Minor changes to silence some compiler warnings with MSVC. (check-in: [4927c62d62] user: shaneh branch: trunk, size: 269225) | |
2010-02-25
| ||
19:09 | [0fc16c6faa] part of check-in [1cc4be7ebc] Add experimental fix for corruption detection problem. This may well be revised yet. (check-in: [1cc4be7ebc] user: dan branch: trunk, size: 269214) | |
14:44 | [171eceee4a] part of check-in [a255059786] Add some technically unnecessary variable initializations to silence compiler warnings. (check-in: [a255059786] user: dan branch: branch-3.6.1, size: 231646) | |
02:32 | [5f00d6dd5c] part of check-in [46f406b202] Merge in all of the logging enhancements. This is a cherrypick merge of the following check-ins: [103321e37a], [a8076aede3], [6d910245ad], [7c4cca6d1a], [edea3bb740], [1a6d4bb130], [a8c984c1d6], [69a493182f], and [1168763d2c]. (check-in: [46f406b202] user: drh branch: branch-3.6.22, size: 267942) | |
02:04 | [e9ded8d779] part of check-in [ecd22ef34d] Enhance integrity_check to detect out-of-order rowids. This is a cherrypick merge of check-in [cae47c5b09]. (check-in: [ecd22ef34d] user: drh branch: branch-3.6.22, size: 267933) | |
2010-02-23
| ||
17:36 | [ae804d16fb] part of check-in [7c4cca6d1a] Remove the obsolete sqlite3SafetyOn() mechanism. Add additional logging output for CORRUPT, and CANTOPEN errors. (check-in: [7c4cca6d1a] user: drh branch: trunk, size: 268407) | |
2010-02-19
| ||
04:28 | [b7ac4420d1] part of check-in [cae47c5b09] Changes to pragma integrity_check to check rowid order. Tests of same in corruptE.test. (check-in: [cae47c5b09] user: shaneh branch: trunk, size: 268397) | |
2010-02-12
| ||
19:46 | [c9ee3c30fb] part of check-in [2bb38bb96f] Enhancements to the secure_delete pragma to make it easier to use. (check-in: [2bb38bb96f] user: drh branch: trunk, size: 266620) | |
18:18 | [25078c9bba] part of check-in [f72f8a870a] Allow the secure-delete setting to be changed at run-time using a pragma. The SQLITE_SECURE_DELETE compile-time option determines the default setting. (check-in: [f72f8a870a] user: drh branch: trunk, size: 266597) | |
2009-12-06
| ||
03:35 | [efdef3953c] part of check-in [5a511f9887] Enhanced detection of database corruption in btree.c:allocateSpace(). (check-in: [5a511f9887] user: drh branch: trunk, size: 266155) | |
2009-12-05
| ||
18:34 | [92de746507] part of check-in [7a9a35327c] Fix to check-in [f221f31eff]: Make sure local variable rc is declared even when compiled without SQLITE_DEBUG. (check-in: [7a9a35327c] user: drh branch: trunk, size: 265889) | |
18:03 | [bc0393e5b9] part of check-in [0f9b17a6da] Catch an obscure case of database corruption. (check-in: [0f9b17a6da] user: dan branch: trunk, size: 265899) | |
2009-12-04
| ||
22:51 | [976b4ca0b0] part of check-in [04fc9c7661] Remove an assert() in btree.c:releasePage() that is not necessarily true when the btree is recovering from an OOM that occurs in the middle of a balance(). (check-in: [04fc9c7661] user: drh branch: trunk, size: 265827) | |
2009-12-03
| ||
21:26 | [086f343d8b] part of check-in [5ab2b3e300] Fix an assert() in btree.c that might have fired on a corrupt database file. (check-in: [5ab2b3e300] user: drh branch: trunk, size: 265908) | |
19:40 | [e6f7c7bbb1] part of check-in [d5861d9ffe] Remove a NEVER() from btree.c that could occur in a very obscure tested evaluation with an I/O error on fstat(). (check-in: [d5861d9ffe] user: drh branch: trunk, size: 265525) | |
2009-11-24
| ||
02:37 | [c13f6d1a46] part of check-in [02ef972a56] Fix SQLITE_SECURE_DELETE so that it overwrites content on the root pages of tables and indices that are dropped using the truncate optimization. (check-in: [02ef972a56] user: drh branch: trunk, size: 265732) | |
2009-11-18
| ||
23:01 | [d37a90bbcc] part of check-in [85940468e6] Performance improvement by avoiding unnecessary calls to memset(). (check-in: [85940468e6] user: drh branch: trunk, size: 265636) | |
2009-11-13
| ||
17:05 | [4076d11eaf] part of check-in [bdc45ba77f] Force 8-byte memory alignment on memory allocated for VDBE cursors. (check-in: [bdc45ba77f] user: drh branch: trunk, size: 265184) | |
2009-11-10
| ||
01:30 | [daf0129735] part of check-in [f6c045f649] Remove the obsolete "$Id:$" RCS identifier strings from the source code. (check-in: [f6c045f649] user: drh branch: trunk, size: 265176) | |
2009-11-01
| ||
19:26 | [3b29423f08] part of check-in [cfa2db0ff7] Fix compiler warnings. Better comments on some variables associated with LIKE/GLOB processing in the query planner. (check-in: [cfa2db0ff7] user: drh branch: trunk, size: 265235) | |
2009-10-16
| ||
15:05 | [b2d060e41b] part of check-in [32966ba479] Comment cleanup in btree.c. (check-in: [32966ba479] user: drh branch: trunk, size: 265231) | |
14:55 | [953ad6635e] part of check-in [174477bca0] Experimental fix for [f777251dc7]. This may be changed yet. (check-in: [174477bca0] user: dan branch: trunk, size: 264671) | |
2009-09-09
| ||
14:17 | [9c42542578] part of check-in [f509eb8b48] Added SQLITE_OPEN_SHAREDCACHE and SQLITE_OPEN_PRIVATECACHE flags as possibilities to sqlite3_open_v2(), to override the global shared cache mode setting. Ticket [9fd0bc36639c15] (check-in: [f509eb8b48] user: drh branch: trunk, size: 264864) | |
2009-09-08
| ||
01:14 | [873a82706e] part of check-in [52449a9569] Code simplifications, especially to the pseudo-table logic, and comment improvements. (check-in: [52449a9569] user: drh branch: trunk, size: 264868) | |
2009-08-25
| ||
13:53 | [6b60ece561] part of check-in [d33b9eb256] Avoid calling sqite3VdbeRecordCompare() with uninitialized memory following an OOM. Doing so is harmless, but it worries valgrind. (check-in: [d33b9eb256] user: drh branch: trunk, size: 264661) | |
2009-08-14
| ||
17:01 | [49212ddaee] part of check-in [43321a5560] Fix a case where SQLite may write past the end of a buffer as a result of a corrupted database file. (check-in: [43321a5560] user: dan branch: trunk, size: 264600) | |
2009-08-10
| ||
03:57 | [97d32ef9e0] part of check-in [ee034cfc71] Removed some warnings from the MSVC compile. (CVS 6965) (check-in: [ee034cfc71] user: shane branch: trunk, size: 264494) | |
2009-08-08
| ||
18:01 | [812c365f76] part of check-in [257e9b5750] Suppress various compiler warnings. (CVS 6963) (check-in: [257e9b5750] user: drh branch: trunk, size: 264474) | |
2009-07-24
| ||
19:01 | [46f24d0b65] part of check-in [866216c0b6] Further simplifications to pager.c in support of structural coverage testing. (CVS 6929) (check-in: [866216c0b6] user: drh branch: trunk, size: 264591) | |
17:58 | [c1d3d67007] part of check-in [5d9e767a05] Allow virtual tables to be used in shared-cache mode. (CVS 6928) (check-in: [5d9e767a05] user: danielk1977 branch: trunk, size: 264641) | |
2009-07-23
| ||
01:44 | [64fbba1140] part of check-in [5ba880dde8] Simplifications and comment enhancements on btree.c. (CVS 6925) (check-in: [5ba880dde8] user: drh branch: trunk, size: 264672) | |
2009-07-22
| ||
18:07 | [e3cd5ed99c] part of check-in [375fd6f9c5] Simplifications to btree.c in support of coverage testing. (CVS 6923) (check-in: [375fd6f9c5] user: drh branch: trunk, size: 264394) | |
14:08 | [74655dc71c] part of check-in [5260e8b104] Fix a double-free that can occur after database corruption is detected. (CVS 6921) (check-in: [5260e8b104] user: danielk1977 branch: trunk, size: 264494) | |
00:35 | [ece7e39b72] part of check-in [96cfd07952] Further simplifications to btree.c, especially the sqlite3BtreeKey() and sqlite3BtreeData() functions. New assert() statements added to verify that these routines are called correctly. (CVS 6917) (check-in: [96cfd07952] user: drh branch: trunk, size: 264507) | |
2009-07-21
| ||
19:25 | [710f95cf38] part of check-in [0b41dfc066] Change getAndInitPage() (btree.c) to use only PagerAcquire(), not PagerLookup() and PagerAcquire(). (CVS 6916) (check-in: [0b41dfc066] user: danielk1977 branch: trunk, size: 263749) | |
19:02 | [abc2ccac9f] part of check-in [716fccea58] Additional simplifications to btree.c in support of coverage testing. (CVS 6915) (check-in: [716fccea58] user: drh branch: trunk, size: 263795) | |
15:33 | [d5f5b30e99] part of check-in [110998f18a] Remove an assert() in btree.c which is no longer true due to changes in the error reporting behavior of ptrmapPut(). (CVS 6914) (check-in: [110998f18a] user: drh branch: trunk, size: 263622) | |
11:52 | [d5dde31b57] part of check-in [4cf23e9e86] Changes to btree.c in support of coverage testing. (CVS 6913) (check-in: [4cf23e9e86] user: drh branch: trunk, size: 263653) | |
2009-07-20
| ||
19:30 | [123dd6ab71] part of check-in [a159e9d247] Reverse the order of two conditionals in a test in order to achieve coverage of them both. Also: clarifications to comments in btree.c. (CVS 6912) (check-in: [a159e9d247] user: drh branch: trunk, size: 263105) | |
17:11 | [a597d1d960] part of check-in [7dcf2a7872] Modify various routines inside btree.c to take a pointer to the return-code as a parameter and to no-op if the return-code storage location already contains a non-zero code. (CVS 6911) (check-in: [7dcf2a7872] user: drh branch: trunk, size: 263085) | |
2009-07-16
| ||
18:21 | [4d964398d7] part of check-in [9452517981] Code simplifications and comment improvements in support of structural coverage testing. (CVS 6899) (check-in: [9452517981] user: drh branch: trunk, size: 263006) | |
2009-07-15
| ||
18:15 | [7e2ecefda6] part of check-in [6242db39f7] Fix a potential database corruption following DROP TABLE when the pending byte page corresponds to a ptrmap page. This situation cannot happen in a real deployment - but it still needs to be fixed. (CVS 6897) (check-in: [6242db39f7] user: drh branch: trunk, size: 262714) | |
17:25 | [a1fda2c54e] part of check-in [d3897235d7] Simplifications to btree.c in support of structural testing. Renamed the "skip" field of the BtCursor object to "skipNext" to make it easier to search for places where it is used. (CVS 6896) (check-in: [d3897235d7] user: drh branch: trunk, size: 262752) | |
11:26 | [b5a8d21f6b] part of check-in [cfbeda1b31] Added the SQLITE_TESTCTRL_RESERVE option to sqlite3_test_control(). Simplifications to btree.c to facilitate structural coverage testing. (CVS 6894) (check-in: [cfbeda1b31] user: drh branch: trunk, size: 262630) | |
2009-07-14
| ||
17:48 | [dcdf6af667] part of check-in [17749fa548] Simplifications to the PRAGMA integrity_check logic. Remove unreachable code. (CVS 6892) (check-in: [17749fa548] user: drh branch: trunk, size: 262401) | |
2009-07-13
| ||
13:18 | [b88edecbed] part of check-in [9f800e1139] Change an unreachable condition in btree.c to a NEVER(). (CVS 6888) (check-in: [9f800e1139] user: danielk1977 branch: trunk, size: 262618) | |
11:22 | [39559c172e] part of check-in [b9be365d85] In sqlite3PagerWrite(), do not set the PGHDR_NEED_SYNC flag on a page if an IO error occured while attempting to journal it. (CVS 6887) (check-in: [b9be365d85] user: danielk1977 branch: trunk, size: 262219) | |
09:41 | [a65e2050da] part of check-in [3151dab9c7] Remove an assert ("assert( subpage>0 )") from btree.c that may not be true for a corrupt database. Also add comments and other assert() statements to btree.c function moveToRoot(). (CVS 6886) (check-in: [3151dab9c7] user: danielk1977 branch: trunk, size: 261982) | |
07:30 | [4882500851] part of check-in [39ce2097da] Remove a case from BtreeMovetoUnpacked() that is unreachable as of (6881). (CVS 6885) (check-in: [39ce2097da] user: danielk1977 branch: trunk, size: 260523) | |
2009-07-12
| ||
02:32 | [46f5eb09a9] part of check-in [dfb146ef00] Simplifications to btree.c to help facilitate coverage testing. (CVS 6884) (check-in: [dfb146ef00] user: drh branch: trunk, size: 260365) | |
2009-07-11
| ||
18:26 | [e1ad67c98a] part of check-in [7deb6568d8] Remove an unused parameter from the accessPayload() function in btree.c. (CVS 6882) (check-in: [7deb6568d8] user: drh branch: trunk, size: 260322) | |
17:39 | [2604d94126] part of check-in [6994b41a94] Fix a case where deleting a row from a corrupt database could cause an assert to fail. (CVS 6881) (check-in: [6994b41a94] user: danielk1977 branch: trunk, size: 260450) | |
17:04 | [6a5d08b45a] part of check-in [618a83d65f] Bug fix in the computation of the number of pages to autovacuum when nReserve is greater than zero. (CVS 6880) (check-in: [618a83d65f] user: drh branch: trunk, size: 260397) | |
13:13 | [a080b574ea] part of check-in [d99bde9ca6] Unwind some complex conditions in sqlite3BtreeDelete() into separate "if" statements. (CVS 6879) (check-in: [d99bde9ca6] user: drh branch: trunk, size: 260112) | |
11:45 | [0fd7421612] part of check-in [b0853100a9] Remove another unreachable branch from btree.c. (CVS 6878) (check-in: [b0853100a9] user: danielk1977 branch: trunk, size: 260124) | |
06:55 | [829ff60149] part of check-in [709576c670] Modify the integrity-check code so that each b-tree page inspected is reinitialized while doing so, even if an initialized copy exists in the cache. This prevents an assert from failing when running integrity_check on a corrupt database. (CVS 6877) (check-in: [709576c670] user: danielk1977 branch: trunk, size: 260093) | |
05:06 | [563cda7bbb] part of check-in [47b40fefa6] Remove unreachable condition from btree.c. (CVS 6876) (check-in: [47b40fefa6] user: danielk1977 branch: trunk, size: 259961) | |
2009-07-10
| ||
16:51 | [c331cc043d] part of check-in [c6dfc8bd39] Fix a pager reference count leak in btree that occurs on an OOM following a database page size change. (CVS 6875) (check-in: [c6dfc8bd39] user: drh branch: trunk, size: 259631) | |
02:52 | [90b5fbf40b] part of check-in [440c573c7e] Simplifications to the PRAGMA integrity_check logic in btree.c. (CVS 6873) (check-in: [440c573c7e] user: drh branch: trunk, size: 259677) | |
2009-07-09
| ||
13:25 | [0c58f7879b] part of check-in [9403f04dfd] Fix two faulty assert() statements btree. (It was possible for the assertions to be false given a corrupt database file as input.) (CVS 6872) (check-in: [9403f04dfd] user: drh branch: trunk, size: 259607) | |
11:36 | [58c2d32d82] part of check-in [45efb78a8a] Remove an unused branch from btree.c. (CVS 6871) (check-in: [45efb78a8a] user: danielk1977 branch: trunk, size: 259592) | |
08:27 | [45595e89ac] part of check-in [3190eefd5f] In btree.c, have setSharedCacheLock() assume that the b-tree is sharable instead of checking to see if it is. The caller has already performed this check. (CVS 6870) (check-in: [3190eefd5f] user: danielk1977 branch: trunk, size: 259585) | |
05:07 | [068c2d866c] part of check-in [1d96ce8c76] Restore (btree_set_cache_size) to test3.c. This is used on unix for the tcl "crash tests". Make some functions no longer used outside of btree.c static. (CVS 6869) (check-in: [1d96ce8c76] user: danielk1977 branch: trunk, size: 259126) | |
03:20 | [abceac0045] part of check-in [579ba6c83f] removed the test function sqlite3BtreeFlags() (test code only); (CVS 6868) (check-in: [579ba6c83f] user: shane branch: trunk, size: 259567) | |
02:48 | [c9775946b5] part of check-in [0eb69e8dda] removed unused functions from test3.c (test code only); (CVS 6867) (check-in: [0eb69e8dda] user: shane branch: trunk, size: 260069) | |
02:24 | [3a97e22837] part of check-in [1b8c3a8246] Simplifications and additional testcase() macros for btree.c. (CVS 6866) (check-in: [1b8c3a8246] user: drh branch: trunk, size: 260936) | |
2009-07-08
| ||
18:50 | [92c2f9f569] part of check-in [890dbab28c] Fix a typo in (6861): "ifndef SQLITE_TEST" -> "ifdef SQLITE_TEST". (CVS 6865) (check-in: [890dbab28c] user: danielk1977 branch: trunk, size: 260948) | |
18:45 | [8a607b18c4] part of check-in [11e295ccd2] Revert part of (6860) that was accidentally checked in. (CVS 6864) (check-in: [11e295ccd2] user: danielk1977 branch: trunk, size: 260949) | |
18:12 | [a2117e0dde] part of check-in [fed66e8695] Add another boundary-condition testcase() macro to btree.c. Correct the comment on modifyPagePointer(). (CVS 6863) (check-in: [fed66e8695] user: drh branch: trunk, size: 260912) | |
16:54 | [88efb67b88] part of check-in [5ac991b3ce] Improvements to comments in btree.c:freeSpace(). Added a testcase() macro to verify a boundary case is tested in sqlite3BtreeInitPage(). (CVS 6862) (check-in: [5ac991b3ce] user: drh branch: trunk, size: 260934) | |
15:14 | [e95997f1c9] part of check-in [196cbf8229] Comment out sqlite3BtreeFlags() when not in debug mode. Tweaks to database corruption detection logic in freeSpace(). (CVS 6861) (check-in: [196cbf8229] user: drh branch: trunk, size: 260799) | |
13:55 | [62fc49f212] part of check-in [86eba4f16f] Fix error handling in sqlite3BtreePutData(). (CVS 6860) (check-in: [86eba4f16f] user: danielk1977 branch: trunk, size: 260805) | |
08:05 | [2fd0b5cc75] part of check-in [0cc705c2c4] Remove an ALWAYS clause that could be false if an IO error within a statement executed by a virtual table caused an emergency rollback. (CVS 6859) (check-in: [0cc705c2c4] user: danielk1977 branch: trunk, size: 260727) | |
01:49 | [e82f52ac28] part of check-in [aab82a229a] Simplifications to sqlite3BtreeInsert() and allocateSpace(). Added many testcase() macros to verify boundary conditions in btree.c. (CVS 6858) (check-in: [aab82a229a] user: drh branch: trunk, size: 260551) | |
2009-07-07
| ||
17:38 | [48ac9ac605] part of check-in [87bbc8d6b6] Improvements to corrupt database detection in defragmentPage(). (CVS 6857) (check-in: [87bbc8d6b6] user: drh branch: trunk, size: 260028) | |
15:47 | [0cc9c50301] part of check-in [06dcfe72a6] Do not load the root-page of a b-tree table/index when opening a cursor. Instead, allow it to be loaded when the cursor is first used (in function moveToRoot()). Also move the root-page flags sanity checks that were a part of the OP_OpenRead/OpenWrite opcodes into the moveToRoot() function. (CVS 6856) (check-in: [06dcfe72a6] user: danielk1977 branch: trunk, size: 259562) | |
11:39 | [8f4c2ebdc9] part of check-in [ec1e27e33b] Fix a reference count problem following database corruption detection in the ptrmapPut() routine of btree.c. (CVS 6854) (check-in: [ec1e27e33b] user: drh branch: trunk, size: 259214) | |
02:44 | [efad7a5ac6] part of check-in [fc2a40a9db] Simplifications to btree.c and vdbeaux.c in support of structural coverage testing. (CVS 6853) (check-in: [fc2a40a9db] user: drh branch: trunk, size: 259181) | |
2009-07-06
| ||
18:56 | [1a7caa2b0d] part of check-in [30d5ec62ab] Make the sqlite3BtreeMoveto function static, since it is only used from within btree.c. Remove unused function lockBtreeWithRetry from btree.c. (CVS 6850) (check-in: [30d5ec62ab] user: danielk1977 branch: trunk, size: 259137) | |
2009-07-04
| ||
17:16 | [1c12a097a1] part of check-in [c76a366ed4] Remove unreachable code from function btreeCursor() in btree.c. (CVS 6848) (check-in: [c76a366ed4] user: danielk1977 branch: trunk, size: 259847) | |
15:41 | [464fbd75cf] part of check-in [133357d2f0] Remove a redundant branch from btree.c. (CVS 6847) (check-in: [133357d2f0] user: danielk1977 branch: trunk, size: 259768) | |
2009-07-03
| ||
16:25 | [b7f75130f8] part of check-in [e2112d6160] Simplify the way the read-uncommitted flag is handled to facilitate test coverage. (CVS 6841) (check-in: [e2112d6160] user: danielk1977 branch: trunk, size: 259794) | |
2009-07-02
| ||
17:21 | [8a3f74aeea] part of check-in [611e704fdf] When a b-tree transaction is committed when there are open cursors, downgrade shared-cache write-locks to read-locks instead of relinquishing all locks. Fix for #3942. (CVS 6837) (check-in: [611e704fdf] user: danielk1977 branch: trunk, size: 260673) | |
07:47 | [b739b9659c] part of check-in [e3c055f167] Cause opening a transaction on a sharable b-tree module automatically obtain a read-lock on page 1. This means there is no way for sqlite3BtreeGetMeta() to fail. (CVS 6836) (check-in: [e3c055f167] user: danielk1977 branch: trunk, size: 259733) | |
05:23 | [aff035e89a] part of check-in [8f0591ae98] Fix for compilation with OMIT_AUTOVACUUM defined. Ticket #3940. (CVS 6835) (check-in: [8f0591ae98] user: danielk1977 branch: trunk, size: 260887) | |
2009-06-29
| ||
06:00 | [078eb41016] part of check-in [f17ef37897] Cause incremental-blob read/write operations lock shared-cache tables in the same way as normal SQL read/writes. Add complex assert statements to make sure tehe correct shared-cache locks are held when accessing the database. Eliminate some redundant checks from btree.c. (CVS 6830) (check-in: [f17ef37897] user: danielk1977 branch: trunk, size: 260844) | |
2009-06-26
| ||
16:32 | [617d674eb7] part of check-in [f01a9fc375] Removed a few compiler warnings under MSVC. (CVS 6825) (check-in: [f01a9fc375] user: shane branch: trunk, size: 257839) | |
2009-06-25
| ||
16:11 | [c049fb1810] part of check-in [bb5f1c0143] Fix a problem with a return code being ignored in insertCell(). (CVS 6816) (check-in: [bb5f1c0143] user: danielk1977 branch: trunk, size: 257797) | |
09:40 | [d57b29353c] part of check-in [daadbd9a8f] Replace an "if" condition that is always true in btree.c with an assert(). (CVS 6814) (check-in: [daadbd9a8f] user: danielk1977 branch: trunk, size: 257818) | |
2009-06-24
| ||
05:40 | [699c333dd9] part of check-in [11750c6aee] Simplify things by rolling the functionality of balance_shallower() into balance_nonroot(). (CVS 6808) (check-in: [11750c6aee] user: danielk1977 branch: trunk, size: 257790) | |
2009-06-23
| ||
16:40 | [807e32c181] part of check-in [c5dc80e6bd] Remove a condition from balance_nonroot() that is always true. (CVS 6806) (check-in: [c5dc80e6bd] user: danielk1977 branch: trunk, size: 258777) | |
15:43 | [13e33e8510] part of check-in [da9893e23c] Call balance_shallower() from balance_nonroot() instead of from balance(). This simplifies coverage testing a bit. (CVS 6805) (check-in: [da9893e23c] user: danielk1977 branch: trunk, size: 258753) | |
11:22 | [7321913034] part of check-in [47ec874947] Fix a failing assert in btree.c. The same bug was causing a spurious SQLITE_CORRUPT return when compiled without SQLITE_DEBUG. (CVS 6800) (check-in: [47ec874947] user: danielk1977 branch: trunk, size: 259376) | |
2009-06-22
| ||
18:03 | [4796c27b38] part of check-in [3ec8b37a89] Remove a condition that is always true from btree.c. (CVS 6798) (check-in: [3ec8b37a89] user: danielk1977 branch: trunk, size: 259199) | |
12:05 | [e24cdcd328] part of check-in [bda38f5e86] Make sure sqlite3BtreeCreateTable() returns an error code if the largest rootpage field is invalid in auto_vacuum mode. Update file-format comments to describe all of the "meta" values. (CVS 6797) (check-in: [bda38f5e86] user: drh branch: trunk, size: 259140) | |
2009-06-18
| ||
17:22 | [0fbea81d1e] part of check-in [ed08b53cd6] Move codec management from database connections into the pager so that it will work together with shared cache. (CVS 6782) (check-in: [ed08b53cd6] user: drh branch: trunk, size: 259088) | |
11:29 | [067ad47d83] part of check-in [db4fb83536] Reduce the minimum usable page space to 480 byte from 500 bytes. (CVS 6780) (check-in: [db4fb83536] user: drh branch: trunk, size: 259014) | |
2009-06-17
| ||
13:57 | [c7fc867f52] part of check-in [69eb0ff817] Fix a potential segfault following database corruption. Problem made visible by check-in (6772). (CVS 6775) (check-in: [69eb0ff817] user: drh branch: trunk, size: 259014) | |
13:09 | [5d4e1fdae7] part of check-in [59ec937ce2] Suppress some -Wextra compiler warnings from GCC. (CVS 6774) (check-in: [59ec937ce2] user: drh branch: trunk, size: 258993) | |
11:49 | [9225e0726c] part of check-in [a433ca821c] Fix a bug affecting secure-delete mode introduced by (6768). (CVS 6773) (check-in: [a433ca821c] user: danielk1977 branch: trunk, size: 258915) | |
11:13 | [371458438e] part of check-in [368e44ec2e] Fix for #3918. Also, fix the TRACE macros in balance_nonroot(). (CVS 6772) (check-in: [368e44ec2e] user: danielk1977 branch: trunk, size: 258390) | |
2009-06-16
| ||
16:50 | [1edede2a80] part of check-in [092b276e7d] Changes to balance_nonroot() and BtreeDelete() to simplify delete operations and reduce stack/heap usage while balancing b-tree structures. (CVS 6768) (check-in: [092b276e7d] user: danielk1977 branch: trunk, size: 258369) | |
04:31 | [0811502637] part of check-in [d89542cd8b] Remove a duplicate assert from btree.c. Ticket #3915. (CVS 6765) (check-in: [d89542cd8b] user: danielk1977 branch: trunk, size: 257667) | |
2009-06-15
| ||
16:27 | [8363cf2ee0] part of check-in [e1e6430752] Fix compiler warnings with MSVC build. (CVS 6761) (check-in: [e1e6430752] user: shane branch: trunk, size: 257699) | |
2009-06-14
| ||
12:47 | [9804315e03] part of check-in [3448b39dcd] Detect database corruption and abort balance_nonroot() before the corruption causes problems. (CVS 6758) (check-in: [3448b39dcd] user: drh branch: trunk, size: 257690) | |
2009-06-10
| ||
09:11 | [b883af5a93] part of check-in [9ace995910] Minor tweak to balance_quick() to save a few instructions. (CVS 6743) (check-in: [9ace995910] user: danielk1977 branch: trunk, size: 257581) | |
2009-06-09
| ||
18:58 | [e626616c3b] part of check-in [0bd84e7387] Fix compiler warnings with MSVC build. (CVS 6741) (check-in: [0bd84e7387] user: shane branch: trunk, size: 257484) | |
13:42 | [a3c7d36de0] part of check-in [56bff6eb2f] Enable cell overflow checking in sqlite3BtreeInitPage() using the compile-time option SQLITE_ENABLE_OVERSIZE_CELL_CHECK. Change the tests so that they recognize different error messages depending on the setting of this macro. (CVS 6735) (check-in: [56bff6eb2f] user: drh branch: trunk, size: 257472) | |
11:34 | [a5a8e678b0] part of check-in [2e5d42aeb4] Avoid calling fillInCell() to create an internal node intkey cell from balance_nonroot(). A single putVarint() does the same thing more quickly. (CVS 6734) (check-in: [2e5d42aeb4] user: danielk1977 branch: trunk, size: 257468) | |
10:37 | [30bd9f0784] part of check-in [49f544ebae] Only do the cell overread checks in sqlite3BtreeInitPage if SQLITE_OVERREAD_CHECK is defined at compile-time. (CVS 6733) (check-in: [49f544ebae] user: drh branch: trunk, size: 257557) | |
09:41 | [53c5df7ff0] part of check-in [8f1c1f61f7] Do not clear the MemPage.nFree variable when insertCell() adds an overflow cell to a page. Not doing this means balance_quick() can avoid a call to sqlite3BtreeInitPage(). (CVS 6732) (check-in: [8f1c1f61f7] user: danielk1977 branch: trunk, size: 257570) | |
2009-06-08
| ||
14:49 | [50716b7a8b] part of check-in [7863db904d] Change the btree balance code so that it does not call balance_nonroot() recursively. (CVS 6729) (check-in: [7863db904d] user: danielk1977 branch: trunk, size: 258556) | |
2009-06-05
| ||
18:44 | [bb9dbeaf78] part of check-in [3ae4880bee] Detect when database corruption causes an attemp to set the pointer map value for a pointer map page and report the corruption. (CVS 6722) (check-in: [3ae4880bee] user: drh branch: trunk, size: 255921) | |
14:17 | [3a0e52943b] part of check-in [38b20327a8] Take care that a corrupt variable-length integer does not cause 32-bit integer overflow when parsing a record format, nor cause excessively large memory allocations. (CVS 6719) (check-in: [38b20327a8] user: drh branch: trunk, size: 255867) | |
2009-06-04
| ||
19:06 | [17ab7af7d2] part of check-in [e557c8e584] Earlier detection of freelist corruption in the page allocation routines. (CVS 6718) (check-in: [e557c8e584] user: drh branch: trunk, size: 255963) | |
17:02 | [a55ea6bd9b] part of check-in [1335e4440f] Fix an assertion fault in balance_quick() that occurs when an interior btree node has zero cells due to database corruption. Also update the corrupt7.test result vectors for a couple of cases where the error report on database corruption changed due to earlier detection. (CVS 6717) (check-in: [1335e4440f] user: drh branch: trunk, size: 255424) | |
16:14 | [ca21e0b459] part of check-in [52b02ca5f3] If the root page of a btree is empty and is also not a leaf page and the page is not page 1, then report database corruption. (CVS 6716) (check-in: [52b02ca5f3] user: drh branch: trunk, size: 255400) | |
14:46 | [ca83629673] part of check-in [e7ad68e93b] Reduce the stack usage of balance_quick(). (CVS 6715) (check-in: [e7ad68e93b] user: danielk1977 branch: trunk, size: 255355) | |
00:11 | [708b9373d5] part of check-in [4e92c7f20a] Fix two instances where a malformed header in a database file (in other words a corrupt database file) can lead to an assertion fault. (CVS 6712) (check-in: [4e92c7f20a] user: drh branch: trunk, size: 255048) | |
2009-06-03
| ||
21:04 | [f8636b7a6f] part of check-in [c54de1f540] Change the pcache1.c implementation so that the "header" occurs at the end of page buffer, not at the beginning. This insures that the 20 bytes immediately following the page buffer are mapped if a read of the page buffer overruns due to a malformed cell. (CVS 6711) (check-in: [c54de1f540] user: drh branch: trunk, size: 254999) | |
17:26 | [b0ac995593] part of check-in [7fa5d3cb0f] Add corruptD.test, a container for testing the "cell overflow" problem. Also shuffle a small amount of code in BtreeInitPage() to check that the page header pointer to the start of the cell offset array is set to a sane value. (CVS 6710) (check-in: [7fa5d3cb0f] user: danielk1977 branch: trunk, size: 254001) | |
11:25 | [5afa1b5b68] part of check-in [6dbf4eca00] Define a set of constants to use as the "index" argument to sqlite3BtreeGetMeta and UpdateMeta. This makes some parts of the code easier to follow. (CVS 6709) (check-in: [6dbf4eca00] user: danielk1977 branch: trunk, size: 253634) | |
2009-05-28
| ||
11:05 | [41bee6e469] part of check-in [5904af6e6d] Workaround the need for internal API sqlite3BtreeCursorDb(). It was only being used for an assert() statement, which can be done differently. (CVS 6683) (check-in: [5904af6e6d] user: danielk1977 branch: trunk, size: 253552) | |
2009-05-06
| ||
18:57 | [7c4b02afea] part of check-in [df599237e1] Changes to silence compiler warnings under MSVC. (CVS 6613) (check-in: [df599237e1] user: shane branch: trunk, size: 253633) | |
2009-05-04
| ||
19:01 | [a601a89bcf] part of check-in [77a8239548] Avoid parsing cells that fit entirely on the b-tree page when searching a b-tree index. (CVS 6601) (check-in: [77a8239548] user: danielk1977 branch: trunk, size: 253629) | |
11:42 | [62f3194f5e] part of check-in [cac4f3d812] Speed up INSERT operations that add data to UNIQUE or PRIMARY KEY indexes by rationalizing duplicate seek operations. (CVS 6599) (check-in: [cac4f3d812] user: danielk1977 branch: trunk, size: 252216) | |
2009-05-02
| ||
10:03 | [64ad8841ae] part of check-in [9950c0a79c] When a cursor points at the last entry of an intkey btree after an insert, leave it there (instead of moving it to the tree root node). This speeds up statements of the form "INSERT INTO ... SELECT ..." that use auto-generated rowids. (CVS 6592) (check-in: [9950c0a79c] user: danielk1977 branch: trunk, size: 251539) | |
07:36 | [1201cba9e4] part of check-in [20c4acc291] Do not reset the cursor before seeking it in sqlite3BtreeInsert(). This speeds up INSERT operations that use auto-generated rowid values. (CVS 6591) (check-in: [20c4acc291] user: danielk1977 branch: trunk, size: 249887) | |
2009-05-01
| ||
13:16 | [4bef945f2b] part of check-in [26444f2a44] Update PRAGMA integrity_check so that it treats SQLITE_IOERR_NOMEM errors from underlying components the same as SQLITE_NOMEM errors. (CVS 6587) (check-in: [26444f2a44] user: drh branch: trunk, size: 249341) | |
2009-04-30
| ||
13:30 | [2165bfef1b] part of check-in [715f14f1dc] Disallow attaching the same database multiple times to the same db connection in shared cache mode, since doing so leads to deadlock. (CVS 6578) (check-in: [715f14f1dc] user: drh branch: trunk, size: 249289) | |
09:10 | [2b89d1f578] part of check-in [38f8c5a14c] When SQLite is configured to use in-memory temp files (either by setting SQLITE_TEMP_STORE during compilation or using the temp_store pragma at run time), store statement/savepoint journals in memory also. Ticket #3825. (CVS 6575) (check-in: [38f8c5a14c] user: danielk1977 branch: trunk, size: 248595) | |
01:22 | [4ac764ea85] part of check-in [8bf60b24ff] Remove always-true tests from attach.c. In btree.c, always test the return from sqlite3PagerSetPagesize() since it might return SQLITE_NOMEM. (CVS 6572) (check-in: [8bf60b24ff] user: drh branch: trunk, size: 248561) | |
2009-04-29
| ||
17:49 | [57b2aeac71] part of check-in [7ec42e989f] Modify the assemblePage() function in btree.c so that it runs slightly faster. (CVS 6569) (check-in: [7ec42e989f] user: danielk1977 branch: trunk, size: 248546) | |
11:31 | [d3e38cf751] part of check-in [e8f7f7b787] Add a version of cellSizePtr() that is faster than using sqlite3BtreeParseCellPtr(). This speeds up balance_nonroot(). (CVS 6566) (check-in: [e8f7f7b787] user: danielk1977 branch: trunk, size: 248611) | |
06:27 | [3dffdafe21] part of check-in [fc3a5ac235] Simplify a conditional expression in btree.c. (CVS 6565) (check-in: [fc3a5ac235] user: danielk1977 branch: trunk, size: 247452) | |
2009-04-19
| ||
20:51 | [b4ec46b3ad] part of check-in [bd86018490] Update comments and remove unused code in btree.c. No functional changes. (CVS 6521) (check-in: [bd86018490] user: drh branch: trunk, size: 247482) | |
2009-04-11
| ||
16:06 | [103858ade0] part of check-in [2c560e057e] Fix a case where a corrupt database could cause an assert() to fail. (CVS 6496) (check-in: [2c560e057e] user: danielk1977 branch: trunk, size: 247646) | |
2009-04-10
| ||
09:47 | [8331febf37] part of check-in [ed6620ba58] Always set BtShared.db when entering the BtShared mutex. Ticket #3793. (CVS 6480) (check-in: [ed6620ba58] user: danielk1977 branch: trunk, size: 247465) | |
00:56 | [02c902db55] part of check-in [2cc68272b1] Force 8-byte alignment of sqlite3_value objects in the sqlite3VdbeUnpackRecord() primitive. Ticket #3777. (CVS 6479) (check-in: [2cc68272b1] user: drh branch: trunk, size: 247763) | |
2009-04-07
| ||
14:38 | [0d02176d76] part of check-in [2c1f59834a] Fix an incorrect assert in btree.c. (CVS 6465) (check-in: [2c1f59834a] user: danielk1977 branch: trunk, size: 247770) | |
2009-04-06
| ||
17:50 | [effd3b7091] part of check-in [def3a01691] Test cases and minor code changes to increase coverage of btree.c. (CVS 6456) (check-in: [def3a01691] user: danielk1977 branch: trunk, size: 247736) | |
2009-04-05
| ||
12:22 | [457a71a1eb] part of check-in [208382e032] Additional code to make sure and to assert that memory allocations have 8-byte alignment. Ticket #3777. (CVS 6450) (check-in: [208382e032] user: drh branch: trunk, size: 247551) | |
2009-04-02
| ||
20:16 | [f4fdf5359f] part of check-in [85e6a4740d] Make sure the VACUUM statement locks down the page_size and auto_vacuum modes after it runs. Otherwise, pragmas might change these settings on a populated database, resulting in problems. (CVS 6442) (check-in: [85e6a4740d] user: drh branch: trunk, size: 247611) | |
18:28 | [7d51b2ef5c] part of check-in [8f1423445b] Fix a problem causing the BtShared.isPending flag to be cleared to early. Also coverage improvements for btree.c. (CVS 6440) (check-in: [8f1423445b] user: danielk1977 branch: trunk, size: 247343) | |
2009-04-01
| ||
19:07 | [dcf8157bd4] part of check-in [859792958b] Remove an unreachable branch from lockBtree(). Add comments. (CVS 6428) (check-in: [859792958b] user: danielk1977 branch: trunk, size: 246834) | |
18:03 | [3e83142663] part of check-in [fdd78962fc] Remove the unused SQLITE_Vtab flag. (CVS 6425) (check-in: [fdd78962fc] user: danielk1977 branch: trunk, size: 246487) | |
17:13 | [abd530b62a] part of check-in [0c5a7d1117] In pageReinit() in btree.c, only reinitialize a page if there are one or more references to it, not including the transient reference held by pager.c. This was always the intent. (CVS 6424) (check-in: [0c5a7d1117] user: danielk1977 branch: trunk, size: 246527) | |
16:25 | [cfa70f8e31] part of check-in [f8e15a542d] Remove an unreachable branch from allocateSpace() in btree.c. Add comments and asserts to the same function. (CVS 6422) (check-in: [f8e15a542d] user: danielk1977 branch: trunk, size: 246480) | |
09:41 | [afb15be98c] part of check-in [3e3b5e861a] Add some assert() statements to querySharedCacheTableLock(). (CVS 6421) (check-in: [3e3b5e861a] user: danielk1977 branch: trunk, size: 245857) | |
2009-03-30
| ||
18:50 | [304c18b7e3] part of check-in [c5890935a0] Fix a case where a pointer map page was not being journalled before a file truncation that occurs as part of an incremental vacuum. (CVS 6413) (check-in: [c5890935a0] user: danielk1977 branch: trunk, size: 245003) | |
17:19 | [244dddea3a] part of check-in [10f605be8c] Add a comment to the pageReinit() routine explaining why the return code from sqlite3BtreeInitPage() is ignored. Comment change only - no changes to code. (CVS 6412) (check-in: [10f605be8c] user: drh branch: trunk, size: 244671) | |
13:53 | [5f99af1adb] part of check-in [3c9097f19a] Modify integrity-check to prevent a buffer overread when dealing with a corrupted database. (CVS 6411) (check-in: [3c9097f19a] user: danielk1977 branch: trunk, size: 244253) | |
2009-03-28
| ||
10:54 | [3aef670482] part of check-in [9278f7b1e1] The fix in (6395) was not correct. Fix #3756 a different way. (CVS 6397) (check-in: [9278f7b1e1] user: danielk1977 branch: trunk, size: 244181) | |
2009-03-25
| ||
15:43 | [a0095c47e6] part of check-in [de469c46f5] Fix a problem preventing sqlite3_extended_errcode() from working correctly. (CVS 6385) (check-in: [de469c46f5] user: danielk1977 branch: trunk, size: 243970) | |
2009-03-23
| ||
02:34 | [1a709b6aac] part of check-in [83a4d5b3d7] Fix compiler warning in MSVC. (CVS 6371) (check-in: [83a4d5b3d7] user: shane branch: trunk, size: 243965) | |
2009-03-20
| ||
13:15 | [4fbb5f26f4] part of check-in [19fa5a29b9] Rename the unused MEM2 static mutex to OPEN and reuse it to serialize access to the sqlite3BtreeOpen() routine to prevent a race condition on detection of sharable caches. Ticket #3735. (CVS 6363) (check-in: [19fa5a29b9] user: drh branch: trunk, size: 243959) | |
2009-03-18
| ||
10:33 | [081e1aac3c] part of check-in [a60f419179] Fix some cases where executing SQL from within a user-function callback could cause problems related to statement-transactions. (CVS 6355) (check-in: [a60f419179] user: danielk1977 branch: trunk, size: 243451) | |
2009-03-17
| ||
22:33 | [805ca96064] part of check-in [189785832a] Move the rowid cache out of VdbeCursor and into BtCursor. When multiple BtCursors are open on the same table, set their rowid cache all at the same time. Ticket #3731. (CVS 6354) (check-in: [189785832a] user: drh branch: trunk, size: 244779) | |
2009-03-16
| ||
13:19 | [7d1c7e15ef] part of check-in [b649a6cc5b] Add the sqlite3_unlock_notify() API. (CVS 6348) (check-in: [b649a6cc5b] user: danielk1977 branch: trunk, size: 243141) | |
2009-03-12
| ||
14:43 | [6e7501d7a2] part of check-in [a1bb1aef0e] Make calls to sqlite3BtreeRollbackStmt() no-ops when passed a Btree* handle that does not have an open statement transaction. Ticket #3718. (CVS 6342) (check-in: [a1bb1aef0e] user: danielk1977 branch: trunk, size: 241658) | |
2009-03-05
| ||
04:20 | [ec710abc5a] part of check-in [6404afa0c5] Corrected typos and misspellings. Ticket #3702. (CVS 6336) (check-in: [6404afa0c5] user: shane branch: trunk, size: 241609) | |
2009-02-24
| ||
19:21 | [c219cd5d46] part of check-in [91d9d51e03] Additional commands and another procedure name changes for clarity of presentation. No logic changes. (CVS 6323) (check-in: [91d9d51e03] user: drh branch: trunk, size: 241604) | |
18:57 | [10c415effa] part of check-in [b99c1815fe] Changes to comments and functions/procedure names for clarification. No changes to logic. (CVS 6322) (check-in: [b99c1815fe] user: drh branch: trunk, size: 241359) | |
16:18 | [8b8697ab5e] part of check-in [4a12f5b818] Enhanced comments on table locking logic as it relates to preparing new statements. Added assert() and testcase() but no other changes to code. (CVS 6319) (check-in: [4a12f5b818] user: drh branch: trunk, size: 241035) | |
10:01 | [e0178d6fb6] part of check-in [d4aa659318] Optimize queries of the form "SELECT count(*) FROM <tbl>" by adding a sqlite3BtreeCount() interface to the btree layer. (CVS 6316) (check-in: [d4aa659318] user: danielk1977 branch: trunk, size: 240890) | |
2009-02-18
| ||
20:31 | [086fdb4505] part of check-in [ded04f12f4] Make sure the auto_vacuum=INCREMENTAL setting is preserved across a VACUUM. Ticket #3663. (CVS 6304) (check-in: [ded04f12f4] user: drh branch: trunk, size: 238313) | |
2009-02-04
| ||
01:49 | [71f30e7438] part of check-in [6301f08a2b] Remove compiler warnings under MSVC. (CVS 6249) (check-in: [6301f08a2b] user: shane branch: trunk, size: 238270) | |
2009-02-03
| ||
16:51 | [800a065686] part of check-in [663479b417] Commit first version of the 'backup' feature. (CVS 6241) (check-in: [663479b417] user: danielk1977 branch: trunk, size: 238230) | |
2009-01-31
| ||
14:54 | [dfbbfc396f] part of check-in [407830c683] Avoid a segfault when running vacuum on an in-memory database. Ticket #3620. (CVS 6221) (check-in: [407830c683] user: danielk1977 branch: trunk, size: 245487) | |
2009-01-28
| ||
20:21 | [606c67b1b5] part of check-in [68957cf0c4] Fix a segfault that can occur when attempting to insert into a corrupt database file. Need a test case. (CVS 6212) (check-in: [68957cf0c4] user: drh branch: trunk, size: 245356) | |
2009-01-20
| ||
17:06 | [01b3af74d9] part of check-in [12f7346c13] Big change to make pager.c easier to follow. Unused variables removed, comments improved, etc. (CVS 6197) (check-in: [12f7346c13] user: danielk1977 branch: trunk, size: 245292) | |
2009-01-16
| ||
16:23 | [e183a4357e] part of check-in [a353c1ab37] Revert (6187). (CVS 6188) (check-in: [a353c1ab37] user: danielk1977 branch: trunk, size: 240581) | |
15:21 | [3b446e24aa] part of check-in [aa67fd0cdb] This commit is an error. Reverted by (6188). (CVS 6187) (check-in: [aa67fd0cdb] user: danielk1977 branch: trunk, size: 245301) | |
2009-01-10
| ||
16:15 | [603ce1969c] part of check-in [64a8dcd8d6] When compiled with SQLITE_DEBUG (in other words, when assert() is enabled) the ALWAYS and NEVER macros will throw an assertion if their arguments are not true or false, respectively. (CVS 6159) (check-in: [64a8dcd8d6] user: drh branch: trunk, size: 240573) | |
2009-01-09
| ||
14:11 | [6ece0e362a] part of check-in [ac84f106d5] Simplifications to btree.c to improve test coverage. (CVS 6150) (check-in: [ac84f106d5] user: drh branch: trunk, size: 240593) | |
2009-01-06
| ||
18:21 | [8f5a2e9aae] part of check-in [df2c285cb9] Reduce the number of paths in btreeCopyFile(). (CVS 6124) (check-in: [df2c285cb9] user: danielk1977 branch: trunk, size: 241596) | |
2009-01-02
| ||
21:08 | [b0cf3e7273] part of check-in [3e9efb7638] Reinitialize page 1 of the database file following a ROLLBACK TO of a transactional SAVEPOINT on an initially empty database. (CVS 6103) (check-in: [3e9efb7638] user: drh branch: trunk, size: 241837) | |
18:10 | [2a89b28a87] part of check-in [78dd7909da] Fix compiler warnings in pager.c (CVS 6102) (check-in: [78dd7909da] user: drh branch: trunk, size: 241777) | |
2008-12-27
| ||
15:23 | [581fdccd7b] part of check-in [08352f9ea9] Fix a problem with savepoint and incremental-vacuum. (CVS 6066) (check-in: [08352f9ea9] user: danielk1977 branch: trunk, size: 241817) | |
2008-12-23
| ||
15:58 | [f695109b39] part of check-in [8d0f724477] Make sure nOverflow is always cleared when a page is released. (CVS 6059) (check-in: [8d0f724477] user: drh branch: trunk, size: 242550) | |
10:37 | [69983b4e65] part of check-in [ae44e74824] Fix a couple of assert() failures that can occur in btree.c and pager.c. (CVS 6055) (check-in: [ae44e74824] user: danielk1977 branch: trunk, size: 242422) | |
2008-12-18
| ||
15:45 | [ad51b56b1a] part of check-in [98a53d91f6] Add savepoint2.test, a file containing savepoint tests similar to tests in trans.test and avtrans.test. And a few savepoint bug fixes. (CVS 6039) (check-in: [98a53d91f6] user: danielk1977 branch: trunk, size: 242494) | |
2008-12-17
| ||
17:30 | [c402a9a15f] part of check-in [34b56600ec] Add the savepoint feature. This feature is largely untested at this point. (CVS 6036) (check-in: [34b56600ec] user: danielk1977 branch: trunk, size: 241984) | |
2008-12-16
| ||
13:46 | [fb64a2afba] part of check-in [13b56b7ff9] Make sure the memory returned from sqlite3ScratchMalloc() is 8-byte aligned. Ticket #3542. (CVS 6031) (check-in: [13b56b7ff9] user: drh branch: trunk, size: 240515) | |
2008-12-10
| ||
21:19 | [e5bfe007a4] part of check-in [ea01d43788] Additional work at eliminating silly compiler warnings. (CVS 6010) (check-in: [ea01d43788] user: drh branch: trunk, size: 240530) | |
16:45 | [ba7baa987f] part of check-in [da1cbfa766] Add explicit casts to silence nuisance warnings from VC++. (CVS 6004) (check-in: [da1cbfa766] user: drh branch: trunk, size: 240480) | |
2008-12-05
| ||
22:40 | [05fae412ab] part of check-in [2a3f5ce14c] Fix integrity check so that it always reports memory allocation errors that it encounters. (CVS 5984) (check-in: [2a3f5ce14c] user: drh branch: trunk, size: 239725) | |
20:01 | [b3438bc1f2] part of check-in [bfde3dae0c] Make sure the nOverflow flag in MemPage is reset to zero after every insert. (CVS 5983) (check-in: [bfde3dae0c] user: drh branch: trunk, size: 239513) | |
2008-11-27
| ||
02:22 | [372c5b32dc] part of check-in [f9c7359065] Add 19 new assert() statements in btree.c that attempt to detect writing to a cache page which is not writeable. (CVS 5964) (check-in: [f9c7359065] user: drh branch: trunk, size: 239096) | |
2008-11-26
| ||
14:55 | [1c46824970] part of check-in [8c0edbef7e] Port check-ins (5955) and (5956) into the 3.6.6 branch. (CVS 5958) (check-in: [8c0edbef7e] user: drh branch: branch_3_6_6, size: 237143) | |
07:40 | [615a2b9e61] part of check-in [8271229c66] Fix an obscure memory leak that can follow an IO error. (CVS 5956) (check-in: [8271229c66] user: danielk1977 branch: trunk, size: 237133) | |
07:25 | [950070c67f] part of check-in [1a66481a37] Fix a couple of assert() failures provoked by running with a small default cache-size (64 pages). (CVS 5955) (check-in: [1a66481a37] user: danielk1977 branch: trunk, size: 237074) | |
2008-11-22
| ||
14:07 | [adfb797442] part of check-in [15d88edf76] Port the corruption bug fix of check-in (5938) into a branch off of version 3.6.6. (CVS 5947) (check-in: [15d88edf76] user: drh branch: branch_3_6_6, size: 236997) | |
2008-11-21
| ||
09:09 | [286ff12489] part of check-in [ddf980a501] Fix the problems demonstrated in tkt35xx.test in a different way to (5936). (CVS 5938) (check-in: [ddf980a501] user: danielk1977 branch: trunk, size: 237001) | |
2008-11-19
| ||
10:22 | [76c1b09263] part of check-in [7bd1ac1899] Simplify the way the pager layer invokes the busy-handler callback. (CVS 5922) (check-in: [7bd1ac1899] user: danielk1977 branch: trunk, size: 236956) | |
09:05 | [abbd6838ba] part of check-in [88134322c3] Changes to avoid "unused parameter" compiler warnings. (CVS 5921) (check-in: [88134322c3] user: danielk1977 branch: trunk, size: 237051) | |
2008-11-17
| ||
14:20 | [661d322468] part of check-in [24469dbace] Changes to btree.c to avoid the unsigned/signed comparison warnings. (CVS 5911) (check-in: [24469dbace] user: danielk1977 branch: trunk, size: 237186) | |
2008-11-13
| ||
18:29 | [81c229650b] part of check-in [9b7a52e952] Fixed several more crashes due to corrupt db files. Added corruptC.test to soak.test. (CVS 5905) (check-in: [9b7a52e952] user: shane branch: trunk, size: 237113) | |
14:28 | [be3e0aa637] part of check-in [47866d6708] Add an API to support custom page cache implementations. (CVS 5899) (check-in: [47866d6708] user: danielk1977 branch: trunk, size: 236826) | |
2008-11-12
| ||
18:21 | [7c06d81faa] part of check-in [faa6bd7b61] Avoid some buffer overreads detected by valgrind while running corruptC.test. (CVS 5898) (check-in: [faa6bd7b61] user: danielk1977 branch: trunk, size: 236691) | |
08:49 | [7505a73bd9] part of check-in [395084acbb] Fix a database corruption related crash uncovered by corruptC.test. (CVS 5890) (check-in: [395084acbb] user: danielk1977 branch: trunk, size: 236613) | |
04:55 | [5406b753fb] part of check-in [f8bb34e409] Fixed a few more crashes when dealing with corrupt db files. (CVS 5888) (check-in: [f8bb34e409] user: shane branch: trunk, size: 236538) | |
2008-11-11
| ||
22:18 | [9794c9eee5] part of check-in [ec18667e2d] Fixed crash during an UPDATE when free cell size is corrupt. (CVS 5887) (check-in: [ec18667e2d] user: shane branch: trunk, size: 236279) | |
20:51 | [16dda042b6] part of check-in [99d4172ed6] Prevent a crash during an UPDATE when the cell offset is corrupt. (CVS 5886) (check-in: [99d4172ed6] user: shane branch: trunk, size: 236203) | |
17:36 | [7824bc89b3] part of check-in [0659a666ff] Fixed crash in integrity_check with corrupt content offset size in page header. (CVS 5881) (check-in: [0659a666ff] user: shane branch: trunk, size: 236106) | |
2008-11-10
| ||
17:14 | [e0ceb75234] part of check-in [e0f07323e8] In btree.c, omit calls to setChildPtrmaps() if SQLITE_OMIT_AUTOVACUUM is defined. Ticket #3439. (CVS 5871) (check-in: [e0f07323e8] user: shane branch: trunk, size: 235831) | |
2008-11-03
| ||
20:55 | [4320c62609] part of check-in [fdb98fd8c1] Change the name of the Cursor object to VdbeCursor. (CVS 5857) (check-in: [fdb98fd8c1] user: drh branch: trunk, size: 235718) | |
2008-10-27
| ||
13:59 |
[5d72b67ee2]
part of check-in [e68e4282ad]
Make sqlite3_count_changes() and total_changes() work with "DELETE FROM | |
2008-10-08
| ||
17:58 | [3e686f8996] part of check-in [af679f6170] After an OP_NullRow is executed on a cursor, cause any subsequent OP_Next or OP_Prev to behave as if there were no more rows to traverse. Ticket #3424. (CVS 5782) (check-in: [af679f6170] user: danielk1977 branch: trunk, size: 235402) | |
2008-09-30
| ||
17:18 | [64a38df6f0] part of check-in [fb461b78df] Add some testcase() and assert() macros to btree.c to aid with testing recent changes. (CVS 5757) (check-in: [fb461b78df] user: drh branch: trunk, size: 235381) | |
16:48 | [d1720e1e26] part of check-in [0f3c56330b] Fix a comment in btree.c. No code changes. (CVS 5756) (check-in: [0f3c56330b] user: danielk1977 branch: trunk, size: 233373) | |
14:06 | [b7fbd31bd8] part of check-in [4e536463c1] Change leading tabs into spaces. (CVS 5755) (check-in: [4e536463c1] user: drh branch: trunk, size: 233236) | |
09:31 | [2e5cf91c3f] part of check-in [83c064cae4] Fix a recently introduced problem with deleting entries from index tables. (CVS 5754) (check-in: [83c064cae4] user: danielk1977 branch: trunk, size: 233167) | |
2008-09-29
| ||
16:41 | [df02edb06f] part of check-in [35e8e4dcd2] Remove the reparentPage() and reparentChildPages() functions from btree.c. All calls to these functions can now be replaced by a call to setChildPtrmaps(). (CVS 5751) (check-in: [35e8e4dcd2] user: danielk1977 branch: trunk, size: 230699) | |
15:53 | [002084e207] part of check-in [7354abd03b] Remove the MemPage.idxShift variable. It is no longer required. (CVS 5750) (check-in: [7354abd03b] user: danielk1977 branch: trunk, size: 235250) | |
11:49 | [8fc7c0bd57] part of check-in [40425e9342] Instead of storing a pointer to the parent page in the MemPage structure, have each B-Tree cursor keep track of the ancestry of the current page. (CVS 5747) (check-in: [40425e9342] user: danielk1977 branch: trunk, size: 235182) | |
2008-09-26
| ||
17:31 | [850d7ede7f] part of check-in [28fd0a50ca] Performance enhancement: avoid calling reparentChildPages() from balance_nonroot(). (CVS 5743) (check-in: [28fd0a50ca] user: danielk1977 branch: trunk, size: 238244) | |
2008-09-19
| ||
16:39 | [4d642d23fc] part of check-in [0c8b74e668] In function moveToRoot(), use the MemPage.pParent pointers to find the root page if they are valid. This is slightly faster than requesting a new reference to the root page from the pager layer. (CVS 5725) (check-in: [0c8b74e668] user: danielk1977 branch: trunk, size: 235866) | |
15:10 | [cfe8dbbaa7] part of check-in [59be34cfa4] In sqlite3BtreeGetMeta(), if BtShared.pPage1 is available use it instead of requesting a new reference from the pager layer. (CVS 5724) (check-in: [59be34cfa4] user: danielk1977 branch: trunk, size: 234766) | |
2008-09-18
| ||
18:17 | [54fc8950e4] part of check-in [05d3462688] Fix a segfault introduced by (5720) that can follow an IO error. (CVS 5721) (check-in: [05d3462688] user: danielk1977 branch: trunk, size: 234644) | |
17:34 | [e848488772] part of check-in [6b998f3066] Avoid parsing the structure of b-tree pages (in sqlite3BtreeInitPage) more than is necessary. (CVS 5720) (check-in: [6b998f3066] user: danielk1977 branch: trunk, size: 234603) | |
01:08 | [5db7b54e9d] part of check-in [badd0873e6] Performance improvements in getAndInitPage(): omit the upper bound check on page number if the page is already in cache. (CVS 5716) (check-in: [badd0873e6] user: drh branch: trunk, size: 232882) | |
2008-09-10
| ||
17:53 | [5419fcd2fa] part of check-in [89fda074f6] Fix some trivial cases where database corruption was causing an error code other than SQLITE_CORRUPT to be returned. (CVS 5690) (check-in: [89fda074f6] user: danielk1977 branch: trunk, size: 232107) | |
14:45 | [9e11a68fe6] part of check-in [93545861a7] Fix for handling database files corrupted in such a was as to make a b-tree page a direct or indirect descendant of itself. (CVS 5689) (check-in: [93545861a7] user: danielk1977 branch: trunk, size: 232064) | |
2008-09-05
| ||
05:02 | [6ea37de364] part of check-in [0b8ee83f2e] Fix a problem in btree.c preventing an OOM error from being propagated up to the caller. (CVS 5677) (check-in: [0b8ee83f2e] user: danielk1977 branch: trunk, size: 231651) | |
2008-09-02
| ||
14:07 | [70706ed6c1] part of check-in [88c8275994] Move the sqlite3SharedCacheEnabled global and the inProgress static variable (function sqlite3_initialize()) into the global sqlite3Config structure. This is required for the OMIT_WSD feature to work on some platforms. (CVS 5662) (check-in: [88c8275994] user: danielk1977 branch: trunk, size: 231658) | |
09:38 | [3c251cac0d] part of check-in [44def90d1b] Modify pcache.c to work with OMIT_WSD. (CVS 5659) (check-in: [44def90d1b] user: danielk1977 branch: trunk, size: 231840) | |
00:52 | [a12044e500] part of check-in [ef26ea5c46] Continuing work on adding full support for the SQLITE_OMIT_WSD compile-time option. (CVS 5658) (check-in: [ef26ea5c46] user: drh branch: trunk, size: 231831) | |
2008-09-01
| ||
18:34 | [deb7e145e4] part of check-in [573d92abb9] Begin adding support for the SQLITE_OMIT_WSD macro. Some (many) WSD variables still need wrappers added to them. (CVS 5652) (check-in: [573d92abb9] user: danielk1977 branch: trunk, size: 231663) | |
2008-08-27
| ||
15:16 | [9b98b0d2e2] part of check-in [9e9325997e] Use a bitvec object to store the set of pages with the 'always-rollback' property for a transaction. (CVS 5622) (check-in: [9e9325997e] user: danielk1977 branch: trunk, size: 231657) | |
2008-08-25
| ||
11:57 | [f6a1f698b1] part of check-in [eae959ede1] Fix a segfault that can occur when running integrity_check on a corrupt db. (CVS 5606) (check-in: [eae959ede1] user: danielk1977 branch: trunk, size: 231647) | |
2008-08-23
| ||
16:17 | [9253ac92b4] part of check-in [cb869946d6] Do not incorrectly detect corruption when an auto-vacuum database is converted to a non-auto-vacuum database within a vacuum. Ticket #3332. (CVS 5603) (check-in: [cb869946d6] user: danielk1977 branch: trunk, size: 231590) | |
2008-08-22
| ||
17:34 | [4212dce1c4] part of check-in [6de9c084fc] Remove dead code. (CVS 5601) (check-in: [6de9c084fc] user: drh branch: trunk, size: 231575) | |
12:57 | [e1b5c898ef] part of check-in [2a365e2994] Fix nuisance compiler warnings. Ticket #3309. (CVS 5591) (check-in: [2a365e2994] user: drh branch: trunk, size: 231641) | |
2008-08-20
| ||
22:06 | [3078f7a5c7] part of check-in [00b177985e] Modify the sqlite3VdbeUnpackRecord() interface to force the temporary space to be 8-byte aligned. This might be important for Sparc. Ticket #3318. (CVS 5573) (check-in: [00b177985e] user: drh branch: trunk, size: 231626) | |
14:49 | [c536edea3d] part of check-in [cb494e10d7] Add the pcache module from the experimental branch. Also change things so that most of the built-in SQL functions are kept in single static hash-table, rather than creating and populating a separate hash table for each open database connection. (CVS 5566) (check-in: [cb494e10d7] user: danielk1977 branch: trunk, size: 231631) | |
2008-08-13
| ||
19:11 | [c38431aed9] part of check-in [0b92cbf525] Additional changes toward fixing ticket #3292. (CVS 5562) (check-in: [0b92cbf525] user: drh branch: trunk, size: 231575) | |
14:07 | [2ae1092eee] part of check-in [055f173ab1] A partial fix for ticket #3292. This fixes the original problem but there are other similar problems lurking in the code still. (CVS 5561) (check-in: [055f173ab1] user: drh branch: trunk, size: 231586) | |
2008-08-02
| ||
17:36 | [da7491ef06] part of check-in [f653995c32] Fix a reference count leak introduced by (5526). (CVS 5527) (check-in: [f653995c32] user: danielk1977 branch: trunk, size: 231588) | |
17:03 | [ff5ff00d17] part of check-in [fb26ae7239] Avoid doing IO purely to check assert() constraints. (CVS 5526) (check-in: [fb26ae7239] user: danielk1977 branch: trunk, size: 231517) | |
2008-08-01
| ||
20:10 | [0be00cb6a5] part of check-in [2cd6bae809] Bring test coverage up to 99%. (CVS 5522) (check-in: [2cd6bae809] user: drh branch: trunk, size: 231415) | |
2008-07-28
| ||
19:34 | [540186cc76] part of check-in [e48f9697e9] Implement the "lookaside" memory allocation cache. Use of this cache makes the speed1.test script run about 15% faster. Added new interfaces to control the cache. (CVS 5488) (check-in: [e48f9697e9] user: drh branch: trunk, size: 231304) | |
2008-07-19
| ||
14:25 | [1318ab0eaa] part of check-in [a560c61849] Reduce the number of "#ifndef SQLITE_OMIT_AUTOVACUUM" conditions in btree.c by using the ISAUTOVACUUM macro instead. (CVS 5444) (check-in: [a560c61849] user: danielk1977 branch: trunk, size: 231307) | |
11:49 | [7303414d1a] part of check-in [9992b1aecd] Improve the performance of balance_nonroot() on auto-vacuum databases by reducing the number of calls to ptrmapPut(). (CVS 5442) (check-in: [9992b1aecd] user: danielk1977 branch: trunk, size: 231746) | |
2008-07-18
| ||
17:16 | [770e1b121d] part of check-in [3b2dd417f9] Fix SQLITE_OMIT_AUTOVACUUM so that it works again. Ticket #3228. (CVS 5439) (check-in: [3b2dd417f9] user: drh branch: trunk, size: 229797) | |
09:34 | [95640f016d] part of check-in [d807fb2713] Performance improvement: reduce the number of calls to ptrmapPageno() made by ptrmapPut() and ptrmapGet(). (CVS 5437) (check-in: [d807fb2713] user: danielk1977 branch: trunk, size: 229700) | |
03:32 | [af2bc332a5] part of check-in [c69633ec69] The zeroPage() routine in btree.c need not actually zero the whole page, just the header. (CVS 5434) (check-in: [c69633ec69] user: drh branch: trunk, size: 229684) | |
02:44 | [134d2f76fb] part of check-in [b88087e69d] Omit the check for cell-pointer consistency in sqlite3BtreeInitPage() for a 2.5% performance gain. (CVS 5433) (check-in: [b88087e69d] user: drh branch: trunk, size: 229680) | |
00:57 | [5299a70296] part of check-in [77e099ad7d] Optimization to sqltie3BtreeParseCellPtr. 0.3% performance increase. (CVS 5432) (check-in: [77e099ad7d] user: drh branch: trunk, size: 229284) | |
2008-07-17
| ||
18:39 | [c618d62fb4] part of check-in [29d3bfd7c9] Simplify the b-tree logic by taking advantage of the fact that all b-trees are either intkey+leafdata or zerodata. (CVS 5431) (check-in: [29d3bfd7c9] user: drh branch: trunk, size: 229251) | |
2008-07-16
| ||
18:17 | [5dcc47a35d] part of check-in [1d01c02ab0] Eliminate some unnecessary IO during a commit in full auto-vacuum mode. (CVS 5426) (check-in: [1d01c02ab0] user: danielk1977 branch: trunk, size: 228981) | |
2008-07-12
| ||
14:52 | [cda41ffc78] part of check-in [dcb160249f] Remove leftover debugging commands (breakpoint and btree_breakpoint) from test scripts. (CVS 5400) (check-in: [dcb160249f] user: drh branch: trunk, size: 228933) | |
2008-07-11
| ||
21:02 | [dcbb9624c9] part of check-in [c80a5d0993] Detect and handles the case where a row is modified or deleted while it is being read during SELECT processing. (CVS 5399) (check-in: [c80a5d0993] user: drh branch: trunk, size: 228852) | |
16:39 | [8d08214728] part of check-in [6dcce6b974] Added corruptA.test for testing malformed database headers. (CVS 5397) (check-in: [6dcce6b974] user: drh branch: trunk, size: 228551) | |
16:15 | [881d5eb6ec] part of check-in [d7e2f0d2d4] Additional test coverage for the btree module. Remove the failsafe() macro and replace it with ALWAYS() and NEVER(). (CVS 5395) (check-in: [d7e2f0d2d4] user: drh branch: trunk, size: 228639) | |
03:38 | [6ec7584e5f] part of check-in [c45d578e44] Remove an extra zeroPage() call that was left in the previous check-in by mistake. Ticket #3209. (CVS 5393) (check-in: [c45d578e44] user: drh branch: trunk, size: 228655) | |
03:34 | [89f1122f86] part of check-in [30825f74d6] Make the btree layer robust when faced with a corrupt database that contains duplicate entries on the freelist. Ticket #3209. (CVS 5392) (check-in: [30825f74d6] user: drh branch: trunk, size: 228686) | |
02:21 | [71ba242014] part of check-in [620b472133] Additional test coverage in btree.c. Added corruption tests for the ptrmap pages of an autovacuumed database (corrupt8.test). (CVS 5391) (check-in: [620b472133] user: drh branch: trunk, size: 228640) | |
2008-07-10
| ||
00:32 | [61c4752f4e] part of check-in [636cd72329] Remove unused code. Test coverage enhancements. Modify the algorithm used to select column names for VIEWs of joins so that the constructed column names omits the underlying table names. (CVS 5386) (check-in: [636cd72329] user: drh branch: trunk, size: 228515) | |
2008-07-09
| ||
11:49 | [fbc557de64] part of check-in [491f8f9613] Coverage testing for balance_quick() and balance_deeper(). (CVS 5382) (check-in: [491f8f9613] user: danielk1977 branch: trunk, size: 228818) | |
2008-07-08
| ||
19:34 | [a52b0a1d04] part of check-in [8ed04b1e26] Completely rework the sqlite3SetString() primitive so that it honors the SQLITE_LIMIT_LENGTH and avoids the use of strlen(). (CVS 5374) (check-in: [8ed04b1e26] user: drh branch: trunk, size: 228348) | |
17:13 | [965da6ca8b] part of check-in [d74fbb81ca] Test another corruption case in btree.c. And an IO error related scenario. (CVS 5371) (check-in: [d74fbb81ca] user: danielk1977 branch: trunk, size: 228368) | |
2008-07-04
| ||
17:52 | [e002685577] part of check-in [b8ff6b0a3d] Fix a bug in btree.c that caused it to report a database as being corrupt if it used one of the last 6 slots in a freelist trunk page. Continue to never use those last 6 slots so that databases from newer versions are still readable with older versions. (CVS 5344) (check-in: [b8ff6b0a3d] user: drh branch: trunk, size: 228359) | |
2008-06-28
| ||
15:33 | [dd7b7a92fe] part of check-in [f66491ab2b] Remove an assert() that was failing if there were any open incremental blob handles when a statement transaction was rolled back. (CVS 5326) (check-in: [f66491ab2b] user: danielk1977 branch: trunk, size: 227620) | |
2008-06-23
| ||
09:50 | [6d25027de7] part of check-in [0492aa8ed3] Fix a bug whereby opening a connection to an existing shared-cache caused the cache-size (the value configured by "PRAGMA cache_size") to revert to its default value. (CVS 5274) (check-in: [0492aa8ed3] user: danielk1977 branch: trunk, size: 227661) | |
2008-06-19
| ||
01:03 | [54a5e5f846] part of check-in [005f8eaef5] Bug fixes: Plug a memory leak introduced by the previous check-in. Get the amalgamation to the point where it will compile. (CVS 5241) (check-in: [005f8eaef5] user: drh branch: trunk, size: 227457) | |
00:16 | [a7c8e782cf] part of check-in [cb1f11cd97] Add some test logic to the new memory allocation subsystem. (Lots more needed.) The test suite is currently indicating memory leaks, though it is unclear if this is a true code problem or just an instrumentation problem. (CVS 5240) (check-in: [cb1f11cd97] user: drh branch: trunk, size: 227434) | |
2008-06-18
| ||
17:09 | [bae7f135da] part of check-in [5059644c4b] Implement the 'CONFIG_SINGLETHREAD' and 'CONFIG_MULTITHREAD' configuration modes. (CVS 5234) (check-in: [5059644c4b] user: danielk1977 branch: trunk, size: 227357) | |
2008-06-17
| ||
15:12 | [a7b1ffdde0] part of check-in [3e797d0ffe] Add internal interfaces: PageMalloc/PageFree and ScratchMalloc/ScratchFree. (CVS 5226) (check-in: [3e797d0ffe] user: drh branch: trunk, size: 227329) | |
2008-06-15
| ||
02:51 | [b374c2ba45] part of check-in [65fe7b62cf] Continuing work on the new memory allocation subsystem. Added routines for temporary memory allocation. Right the btree balance mechanism to only do one temporary allocation at a time. (CVS 5220) (check-in: [65fe7b62cf] user: drh branch: trunk, size: 227228) | |
2008-06-11
| ||
18:27 | [1f4a3f8307] part of check-in [afcfba0a8a] Fix an error in the previous commit found by corrupt7.test. (CVS 5204) (check-in: [afcfba0a8a] user: danielk1977 branch: trunk, size: 227003) | |
18:15 | [48290915e2] part of check-in [82f27e28ee] Check that the offsets in the cell-offset array of a b-tree page are within range in sqlite3BtreeInit(). (CVS 5203) (check-in: [82f27e28ee] user: danielk1977 branch: trunk, size: 227003) | |
2008-06-10
| ||
17:30 | [5f76517e78] part of check-in [e339c91f87] Invalidate sqlite3_blob* handles whenever an SQL statement is used to delete or modify the rows containing the open blob. Previously, modifying the table containing the open blob in any way invalidated the handle. This was too restrictive. (CVS 5199) (check-in: [e339c91f87] user: danielk1977 branch: trunk, size: 226488) | |
2008-06-09
| ||
19:27 | [0c2c19a979] part of check-in [120bffff74] Moved declaration of int nPage; to top of block to silence picky compilers (MSVC). (CVS 5197) (check-in: [120bffff74] user: shane branch: trunk, size: 225322) | |
2008-06-07
| ||
08:58 | [fca8ae9257] part of check-in [e9f01c0186] Change the signature of sqlite3PagerPagecount() so that it can return an error code. (CVS 5195) (check-in: [e9f01c0186] user: danielk1977 branch: trunk, size: 225328) | |
2008-05-09
| ||
16:57 | [7bee6ba457] part of check-in [7a44fb965b] Fix a problem with recovering from an IO error in exclusive-locking mode. (CVS 5112) (check-in: [7a44fb965b] user: danielk1977 branch: trunk, size: 225158) | |
2008-05-07
| ||
19:11 | [7401bcbdab] part of check-in [e98a7f87f9] Fix some problems with multi-file transactions in persistent journal mode. (CVS 5102) (check-in: [e98a7f87f9] user: danielk1977 branch: trunk, size: 225054) | |
07:13 | [556adb8f69] part of check-in [ed98df24a3] Fix a problem causing the database to be truncated to the wrong size after an incremental-vacuum is performed on a database in full auto-vacuum mode. (CVS 5094) (check-in: [ed98df24a3] user: danielk1977 branch: trunk, size: 225028) | |
2008-05-05
| ||
15:26 | [638f450da2] part of check-in [198c395b01] Avoid leaking page references after an IO error is encountered. (CVS 5082) (check-in: [198c395b01] user: danielk1977 branch: trunk, size: 225020) | |
12:09 | [6b16a43adb] part of check-in [270d47e8d0] Avoid leaking page references when database corruption is encountered. (CVS 5080) (check-in: [270d47e8d0] user: danielk1977 branch: trunk, size: 225040) | |
2008-05-02
| ||
14:23 | [05c6bcb6d8] part of check-in [3dc334aa4a] Make sure that when a connection is blocking on a RESERVED lock that it continues after the lock is released. Ticket #3093. (CVS 5078) (check-in: [3dc334aa4a] user: drh branch: trunk, size: 224920) | |
2008-04-24
| ||
19:15 | [8b2294c64b] part of check-in [0d04ccd978] Consolidated varint macro usage from btreeInt.h, vdbe.c, and vdbeaux.c into sqliteInt.h and made their use consistent. Slight improvements to varint32 macros. (CVS 5045) (check-in: [0d04ccd978] user: shane branch: trunk, size: 224881) | |
2008-04-03
| ||
21:46 | [ee340ad901] part of check-in [4017301070] Remove superfluous code from btree.c. (CVS 4964) (check-in: [4017301070] user: drh branch: trunk, size: 224882) | |
2008-04-02
| ||
18:33 | [680c357b17] part of check-in [e852945580] Minor optimizations. (CVS 4955) (check-in: [e852945580] user: drh branch: trunk, size: 225170) | |
16:29 | [00cc20be5c] part of check-in [66c5d715bb] Simplifications to the LockTable opcode. (CVS 4954) (check-in: [66c5d715bb] user: drh branch: trunk, size: 225134) | |
2008-03-29
| ||
16:01 | [20d51e1429] part of check-in [9b567ab61e] Make the sqlite3BtreeMoveto routine a no-op if the cursor is already pointing at the cell we are trying to move to. (CVS 4938) (check-in: [9b567ab61e] user: drh branch: trunk, size: 225019) | |
2008-03-25
| ||
17:23 | [6e60d634d2] part of check-in [ee381b4356] Modify the {quote: IdxDelete} opcode so that it takes an array of registers rather than a record formed using {quote: MakeRecord.} This avoids a needless packing and unpacking of the record to be deleted. (CVS 4916) (check-in: [ee381b4356] user: drh branch: trunk, size: 224138) | |
14:24 | [366f5f66eb] part of check-in [fe1bc0f3b7] Have each {quote: BtShared} structure hang on to a buffer of just under page-size bytes for temporary use. This reduces the number of calls to malloc(). (CVS 4914) (check-in: [fe1bc0f3b7] user: danielk1977 branch: trunk, size: 223308) | |
09:56 | [0a170b7bb6] part of check-in [ef0e40e814] Fix for memory leak in malloc3.test. (CVS 4913) (check-in: [ef0e40e814] user: danielk1977 branch: trunk, size: 222969) | |
09:47 | [5e3f25567d] part of check-in [0471536481] Use a vdbe memory cell to allocate the space required for vdbe cursors. (CVS 4912) (check-in: [0471536481] user: danielk1977 branch: trunk, size: 222914) | |
00:22 | [984962aa40] part of check-in [0e1d84f2f4] Removed the direct btree tests - part of the ongoing effort to test by calling only public interfaces. Modify the sqlite3VdbeRecordCompare interface to used a pre-parsed second key - resulting in a 13% performance improvement on speed1p.test. (CVS 4911) (check-in: [0e1d84f2f4] user: drh branch: trunk, size: 222870) | |
2008-03-23
| ||
00:20 | [15424f4134] part of check-in [a807e7184b] Remove redundant tests from the reparenter in the btree module. (CVS 4909) (check-in: [a807e7184b] user: drh branch: trunk, size: 223669) | |
2008-03-20
| ||
11:04 | [77304a2086] part of check-in [871df0e7c3] Allow a VACUUM operation to change the page-size in the same way as it can be used to change a database between auto-vacuum and normal mode. (CVS 4896) (check-in: [871df0e7c3] user: danielk1977 branch: trunk, size: 223728) | |
2008-03-04
| ||
17:45 | [439e268489] part of check-in [9c6694bb61] Various renames & cleanups to limit exported symbols on amalgamation build (CVS 4819) (check-in: [9c6694bb61] user: mlcreech branch: trunk, size: 218146) | |
2008-02-19
| ||
14:59 | [134a152a27] part of check-in [8fdbe4abab] Use 16-bit integers for indexing within a page in btree. Tighter bounds on the maximum number of cells within one page. (CVS 4796) (check-in: [8fdbe4abab] user: drh branch: trunk, size: 218143) | |
2008-01-31
| ||
14:54 | [29ea577155] part of check-in [9b207d1a66] Fix assertion fault in sqllimits1.test encountered when auto_vacuum is enabled. Correct the sqllimit1 tests to account for extra pages inserted by auto_vacuum. (CVS 4759) (check-in: [9b207d1a66] user: drh branch: trunk, size: 218163) | |
2008-01-19
| ||
23:50 | [a3125bd53a] part of check-in [010f7b780c] Additional test coverage improvements. Test coverage now stands at 98.73%. (CVS 4731) (check-in: [010f7b780c] user: drh branch: trunk, size: 218102) | |
2008-01-02
| ||
11:50 | [5164b32950] part of check-in [f1966a8a47] Take advantage of the fact that b-tree cursors need not be closed while other cursors modify their tables to simplify trigger program generation code. (CVS 4654) (check-in: [f1966a8a47] user: danielk1977 branch: trunk, size: 218061) | |
2008-01-01
| ||
06:19 | [6c3ded4f31] part of check-in [b51782ccac] Silence a harmless unitialised variable warning in btree.c. Ticket #2862. (CVS 4650) (check-in: [b51782ccac] user: danielk1977 branch: trunk, size: 218014) | |
2007-12-21
| ||
04:47 | [bef8ceec85] part of check-in [2e59b1d07e] Fix for #2854. "BEGIN EXCLUSIVE" excludes other shared cache users from using the database. (CVS 4642) (check-in: [2e59b1d07e] user: danielk1977 branch: trunk, size: 218187) | |
2007-12-13
| ||
21:54 | [10cc24011d] part of check-in [4e91a267fe] Change all instances of "it's" in comments to either "its" or "it is", as appropriate, in case the comments are ever again read by a pedantic grammarian. Ticket #2840. (CVS 4629) (check-in: [4e91a267fe] user: drh branch: trunk, size: 217483) | |
2007-12-07
| ||
18:55 | [45c65b60ef] part of check-in [c9eb65912f] In shared-cache mode, make sure the busy hander invoked is the busy handler associated with the database connection that caused the lock contention in the first place. (CVS 4598) (check-in: [c9eb65912f] user: drh branch: trunk, size: 217488) | |
2007-11-28
| ||
16:19 | [c5844bb4bb] part of check-in [98960132dc] Change the BTree so that it uses the Pagers temporary page space when reorganizing the rows on a page, rather than mallocing for space of its own. In this way, we avoid having to deal with a malloc failure deep down inside the page reorganizer. Ticket #2806 (CVS 4577) (check-in: [98960132dc] user: drh branch: trunk, size: 217195) | |
2007-11-05
| ||
15:30 | [008ce6b6bb] part of check-in [b752906e70] Fix some minor problems with malloc failure and in-memory databases. (CVS 4527) (check-in: [b752906e70] user: danielk1977 branch: trunk, size: 217259) | |
2007-10-16
| ||
19:45 | [1212c51618] part of check-in [329dd014b0] A cosmetic changes to btree.c which (we are told) works around a bug in MSVC++. (CVS 4491) (check-in: [329dd014b0] user: drh branch: trunk, size: 217270) | |
2007-10-03
| ||
08:46 | [a491c45b44] part of check-in [12eca32a6a] Add automatic recovery from the pager "error-state". Also add a new error code - SQLITE_IOERR_NOMEM. (CVS 4454) (check-in: [12eca32a6a] user: danielk1977 branch: trunk, size: 217260) | |
2007-09-17
| ||
07:02 | [ed7c4825b0] part of check-in [8b29f5fbfc] Add a parameter to specify the size of the output buffer passed to xGetTempname() and xFullPathname(). This, and the previous commit, are changes to the public vfs API introduced in 3.5.0. (CVS 4433) (check-in: [8b29f5fbfc] user: danielk1977 branch: trunk, size: 217311) | |
2007-09-12
| ||
17:01 | [ac94b8a9b0] part of check-in [c8405b15c0] Fixes for compilation/testing when the various OMIT macros are defined. (CVS 4423) (check-in: [c8405b15c0] user: danielk1977 branch: trunk, size: 217253) | |
2007-09-07
| ||
14:32 | [30f7efafc4] part of check-in [c8e85fff7e] Fix a segfault that could occur while attempting to add new pages to the freelist in a corrupt database. (CVS 4414) (check-in: [c8e85fff7e] user: drh branch: trunk, size: 217207) | |
2007-09-06
| ||
23:39 | [9d684690af] part of check-in [4881f7cb37] Throw an error on an attempt to open a database where the page size is larger than SQLITE_MAX_PAGE_SIZE. Ticket #2628. (CVS 4411) (check-in: [4881f7cb37] user: drh branch: trunk, size: 217140) | |
22:19 | [f37796c6f0] part of check-in [2b755defe5] Allocate page cache headers and page cache data buffers separately. The data buffer will be a power of two in size and this gives some malloc implementation additional optimization opportunitites. (CVS 4409) (check-in: [2b755defe5] user: drh branch: trunk, size: 217063) | |
2007-09-03
| ||
22:00 | [b1e8025ac1] part of check-in [fee2d7c0e6] Fix btree.c so that it works with -DSQLITE_THREADSAFE=0 and -DSQLITE_DEBUG=1 (CVS 4387) (check-in: [fee2d7c0e6] user: drh branch: trunk, size: 217023) | |
15:19 | [bc7d856505] part of check-in [020a2b10d4] Honor the SQLITE_OPEN_ flags passed into sqlite3_open_v2(). Some test cases added but more are needed. Ticket #2616. (CVS 4376) (check-in: [020a2b10d4] user: drh branch: trunk, size: 216935) | |
2007-08-30
| ||
01:19 | [f22955f6d0] part of check-in [e40d40a5d4] Fix for the sqlite3AbortOtherActiveVdbes() problem. (CVS 4328) (check-in: [e40d40a5d4] user: drh branch: trunk, size: 216823) | |
2007-08-29
| ||
19:15 | [91b362f736] part of check-in [35cb63ecfd] Fix minor problems on various tests. This is a snapshot prior to possible major changes in order to fix the sqlite3AbortOtherActiveVdbes problem. (CVS 4327) (check-in: [35cb63ecfd] user: drh branch: trunk, size: 215396) | |
17:43 | [ff821439ed] part of check-in [2732af0ec7] Improvements to mutex asserts. The quick test runs to completion without assertion faults. (CVS 4324) (check-in: [2732af0ec7] user: drh branch: trunk, size: 215428) | |
12:31 | [7079a423e0] part of check-in [e38ef81b85] Modifications to the malloc failure tests to test transient and persistent failures. (CVS 4321) (check-in: [e38ef81b85] user: danielk1977 branch: trunk, size: 215056) | |
04:00 | [f9ea7d1e30] part of check-in [e8060f85e7] Better asserts(). But now some of the tests are busted again. (CVS 4320) (check-in: [e8060f85e7] user: drh branch: trunk, size: 214985) | |
2007-08-28
| ||
23:28 | [0241f79766] part of check-in [f84550be0a] The shared_err test runs with no errors. But a potential deadlock has been discovered and is still unfixed. (CVS 4317) (check-in: [f84550be0a] user: drh branch: trunk, size: 216480) | |
22:24 | [8796aa42fd] part of check-in [967ab229af] Clean up the locking in the btree logic. (CVS 4316) (check-in: [967ab229af] user: drh branch: trunk, size: 216354) | |
02:27 | [850cd5de86] part of check-in [b8cc493b47] Work toward correct btree locking in a multithreaded environment. (CVS 4307) (check-in: [b8cc493b47] user: drh branch: trunk, size: 215422) | |
2007-08-24
| ||
11:52 | [dbb8ec48e6] part of check-in [13dda2e8e8] Select the default page size for new databases based on the sector-size and IOCAP flags. (CVS 4286) (check-in: [13dda2e8e8] user: danielk1977 branch: trunk, size: 218768) | |
03:51 | [fe9d292cee] part of check-in [3a68fcddfa] The win32 driver compiles but does not yet work well. Many bugs fixed. (CVS 4282) (check-in: [3a68fcddfa] user: drh branch: trunk, size: 218745) | |
2007-08-23
| ||
02:47 | [8fa6341b74] part of check-in [21f6b31097] Improvements to memory leak detection. The --backtrace=NNN option is now recognized by tester.tcl. Memory leak summaries are automatically written to the file ./memleak.txt and each leak is tagged with the test in which it occurred. The quick.test script runs on Linux with no errors and no leaks. (CVS 4273) (check-in: [21f6b31097] user: drh branch: trunk, size: 218745) | |
2007-08-22
| ||
11:41 | [1e189c3a7e] part of check-in [1f28b7e47b] Get the quick.test script running with SQLITE_THREADSAFE enabled. (CVS 4269) (check-in: [1f28b7e47b] user: drh branch: trunk, size: 218621) | |
02:56 | [3e935a3074] part of check-in [783e07d561] A complete run of quick.test with mutex debugging enabled. (CVS 4266) (check-in: [783e07d561] user: drh branch: trunk, size: 218689) | |
00:39 | [e35f1d7d66] part of check-in [1914044b88] Reenable the memory management logic. The quick.test script now runs with SQLITE_MEMDEBUG and SQLITE_ENABLE_MEMORY_MANAGEMENT. 7 minor errors. (CVS 4265) (check-in: [1914044b88] user: drh branch: trunk, size: 218401) | |
2007-08-21
| ||
19:33 | [4cfe2fe8d6] part of check-in [9287276191] The sqlite3_value object now carries an sqlite3* pointer to use for recording malloc failures. This eliminates the need to pass sqlite3* pointers into many internal interfaces. Also added more mutexing. (CVS 4263) (check-in: [9287276191] user: drh branch: trunk, size: 218396) | |
13:11 | [8e529f390d] part of check-in [0da4820914] Avoid journalling an extra page when a btree insert operation uses the 'quick-balance' trick. (CVS 4257) (check-in: [0da4820914] user: danielk1977 branch: trunk, size: 218255) | |
2007-08-20
| ||
23:50 | [9460e9ad37] part of check-in [6cf725d212] The quick test runs again with a handfull of errors after adding the mutex locks to btree, the VFS registration interfaces, and FTS3. (CVS 4254) (check-in: [6cf725d212] user: drh branch: trunk, size: 218004) | |
22:48 | [ae710a86a5] part of check-in [1315bd8e12] Work toward multithreading support. Currently crashes quickly on a test. (CVS 4253) (check-in: [1315bd8e12] user: drh branch: trunk, size: 218000) | |
13:14 | [f8a04f35eb] part of check-in [399d3e7552] Bug fix in BTree shared cache locking code. (CVS 4246) (check-in: [399d3e7552] user: drh branch: trunk, size: 208060) | |
2007-08-17
| ||
16:50 | [f00ed30c44] part of check-in [08a0f48028] Remove some old OsFile and IoMethod related code. Add the sqlite3OsLockState function. (CVS 4241) (check-in: [08a0f48028] user: danielk1977 branch: trunk, size: 208102) | |
15:53 | [c4e563b8a8] part of check-in [af3e3c7acd] Begin migration to using sqlite3_vfs interface. (CVS 4240) (check-in: [af3e3c7acd] user: danielk1977 branch: trunk, size: 208035) | |
01:14 | [409e736233] part of check-in [4c1e9ffebe] Begin adding mutexes. Compiles without SQLITE_OMIT_SHARED_CACHE but we get an assertion fault on the shared cache testing. (CVS 4239) (check-in: [4c1e9ffebe] user: drh branch: trunk, size: 207954) | |
2007-08-16
| ||
10:09 | [f371e9d7a2] part of check-in [77b1671351] More work on refactoring of malloc() interfaces. There are still many errors. (CVS 4233) (check-in: [77b1671351] user: danielk1977 branch: trunk, size: 202288) | |
04:30 | [1f7c009817] part of check-in [deb7ecd65f] Half-way through a major refactoring of the memory allocation. I have not even attempted to compile so I am certain there are countless errors. (CVS 4231) (check-in: [deb7ecd65f] user: drh branch: trunk, size: 202265) | |
2007-08-14
| ||
13:20 | [4b987e7a6b] part of check-in [f0029da32f] Back-port critical soft heap limit fixes to version 3.3.17. The following check-ins were back-ported: (4031), (4037), (4097), (4202), (4203), (4207), (4208), (4214). (CVS 4222) (check-in: [f0029da32f] user: drh branch: branch_3_3_17, size: 217291) | |
2007-08-13
| ||
14:56 | [be3f7d6d20] part of check-in [bad661bb0b] Fix a page leak in btree balance routines that follows a malloc failure. This problem detected by the new soft-heap-limit testing. (CVS 4214) (check-in: [bad661bb0b] user: drh branch: trunk, size: 202179) | |
2007-08-07
| ||
17:13 | [b7141f51f7] part of check-in [7550dd1d59] Remove all tabs from source code files. Ticket #2556. (CVS 4198) (check-in: [7550dd1d59] user: drh branch: trunk, size: 202229) | |
2007-08-05
| ||
23:52 | [c7b7e9523d] part of check-in [6cc15409ad] Fix some compiler warnings. (CVS 4196) (check-in: [6cc15409ad] user: drh branch: trunk, size: 202208) | |
2007-07-23
| ||
19:26 | [53c6108fdc] part of check-in [b4a5c62b85] Check the return value of sqlite3PagerWrite() when autovacuuming. Ticket #2524. (CVS 4176) (check-in: [b4a5c62b85] user: drh branch: trunk, size: 202182) | |
2007-06-26
| ||
01:04 | [c1cc6660b0] part of check-in [4a7079a19a] Try to work around an MSVC compiler bug. Ticket #2457. (CVS 4126) (check-in: [4a7079a19a] user: drh branch: trunk, size: 202177) | |
2007-06-25
| ||
08:16 | [4a282b7f87] part of check-in [5b0408ddd0] Make the auto_vacuum mode peristent in all cases. (CVS 4115) (check-in: [5b0408ddd0] user: danielk1977 branch: trunk, size: 201422) | |
2007-06-24
| ||
10:14 | [63d40146c7] part of check-in [c666fad151] Make setting "PRAGMA auto_vacuum = incremental" persistent if it is executed before the database file is created. (CVS 4113) (check-in: [c666fad151] user: danielk1977 branch: trunk, size: 201314) | |
2007-06-20
| ||
15:14 | [ca4f2d5c67] part of check-in [cb47a8297f] Remove an unused variable from btree.c. (CVS 4102) (check-in: [cb47a8297f] user: drh branch: trunk, size: 201146) | |
2007-05-24
| ||
09:20 | [bde03df933] part of check-in [d00c8242c6] Fix a page reference leak that could occur after an IO error. (CVS 4036) (check-in: [d00c8242c6] user: danielk1977 branch: trunk, size: 201173) | |
07:47 | [f283992559] part of check-in [c6575173be] Remove an incorrect assert() statement that was being triggered by ioerr tests run in utf-16 mode. (CVS 4035) (check-in: [c6575173be] user: danielk1977 branch: trunk, size: 201163) | |
07:22 | [125ff88b8a] part of check-in [3c54cddf23] Fix an assert() failure occuring in corrupt.test. (CVS 4034) (check-in: [3c54cddf23] user: danielk1977 branch: trunk, size: 201209) | |
2007-05-23
| ||
13:34 | [7e3d0c6a9e] part of check-in [e691f2fa3d] Fix a leaked page reference that could occur after an IO error in auto-vacuum databases. Also modify incrvacuum.test to work with DEFAULT_AUTOVACUUM=1 builds. (CVS 4031) (check-in: [e691f2fa3d] user: danielk1977 branch: trunk, size: 201132) | |
09:52 | [8b39c5aad1] part of check-in [10ee2d50cb] Fix a database corrupting bug in the optimistic overflow chain. Exposed by running bigrow.test with auto-vacuum enabled. (CVS 4030) (check-in: [10ee2d50cb] user: danielk1977 branch: trunk, size: 201174) | |
2007-05-17
| ||
18:28 | [9179039d9a] part of check-in [b739189204] Change the way overflow pages are allocated from the free-list to increase the chance that they are a contiguous block. Much more can still be done. (CVS 4023) (check-in: [b739189204] user: danielk1977 branch: trunk, size: 200752) | |
2007-05-16
| ||
17:28 | [911798b91b] part of check-in [93f811ec74] Change a few selected functions to macros to speed things up. (CVS 4015) (check-in: [93f811ec74] user: danielk1977 branch: trunk, size: 200482) | |
2007-05-12
| ||
10:41 | [0c2f9b06c9] part of check-in [260338c4b2] Fix another variant of the "IN (...)" b-tree problem. (CVS 3988) (check-in: [260338c4b2] user: danielk1977 branch: trunk, size: 199998) | |
09:30 | [f24b394e5f] part of check-in [96c7232f8b] Fix an obscure b-tree bug that applied to transient trees used for IN(...) expressions. (CVS 3987) (check-in: [96c7232f8b] user: danielk1977 branch: trunk, size: 199859) | |
2007-05-08
| ||
21:45 | [ec0943dd89] part of check-in [c5754530c6] Remove compiler warnings in the amalgamation. (CVS 3960) (check-in: [c5754530c6] user: drh branch: trunk, size: 199099) | |
14:51 | [dca996d45f] part of check-in [b1b74f0668] Add the max_page_count pragma used to limit the maximum size of a database file. Untested. (CVS 3948) (check-in: [b1b74f0668] user: drh branch: trunk, size: 199510) | |
2007-05-05
| ||
18:39 | [6d3db6416c] part of check-in [d51274f1cc] Factor out btree test logic into a separate test_btree.c file. (CVS 3928) (check-in: [d51274f1cc] user: drh branch: trunk, size: 199202) | |
11:48 | [7311696faf] part of check-in [16041116aa] Refactoring. Split btreeInt.h off from btree.c. Split malloc.c off from util.c. Expect much more to follow. (CVS 3925) (check-in: [16041116aa] user: drh branch: trunk, size: 204611) | |
2007-05-04
| ||
19:03 | [1bd7820b84] part of check-in [a0f8adc692] Fix compilation and testing with OMIT_INCRBLOB defined. (CVS 3923) (check-in: [a0f8adc692] user: danielk1977 branch: trunk, size: 229102) | |
18:36 | [d01ab360ec] part of check-in [4516416b4d] Test interaction of incremental io and other database writes. (CVS 3922) (check-in: [4516416b4d] user: danielk1977 branch: trunk, size: 229066) | |
13:15 | [ebf16f19fc] part of check-in [ba4845b32b] Eliminate all uses of sprintf() and strcpy(). These were not being misused. But getting rid of them removes a library dependency. And it avoids warnings from the OpenBSD compiler. Ticket #2336. (CVS 3916) (check-in: [ba4845b32b] user: drh branch: trunk, size: 229064) | |
12:05 | [a47fe8172e] part of check-in [641e55284e] Test cases and corrections to IO and malloc() error handling in incremental blob IO functions. (CVS 3915) (check-in: [641e55284e] user: danielk1977 branch: trunk, size: 228910) | |
08:32 | [b88c9265e3] part of check-in [42d07c70ec] Rework accessPayload() function for clarity. (CVS 3912) (check-in: [42d07c70ec] user: danielk1977 branch: trunk, size: 229002) | |
2007-05-03
| ||
13:11 | [1f75491c8d] part of check-in [cf9eeba7be] Fix a bug where accessPayload() was calling PagerWrite() on the wrong page handle. Ticket #2332. (CVS 3906) (check-in: [cf9eeba7be] user: danielk1977 branch: trunk, size: 226341) | |
11:43 | [ae37926682] part of check-in [db54a9466e] Minor bugfixes for incrblob mode. (CVS 3903) (check-in: [db54a9466e] user: danielk1977 branch: trunk, size: 226348) | |
2007-05-02
| ||
17:54 | [a84c848ee7] part of check-in [5b4bf1fce4] Allow CREATE TABLE to occur while other queries are running. DROP TABLE is still prohibited, however, since we do not want to delete a table out from under an running query. (CVS 3902) (check-in: [5b4bf1fce4] user: drh branch: trunk, size: 226335) | |
17:48 | [ecd0a02c8f] part of check-in [a100a5304b] Combine the internal btree functions BtreePutData() and getPayload(). (CVS 3901) (check-in: [a100a5304b] user: danielk1977 branch: trunk, size: 226671) | |
16:48 | [4efb50fa38] part of check-in [349f1ea789] Cache the location of overflow pages in cursors used for incremental blob IO. (CVS 3899) (check-in: [349f1ea789] user: danielk1977 branch: trunk, size: 228200) | |
13:16 | [0b2c181ea3] part of check-in [93a3bf71d5] Use the pointer-map pages to make the incremental blob API more efficient. (CVS 3896) (check-in: [93a3bf71d5] user: danielk1977 branch: trunk, size: 225634) | |
01:34 | [4e0735d182] part of check-in [7a01836dde] Begin adding the zeroblob API to support incremental blob i/o. (CVS 3894) (check-in: [7a01836dde] user: drh branch: trunk, size: 221763) | |
2007-05-01
| ||
17:49 | [80814622b3] part of check-in [c444836e7b] First approximation of incremental blob IO API. (CVS 3892) (check-in: [c444836e7b] user: danielk1977 branch: trunk, size: 221500) | |
2007-04-30
| ||
16:55 | [abdbd0261d] part of check-in [8cccec68bd] Try to avoid reading pages when moving overflow chains to the free-list. (CVS 3886) (check-in: [8cccec68bd] user: danielk1977 branch: trunk, size: 220218) | |
2007-04-28
| ||
15:47 | [066ca57368] part of check-in [89b1b3f897] Add some tests (and 2 resulting bug fixes) to incr vacuum mode. (CVS 3885) (check-in: [89b1b3f897] user: danielk1977 branch: trunk, size: 219001) | |
2007-04-27
| ||
07:05 | [1e9261de4b] part of check-in [4d4180d647] Modifications to btree integrity check so that it can be run inside a transaction after an incr vacuum. (CVS 3878) (check-in: [4d4180d647] user: danielk1977 branch: trunk, size: 218564) | |
2007-04-26
| ||
14:42 | [d08db3a820] part of check-in [f6a6d2b887] Add largely untested code for the incremental vacuum function. (CVS 3876) (check-in: [f6a6d2b887] user: danielk1977 branch: trunk, size: 218476) | |
2007-04-24
| ||
17:35 | [960bf64baa] part of check-in [66c2fa0836] This fixes a missed case in check-in (3866). Do not apply patch (3866) without also applying this patch. (CVS 3867) (check-in: [66c2fa0836] user: drh branch: trunk, size: 217337) | |
17:27 | [16119ce57f] part of check-in [10648e9992] When the write_version flag in the database header is larger than what the library understands, make the database read-only. The old behavior was to make the database unreadable. (CVS 3866) (check-in: [10648e9992] user: drh branch: trunk, size: 217266) | |
2007-04-19
| ||
00:24 | [bed25c6af7] part of check-in [b623538c55] Get the build working with SQLITE_OMIT_SHARED_CACHE. Ticket #2307. (CVS 3857) (check-in: [b623538c55] user: drh branch: trunk, size: 217143) | |
2007-04-13
| ||
02:14 | [2023a8371b] part of check-in [32bb2d5859] Fix multiple performance regressions (ticket #2298 among them) and add tests to make sure they do not come back. (CVS 3839) (check-in: [32bb2d5859] user: drh branch: trunk, size: 217305) | |
2007-04-09
| ||
12:45 | [7adc16a10b] part of check-in [ce6f56ece8] Fix an obscure pager refcnt leak that occurs following a transient I/O error. (CVS 3829) (check-in: [ce6f56ece8] user: drh branch: trunk, size: 216217) | |
2007-04-07
| ||
15:03 | [ea98c5549e] part of check-in [0af764a026] For filesystem databases, do not store a list of pages in the statement journal in main memory. (CVS 3825) (check-in: [0af764a026] user: danielk1977 branch: trunk, size: 216298) | |
2007-04-06
| ||
15:02 | [5a0f425843] part of check-in [479b3d965b] Binary file I/O infrastructure added and used to increase test coverage for detection of corrupt database files. (CVS 3822) (check-in: [479b3d965b] user: drh branch: trunk, size: 215866) | |
01:03 | [27299eba3a] part of check-in [bebf8d2f88] Make sure the sqlite3BtreePrevious() routine terminates properly if the table is deleted out from under it. Ticket #2286. This bug was discovered while trying to increase test coverage from 98.5% to 99% - once again showing the value of full coverage testing. (CVS 3818) (check-in: [bebf8d2f88] user: drh branch: trunk, size: 215850) | |
2007-04-02
| ||
05:07 | [48fa58f2d7] part of check-in [ba0538a497] Fix a resource leak introduced by the change-counter optimisation. Also add some test coverage. (CVS 3790) (check-in: [ba0538a497] user: danielk1977 branch: trunk, size: 215778) | |
2007-03-31
| ||
02:36 | [052d0306d6] part of check-in [dce4cb8493] Fix a large memory leak in the btree layer that occurs following an I/O error when in shared cache mode. (CVS 3776) (check-in: [dce4cb8493] user: drh branch: trunk, size: 215524) | |
2007-03-30
| ||
20:43 | [ef4a874b7b] part of check-in [6dfd4a12a8] Remove vestiges of the SQLITE_PROTOCOL error. (CVS 3773) (check-in: [6dfd4a12a8] user: drh branch: trunk, size: 215413) | |
14:06 | [931d8d6eb3] part of check-in [66b3ad09ea] Refactoring the btree and pager routines into distinct two-phase commit routines. We've always done a two-phase commit - this change is just making that more apparent in the code. (CVS 3762) (check-in: [66b3ad09ea] user: drh branch: trunk, size: 215486) | |
11:12 | [9b41229e7f] part of check-in [9a7d7e3190] Comment changes in btree.c and added a missing "else" in pragma.c. (CVS 3757) (check-in: [9a7d7e3190] user: drh branch: trunk, size: 215243) | |
2007-03-29
| ||
05:51 | [6619f15c3a] part of check-in [ad4a6b1a91] Change BtreeMoveto so that it can be biased to the right or to the center. Use a right bias when appending and a center bias when searching. This gives about a 15% reduction in calls to sqlite3VdbeRecordCompare. (CVS 3741) (check-in: [ad4a6b1a91] user: drh branch: trunk, size: 214038) | |
04:43 | [434a358476] part of check-in [a9877f616b] Bias the b-tree binary search toward the high end. The common case is to append data and this heuristic makes append run much faster because there are fewer comparisons. (CVS 3740) (check-in: [a9877f616b] user: drh branch: trunk, size: 213608) | |
2007-03-27
| ||
14:05 | [27e62fc50d] part of check-in [a70ea7202d] Fix off-by-one errors in the header comments of btree.c. Ticket #2272. (CVS 3726) (check-in: [a70ea7202d] user: drh branch: trunk, size: 213689) | |
2007-03-26
| ||
22:05 | [0659070eb4] part of check-in [0b832e218e] Modify sources to that they can be combined into a single sqlite3.c source file. Eliminate all type-pruned pointer warnings. (CVS 3722) (check-in: [0b832e218e] user: drh branch: trunk, size: 213693) | |
2007-03-19
| ||
17:44 | [4d94251b59] part of check-in [7dc7658887] Modify the interface to the pager sub-system in preparation for performing IO in blocks based on sector-size, not database page-size. (CVS 3705) (check-in: [7dc7658887] user: danielk1977 branch: trunk, size: 213646) | |
11:54 | [f5278b4492] part of check-in [05700c11a9] Fix a comment in btree.c (CVS 3702) (check-in: [05700c11a9] user: drh branch: trunk, size: 212983) | |
11:25 | [4336ada773] part of check-in [3a3e8eb25d] Changes to support medium sector sizes larger than the database page size. (CVS 3701) (check-in: [3a3e8eb25d] user: danielk1977 branch: trunk, size: 213521) | |
2007-03-06
| ||
15:53 | [f5c1b3d88a] part of check-in [d6986d1e7c] Fixes to the overflow-chain optization of (3672). (CVS 3674) (check-in: [d6986d1e7c] user: drh branch: trunk, size: 213511) | |
11:42 | [d42d2b634a] part of check-in [6db945f7a7] Do not read the last page of a overflow chain when deleting that chain. Just add the page to the freelist. This reduces I/O. (CVS 3672) (check-in: [6db945f7a7] user: drh branch: trunk, size: 213291) | |
2007-03-04
| ||
13:15 | [866536a3c6] part of check-in [2ba5be3119] Changes to the btree and pager that reduce the amount of I/O when dealing with the freelist. (1) Avoid journaling pages of a table that is being deleted. (2) Do not read the original content of pages being pulled off of the freelist. (CVS 3671) (check-in: [2ba5be3119] user: drh branch: trunk, size: 213039) | |
2007-02-10
| ||
19:22 | [4d4bef16fb] part of check-in [bd6bc3b8f0] Changes to support fragmentation analysis in sqlite3_analyzer. (CVS 3634) (check-in: [bd6bc3b8f0] user: drh branch: trunk, size: 213026) | |
2007-01-27
| ||
02:24 | [51aef6a4b1] part of check-in [d564a039f2] Limit the number of errors returned by PRAGMA integrity_check to 100 by default. Specify an alternative limit using an argument to the pragma. Ticket #2176. (CVS 3609) (check-in: [d564a039f2] user: drh branch: trunk, size: 212832) | |
2007-01-05
| ||
02:00 | [6837dcc4da] part of check-in [36a2db96ef] In the btree.c, when releasing the page1 lock, first make sure the pager has not reset and released the lock already. This fixes a bug introduced by (3549). (CVS 3563) (check-in: [36a2db96ef] user: drh branch: trunk, size: 212176) | |
2006-12-18
| ||
18:34 | [e7d1694ad0] part of check-in [4dffc4c3c9] Speed improvement: do not journal or rollback pages that are pulled out of the freelist. (CVS 3531) (check-in: [4dffc4c3c9] user: drh branch: trunk, size: 212127) | |
2006-11-30
| ||
13:05 | [116f748ee1] part of check-in [5d61486f0f] Fix indentation typo in btree.c. (CVS 3525) (check-in: [5d61486f0f] user: drh branch: trunk, size: 211865) | |
2006-11-06
| ||
21:20 | [c9d52b0827] part of check-in [6324ea811e] Use the difference between the SQLITE_IOERR_SHORT_READ and SQLITE_IOERR_READ returns from sqlite3OsRead() to make decisions about what to do with the error. (CVS 3503) (check-in: [6324ea811e] user: drh branch: trunk, size: 211866) | |
2006-11-01
| ||
12:08 | [6c6a106d47] part of check-in [dbd0125c62] Remove dead code from btree.c. Ticket #2050. (CVS 3500) (check-in: [dbd0125c62] user: drh branch: trunk, size: 211821) | |
2006-08-16
| ||
16:42 | [8f18bb08f8] part of check-in [8c52d2ad46] Allows UPDATE, INSERT, and DELETEs to occur while a SELECT is pending on the same table. (CVS 3355) (check-in: [8c52d2ad46] user: drh branch: trunk, size: 214787) | |
2006-08-13
| ||
18:39 | [b39b7147d4] part of check-in [867defe328] Compile in test code whenever -DSQLITE_TEST=1 is present. Do not rely on -DSQLITE_DEBUG=1 because somebody might try to run the tests without it. (CVS 3349) (check-in: [867defe328] user: drh branch: trunk, size: 215411) | |
2006-08-08
| ||
13:51 | [c4757940df] part of check-in [76e4d41877] Remove most static and global variables from a pure build. There are still a number of static and global variables used for testing. (CVS 3342) (check-in: [76e4d41877] user: drh branch: trunk, size: 215411) | |
2006-06-27
| ||
16:34 | [fc077741b3] part of check-in [70a48b250b] Prevent databases from being DETACHed while they are in use. Fix for #1873. (CVS 3312) (check-in: [70a48b250b] user: danielk1977 branch: trunk, size: 215409) | |
2006-04-04
| ||
01:54 | [ed343b3dbc] part of check-in [4342b49971] Changes to get SQLite running on machines that use the EBCDIC character set. (CVS 3161) (check-in: [4342b49971] user: drh branch: trunk, size: 215246) | |
2006-03-28
| ||
00:24 | [05cff8249b] part of check-in [c64542d0e8] Extra asserts to prove that certain reported errors in btree.c are not really errors. (CVS 3155) (check-in: [c64542d0e8] user: drh branch: trunk, size: 215210) | |
2006-03-23
| ||
14:03 | [582f0fb985] part of check-in [01e164da67] Improvements to comments. No changes to code. (CVS 3146) (check-in: [01e164da67] user: drh branch: trunk, size: 215149) | |
2006-03-22
| ||
22:10 | [3f9f3fac30] part of check-in [15e3b183bc] Get the build to run with -DSQLITE_OMIT_SHARED_CACHE. (CVS 3145) (check-in: [15e3b183bc] user: drh branch: trunk, size: 215043) | |
2006-03-14
| ||
12:59 | [caf4b7477b] part of check-in [f07181739f] Move the PENDING_PAGE to a very large value if disk I/O is omitted. (CVS 3135) (check-in: [f07181739f] user: drh branch: trunk, size: 214855) | |
2006-03-13
| ||
14:28 | [96a383ddf9] part of check-in [255fdbe6fa] Changes to get the Serialized Statement Extension working again. (CVS 3131) (check-in: [255fdbe6fa] user: drh branch: trunk, size: 214653) | |
2006-03-11
| ||
12:04 | [861f6a805b] part of check-in [0910022be3] Add an assert() to demonstrate that Klockworks is wrong about an aleged bug. (CVS 3129) (check-in: [0910022be3] user: drh branch: trunk, size: 214615) | |
2006-03-06
| ||
20:55 | [3f3b6ccdf8] part of check-in [e510e6dd9d] Code changes resulting from Coverity analysis. http://scan.coverity.com/ Found 1 potential segfault in sqlite3_mprintf(). Also 2 failures to fclose() following a malloc() failure. And lots of cases where unnecessary conditionals could be removed from the code. (CVS 3126) (check-in: [e510e6dd9d] user: drh branch: trunk, size: 214595) | |
2006-02-24
| ||
02:53 | [ffe57d05cf] part of check-in [4b22e4b847] Remove unused parameters on internal APIs. Suppress warnings from CodeWarrior. (CVS 3110) (check-in: [4b22e4b847] user: drh branch: trunk, size: 214618) | |
2006-02-22
| ||
03:08 | [b4af2cff1e] part of check-in [614fac9068] New compile-time option SQLITE_SECURE_DELETE takes care to overwrite deleted data with zeros. (CVS 3107) (check-in: [614fac9068] user: drh branch: trunk, size: 214931) | |
2006-02-11
| ||
01:25 | [23bbfb4745] part of check-in [f2069d0bf3] Add support and documentation for the fullfsync pragma. Also include some other unrelated documentation updates. (CVS 3080) (check-in: [f2069d0bf3] user: drh branch: trunk, size: 214431) | |
2006-02-10
| ||
08:24 | [579594eff6] part of check-in [5ea87fbbe0] Work around the case where the pending-byte page is also a a pointer-map page. Ticket #1667. (CVS 3073) (check-in: [5ea87fbbe0] user: danielk1977 branch: trunk, size: 214415) | |
02:27 | [66112ae6a5] part of check-in [82f502cdc1] Add the column_origin_name() etc. APIs. (CVS 3069) (check-in: [82f502cdc1] user: danielk1977 branch: trunk, size: 213597) | |
2006-01-24
| ||
16:37 | [f45f57e6cb] part of check-in [5df9f022bf] Handle errors in saving cursor positions during a rollback by aborting all active statements. (CVS 3027) (check-in: [5df9f022bf] user: danielk1977 branch: trunk, size: 213598) | |
14:21 | [5b71740985] part of check-in [32d45bcf74] Save the position of any open cursors before a rollback. (CVS 3026) (check-in: [32d45bcf74] user: danielk1977 branch: trunk, size: 212873) | |
2006-01-23
| ||
13:47 | [e3cb390f7d] part of check-in [0f6329ef1f] Do not automatically rollback at the btree or pager level if a commit fails. (CVS 2999) (check-in: [0f6329ef1f] user: danielk1977 branch: trunk, size: 212772) | |
13:00 | [ab0f6813b3] part of check-in [6385628edd] Fix additional compiler warnings. Tickets #1615, #1616, #1627 (CVS 2994) (check-in: [6385628edd] user: drh branch: trunk, size: 212719) | |
2006-01-22
| ||
21:52 | [9de685a11e] part of check-in [3e1e6affe2] Performance optimization in btree.c. (CVS 2990) (check-in: [3e1e6affe2] user: drh branch: trunk, size: 212710) | |
2006-01-21
| ||
12:08 | [c6ebb78756] part of check-in [29281dea81] Fix more problems with malloc() and IO failures. (CVS 2985) (check-in: [29281dea81] user: danielk1977 branch: trunk, size: 212573) | |
2006-01-20
| ||
18:10 | [a1397e80f1] part of check-in [507653a98c] More compiler warnings fixed - or in some cases comments are added to explain that the compiler is wrong. (CVS 2984) (check-in: [507653a98c] user: drh branch: trunk, size: 212626) | |
16:32 | [8b890e64b0] part of check-in [7e34163a65] Fix another couple of IO or malloc() failure problems in a shared-cache context. (CVS 2982) (check-in: [7e34163a65] user: danielk1977 branch: trunk, size: 212437) | |
10:55 | [e8ff8d76a4] part of check-in [97491d4eb5] Handle some of the IO error conditions that may occur in a shared-cache context. (CVS 2980) (check-in: [97491d4eb5] user: danielk1977 branch: trunk, size: 212300) | |
2006-01-19
| ||
08:43 | [2ea7d4372e] part of check-in [9507983268] Account for read-uncommitted cursors in sqlite3BtreeClearTable(). (CVS 2977) (check-in: [9507983268] user: danielk1977 branch: trunk, size: 212194) | |
07:18 | [1f760cdb5b] part of check-in [a628d84d31] Fix a bug with internally saving cursors open on index tables. Also increase coverage of util.c and btree.c. (CVS 2976) (check-in: [a628d84d31] user: danielk1977 branch: trunk, size: 211832) | |
2006-01-18
| ||
15:25 | [cff3ab167a] part of check-in [e0b022e5b2] Change sqlite3MallocClearFailed() calls to sqlite3ApiExit(), a better API. (CVS 2970) (check-in: [e0b022e5b2] user: danielk1977 branch: trunk, size: 211976) | |
2006-01-16
| ||
15:14 | [fcf6aec3b6] part of check-in [0d5d83bcbd] Fix some of the issues raised in #1615. (CVS 2959) (check-in: [0d5d83bcbd] user: danielk1977 branch: trunk, size: 211508) | |
2006-01-15
| ||
11:39 | [a4c147937d] part of check-in [1944d92b53] Rollback any open write-transaction when a shared-cache connection is closed. (CVS 2947) (check-in: [1944d92b53] user: danielk1977 branch: trunk, size: 211501) | |
2006-01-13
| ||
11:22 | [fe2bdc08a1] part of check-in [5e46ec01ff] Remove a few duplicate variable initializations in sqlite3BtreeCursor(). (CVS 2937) (check-in: [5e46ec01ff] user: danielk1977 branch: trunk, size: 211404) | |
06:33 | [46061b59a7] part of check-in [dd70595542] Minor modification to restoreOrClearCursorPosition() to improve efficiency. Do not allocate the extra 8-bytes if memory-management is not enabled. (CVS 2936) (check-in: [dd70595542] user: danielk1977 branch: trunk, size: 211562) | |
04:31 | [91943e0745] part of check-in [48b550ce2e] Additional speed enhancements in btree.c. (CVS 2935) (check-in: [48b550ce2e] user: drh branch: trunk, size: 211451) | |
02:35 | [51b54ae018] part of check-in [c780152f3c] Small performance improvement on sqlite3BtreeMoveto. (CVS 2934) (check-in: [c780152f3c] user: drh branch: trunk, size: 210886) | |
2006-01-12
| ||
15:01 | [fdbb411805] part of check-in [52b3be96b6] Additional performance improvements in sqlite3BtreeMoveto. (CVS 2926) (check-in: [52b3be96b6] user: drh branch: trunk, size: 210951) | |
14:30 | [9ac50babae] part of check-in [4e4a650484] BtreeMoveto optimization goes about 1.5% faster. (CVS 2925) (check-in: [4e4a650484] user: drh branch: trunk, size: 210686) | |
2006-01-11
| ||
21:41 | [b407273cb2] part of check-in [5d9c6aa964] Automatically deallocate thread-specific data when it is no longer being used. Ticket #1601. Also implemented the suggestion of ticket #1603. Memory management is now off by default at compile-time. The sqlite3_enable_memory_management() API has been removed. (CVS 2919) (check-in: [5d9c6aa964] user: drh branch: trunk, size: 210676) | |
14:09 | [e1f6b2e224] part of check-in [3970eb875d] Fix bugs caused by assuming that shared-schemas are initialized. (CVS 2917) (check-in: [3970eb875d] user: danielk1977 branch: trunk, size: 210370) | |
2006-01-10
| ||
13:58 | [874eaba6de] part of check-in [4f2ec95283] Move the implementation of sqlite3_enable_shared_cache from btree.c to main.c. (CVS 2902) (check-in: [4f2ec95283] user: drh branch: trunk, size: 209704) | |
2006-01-09
| ||
09:59 | [5e5dff4a66] part of check-in [44f8e3139a] Add a runtime interface to enable memory-management features. (CVS 2894) (check-in: [44f8e3139a] user: danielk1977 branch: trunk, size: 210316) | |
06:29 | [fc3f7f936b] part of check-in [82b81f69c7] Rename DbSchema to "Schema" and SqliteTsd to "ThreadData". (CVS 2893) (check-in: [82b81f69c7] user: danielk1977 branch: trunk, size: 210000) | |
05:36 | [5c2d7f7482] part of check-in [cc963f8cfc] Minor changes so that OMIT_SHARED_CACHE works. (CVS 2892) (check-in: [cc963f8cfc] user: danielk1977 branch: trunk, size: 209572) | |
2006-01-07
| ||
13:21 | [902d0d3f5c] part of check-in [23b587b05b] In shared-cache mode, lock all required tables before beginning to execute the body of the statement program. (CVS 2881) (check-in: [23b587b05b] user: danielk1977 branch: trunk, size: 209304) | |
2006-01-06
| ||
21:52 | [dff0ebc0ba] part of check-in [9d71b7deaf] Changes so that SQLITE_OMIT_PARSER and SQLITE_OMIT_DISKIO work. (CVS 2878) (check-in: [9d71b7deaf] user: drh branch: trunk, size: 209402) | |
14:32 | [f60d2b66d1] part of check-in [2529c2e11f] Change the OS interface layer to use traditional direct function call implementations instead of the more complicated virtual function table. Omit the asynchronous I/O demo. (CVS 2870) (check-in: [2529c2e11f] user: drh branch: trunk, size: 209364) | |
13:00 | [f34c1e8d93] part of check-in [d054bed15a] Add some simple tests and fixes for shared-schema locking. (CVS 2869) (check-in: [d054bed15a] user: danielk1977 branch: trunk, size: 209374) | |
06:33 | [d1402f4e1c] part of check-in [752a275487] Fix a bug that was emptying shared-schema tables during an ATTACH. (CVS 2867) (check-in: [752a275487] user: danielk1977 branch: trunk, size: 209122) | |
01:42 | [88a60d2af4] part of check-in [f1922da2d2] Formatting changes in btree.c. (CVS 2865) (check-in: [f1922da2d2] user: drh branch: trunk, size: 209086) | |
2006-01-05
| ||
11:34 | [f848dd6e59] part of check-in [deeda0dc06] Add the shared schema/pager modifications. Very few tests so far. (CVS 2859) (check-in: [deeda0dc06] user: danielk1977 branch: trunk, size: 209070) | |
2005-12-30
| ||
16:31 | [ec89192cee] part of check-in [a4aa0911bc] Repair typo in previous commit. (CVS 2849) (check-in: [a4aa0911bc] user: danielk1977 branch: trunk, size: 199489) | |
16:28 | [ccb912b1f2] part of check-in [2afcad9901] Add part of the btree layer of the shared-cache feature. (CVS 2848) (check-in: [2afcad9901] user: danielk1977 branch: trunk, size: 199474) | |
2005-12-21
| ||
18:36 | [2b2651e0f6] part of check-in [5638a11ed5] Bug fixes and additional testing of descending indices. (CVS 2841) (check-in: [5638a11ed5] user: drh branch: trunk, size: 188222) | |
2005-12-16
| ||
15:24 | [300fd8342f] part of check-in [83c8ae5bee] Verify that the rollback-hook is invoked correctly when a malloc() failure occurs. (CVS 2824) (check-in: [83c8ae5bee] user: danielk1977 branch: trunk, size: 188231) | |
06:54 | [f880db4dc6] part of check-in [3baa3ff324] Add the sqlite3_rollback_hook() API. Still requires further testing. (CVS 2823) (check-in: [3baa3ff324] user: danielk1977 branch: trunk, size: 188593) | |
2005-12-09
| ||
20:02 | [de0fc1a0f6] part of check-in [83a5915155] Clean up annoying (and pointless) compiler warnings about differing signedness. (CVS 2810) (check-in: [83a5915155] user: drh branch: trunk, size: 188572) | |
2005-11-24
| ||
14:34 | [aa88194f46] part of check-in [786e23b295] Comment changes. No changes to code. (CVS 2775) (check-in: [786e23b295] user: drh branch: trunk, size: 188574) | |
14:24 | [e742aacc7c] part of check-in [0d8bd133a7] Fix a comment in btree.c. No code changes. (CVS 2774) (check-in: [0d8bd133a7] user: drh branch: trunk, size: 188558) | |
2005-10-20
| ||
07:28 | [1ccc3b3931] part of check-in [e261b8b09a] Changes to prevent various compiler warnings. (CVS 2750) (check-in: [e261b8b09a] user: drh branch: trunk, size: 188518) | |
2005-09-17
| ||
15:20 | [236126155d] part of check-in [c07330000b] Changes to make corruption errors easier to track down. (CVS 2709) (check-in: [c07330000b] user: drh branch: trunk, size: 188659) | |
2005-09-16
| ||
11:32 | [a83b30bf0a] part of check-in [248f77972b] Do not journal the file locking page when doing a database copy as part of a VACUUM. Ticket #1432. (CVS 2703) (check-in: [248f77972b] user: drh branch: trunk, size: 188748) | |
09:52 | [b2dedc955b] part of check-in [9115e0621d] Fix an auto-vacuum problem with the PENDING_BYTE page. Also link the Tcl variable sqlite_pending_byte to the internal pending-byte location when in test mode. (CVS 2700) (check-in: [9115e0621d] user: danielk1977 branch: trunk, size: 188684) | |
2005-09-08
| ||
14:17 | [a1ee183067] part of check-in [cdfe372a95] Remove a few unused variables detected by Borland C. Ticket #1412. (CVS 2675) (check-in: [cdfe372a95] user: drh branch: trunk, size: 188675) | |
2005-08-27
| ||
16:36 | [5b3bc015c4] part of check-in [644b96aa23] Disable synchronous writes to the master journal when PRAGMA synchronous=OFF for all database files. Ticket #1375. (CVS 2630) (check-in: [644b96aa23] user: drh branch: trunk, size: 188820) | |
2005-08-02
| ||
17:13 | [667227e437] part of check-in [3af69a4928] Fix a bug in the btree balancer. ticket #1346. (CVS 2573) (check-in: [3af69a4928] user: drh branch: trunk, size: 188563) | |
2005-07-09
| ||
02:16 | [ec55bd7005] part of check-in [af2a0ba4a3] Make sure there is only one busy counter. Ticket #1315. (CVS 2543) (check-in: [af2a0ba4a3] user: drh branch: trunk, size: 188246) | |
2005-06-14
| ||
16:04 | [a167f412cf] part of check-in [3d7ee5b92d] Provide the SQLITE_FILE_HEADER command-line option for changing the text that appears at the beginning of databases. (CVS 2515) (check-in: [3d7ee5b92d] user: drh branch: trunk, size: 188314) | |
2005-05-24
| ||
20:19 | [d2e09ebf75] part of check-in [3e64f1ab41] Remove the config.h file from the build. Ticket #1224. (CVS 2480) (check-in: [3e64f1ab41] user: drh branch: trunk, size: 187795) | |
2005-05-20
| ||
20:01 | [85ee452bf3] part of check-in [f29a1d8826] Do not allow the pagesize of :memory: databases to be changed. Silently ignore PRAGMA page_size=N requests for :memory: databases. Ticket #1144 and #1252. (CVS 2466) (check-in: [f29a1d8826] user: drh branch: trunk, size: 187874) | |
2005-05-05
| ||
18:14 | [0d62614c54] part of check-in [240cce10d4] Patch to fix an alignment problem on sparc. Ticket #1234. (CVS 2455) (check-in: [240cce10d4] user: drh branch: trunk, size: 187888) | |
2005-05-03
| ||
12:30 | [238ebc9b5c] part of check-in [d9418851ce] Make sure all data structures have 8-byte alignment - necessary for the sparc architecture and helpful on other 64-bit platforms. Ticket #1232. Also update some comments in build.c. (CVS 2452) (check-in: [d9418851ce] user: drh branch: trunk, size: 187771) | |
2005-05-01
| ||
22:52 | [659cbf8b9a] part of check-in [535523e1be] Remove the psAligned value from the BTree structure - the pageSize is now always aligned to an 8-byte boundary. Add comments on a confusing bit of code. Ticket #1231. (CVS 2451) (check-in: [535523e1be] user: drh branch: trunk, size: 187450) | |
2005-03-29
| ||
13:17 | [25770f8cf1] part of check-in [312587acf9] Fix a C++-ism in the code. (CVS 2430) (check-in: [312587acf9] user: drh branch: trunk, size: 187346) | |
02:54 | [50f31eb084] part of check-in [78df3d0404] Fix segfault due to exception handler being run with uninitialised variable. (CVS 2426) (check-in: [78df3d0404] user: danielk1977 branch: trunk, size: 187354) | |
2005-03-28
| ||
08:44 | [657fd61dfb] part of check-in [0fd5ce4eef] Modifications to reduce memory consumption. (CVS 2422) (check-in: [0fd5ce4eef] user: danielk1977 branch: trunk, size: 187354) | |
2005-03-21
| ||
04:04 | [c33c0e6833] part of check-in [1f9d10d796] Add function to recover from a malloc() failure. (CVS 2414) (check-in: [1f9d10d796] user: danielk1977 branch: trunk, size: 186920) | |
2005-03-14
| ||
02:01 | [1d9b2179cc] part of check-in [644c6398e5] Be more aggressive about using the busy handler. Ticket #1159. (CVS 2385) (check-in: [644c6398e5] user: drh branch: trunk, size: 186201) | |
2005-03-10
| ||
17:06 | [fab5b169d2] part of check-in [8710192797] Another case of returning SQLITE_CORRUPT when a corrupt database file is detected. (CVS 2374) (check-in: [8710192797] user: drh branch: trunk, size: 184872) | |
2005-03-09
| ||
13:09 | [448cd6280f] part of check-in [64c4c717d3] Fix a file corruption bug in CREATE INDEX in auto-vacuum databases. (CVS 2368) (check-in: [64c4c717d3] user: danielk1977 branch: trunk, size: 184820) | |
2005-02-26
| ||
17:31 | [2a9c2c8a9f] part of check-in [bb0e7e3857] Fix an assertion fault that can occur while autovacuuming a corrupt database file. Add the SQLITE_OMIT_COMPLETE compile-time parameter. (CVS 2361) (check-in: [bb0e7e3857] user: drh branch: trunk, size: 184685) | |
2005-02-15
| ||
16:23 | [5c6e81855d] part of check-in [6610188f09] Btree checks the autovacuum flag after locking the database file. (CVS 2341) (check-in: [6610188f09] user: drh branch: trunk, size: 184577) | |
2005-02-12
| ||
08:59 | [2432adf957] part of check-in [f7858d8830] Fix a problem with sub-queries and the flattening optimization. Also handle an extra case of database corruption. (CVS 2324) (check-in: [f7858d8830] user: danielk1977 branch: trunk, size: 184872) | |
2005-02-06
| ||
02:45 | [d88766f8eb] part of check-in [2155448d21] Add the (highly experimental) omit_readlock pragma that disables the use of readlocks on read-only databases that are connected using ATTACH. (CVS 2317) (check-in: [2155448d21] user: drh branch: trunk, size: 184691) | |
2005-02-04
| ||
04:07 | [c3241d44d4] part of check-in [2eb9087055] Remove code for SQL cursors. (CVS 2312) (check-in: [2eb9087055] user: danielk1977 branch: trunk, size: 184749) | |
2005-01-21
| ||
11:55 | [e68ae12c8b] part of check-in [9c4d0e13e8] Improve test coverage for minimum feature builds. (CVS 2254) (check-in: [9c4d0e13e8] user: danielk1977 branch: trunk, size: 184783) | |
08:13 | [812ee6b8ee] part of check-in [c6fc49e610] Exclude a few more lines of code using OMIT macros. (CVS 2253) (check-in: [c6fc49e610] user: danielk1977 branch: trunk, size: 184630) | |
00:22 | [011acf7ced] part of check-in [d1166472fd] Fix a segfault that occurs on a corrupt database. (CVS 2248) (check-in: [d1166472fd] user: drh branch: trunk, size: 184581) | |
2005-01-17
| ||
07:53 | [97101cce85] part of check-in [6244252915] Fix some memory leak problems with corrupt.test and auto-vacuum databases. (CVS 2226) (check-in: [6244252915] user: danielk1977 branch: trunk, size: 184516) | |
02:12 | [da5adfeb27] part of check-in [2d58c0afa7] Change some assert()s that could fail if the database is corrupt to return SQLITE_CORRUPT instead. (CVS 2223) (check-in: [2d58c0afa7] user: danielk1977 branch: trunk, size: 184528) | |
01:33 | [5fcaa23865] part of check-in [feb49d10e8] Have sqlite3pager_get() return SQLITE_CORRUPT for a page number greater than 2^31. (CVS 2222) (check-in: [feb49d10e8] user: danielk1977 branch: trunk, size: 184381) | |
2005-01-16
| ||
23:21 | [528a661ae1] part of check-in [d0356dee55] Turn on quick-balance by default. (CVS 2221) (check-in: [d0356dee55] user: drh branch: trunk, size: 184256) | |
11:07 | [4a9313065d] part of check-in [6237c294d1] Changes to make sure tests work when SQLITE_DEFAULT_AUTOVACUUM is defined. (CVS 2219) (check-in: [6237c294d1] user: danielk1977 branch: trunk, size: 183761) | |
09:06 | [77e7ab4f35] part of check-in [fe548561a0] Fixes so that compiling and testing works when SQLITE_OMIT_AUTOVACUUM is defined. (CVS 2218) (check-in: [fe548561a0] user: danielk1977 branch: trunk, size: 183606) | |
08:00 | [a007420eac] part of check-in [a5c2121410] Move duplicate code to update pointer-map wrt overflow pages into a function. (CVS 2217) (check-in: [a5c2121410] user: danielk1977 branch: trunk, size: 183573) | |
2005-01-15
| ||
12:45 | [426032061f] part of check-in [0ae29538cc] Enhance the performance of auto-vacuum databases by reducing the number of pointer-map entries written during tree balancing. Also fix bugs in balance_quick(). (CVS 2216) (check-in: [0ae29538cc] user: danielk1977 branch: trunk, size: 183592) | |
2005-01-14
| ||
22:55 | [01027e3c1b] part of check-in [183c42eac8] Add comments to the new balance_quick() routine. (CVS 2212) (check-in: [183c42eac8] user: drh branch: trunk, size: 179762) | |
13:50 | [1a351402db] part of check-in [c550d80c25] Experimental patch to balance() (use -DSQLITE_BALANCE_QUICK). (CVS 2211) (check-in: [c550d80c25] user: danielk1977 branch: trunk, size: 178591) | |
2005-01-12
| ||
07:15 | [bd2fd7fed9] part of check-in [319bb4a906] Tests to improve coverage of vdbemem.c. (CVS 2200) (check-in: [319bb4a906] user: danielk1977 branch: trunk, size: 176610) | |
2005-01-11
| ||
10:25 | [5ec669c883] part of check-in [8ced491588] Test cases to improve coverage of btree.c (and minor bugfixes). (CVS 2190) (check-in: [8ced491588] user: danielk1977 branch: trunk, size: 176691) | |
2005-01-10
| ||
12:59 | [241e27b464] part of check-in [a461988661] Extra test cases to improve coverage of btree.c (CVS 2189) (check-in: [a461988661] user: danielk1977 branch: trunk, size: 177141) | |
2005-01-08
| ||
15:43 | [5483bf070f] part of check-in [26fbac8f03] Fix a comment. (CVS 2184) (check-in: [26fbac8f03] user: drh branch: trunk, size: 176450) | |
12:42 | [1f069c10b9] part of check-in [fb3bf68d0e] Fix a problem with auto-vacuum databases and the VACUUM command. Also add "pages read" and "pages written" statistics to the pager layer. (CVS 2183) (check-in: [fb3bf68d0e] user: danielk1977 branch: trunk, size: 176455) | |
2005-01-07
| ||
08:56 | [8cab7c66c8] part of check-in [929745c183] Fix a read of invalid memory that could occur in btree.c. (CVS 2180) (check-in: [929745c183] user: danielk1977 branch: trunk, size: 176376) | |
2004-11-23
| ||
09:06 | [fa113d624d] part of check-in [557be3ff5b] Fix a bug involving balance_shallow() and the sqlite_master table. (CVS 2143) (check-in: [557be3ff5b] user: danielk1977 branch: trunk, size: 175999) | |
2004-11-22
| ||
19:07 | [05fe410ebb] part of check-in [3d2536c479] Fix a long-standing bug in btree.c in the sqlite3BtreePrevious() routine. The problem has gone unnoticed before now because it only occurs when you use the OP_Prev opcode on a B+Tree. (CVS 2140) (check-in: [3d2536c479] user: drh branch: trunk, size: 175813) | |
10:02 | [edcd4abafe] part of check-in [91acd87e52] Back out changes allowing writes to tables that have open cursors. (CVS 2133) (check-in: [91acd87e52] user: danielk1977 branch: trunk, size: 175805) | |
05:26 | [614ac85f81] part of check-in [9df837c039] Have tests pass when SQLITE_OMIT_MEMORYDB is defined. (CVS 2131) (check-in: [9df837c039] user: danielk1977 branch: trunk, size: 185571) | |
2004-11-20
| ||
20:31 | [c65849bd85] part of check-in [5a4013ec9c] Correct use of usableSize versus pageSize in btree.c. Ticket #1010. (CVS 2125) (check-in: [5a4013ec9c] user: drh branch: trunk, size: 185161) | |
2004-11-17
| ||
10:22 | [49b09718cd] part of check-in [e1530854c9] Extra tests and resulting bugfixes for btree cursors. (CVS 2106) (check-in: [e1530854c9] user: danielk1977 branch: trunk, size: 185141) | |
2004-11-16
| ||
15:50 | [c878e87a41] part of check-in [a2e1c35b32] Perform deletes in a single pass. (CVS 2104) (check-in: [a2e1c35b32] user: danielk1977 branch: trunk, size: 183750) | |
04:57 | [967b42616d] part of check-in [6ad5fc8e1a] Allow btree cursors to persist through BtreeDelete() calls. (CVS 2103) (check-in: [6ad5fc8e1a] user: danielk1977 branch: trunk, size: 183926) | |
2004-11-13
| ||
13:19 | [b0b6238c54] part of check-in [5eaa18d43f] Code toward having btree cursors persist when their table is written too. Doesn't work properly yet. (CVS 2097) (check-in: [5eaa18d43f] user: danielk1977 branch: trunk, size: 179992) | |
2004-11-10
| ||
11:55 | [9fd74df65b] part of check-in [8e5c2e5df8] Ensure tables cannot be created/dropped when btree cursors are open. (CVS 2085) (check-in: [8e5c2e5df8] user: danielk1977 branch: trunk, size: 175207) | |
2004-11-08
| ||
09:26 | [63a84350a1] part of check-in [839ad771a6] Test auto-vacuum mode for crash-proofness. Also fix a bug related to the same. (CVS 2077) (check-in: [839ad771a6] user: danielk1977 branch: trunk, size: 174664) | |
07:13 | [e88077ac04] part of check-in [d633569869] Auto-vacuum: Account for the page reserved for windows locking (PENDING_BYTE). (CVS 2076) (check-in: [d633569869] user: danielk1977 branch: trunk, size: 174851) | |
2004-11-06
| ||
12:26 | [8ae13efe79] part of check-in [081676e491] Auto-vacuum: Ensure pages to be removed by database truncation are in the journal file. Also fix an sqlite3pager_movepage() bug. (CVS 2074) (check-in: [081676e491] user: danielk1977 branch: trunk, size: 173711) | |
00:02 | [32b5c8d457] part of check-in [89b9026a53] Compile and pass the quick regression tests with autovacuum disabled. (CVS 2073) (check-in: [89b9026a53] user: drh branch: trunk, size: 173661) | |
2004-11-05
| ||
16:37 | [bf0d3d59ec] part of check-in [cfee7f4a00] Do not truncate a database file until after fsync() has been called on the journal. (CVS 2068) (check-in: [cfee7f4a00] user: danielk1977 branch: trunk, size: 173630) | |
15:45 | [9ca965e9fb] part of check-in [b9d5f007fc] Make auto-vacuum a run-time option (default determined by SQLITE_DEFAULT_AUTOVACUUM macro). (CVS 2067) (check-in: [b9d5f007fc] user: danielk1977 branch: trunk, size: 173537) | |
12:58 | [6a61345b55] part of check-in [44a015b3a3] Auto-vacuum bug: Don't set meta(3) to a pointer-map page number when deleting a table. (CVS 2066) (check-in: [44a015b3a3] user: danielk1977 branch: trunk, size: 172761) | |
12:27 | [659bb0c16b] part of check-in [4e2433378e] Fix allocation of tables in an auto-vacuum database when the required root-page is on the free-list. (CVS 2065) (check-in: [4e2433378e] user: danielk1977 branch: trunk, size: 172643) | |
03:56 | [f97b5a3919] part of check-in [2d302931a6] Begin using sqlite3NestedParse() to generate sections of code. (CVS 2059) (check-in: [2d302931a6] user: drh branch: trunk, size: 170186) | |
01:45 | [832ea45538] part of check-in [aed2e623ec] Fix bug introduced with (2057). (CVS 2058) (check-in: [aed2e623ec] user: danielk1977 branch: trunk, size: 170380) | |
00:43 | [1b172b9d58] part of check-in [10c3d88305] Incremental check-in of changes that will ultimately lead to a working autoincrement. (CVS 2056) (check-in: [10c3d88305] user: drh branch: trunk, size: 169929) | |
2004-11-04
| ||
14:30 | [a3e45d54eb] part of check-in [1da361fae8] Support root-page allocation/deallocation in auto-vacuum databases. Still a few problems. (CVS 2054) (check-in: [1da361fae8] user: danielk1977 branch: trunk, size: 169225) | |
02:57 | [93163198e6] part of check-in [571de52376] Add support for table allocation (not deallocation) in auto-vacuum databases. (CVS 2051) (check-in: [571de52376] user: danielk1977 branch: trunk, size: 167457) | |
2004-11-03
| ||
11:37 | [d7cc9fdb0f] part of check-in [bec6a65aca] Auto-vacuum bug: Deallocate pointer-map pages when shrinking a database file. (CVS 2048) (check-in: [bec6a65aca] user: danielk1977 branch: trunk, size: 164890) | |
03:52 | [e243f8927f] part of check-in [bd50fbb5fe] Auto-vacuum bugfix: Do not attempt to move a pointer-map page during auto-vacuum. (CVS 2044) (check-in: [bd50fbb5fe] user: danielk1977 branch: trunk, size: 164801) | |
03:01 | [2f7cfc724b] part of check-in [b7d953e119] Fix an auto-vacuum bug that occurs when a btree cell is promoted to the parent page during a delete. (CVS 2043) (check-in: [b7d953e119] user: danielk1977 branch: trunk, size: 164618) | |
2004-11-02
| ||
18:05 | [0d0993b876] part of check-in [8378c144c1] Get btree.c to compile with -DNDEBUG=1. (CVS 2040) (check-in: [8378c144c1] user: drh branch: trunk, size: 164004) | |
14:40 | [5958f65a37] part of check-in [40249ed19c] Fix an auto-vacuum bug for btree entries that span more than one overflow page. (CVS 2039) (check-in: [40249ed19c] user: danielk1977 branch: trunk, size: 163990) | |
14:24 | [057e97744f] part of check-in [c33b34dbe9] Require that the page size be a power of 2. (CVS 2038) (check-in: [c33b34dbe9] user: drh branch: trunk, size: 163478) | |
12:56 | [92713a104c] part of check-in [d12481f09c] Code to auto-vacuum the database if all root pages happen to be in the right place. Not active by default and largely untested. (CVS 2037) (check-in: [d12481f09c] user: danielk1977 branch: trunk, size: 163045) | |
2004-10-31
| ||
16:25 | [231a0e7a00] part of check-in [bebd967f36] Add code to create/update the btree 'pointer-map' for auto-vacuum mode. (CVS 2035) (check-in: [bebd967f36] user: danielk1977 branch: trunk, size: 151917) | |
02:22 | [3764bdd983] part of check-in [be661acfa8] Insert #ifdefs that can optionally remove features at compiletime resulting in a database engine with a smaller footprint. (CVS 2034) (check-in: [be661acfa8] user: drh branch: trunk, size: 144265) | |
2004-10-22
| ||
16:22 | [d8426846c0] part of check-in [0539c2d2b8] Fix alignment problems in btree and pager and allow page sizes that are not a multiple of 8. (CVS 2026) (check-in: [0539c2d2b8] user: drh branch: trunk, size: 143821) | |
2004-10-05
| ||
02:41 | [bb3f8cadf6] part of check-in [81ff8107ad] Add support for DEFERRED, IMMEDIATE, and EXCLUSIVE transactions. (CVS 2000) (check-in: [81ff8107ad] user: drh branch: trunk, size: 143359) | |
2004-09-27
| ||
13:19 | [014d3c9d31] part of check-in [b15abf984f] Comment changes in btree.c. No changes to code. (CVS 1988) (check-in: [b15abf984f] user: drh branch: trunk, size: 143040) | |
12:20 | [839aa4dbb7] part of check-in [cb3e12372d] Bug fix in btree.c in cases where usableSize!=pageSize. Ticket #925. (CVS 1987) (check-in: [cb3e12372d] user: drh branch: trunk, size: 143001) | |
2004-09-08
| ||
20:13 | [470e00b086] part of check-in [39755d2166] More changes directed at getting things to work on 64-bit platforms. (CVS 1949) (check-in: [39755d2166] user: drh branch: trunk, size: 142968) | |
2004-09-05
| ||
00:33 | [fe763fde63] part of check-in [fa82becae7] Make VACUUM work when the page size is different than the default 1024. Ticket #890. (CVS 1939) (check-in: [fa82becae7] user: drh branch: trunk, size: 142903) | |
2004-09-03
| ||
23:32 | [fd5e339c83] part of check-in [af44ddeea1] Fix a comment. (CVS 1938) (check-in: [af44ddeea1] user: drh branch: trunk, size: 142901) | |
18:38 | [91a6f5e90c] part of check-in [4595292f93] Modify btree.c so that is allocates big data structures using malloc() instead of allocating from the stack. Stack allocations cause problems for embedded systems and pthreads implementations that only allocate a limited amount of stack space. (CVS 1937) (check-in: [4595292f93] user: drh branch: trunk, size: 143071) | |
2004-09-01
| ||
16:12 | [598e7eccfa] part of check-in [18af6ba580] Work around a bug in the Borland C++ compiler. Ticket #881. (CVS 1927) (check-in: [18af6ba580] user: drh branch: trunk, size: 141689) | |
2004-08-31
| ||
13:45 | [7437310f8a] part of check-in [8fd65e7048] Simplifications and optimizations. Also: disable the corrupt.test for now. (CVS 1924) (check-in: [8fd65e7048] user: drh branch: trunk, size: 141662) | |
2004-08-30
| ||
16:52 | [9cf41d26fb] part of check-in [8f5b199e84] Better detection and handling of corrupt database files. (CVS 1922) (check-in: [8f5b199e84] user: drh branch: trunk, size: 141663) | |
2004-08-14
| ||
19:20 | [14c20dfb32] part of check-in [7619bf4771] If meta(3)>0 then make the database readonly for now. This allows the current database to interact with future releases that might include autovacuum. (CVS 1888) (check-in: [7619bf4771] user: drh branch: trunk, size: 140263) | |
2004-08-08
| ||
19:43 | [cfa5ed0183] part of check-in [fc879a9b1d] Attempting to open a locked table for writing should fail immediately. Ticket #842. (CVS 1880) (check-in: [fc879a9b1d] user: drh branch: trunk, size: 140084) | |
2004-07-23
| ||
00:01 | [edf4ece708] part of check-in [7c7f698b2e] First cut at a analysis tool for version 3.0 databases. (CVS 1862) (check-in: [7c7f698b2e] user: drh branch: trunk, size: 140471) | |
2004-07-22
| ||
02:40 | [9f17271852] part of check-in [b77bec3574] Changes in support of using a codec. (CVS 1844) (check-in: [b77bec3574] user: drh branch: trunk, size: 140105) | |
01:19 | [385dceb1ac] part of check-in [4cf6e9db75] Initial implementation of variable page sizes and the temp_store pragma. (CVS 1843) (check-in: [4cf6e9db75] user: drh branch: trunk, size: 140021) | |
2004-07-20
| ||
12:45 | [23d4cbe6f6] part of check-in [522ff721cc] Add the '%ifdef' capability to lemon. Other minor changes. (CVS 1836) (check-in: [522ff721cc] user: drh branch: trunk, size: 139295) | |
2004-06-30
| ||
08:20 | [3ed3c19e43] part of check-in [fa19c77bf0] Fixes for compiler warnings. Also more coverage. (CVS 1775) (check-in: [fa19c77bf0] user: danielk1977 branch: trunk, size: 139258) | |
01:07 | [a241b25bfc] part of check-in [73eec67505] Remove some pointless asserts from btree.c. (CVS 1768) (check-in: [73eec67505] user: drh branch: trunk, size: 139281) | |
2004-06-28
| ||
01:11 | [ad428c56e4] part of check-in [fae7c6e004] Fix a bunch of harmless warnings. (CVS 1749) (check-in: [fae7c6e004] user: danielk1977 branch: trunk, size: 139375) | |
2004-06-26
| ||
08:38 | [d485d1b2f0] part of check-in [4e20720984] Remove the 'nMaster' argument from various pager and btree functions. (CVS 1737) (check-in: [4e20720984] user: danielk1977 branch: trunk, size: 139368) | |
2004-06-22
| ||
14:40 | [0591368af0] part of check-in [129c5d5e3a] Do not apply unary '-' to an unsigned "sizeof" result. (CVS 1663) (check-in: [129c5d5e3a] user: drh branch: trunk, size: 139382) | |
2004-06-16
| ||
12:00 | [0cf8a52a57] part of check-in [6001c5e1ce] Trivial modifications to prevent compiler warnings. (CVS 1606) (check-in: [6001c5e1ce] user: danielk1977 branch: trunk, size: 139385) | |
2004-06-15
| ||
11:40 | [2852932e90] part of check-in [e21a181376] Minor bugfixes and test case adjustments for version 2 test cases to work with version 3. (CVS 1598) (check-in: [e21a181376] user: danielk1977 branch: trunk, size: 139328) | |
02:44 | [3c59f64c92] part of check-in [4f5e253082] (1) Vdbe makes a copy of column types. (2) Don't invalidate other cursors when a statement or transaction is rolled back. (3) Update capi2.test for the new API. (CVS 1597) (check-in: [4f5e253082] user: danielk1977 branch: trunk, size: 139402) | |
02:13 | [9e60ffbc24] part of check-in [1c6a070635] Update comments in btree.c. No changes to code. (CVS 1596) (check-in: [1c6a070635] user: drh branch: trunk, size: 139002) | |
01:40 | [a9aabed057] part of check-in [5a81420277] Do not use the page containing locks for anything to avoid problems with the manditory file locking on windows. (CVS 1595) (check-in: [5a81420277] user: drh branch: trunk, size: 138995) | |
2004-06-14
| ||
06:03 | [1bed18993e] part of check-in [73cd0aabb2] Ensure the master journal directory is synced. Also, change the master journal format to store journal file names. (CVS 1583) (check-in: [73cd0aabb2] user: danielk1977 branch: trunk, size: 138895) | |
2004-06-13
| ||
23:07 | [5591068c5e] part of check-in [77c5eaa10a] os_win.c is now working with the new locking protocol. (CVS 1581) (check-in: [77c5eaa10a] user: drh branch: trunk, size: 138371) | |
00:54 | [fed8a295eb] part of check-in [c5ebc1c05e] More speed improvements. (CVS 1580) (check-in: [c5ebc1c05e] user: drh branch: trunk, size: 138349) | |
2004-06-09
| ||
20:03 | [281af87aa1] part of check-in [3674b25edc] Turn on the atomic multifile commit logic. It does not work right yet, but it has at least stopped failing asserts. (CVS 1550) (check-in: [3674b25edc] user: drh branch: trunk, size: 138325) | |
17:37 | [7526d697ca] part of check-in [dc0763455b] Fixes to the file locking. 109 tests are now failing. (CVS 1548) (check-in: [dc0763455b] user: drh branch: trunk, size: 138319) | |
2004-06-07
| ||
16:27 | [edb38affc2] part of check-in [0c2d169cf3] More work on windows locking. Fix some problems with unix locking. There is still an assertion failure on windows locking in attach2.test. (CVS 1539) (check-in: [0c2d169cf3] user: drh branch: trunk, size: 137720) | |
01:52 | [3f0c22ab8c] part of check-in [4f7c0961ad] Progress towards getting locking to work on windows. (CVS 1536) (check-in: [4f7c0961ad] user: drh branch: trunk, size: 138106) | |
2004-06-06
| ||
00:42 | [5ee4cad91b] part of check-in [9e6cd9ec75] Added sqlite3OsLock for win32. Assertion fault in attach.test. (CVS 1533) (check-in: [9e6cd9ec75] user: drh branch: trunk, size: 138068) | |
2004-06-05
| ||
00:01 | [b8a253fbbc] part of check-in [cb1ffabf86] Critical bugs fixed in btree.c. Incompatible file format change. Unrelated comment fix in select.c (CVS 1530) (check-in: [cb1ffabf86] user: drh branch: trunk, size: 137856) | |
2004-06-04
| ||
06:22 | [39dfc3954a] part of check-in [ff70b6d2b6] Move the 'busy-callback' logic to the pager layer. (CVS 1527) (check-in: [ff70b6d2b6] user: danielk1977 branch: trunk, size: 137685) | |
2004-06-03
| ||
16:08 | [3cf513520d] part of check-in [d57e5252c8] Untested updates to support atomic multi-file transactions (CVS 1526) (check-in: [d57e5252c8] user: danielk1977 branch: trunk, size: 137598) | |
2004-06-02
| ||
01:22 | [bf725408c6] part of check-in [165d69a04c] Work toward combining the OP_MakeKey, OP_MakeIdxKey, and OP_MakeRecord opcodes into one. The work is incomplete. (CVS 1524) (check-in: [165d69a04c] user: drh branch: trunk, size: 136531) | |
2004-05-31
| ||
10:01 | [652efb14a1] part of check-in [6b43633a96] Add read-transactions to the btree and vdbe. The compiler doesn't invoke them yet. (CVS 1502) (check-in: [6b43633a96] user: danielk1977 branch: trunk, size: 136510) | |
08:26 | [07d0d93ba0] part of check-in [b8ed812c92] Replace OP_Begin, OP_Commit and OP_Rollback with OP_AutoCommit. (CVS 1500) (check-in: [b8ed812c92] user: danielk1977 branch: trunk, size: 135852) | |
2004-05-30
| ||
20:46 | [3b7ddd0dd4] part of check-in [a0db15bba6] Various speed enhancements. (CVS 1498) (check-in: [a0db15bba6] user: drh branch: trunk, size: 135582) | |
19:19 | [da44b7801f] part of check-in [c86b7c065a] Improved comments and speed tweaks to btree.c. (CVS 1497) (check-in: [c86b7c065a] user: drh branch: trunk, size: 135939) | |
02:14 | [efc15b6c77] part of check-in [a90264c0a4] Additional minor speed improvements. (CVS 1496) (check-in: [a90264c0a4] user: drh branch: trunk, size: 133576) | |
2004-05-29
| ||
21:46 | [3287b359b0] part of check-in [cbcaece7f4] A file format change for btree.c makes it between 10 and 20% faster. (CVS 1493) (check-in: [cbcaece7f4] user: drh branch: trunk, size: 133596) | |
10:23 | [7832e4247f] part of check-in [4feb4b9a71] Fix vacuum so that it works with blobs. (CVS 1490) (check-in: [4feb4b9a71] user: danielk1977 branch: trunk, size: 133907) | |
2004-05-26
| ||
00:01 | [6db76fbf63] part of check-in [143c502a59] Minor code fixes in btree.c and pragma.c to help with watcom C. (CVS 1457) (check-in: [143c502a59] user: drh branch: trunk, size: 133901) | |
2004-05-22
| ||
02:55 | [51dfa34da5] part of check-in [8069caca82] Update comments and remove dead code from btree.c (CVS 1432) (check-in: [8069caca82] user: drh branch: trunk, size: 133903) | |
2004-05-20
| ||
22:16 | [68f8e0f627] part of check-in [a6cb09d7af] Add internal support for collating sequences. This breaks 244 tests. (CVS 1420) (check-in: [a6cb09d7af] user: drh branch: trunk, size: 132876) | |
02:01 | [7abf1261c2] part of check-in [c4e1d02ffd] VACUUM works again. (CVS 1412) (check-in: [c4e1d02ffd] user: drh branch: trunk, size: 132679) | |
2004-05-18
| ||
12:50 | [b13a0e8b49] part of check-in [b2def1852c] Additional debugging output from btree.c (CVS 1394) (check-in: [b2def1852c] user: drh branch: trunk, size: 132658) | |
10:06 | [f0ba709781] part of check-in [ad4a964158] Fix many problems with manifest types and column affinity. Most things are working now. (CVS 1393) (check-in: [ad4a964158] user: danielk1977 branch: trunk, size: 132568) | |
2004-05-16
| ||
16:24 | [bf8d9592b6] part of check-in [6c73544bfa] Fix a bug in the BTree balancing routine. (CVS 1387) (check-in: [6c73544bfa] user: drh branch: trunk, size: 132373) | |
2004-05-15
| ||
00:29 | [05aefd3eec] part of check-in [aab4b794b4] More speed improvements to btree. (CVS 1384) (check-in: [aab4b794b4] user: drh branch: trunk, size: 130705) | |
2004-05-14
| ||
21:12 | [731695f701] part of check-in [8d9eab178f] Cache record headers in the OP_Column opcode. (CVS 1382) (check-in: [8d9eab178f] user: drh branch: trunk, size: 130890) | |
19:08 | [c263f1f26b] part of check-in [cf75cac9b6] More speed improvements. (CVS 1381) (check-in: [cf75cac9b6] user: drh branch: trunk, size: 131755) | |
16:50 | [71c689f16d] part of check-in [d4e0933dc7] Optimized varint routines and tests added. (CVS 1380) (check-in: [d4e0933dc7] user: drh branch: trunk, size: 129576) | |
15:27 | [085a020c22] part of check-in [cad4791726] Performance improvements (CVS 1379) (check-in: [cad4791726] user: drh branch: trunk, size: 130310) | |
12:17 | [4f1c77b78e] part of check-in [45b60de5c7] Table 1 of a database (the sqlite_master table) defaults to use B+trees. (CVS 1378) (check-in: [45b60de5c7] user: drh branch: trunk, size: 130219) | |
01:58 | [2b85dc8f6b] part of check-in [f63fb6dd4e] Changes to btree and pager in preparation for moving to run-time page size determination. (CVS 1374) (check-in: [f63fb6dd4e] user: drh branch: trunk, size: 130206) | |
2004-05-13
| ||
13:38 | [bda57fe687] part of check-in [790226c944] Changes to make regression tests in rowid.test pass. (CVS 1373) (check-in: [790226c944] user: danielk1977 branch: trunk, size: 129533) | |
11:34 | [e1b44c7298] part of check-in [dbe8385ecf] Various minor fixes and updates to make more test cases pass. (CVS 1370) (check-in: [dbe8385ecf] user: danielk1977 branch: trunk, size: 129550) | |
01:12 | [35fd97038d] part of check-in [1d52a4bb47] Allocate more overflow data onto overflow pages, thus wasting less disk space. (CVS 1367) (check-in: [1d52a4bb47] user: drh branch: trunk, size: 129486) | |
2004-05-12
| ||
21:11 | [09f5838dd0] part of check-in [64a75c4cd4] Fix a problem with B+trees. (CVS 1366) (check-in: [64a75c4cd4] user: drh branch: trunk, size: 127380) | |
19:18 | [dc347ebd01] part of check-in [b8f70d17f0] Implement a B+tree option (all data stored on leaves). (CVS 1365) (check-in: [b8f70d17f0] user: drh branch: trunk, size: 127328) | |
15:15 | [62a870f24d] part of check-in [fb3c803014] Btree uses signed integers for the rowid. The intToKey() and keyToInt() macros are now no-ops. (CVS 1364) (check-in: [fb3c803014] user: drh branch: trunk, size: 125626) | |
2004-05-11
| ||
09:31 | [35df9e6d3a] part of check-in [6d378cb7e7] Fix an offset problem in the meta values that was causing problems for many tests. (CVS 1357) (check-in: [6d378cb7e7] user: drh branch: trunk, size: 125494) | |
02:10 | [4e9ed30d12] part of check-in [7bc4f5543f] Fix a bug in the btree code for reading varints greater than 2^32. (CVS 1349) (check-in: [7bc4f5543f] user: danielk1977 branch: trunk, size: 125243) | |
00:58 | [ac2de2cfaf] part of check-in [a675ac4988] Updates to sqlite3BtreeKeyFetch() and sqlite3BtreeDataFetch(). (CVS 1347) (check-in: [a675ac4988] user: drh branch: trunk, size: 125228) | |
2004-05-10
| ||
23:29 | [38cff183ac] part of check-in [bc5a2dafa1] Work toward getting the new btree.c integrated with vdbe.c. (CVS 1345) (check-in: [bc5a2dafa1] user: drh branch: trunk, size: 123770) | |
18:45 | [3904c06f69] part of check-in [84506b2336] The btree.c module passes all tests and is ready for integration. Still need to go back and do coverage testing. (CVS 1343) (check-in: [84506b2336] user: drh branch: trunk, size: 123731) | |
16:18 | [1b29a6915b] part of check-in [433ae0d327] The btree.c module now passes all the historical regression tests. New tests for new functionality still need to be added. (CVS 1342) (check-in: [433ae0d327] user: drh branch: trunk, size: 123686) | |
10:34 | [b5950a1fec] part of check-in [ba2ba24263] Change the names of external symbols from sqlite_XXX to sqlite3_XXX. (CVS 1337) (check-in: [ba2ba24263] user: danielk1977 branch: trunk, size: 122328) | |
2004-05-09
| ||
20:40 | [b4c04b7867] part of check-in [9379c7c9cf] More btree.c bug fixing. It's getting closer but still not there yet. Move obsolete test scripts into the attic. (CVS 1331) (check-in: [9379c7c9cf] user: drh branch: trunk, size: 122319) | |
11:51 | [c1251660ea] part of check-in [9f1caa530e] The btree.test test is no working with integrity_check enabled. (CVS 1330) (check-in: [9f1caa530e] user: drh branch: trunk, size: 120063) | |
01:35 | [4c9b4a68f5] part of check-in [499569daa6] Begin trying to get integrity checking working on the new btree.c. (CVS 1329) (check-in: [499569daa6] user: drh branch: trunk, size: 115050) | |
00:40 | [927ac9e162] part of check-in [ee706e9c74] All tests in btree.test now pass (but only because I commented out the btree_integrity_check test.) (CVS 1328) (check-in: [ee706e9c74] user: drh branch: trunk, size: 120369) | |
2004-05-08
| ||
20:07 | [26f7caa992] part of check-in [e9f84ff3fe] More btree.c bug fixes. (CVS 1327) (check-in: [e9f84ff3fe] user: drh branch: trunk, size: 115987) | |
10:56 | [27600f910e] part of check-in [2bca92240b] Get the code back to the point where it will compile the btree.c tests. Move the default key comparison routine from btree.c into vdbeaux.c. Commented out code in vdbe.c that will need to be fixed. (CVS 1326) (check-in: [2bca92240b] user: drh branch: trunk, size: 114610) | |
08:23 | [8c50e8f3d1] part of check-in [8af6474c49] Change lots of internal symbols from sqliteXXX to sqlite3XXX so that the library links again. It doesn't work yet, due to changes in the btree layer calling convention. (CVS 1324) (check-in: [8af6474c49] user: danielk1977 branch: trunk, size: 118747) | |
02:03 | [1ab8767ab7] part of check-in [2d64cba38c] More bug fixes in btree.c. (CVS 1323) (check-in: [2d64cba38c] user: drh branch: trunk, size: 117787) | |
2004-05-07
| ||
23:50 | [a5fafa6179] part of check-in [a80939ef71] More bug fixes in btree.c. (CVS 1322) (check-in: [a80939ef71] user: drh branch: trunk, size: 117630) | |
17:57 | [ff2f51fcd0] part of check-in [d394b2b217] The btree.c module compiles and links and passes some tests. Many tests still fail, though. (CVS 1321) (check-in: [d394b2b217] user: drh branch: trunk, size: 117043) | |
13:30 | [4c4ccf85d2] part of check-in [dcd6b55f93] New btree.c module compiles and links. (CVS 1320) (check-in: [dcd6b55f93] user: drh branch: trunk, size: 116446) | |
2004-05-04
| ||
17:27 | [54f5f2d000] part of check-in [bfb3234dc6] Update test3.c to work with the new btree.c API. (CVS 1314) (check-in: [bfb3234dc6] user: drh branch: trunk, size: 116431) | |
2004-05-03
| ||
19:49 | [4ec7a8e12b] part of check-in [fdc629dbbf] Incremental btree.c changes. (CVS 1312) (check-in: [fdc629dbbf] user: drh branch: trunk, size: 116242) | |
2004-05-02
| ||
21:12 | [35427c5fc4] part of check-in [0eee3b5cd4] Changes to btree for the new file format are mostly complete. Still need to test and debug. (CVS 1311) (check-in: [0eee3b5cd4] user: drh branch: trunk, size: 115943) | |
2004-04-29
| ||
14:42 | [09272a4650] part of check-in [51892d6cdc] Sync all version 3 changes. (CVS 1309) (check-in: [51892d6cdc] user: drh branch: trunk, size: 115589) | |
2004-04-26
| ||
14:10 | [4e2b50ae03] part of check-in [910067a200] Pager tests working. (CVS 1308) (check-in: [910067a200] user: drh branch: trunk, size: 114105) | |
2004-04-23
| ||
23:43 | [cb9836c17b] part of check-in [ce0bbd3a71] Begin modifying the BTree code for the new version-3 file format. This is a work-in-progress. As of this check-in, SQLite will not build. (CVS 1306) (check-in: [ce0bbd3a71] user: drh branch: trunk, size: 112163) | |
2004-03-10
| ||
13:42 | [08a05b925b] part of check-in [8a8be4687b] The BTree layer now returns SQLITE_READONLY on an attempt to open a write cursor on a read-only database. Previously, the failure would not occur until there was an attempt to write to the cursor. (CVS 1289) (check-in: [8a8be4687b] user: drh branch: trunk, size: 112794) | |
2004-02-14
| ||
17:35 | [0a40efb01f] part of check-in [398bc294c8] Fix problems with malloc-failure handling. (CVS 1241) (check-in: [398bc294c8] user: drh branch: trunk, size: 112712) | |
2004-02-12
| ||
19:01 | [9aefacf529] part of check-in [0c77cee70f] Add the SQLITE_NOTADB return code for cases when you try to open a file that does not even remotely resemble an SQLite database file. (CVS 1233) (check-in: [0c77cee70f] user: drh branch: trunk, size: 112674) | |
2004-02-10
| ||
02:57 | [c325d46f0a] part of check-in [9c6b4758a4] Make the pager accessible from the btree structure always, not just during debugging. (CVS 1219) (check-in: [9c6b4758a4] user: drh branch: trunk, size: 112675) | |
01:54 | [26d10f3149] part of check-in [4c7bf714b5] Allow SQLITE_PAGE_SIZE to be redefined on the compiler command-line. (CVS 1217) (check-in: [4c7bf714b5] user: drh branch: trunk, size: 112699) | |
2004-01-01
| ||
12:33 | [9ab30f0504] part of check-in [ee51e205fb] Remove unused code from the integrity_check logic. Ticket #545. (CVS 1153) (check-in: [ee51e205fb] user: drh branch: trunk, size: 112612) | |
2003-12-16
| ||
03:44 | [89a77be5ca] part of check-in [b92c31d6c1] Improvements to the way PRAGMA integrity_check works. More likely to output userful information when given a corrupt database. (CVS 1132) (check-in: [b92c31d6c1] user: drh branch: trunk, size: 112833) | |
2003-12-06
| ||
21:43 | [bcb466c293] part of check-in [656c90387a] Always use "(char*)0" to terminate the argument list of sqliteSetString(). This is needed for 64-bit systems that use a 32-bit integer by default. (CVS 1126) (check-in: [656c90387a] user: drh branch: trunk, size: 112824) | |
2003-06-17
| ||
02:57 | [ba1cc0c71c] part of check-in [5228cecdb8] Remove unused variable. Ticket #355. (CVS 1030) (check-in: [5228cecdb8] user: drh branch: trunk, size: 112810) | |
2003-06-04
| ||
16:24 | [6656625305] part of check-in [af6f2bdf59] Fix a bug in UPDATE OR REPLACE that was introduced by check-in (999). Also clean up some compiler warnings for VC++. (CVS 1005) (check-in: [af6f2bdf59] user: drh branch: trunk, size: 112788) | |
2003-05-17
| ||
17:35 | [8092dca45d] part of check-in [01398fb78b] Fix problems with TEMP indices that lead to corrupt databases. These problems were discovered while working on ticket #317. No sure yet if that ticket is fixed. (CVS 981) (check-in: [01398fb78b] user: drh branch: trunk, size: 112778) | |
2003-04-25
| ||
15:37 | [077d75aee4] part of check-in [8d3e879349] Add tests to insure VACUUM works in the presence of I/O errors. Fix some problems that came to light by these tests. (CVS 935) (check-in: [8d3e879349] user: drh branch: trunk, size: 112774) | |
13:22 | [a9e8aa96c2] part of check-in [caa960289f] Make VACUUM work even if multiple processes have the database open at once. (CVS 933) (check-in: [caa960289f] user: drh branch: trunk, size: 112386) | |
03:13 | [3de765f186] part of check-in [cb808c14bc] Explicit casts to squelch bogus warnings for vc++. Ticket #194. (CVS 932) (check-in: [cb808c14bc] user: drh branch: trunk, size: 111556) | |
2003-04-16
| ||
01:28 | [b9487cceb9] part of check-in [35cc7c7d37] Remove some unnecessary code and complication from the btree interface. (CVS 909) (check-in: [35cc7c7d37] user: drh branch: trunk, size: 111541) | |
2003-04-13
| ||
18:26 | [9949031b60] part of check-in [96336bffde] Support in-memory databases for temp tables (CVS 903) (check-in: [96336bffde] user: paul branch: trunk, size: 112348) | |
2003-04-06
| ||
20:44 | [3b0e0f0988] part of check-in [185d8dc8d0] Simplify the BTree interface by shortening names. Added two new methods for accessing the current filename and for changing the name of the database file. (CVS 900) (check-in: [185d8dc8d0] user: drh branch: trunk, size: 112194) | |
2003-04-01
| ||
21:16 | [7eae5413a7] part of check-in [79b3aed2a7] Add infrastructure to suport multiple btree implementations (CVS 894) (check-in: [79b3aed2a7] user: paul branch: trunk, size: 111493) | |
2003-03-30
| ||
18:41 | [dba4d12945] part of check-in [66c80ae232] Detect when a child node of a btree page has zero entries and report that as a case of database corruption. (CVS 887) (check-in: [66c80ae232] user: drh branch: trunk, size: 109886) | |
2003-03-19
| ||
03:14 | [327819bb85] part of check-in [875da9eed9] Modifications to the VDBE to support more than one database file. (CVS 878) (check-in: [875da9eed9] user: drh branch: trunk, size: 109837) | |
2003-02-12
| ||
14:09 | [2a0305ccbe] part of check-in [792a9e157d] Added the new FULL option to the SYNCHRONOUS pragma. Still need to test it. (CVS 863) (check-in: [792a9e157d] user: drh branch: trunk, size: 107322) | |
2003-01-29
| ||
22:58 | [668402ca44] part of check-in [af1e929946] Additional testing and bug fixing with the non-callback API. Updated the C/C++ interface document to describe the non-callback API. (CVS 855) (check-in: [af1e929946] user: drh branch: trunk, size: 106747) | |
2003-01-24
| ||
12:14 | [eb4f430b06] part of check-in [c7e647d011] Add asserts to btree.c that check for the correct size of various typedefs and structures. Ticket #233. (CVS 845) (check-in: [c7e647d011] user: drh branch: trunk, size: 106695) | |
2003-01-05
| ||
21:41 | [131b5903f6] part of check-in [5809132f5b] More optimizations. (CVS 813) (check-in: [5809132f5b] user: drh branch: trunk, size: 106126) | |
2003-01-04
| ||
19:44 | [65dfa86fc2] part of check-in [6c304024bb] Parameterize the number of adjacent pages that participate in the balancing algorithm in the BTree. But leave the setting at the current value of 3. (CVS 812) (check-in: [6c304024bb] user: drh branch: trunk, size: 106134) | |
18:53 | [9ae3232125] part of check-in [03d2067361] Another optimization to the btree logic. (CVS 811) (check-in: [03d2067361] user: drh branch: trunk, size: 105312) | |
16:48 | [4ed13ad0c6] part of check-in [39902a7041] Optimizations to the BTree module for a modest speed improvement. (CVS 810) (check-in: [39902a7041] user: drh branch: trunk, size: 105378) | |
2003-01-02
| ||
14:43 | [6a2a9bb701] part of check-in [db745e87dc] Code optimizations to help the library run faster. (CVS 808) (check-in: [db745e87dc] user: drh branch: trunk, size: 103832) | |
2002-12-04
| ||
22:29 | [215d4b322c] part of check-in [0051c87d5e] Fix a bug in the reverse scan logic that comes up when the table being scanned is empty. Add additional tests for the reverse scan. (CVS 797) (check-in: [0051c87d5e] user: drh branch: trunk, size: 103921) | |
13:40 | [2ae69698a6] part of check-in [0ad1d93879] Add the sqliteBtreePrevious() routine to the BTree module API. This is in anticipation of implementing reverse order searching of a table. (CVS 794) (check-in: [0ad1d93879] user: drh branch: trunk, size: 103778) | |
2002-12-02
| ||
04:25 | [cd46130a7f] part of check-in [fa5c042585] Change to the pager to avoid opening journal files unnecessarily. This can sometimes results in a significant speed improvement. (CVS 791) (check-in: [fa5c042585] user: drh branch: trunk, size: 101271) | |
2002-09-01
| ||
23:20 |
[8024b87635]
part of check-in [8c2a083698]
Relax the locking requirements on BTree cursors. Any number of read and
write cursors can be open at the same time now, but a write cannot occur
as long as one or more read cursors are open.
Before this change, one or more read cursors could be open on a table, or a single write cursor, but not both. Both policies have the same desirable effect: they prevent writes to a table while a sequential scan of that table is underway. But the new policy is a little less restrictive. Both policies prevent an UPDATE from occurring inside a SELECT (which is what we want) but the new policy allows a SELECT to occur inside an UPDATE. (CVS 739) (check-in: [8c2a083698] user: drh branch: trunk, size: 101164) | |
2002-08-15
| ||
13:50 | [9e21606581] part of check-in [8cf17f2a24] Fix for ticket #135: Remove unused variables from three files. (CVS 719) (check-in: [8cf17f2a24] user: drh branch: trunk, size: 98961) | |
2002-08-13
| ||
00:01 | [16d1712321] part of check-in [34c4149eea] Updates prior to release 2.6.3. (CVS 706) (check-in: [34c4149eea] user: drh branch: trunk, size: 99099) | |
2002-08-11
| ||
20:10 | [c7669b179d] part of check-in [ce4b943bf6] Fix for ticket #9: Add the ability to read little-endian database files from a big-endian machine and vice versa. (CVS 704) (check-in: [ce4b943bf6] user: drh branch: trunk, size: 99134) | |
2002-07-18
| ||
11:01 | [f014b682e1] part of check-in [9761a2a0fb] Change the name of variable "near" to "nearby" since MSVC mistakenly belieaves that "near" is a keyword. (CVS 685) (check-in: [9761a2a0fb] user: drh branch: trunk, size: 95093) | |
2002-07-08
| ||
10:59 | [db8cd1bd46] part of check-in [fd7e41f0ee] In the BTree subsystem, when using pages from the freelist, attempt to select pages close to related pages in order to keep data structures near each other in the database file. This improves access speed in some circumstances. (CVS 667) (check-in: [fd7e41f0ee] user: drh branch: trunk, size: 95075) | |
02:16 | [ce999ee3f5] part of check-in [3c2dea4310] Make the BTree balance() routine a little faster by reusing database pages locally rather than freeing and reallocating them. (CVS 666) (check-in: [3c2dea4310] user: drh branch: trunk, size: 94255) | |
2002-07-07
| ||
16:52 | [73212bda34] part of check-in [f6e24d5ccb] More rollback problems: Fix two more errors introduced by checking (410) that can cause database corruption after a ROLLBACK. Also add new tests to make sure everything is working this time. (CVS 663) (check-in: [f6e24d5ccb] user: drh branch: trunk, size: 93966) | |
2002-07-06
| ||
16:32 | [f722f9ff5c] part of check-in [00f83c2576] Prepare for the 2.5.5 release. (CVS 661) (check-in: [00f83c2576] user: drh branch: trunk, size: 93966) | |
2002-06-21
| ||
13:09 | [6aaa67d7ea] part of check-in [7936b03250] Fix for ticket #76: Fix a database corruption that might occur when dropping tables or indices. (CVS 635) (check-in: [7936b03250] user: drh branch: trunk, size: 93882) | |
2002-06-06
| ||
23:16 | [8b86be8f23] part of check-in [9ef795d1d7] Fix for ticket #62: Do not report an SQLITE_READONLY error until the application actually tries to write data into a readonly file. It is OK to start a transaction on a read-only file, and doing so will get you a read lock. This change allows TEMP tables to be read/write even though the main database is readonly. (CVS 607) (check-in: [9ef795d1d7] user: drh branch: trunk, size: 93539) | |
2002-05-15
| ||
11:44 | [c01b404b93] part of check-in [690f9a1631] Remove all tabs from the beginning of source code lines. Replace tabs with the appropriate number of spaces. (CVS 565) (check-in: [690f9a1631] user: drh branch: trunk, size: 93301) | |
2002-03-06
| ||
22:01 | [7dd7ddc664] part of check-in [161c0c5f5d] Added the default_cache_size and default_synchronous pragmas. Added additional tests for pragmas. Added a new speedtest script. (CVS 421) (check-in: [161c0c5f5d] user: drh branch: trunk, size: 93299) | |
2002-03-05
| ||
12:41 | [b7d1b88751] part of check-in [480eef1a3a] Change the pager locking mechanism so that we don't have to write page 1 to the journal and to the database unless it actually changes. (CVS 419) (check-in: [480eef1a3a] user: drh branch: trunk, size: 92672) | |
2002-03-03
| ||
23:06 | [d25ea795a0] part of check-in [8130776230] More bugs fixed for views. (CVS 416) (check-in: [8130776230] user: drh branch: trunk, size: 92672) | |
2002-03-02
| ||
20:41 | [e732bb0371] part of check-in [cf1ebcfb74] Pager optimization: do not write or journal free pages. This results in a 2x performance gain for large INSERTs and a 5x performance gain for large DELETEs. (CVS 410) (check-in: [cf1ebcfb74] user: drh branch: trunk, size: 92640) | |
19:00 | [360c0aa4db] part of check-in [abbb999d4f] Change the btree node balancers to sort nodes into accending order. This improves insert and delete speed by 25%. (CVS 409) (check-in: [abbb999d4f] user: drh branch: trunk, size: 90656) | |
2002-02-19
| ||
22:43 | [495275fe14] part of check-in [953928537c] Fix a comment. (CVS 384) (check-in: [953928537c] user: drh branch: trunk, size: 89748) | |
15:00 | [8256ea4168] part of check-in [cc5abfe392] Optimize simple min() and max() queries. (CVS 382) (check-in: [cc5abfe392] user: drh branch: trunk, size: 89808) | |
13:39 | [715209d8ff] part of check-in [c6e9048e66] Change the name of the sanity_check PRAGMA to "integrity_check" and make it available on all compiles. (CVS 381) (check-in: [c6e9048e66] user: drh branch: trunk, size: 89150) | |
2002-02-03
| ||
19:15 | [340254ee2e] part of check-in [0090c279d8] Reenable testing code even if NDEBUG is defined. (CVS 367) (check-in: [0090c279d8] user: drh branch: trunk, size: 89224) | |
19:06 | [9d7a185510] part of check-in [20ea737536] Fix a serious bug in INSERT when the source is a SELECT. (CVS 366) (check-in: [20ea737536] user: drh branch: trunk, size: 89222) | |
17:37 | [cbe62fae68] part of check-in [7c65029e5b] Put in PRAGMA SANITY_CHECK in place of VACUUM. (CVS 365) (check-in: [7c65029e5b] user: drh branch: trunk, size: 89223) | |
03:34 | [ced7d25e7e] part of check-in [95d1f8389d] The VACUUM command now does a database sanity check. (CVS 364) (check-in: [95d1f8389d] user: drh branch: trunk, size: 88555) | |
00:56 | [ba5712cf62] part of check-in [0115518f8e] Five-algorithm conflict resolution appears to be working. (CVS 363) (check-in: [0115518f8e] user: drh branch: trunk, size: 88556) | |
2002-02-02
| ||
18:49 | [94deba286a] part of check-in [9be4d4c6f1] Get the ABORT conflict resolution algorithm working. (CVS 362) (check-in: [9be4d4c6f1] user: drh branch: trunk, size: 88509) | |
2002-01-04
| ||
03:09 | [c796e387da] part of check-in [011be9a9d2] An attempt to delete a single row using a WHERE clause that specifies the rowid would result in an error if the rowid did not exist. This problem has been resolved. (CVS 338) (check-in: [011be9a9d2] user: drh branch: trunk, size: 86801) | |
2001-12-15
| ||
14:22 | [c3c36b3b5f] part of check-in [e8595579a5] Comment and documentation changes. (CVS 331) (check-in: [e8595579a5] user: drh branch: trunk, size: 85675) | |
02:47 | [c27474fdaf] part of check-in [1404ac076b] Fix a bug in the sqliteBtreeFirst() function which was causing the first row of a table to be repeated during a scan. (CVS 328) (check-in: [1404ac076b] user: drh branch: trunk, size: 85498) | |
2001-12-14
| ||
15:09 | [e4ea48618c] part of check-in [b0d2188764] Fix a race condition in the locking code that would sometimes cause SQLITE_PROTOCOL or SQLITE_CORRUPT to be returned when SQLITE_BUSY should have been returned. (CVS 326) (check-in: [b0d2188764] user: drh branch: trunk, size: 85475) | |
2001-12-05
| ||
00:21 | [5fbfeb3834] part of check-in [585ed5ebf1] Bug fix: sqlite_exec() would sometimes return SQLITE_PROTOCOL when it should have returned SQLITE_BUSY. There was also a deadlock that the previous bug was masking. (CVS 322) (check-in: [585ed5ebf1] user: drh branch: trunk, size: 85455) | |
2001-11-23
| ||
00:24 | [d40fa46c8c] part of check-in [8a98466711] Fix a bug in DROP TABLE that could cause SQLITE_MASTER table corruption. The root problem was that the sequence of BTree operations (Delete, Next) would not always leave the cursor pointing at the first entry after the entry that was deleted. A consequence of this error was that a DROP TABLE on a table with indices would not always remove every index associated with that table from the SQLITE_MASTER table. Subsequent attempts to open the database will fail when the index for the missing table was parsed. Changes have also been made to ignore extra indices in the SQLITE_MASTER table so that a database previously corrupted by this bug is once again readable. (CVS 316) (check-in: [8a98466711] user: drh branch: trunk, size: 85383) | |
2001-11-21
| ||
02:21 | [ef8934adc4] part of check-in [03673adbfe] Attempting to add support for 64-bit platforms. (CVS 314) (check-in: [03673adbfe] user: drh branch: trunk, size: 85289) | |
2001-11-10
| ||
13:51 | [2c89ac317a] part of check-in [2d2ad264aa] Comment changes (CVS 308) (check-in: [2d2ad264aa] user: drh branch: trunk, size: 85774) | |
2001-11-07
| ||
14:22 | [add522fad1] part of check-in [e6ca23fa45] Incremental update. We are in the middle of modifying the index system to support range queries without doing a complete table scan. (CVS 303) (check-in: [e6ca23fa45] user: drh branch: trunk, size: 85407) | |
2001-11-04
| ||
18:32 | [2789f70477] part of check-in [7dd58fad39] Increase maximum row size to 1MB. (CVS 300) (check-in: [7dd58fad39] user: drh branch: trunk, size: 86286) | |
2001-11-01
| ||
13:52 | [f5b3bf49c9] part of check-in [b2cb118fb7] Comment changes only. (CVS 296) (check-in: [b2cb118fb7] user: drh branch: trunk, size: 86065) | |
2001-10-22
| ||
02:58 | [89380aea55] part of check-in [f8328a5f11] More changes for 2.0.7. (CVS 293) (check-in: [f8328a5f11] user: drh branch: trunk, size: 86065) | |
2001-10-15
| ||
00:44 | [97653e88bc] part of check-in [747bf1b30b] Added support for the COUNT_CHANGES pragma in order to help out the ODBC driver. Fixed a but on count(*) when applied to empty tables. (CVS 289) (check-in: [747bf1b30b] user: drh branch: trunk, size: 86041) | |
2001-10-06
| ||
16:33 | [7e9c33a714] part of check-in [b63b3f3684] Adding table column query capability to support ODBC. (CVS 278) (check-in: [b63b3f3684] user: drh branch: trunk, size: 85611) | |
2001-10-02
| ||
13:01 | [a001f151a7] part of check-in [4b7710e2da] Remove C++ comments from btree.c. (CVS 277) (check-in: [4b7710e2da] user: drh branch: trunk, size: 85420) | |
2001-09-27
| ||
03:22 | [a4a88dfef2] part of check-in [34c42967f3] Added basic support for enforcement of UNIQUE on indices and primary keys. Support for addition constraints is to follow. (CVS 267) (check-in: [34c42967f3] user: drh branch: trunk, size: 85399) | |
2001-09-23
| ||
02:35 | [da9b60a0b9] part of check-in [337b3d3b2a] Fixes to the locking and rollback behavior. (CVS 261) (check-in: [337b3d3b2a] user: drh branch: trunk, size: 83960) | |
2001-09-16
| ||
00:13 | [39da79b5a6] part of check-in [4e926efe2b] Disclaimed copyright. Preparing for release 2.0. (CVS 250) (check-in: [4e926efe2b] user: drh branch: trunk, size: 82359) | |
2001-09-15
| ||
13:15 | [56a7d11c55] part of check-in [8fdec4d8b6] Limit the total data in a single row to 2^16-1 bytes. (CVS 248) (check-in: [8fdec4d8b6] user: drh branch: trunk, size: 82806) | |
2001-09-14
| ||
18:54 | [3adf545b8e] part of check-in [5e3724603e] Added a PRAGMA statement. Took out the special comment parsing. (CVS 245) (check-in: [5e3724603e] user: drh branch: trunk, size: 82788) | |
16:42 | [04cfedfd8c] part of check-in [7da856cd94] Bug fixes and speed improvements. Delete is still slow. (CVS 244) (check-in: [7da856cd94] user: drh branch: trunk, size: 82612) | |
03:24 | [72a9c0b2ba] part of check-in [e7b65e37fd] All tests now pass. But there are still issues. For example, inserts are way too slow. And additional tests are needed for new features. (CVS 243) (check-in: [e7b65e37fd] user: drh branch: trunk, size: 82603) | |
2001-09-13
| ||
21:53 | [823d765a20] part of check-in [62c7bd11bc] Many problems fixed. Many problems yet to go. (CVS 242) (check-in: [62c7bd11bc] user: drh branch: trunk, size: 82334) | |
14:46 | [9f22b51681] part of check-in [a0a1e701ab] The BTree changes are now integrated and the whole thing compiles and links. I have not yet tried to run it, though. (CVS 239) (check-in: [a0a1e701ab] user: drh branch: trunk, size: 81636) | |
13:46 | [af587cc36f] part of check-in [6ecc8b20d4] The code is in place to replace GDBM with BTree. But I have not yet attempted to compile it. I am sure the code contains bugs. (CVS 238) (check-in: [6ecc8b20d4] user: drh branch: trunk, size: 81628) | |
2001-08-20
| ||
00:33 | [049c6a8d6c] part of check-in [2e6aff9802] Restore btree to the main line. (CVS 237) (check-in: [2e6aff9802] user: drh branch: trunk, size: 80342) | |
2001-07-02
| ||
17:51 | [d6bbe3152c] part of check-in [a84fb078ba] BTree and pager are working pretty well now. (CVS 234) (check-in: [a84fb078ba] user: drh branch: trunk, size: 80101) | |
2001-07-01
| ||
22:12 | [7e39906a52] part of check-in [55c89bfdd3] More BTree tests (CVS 233) (check-in: [55c89bfdd3] user: drh branch: trunk, size: 77552) | |
2001-06-30
| ||
21:53 | [26f04c3fc1] part of check-in [42486880ed] Implemented the sqliteBtreeSanityCheck() test function. (CVS 232) (check-in: [42486880ed] user: drh branch: trunk, size: 77375) | |
2001-06-28
| ||
11:50 | [19c7741653] part of check-in [2c9127943c] More BTree tests and a few bug fixes. (CVS 231) (check-in: [2c9127943c] user: drh branch: trunk, size: 68180) | |
01:54 | [d55ba210df] part of check-in [9cfeeb5896] Got a lot of BTree tests working. Still lots more needed. (CVS 230) (check-in: [9cfeeb5896] user: drh branch: trunk, size: 67912) | |
2001-06-25
| ||
02:11 | [977621ad8c] part of check-in [6b9b298b28] More tests and bug fixes in btree.c (CVS 229) (check-in: [6b9b298b28] user: drh branch: trunk, size: 67276) | |
2001-06-24
| ||
20:39 | [e46ab610d0] part of check-in [85f015c975] The first test file for BTree added. Simple insert and delete tests pass. There is still a lot of work to be done, though. (CVS 228) (check-in: [85f015c975] user: drh branch: trunk, size: 65934) | |
2001-06-22
| ||
19:15 | [0a2b66ce90] part of check-in [b31c49021c] The BTree code compiles and links now, but it does not work yet. (CVS 226) (check-in: [b31c49021c] user: drh branch: trunk, size: 65724) | |
2001-06-10
| ||
19:56 | [788e18f3c6] part of check-in [d4be4709ee] All BTree code is in place. Now we just have to make it work. (CVS 225) (check-in: [d4be4709ee] user: drh branch: trunk, size: 61668) | |
2001-06-08
| ||
00:21 | [2a1a6c3ae7] part of check-in [7108b699cc] incremental update (CVS 223) (check-in: [7108b699cc] user: drh branch: trunk, size: 66768) | |
2001-06-02
| ||
02:40 | [3768a7dd7f] part of check-in [d07e0e80a0] continued work on btree (CVS 222) (check-in: [d07e0e80a0] user: drh branch: trunk, size: 53657) | |
2001-05-28
| ||
00:41 | [a80c891f7b] part of check-in [c8d3bdd91e] :-) (CVS 221) (check-in: [c8d3bdd91e] user: drh branch: trunk, size: 46850) | |
2001-05-26
| ||
13:15 | [339db9d5a6] part of check-in [45a0e0fc8c] :-) (CVS 220) (check-in: [45a0e0fc8c] user: drh branch: trunk, size: 36850) | |
2001-05-24
| ||
21:06 | [5749821afa] part of check-in [18500cdcc1] Continued work on btree (CVS 219) (check-in: [18500cdcc1] user: drh branch: trunk, size: 27580) | |
2001-05-21
| ||
13:45 | [bc1525234a] part of check-in [523d52dfa6] :-) (CVS 218) (check-in: [523d52dfa6] user: drh branch: trunk, size: 20717) | |
2001-05-15
| ||
00:39 | [f6d724fcca] part of check-in [ee6760fb62] :-) (CVS 217) (check-in: [ee6760fb62] user: drh branch: trunk, size: 17589) | |
2001-05-11
| ||
11:02 | [9b985eede9] part of check-in [c3e521190f] :-) (CVS 216) (check-in: [c3e521190f] user: drh branch: trunk, size: 13324) | |
2001-04-29
| ||
23:32 | [eb7eec19f5] part of check-in [624ccbca98] :-) (CVS 215) (check-in: [624ccbca98] user: drh branch: trunk, size: 13419) | |
2001-04-28
| ||
16:52 | [71381fdaec] part of check-in [73a1ed6126] :-) (CVS 214) (check-in: [73a1ed6126] user: drh branch: trunk, size: 12940) | |
2001-04-17
| ||
20:09 | Added: [670b20349b] part of check-in [bdb1c425f5] Begin adding BTree code (CVS 213) (check-in: [bdb1c425f5] user: drh branch: trunk, size: 6622) | |