SQLite

All files named ”src/btree.h”
Login

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

History for src/btree.h

2025-06-09
16:32
[70f5f4a2c4] 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: 16846)
2024-12-16
12:09
[65b1b3e1d2] part of check-in [019b043428] Remove unnecessary divergence from trunk. (check-in: [019b043428] user: drh branch: begin-concurrent, size: 16844)
2024-11-14
22:59
[86f2a22eb7] 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: 16805)
2024-10-21
17:00
[df26089b05] part of check-in [457bb035e3] Update the begin-concurrent branch to version-3.47.0 (check-in: [457bb035e3] user: drh branch: begin-concurrent, size: 16843)
2024-10-18
01:14
[18e5e7b212] part of check-in [6d55c3e238] New assert() statements to validate OP_OpenEphemeral logic. (check-in: [6d55c3e238] user: drh branch: trunk, size: 16800)
2024-03-13
17:51
[bdeeb35614] part of check-in [238fa84a9a] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [238fa84a9a] user: drh branch: begin-concurrent, size: 16764)
2024-02-02
16:51
[55066f513e] 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: 16721)
2023-07-28
18:43
[d906e4d53f] part of check-in [7407dda8b4] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [7407dda8b4] user: drh branch: begin-concurrent, size: 16690)
2023-07-27
19:39
[03e3356f52] 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: 16647)
2023-02-02
14:27
[77a092acf6] 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: 16734)
2023-01-16
20:33
[bef8ed2bae] 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: 16357)
2023-01-11
16:17
[aa354b9bad] part of check-in [6db42780a9] Improved progress-handler and interrupt detection during PRAGMA integrity_check. (check-in: [6db42780a9] user: drh branch: trunk, size: 16691)
2022-12-26
16:12
[edfb08230b] 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: 16303)
2022-12-22
14:29
[c0f8746169] part of check-in [b9efbc538b] Different version of "PRAGMA schema_version" instrumentation. (check-in: [b9efbc538b] user: dan branch: schema-version-instr, size: 16361)
2022-12-21
20:17
[a1d3565d03] 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: 16738)
20:07
[b89e1a7cf3] 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: 16346)
2022-11-28
18:41
[49da925329] 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: 16303)
2022-11-16
19:57
[4fcbb0b041] part of check-in [5689f0d9ad] Fix harmless typo in comment, reported by Debian in Fossil https://fossil-scm.org/forum/forumpost/15f7327318. (check-in: [5689f0d9ad] user: drh branch: trunk, size: 16265)
2021-08-03
17:05
[1c15088347] 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: 16700)
16:31
[900067641b] part of check-in [8d806cf93c] Merge recent trunk enhancements into the begin-concurrent branch. (check-in: [8d806cf93c] user: drh branch: begin-concurrent, size: 16308)
2021-06-22
18:32
[74d64b8f28] part of check-in [48fdec22c9] Add the sqlite3_changes64() and sqlite3_total_changes64() API functions. (check-in: [48fdec22c9] user: dan branch: trunk, size: 16265)
2021-06-19
18:32
[ace9c1c243] 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: 16265)
2021-03-18
13:42
[a25ab8dfe8] 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: 16251)
2021-03-11
19:26
[888d9cea38] 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: 16646)
18:52
[ccdc64bd1e] part of check-in [79d44ebd53] Update this branch with latest changes from trunk. (check-in: [79d44ebd53] user: dan branch: begin-concurrent, size: 16254)
2021-03-09
21:20
[096cc53baa] part of check-in [9645fe1a05] Update a comment in btree.h. (check-in: [9645fe1a05] user: dan branch: trunk, size: 16211)
2020-12-14
16:26
[23ceeca6ba] part of check-in [a1708e8457] Merge recent trunk enhancements into the begin-concurrent branch. (check-in: [a1708e8457] user: drh branch: begin-concurrent, size: 16245)
2020-12-10
18:06
[285f8377aa] 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: 16202)
2020-12-09
20:33
[78908bc31d] 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: 16204)
2020-12-08
20:19
[cff4cd182e] 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: 16138)
2020-11-26
17:54
[4520063979] 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: 16514)
11:37
[a2eda1ab68] part of check-in [ddb97eeef7] Update this branch with latest changes from trunk. (check-in: [ddb97eeef7] user: dan branch: begin-concurrent, size: 16122)
2020-10-27
11:58
[c16c855f7e] part of check-in [ee9689ad2f] Prettify btree.h headings. Close branch. (check-in: [ee9689ad2f] user: shearer branch: btree-code-documentation, size: 20951)
11:13
[1e92f734cf] part of check-in [eb6e5fc189] Typo in btree.h (and unwanted merge; this branch for cherrypicking btree.h only) (check-in: [eb6e5fc189] user: shearer branch: btree-code-documentation, size: 20281)
11:07
[56dad8f951] part of check-in [ea06f1d1f9] Final commit in btree.h reorg. No more unknowns. (check-in: [ea06f1d1f9] user: shearer branch: btree-code-documentation, size: 20282)
2020-10-06
15:48
[7018bfa00d] part of check-in [a49a7cdec7] More additions and improvements to btree.h documentation (check-in: [a49a7cdec7] user: shearer branch: btree-code-documentation, size: 19847)
2020-09-30
09:17
[dcdff4037d] part of check-in [ce6d8d6215] Better understanding of savepoint code (check-in: [ce6d8d6215] user: shearer branch: trunk, size: 16079)
2020-09-25
17:17
[c17600e1cf] part of check-in [14dba0f3b5] Clarify (check-in: [14dba0f3b5] user: shearer branch: btree-code-documentation, size: 18695)
16:54
[c7fc07ab80] part of check-in [ae686ab6a8] Distinguish between checkpoints (WAL-only, implementation specific) and savepoints (Btree internal implementation of COMMIT/ROLLBACK subtransactions) and SQL SAVEPOINT (identical name for SQL-level subtransactions) (check-in: [ae686ab6a8] user: shearer branch: btree-code-documentation, size: 18697)
13:56
[3bf68d6082] 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: 18414)
2020-09-24
06:37
[a36f07d3b2] part of check-in [5c306f4251] Group metadata definitions together (check-in: [5c306f4251] user: shearer branch: btree-code-documentation, size: 18063)
2020-09-23
17:31
[a52b132ac5] part of check-in [a46537153c] Figured out where/how sqlite3BtreeRowCountEst() is called (check-in: [a46537153c] user: shearer branch: btree-code-documentation, size: 17913)
2020-09-17
15:04
[595e94f8ce] part of check-in [ab53b31795] Order btree.h by logical function, add comments (check-in: [ab53b31795] user: shearer branch: btree-code-documentation, size: 17915)
2020-08-31
18:49
[c64f143937] 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: 15765)
2020-08-25
19:09
[c299ab8b27] part of check-in [ad195e3dd8] Add support for the sqlite3_txn_state() interface. (check-in: [ad195e3dd8] user: drh branch: trunk, size: 15649)
2020-07-30
19:56
[1b31533bd7] part of check-in [fd01e78827] Merge begin-concurrent-pnu changes into this branch. (check-in: [fd01e78827] user: dan branch: begin-concurrent-report, size: 16124)
19:19
[7c0de202ff] part of check-in [e8a6651539] Merge latest trunk changes into this branch. (check-in: [e8a6651539] user: dan branch: begin-concurrent, size: 15732)
2020-07-29
16:18
[79c1eab678] 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: 15684)
2020-07-22
17:12
[7af72bbb48] part of check-in [4c5f3c6cac] All TCL tests now passing. (check-in: [4c5f3c6cac] user: drh branch: larger-databases, size: 15689)
13:38
[7d4384cfa8] part of check-in [9ce1710aad] Continuing work toward supporting unsigned 32-bit page numbers. (check-in: [9ce1710aad] user: drh branch: larger-databases, size: 15688)
2020-07-20
12:47
[0a37709ba9] part of check-in [9cb7da9bdb] Initial changes to allow database up to 281TB in size. (check-in: [9cb7da9bdb] user: drh branch: larger-databases, size: 15686)
2020-07-17
11:07
[dc0e437691] 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: 16127)
2020-06-19
15:24
[f980f639ae] part of check-in [7a876209a6] Extend the refactoring into extensions. Clean up stray newlines. (check-in: [7a876209a6] user: drh branch: trunk, size: 15684)
2020-05-18
15:41
[024ee56278] part of check-in [9e4a7b3ed8] Merge latest trunk changes into this branch. (check-in: [9e4a7b3ed8] user: dan branch: begin-concurrent, size: 15735)
2020-05-01
15:04
[989ef3c334] part of check-in [2100b2c8f3] Merge recent trunk enhancements. (check-in: [2100b2c8f3] user: drh branch: approximate-analyze, size: 15692)
2020-04-20
15:18
[32672fa1aa] 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: 15730)
2020-03-17
13:41
[7c0a1c67a3] part of check-in [a9bfa47aee] Remove the SQLITE_OMIT_BTREECOUNT option. Btree count is required. (check-in: [a9bfa47aee] user: drh branch: approximate-analyze, size: 15690)
2020-03-09
21:00
[e44c8c62e2] 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: 16163)
2020-03-06
20:51
[66ee29ebd6] part of check-in [1c1f180eb6] Enhancement to log logical writes as well as reads. (check-in: [1c1f180eb6] user: dan branch: begin-concurrent-report, size: 16064)
2020-03-05
20:59
[f7a87362a9] 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: 15984)
2020-03-02
21:00
[ae83b4b791] part of check-in [ad961aee15] Fix reporting for some range scan cases. (check-in: [ad961aee15] user: dan branch: begin-concurrent-report, size: 15970)
2020-01-21
21:01
[dfe47b4a1b] 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: 15871)
2020-01-15
13:34
[5876839784] part of check-in [95ba2f50fd] Merge fixes and enhancements from trunk into begin-concurrent. (check-in: [95ba2f50fd] user: drh branch: begin-concurrent, size: 15771)
2019-12-29
22:08
[6111552f19] 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: 15728)
2019-10-11
14:21
[f27a33c492] 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: 15648)
2019-04-15
14:59
[36dbef45bb] part of check-in [7c328e8894] Merge the latest enhancements from trunk. (check-in: [7c328e8894] user: drh branch: begin-concurrent, size: 15679)
2019-03-29
15:21
[c11446f07e] part of check-in [c2edbf3b8c] Remove the unused P5 flag from the OP_Rewind opcode. (check-in: [c2edbf3b8c] user: drh branch: trunk, size: 15636)
2019-03-08
15:30
[f5c65a8c7c] part of check-in [667cce3dce] Merge all the latest enhancements from trunk. (check-in: [667cce3dce] user: drh branch: begin-concurrent-pnu, size: 15755)
2019-02-04
21:10
[63b94fb38c] 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: 15712)
2018-07-10
15:45
[1ed41c7148] part of check-in [e9a3e8642e] Merge latest trunk changes into this branch. (check-in: [e9a3e8642e] user: dan branch: begin-concurrent, size: 15703)
2018-06-22
20:51
[febb2e817b] 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: 15660)
2018-06-07
20:35
[7b55791456] part of check-in [2510220342] Merge latest trunk changes with this branch. (check-in: [2510220342] user: dan branch: exp-window-functions, size: 15622)
2018-06-06
17:03
[1d6402daa3] 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: 15627)
16:28
[ab639c4b9b] 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: 15584)
2018-05-23
20:55
[d46a8e31a4] 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: 15617)
2018-05-15
11:45
[373828f7fe] part of check-in [ae86cf60b6] Merge latest trunk changes with this branch. (check-in: [ae86cf60b6] user: dan branch: begin-concurrent, size: 15622)
2018-05-07
18:41
[448f15b98e] part of check-in [a68697d10e] Activate the cell-overwrite optimization for index b-trees. (check-in: [a68697d10e] user: drh branch: trunk, size: 15579)
2018-03-28
15:41
[6fb019c009] part of check-in [df52e89fff] Update this branch with latest trunk changes. (check-in: [df52e89fff] user: dan branch: server-process-edition, size: 14932)
2018-03-02
17:40
[0cd745755e] part of check-in [36801effa9] Merge latest trunk changes into this branch. (check-in: [36801effa9] user: dan branch: begin-concurrent, size: 14873)
2017-12-29
15:04
[0866c0a082] 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: 14830)
2017-12-16
20:20
[e9d22d0475] 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: 14788)
2017-09-22
20:18
[90eae6df0e] 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: 14807)
2017-08-28
17:19
[feafd06473] part of check-in [d53108e763] Merge recent enhancements from trunk. (check-in: [d53108e763] user: drh branch: begin-concurrent, size: 14794)
2017-08-16
19:20
[32ef5d3f25] 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: 14751)
2017-07-20
17:47
[e8045998d8] part of check-in [213c61cb82] Merge all the latest trunk enhancements. (check-in: [213c61cb82] user: drh branch: begin-concurrent, size: 14749)
2017-07-13
21:06
[d1f64c5683] 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: 14808)
2017-05-30
18:34
[3edc5329bc] 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: 14706)
2017-05-15
17:34
[14e99cc2b6] part of check-in [14ea840036] Merge the latest changes from trunk. (check-in: [14ea840036] user: drh branch: begin-concurrent, size: 14749)
2017-04-09
19:23
[80f518c078] part of check-in [19dd753f9e] Do not expose the name of the internal Mem object in the public interface defined by sqlite3.h. (check-in: [19dd753f9e] user: drh branch: trunk, size: 14706)
2017-03-24
15:09
[d04766565d] part of check-in [fd5676fe7f] Merge all recent enhancements from trunk. (check-in: [fd5676fe7f] user: drh branch: begin-concurrent, size: 14749)
2017-02-17
19:24
[bf64dfeedd] 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: 14706)
2017-01-27
16:24
[fef389999f] part of check-in [fe86ff5429] Merge all recent enhancements from trunk. (check-in: [fe86ff5429] user: drh branch: est_count_pragma, size: 14722)
2017-01-18
20:14
[a25d8121ba] 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: 14783)
2017-01-10
20:04
[e6d3528089] 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: 14666)
2017-01-09
06:33
[9306cfe42e] 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: 14637)
2016-11-30
16:39
[14931e0819] part of check-in [7ca58a07d3] Merge all the latest changes from trunk. (check-in: [7ca58a07d3] user: drh branch: est_count_pragma, size: 14650)
2016-11-25
19:18
[2349a588ab] 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: 14594)
2016-11-15
04:00
[01ec45846f] 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: 14580)
2016-11-10
21:19
[f62e4c550e] 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: 14606)
2016-11-09
00:10
[630303068c] 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: 14536)
2016-10-20
22:02
[012576c1d0] part of check-in [340822afbe] Experimental est_count pragma. (check-in: [340822afbe] user: drh branch: est_count_pragma, size: 14448)
2016-09-10
19:51
[d05b2fcc29] part of check-in [711c59171b] Changes to give a warning-free build with SQLITE_OMIT_INCRBLOB and SQLITE_OMIT_SHARED_CACHE. (check-in: [711c59171b] user: drh branch: trunk, size: 14392)
2016-08-11
19:12
[c23154635a] 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: 14359)
2016-07-09
16:14
[075c45707c] part of check-in [5471aca015] Fix various internal #defines to conform to new C-language naming restrictions, specifically that private-use macros names must not begin with "_". (check-in: [5471aca015] user: drh branch: trunk, size: 14316)
2016-07-06
10:12
[aee84823bb] 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: 14301)
2016-06-04
20:37
[2107a2630e] 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: 14216)
2016-05-21
20:03
[1342a9b2cc] 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: 14287)
2016-03-16
19:34
[248919b586] part of check-in [a7978ab6d2] Merge the latest enhancements from trunk. (check-in: [a7978ab6d2] user: drh branch: begin-concurrent, size: 13014)
2016-02-22
23:44
[a5008b9afe] 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: 12971)
2016-02-02
02:53
[3c4f3fc066] part of check-in [347f6a80c2] Merge recent enhancements from trunk. (check-in: [347f6a80c2] user: drh branch: begin-concurrent, size: 13052)
2016-01-27
16:26
[368ceeb4bd] 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: 13009)
2016-01-21
17:06
[c5dfbbc592] 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: 13017)
15:55
[5261373619] part of check-in [a3cec529f0] Improved comments on the FORDELETE hint. No logic changes. (check-in: [a3cec529f0] user: drh branch: trunk, size: 12788)
2016-01-14
15:46
[8b91bee00a] part of check-in [fccc5f20c3] Merge the latest enhancements and fixes from trunk. (check-in: [fccc5f20c3] user: dan branch: begin-concurrent, size: 12196)
2016-01-07
16:06
[68ef301795] 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: 12153)
2015-12-17
17:30
[778f36cd14] 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: 12193)
2015-11-20
13:49
[beef312742] part of check-in [41c8b8e39b] Merge all the latest enhancements and fixes from trunk. (check-in: [41c8b8e39b] user: drh branch: begin-concurrent, size: 12196)
2015-11-12
14:57
[2d76dee447] 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: 12153)
2015-11-05
22:30
[1b8bf2818b] 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: 12111)
2015-10-30
17:17
[86b2232caf] 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: 12181)
2015-10-27
13:24
[b512723e4f] part of check-in [b3ec9a0d62] Split out sqlite3BtreeCursorHintFlags() from sqlite3BtreeCursorHint() the interface for improved performance. (check-in: [b3ec9a0d62] user: drh branch: cursor-hints, size: 12138)
2015-10-26
20:11
[1957827f80] part of check-in [20da0849ce] Merge the BTREE_FORDELETE enhancement with this branch. (check-in: [20da0849ce] user: dan branch: cursor-hints, size: 12336)
2015-10-23
11:50
[cf936d962b] part of check-in [4c0ba8be43] Remove an unused #define from whereInt.h. Add comments describing the new sqlite3BtreeCursor() flags. (check-in: [4c0ba8be43] user: dan branch: btree-fordelete-flag, size: 10619)
2015-10-22
20:54
[ccc4894372] 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: 10164)
2015-09-15
19:16
[cd4946a0a0] part of check-in [fc4d1de8ae] Merge enhancements from trunk. (check-in: [fc4d1de8ae] user: drh branch: begin-concurrent, size: 10003)
17:31
[9cc758f0f1] part of check-in [66fe068326] Merge enhancements from trunk. (check-in: [66fe068326] user: drh branch: cursor-hints, size: 11677)
2015-09-12
19:26
[40189aefdc] 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: 9960)
2015-08-19
20:27
[00d4cdb747] 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: 9998)
2015-08-14
23:57
[6310645bed] 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: 11672)
15:05
[a1f058c495] part of check-in [fc3fb5cd0d] Refactor the sqlite3BtreeCursorHint() interface for improved maintainability. (check-in: [fc3fb5cd0d] user: drh branch: cursor-hints, size: 11954)
2015-08-13
20:07
[88803367b8] 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: 10054)
2015-08-10
20:22
[4c2590d2b5] 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: 10026)
2015-07-29
12:14
[40bd41ef0b] 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: 9954)
2015-07-27
19:31
[550e844768] part of check-in [8079421604] Add an experimental "BEGIN UNLOCKED" command. (check-in: [8079421604] user: dan branch: begin-concurrent, size: 9994)
2015-03-20
14:57
[969adc948e] 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: 9955)
2015-02-21
00:19
[9cbbb92aab] 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: 9348)
2014-12-19
19:28
[94277c1d30] 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: 9403)
2014-11-13
13:42
[a4afc6b06f] 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: 9043)
2014-11-12
14:56
[e31a3a3ebd] 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: 9077)
2014-11-11
22:55
[97c4d0ef86] 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: 9044)
01:33
[d24fc2f3bc] 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: 9078)
2014-11-04
12:11
[49b408be9c] part of check-in [6eb03e62a3] Add the SQLITE_CONFIG_PCACHE_HDRSZ option for sqlite3_config(). (check-in: [6eb03e62a3] user: drh branch: trunk, size: 9069)
2014-08-22
23:33
[a79aa6a71e] 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: 9035)
2014-05-21
08:21
[4245a349bf] 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: 8993)
2014-03-31
22:03
[d79306df4e] part of check-in [f6211540c9] Merge in the latest changes and fixes from trunk. (check-in: [f6211540c9] user: drh branch: overflow-pgno-cache, size: 8953)
2014-03-19
14:10
[232836cb51] 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: 8952)
2014-03-14
11:46
[da1b69b441] 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: 8905)
2014-03-11
20:33
[6b0c1a3f09] 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: 8870)
2014-02-12
21:31
[9e0f97c01b] 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: 8869)
2014-02-05
17:08
[f1c65e0511] 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: 9063)
2013-12-07
20:39
[450f1c6022] 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: 9080)
2013-11-21
21:59
[a61ddebc78] 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: 8981)
2013-08-16
20:42
[bfe0e8c575] part of check-in [cdb181c04f] Add the cache_spill pragma. (check-in: [cdb181c04f] user: drh branch: cache_spill, size: 8981)
2013-05-01
19:49
[6fa8a3ff24] part of check-in [28c9e7fdee] Allocate 4 bytes of unused header space for an "Application ID". Add the "PRAGMA application_id" command to set and query this identifier. Add the "magic.txt" file to show how the posix file command might use this application id. (check-in: [28c9e7fdee] user: drh branch: application-id, size: 8985)
2013-03-25
23:09
[d9490cd37a] 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: 8949)
2013-03-19
19:28
[d3259057a3] 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: 8939)
2012-10-13
19:58
[3ad7964d6c] 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: 8897)
2012-10-01
12:44
[078f76b28c] 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: 8863)
2012-09-28
20:23
[5e6482bcab] 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: 8801)
2012-08-06
18:50
[4aee02e879] 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: 8756)
2012-05-27
00:11
[7b6af44e75] 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: 8584)
2012-02-13
16:43
[48a013f896] 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: 8550)
2012-01-17
15:29
[46e9f04672] part of check-in [96900c47e4] Remove the undocumented PRAGMA omit_readlock hack. (check-in: [96900c47e4] user: drh branch: trunk, size: 8546)
2011-08-26
00:34
[9ddf04226e] 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: 8696)
2011-05-11
14:57
[d796dc4030] part of check-in [671ba5fc59] Only open a read-only connection to shared-memory if the "readonly_shm=1" option is specified as part of the database file URI (and if a read-write connection fails). (check-in: [671ba5fc59] user: dan branch: wal-readonly, size: 8688)
2011-04-23
15:54
[f5d775cd6c] 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: 8616)
2011-04-06
22:05
[11753dd465] part of check-in [614de91a50] Fix a performance regression: Keep two btree masks in each prepared statement; one for btrees used and another for btrees that require locks. Only try to lock the btrees identified by the second mask. (check-in: [614de91a50] user: drh branch: trunk, size: 8555)
2011-04-05
17:31
[221e186cd6] part of check-in [242ce7cff4] Remove the mutex counter and the logic that attempts to verify that btree mutexes are held continuously. We are not making that assumption at this time. (check-in: [242ce7cff4] user: drh branch: trunk, size: 8484)
2011-04-04
18:22
[c0e0ff5c85] part of check-in [ae8374af05] Add a description of access rules for the Schema object and lots of asserts to verify that the access rules are followed. (check-in: [ae8374af05] user: drh branch: schema-parse-refactor, size: 8566)
00:14
[a840a20c19] part of check-in [d81708f7d1] Remove the BtreeMutexArray object - use the Vdbe.btreeMask field to accomplish the same result. Add a generation counter to btree mutexes in order to assert that mutexes are never temporarily dropped over a range of instructions in order to do deadlock avoidance in some subroutine. Lock all btrees in any Vdbe program that uses OP_ParseSchema. (check-in: [d81708f7d1] user: drh branch: trunk, size: 8470)
2011-03-29
15:40
[8d36f774ec] 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: 9061)
2010-11-19
18:51
[e2f2cd9933] 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: 9056)
18:23
[10f9296bf4] 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: 9037)
2010-11-18
12:11
[1d62748eb7] part of check-in [72787c010c] Modify the interface to the blocking wal-checkpoint functionality. (check-in: [72787c010c] user: dan branch: blocking-checkpoint, size: 9052)
2010-11-16
18:56
[d1144d38d7] 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: 9038)
2010-08-30
22:15
[2d1a83ad50] 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: 9033)
2010-08-02
10:47
[b4ba2fdf6b] 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: 8804)
2010-04-20
18:53
[dd83041eda] 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: 8734)
2010-03-30
22:58
[ad6cff9228] part of check-in [79e22b9503] Continuing refinements to the filesize-in-header enhancement. (check-in: [79e22b9503] user: drh branch: trunk, size: 8679)
2010-02-12
18:18
[0e193b7e90] 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: 8645)
2009-11-18
23:01
[7944a9dac5] part of check-in [85940468e6] Performance improvement by avoiding unnecessary calls to memset(). (check-in: [85940468e6] user: drh branch: trunk, size: 8603)
2009-11-10
01:30
[ddd915fd44] part of check-in [f6c045f649] Remove the obsolete "$Id:$" RCS identifier strings from the source code. (check-in: [f6c045f649] user: drh branch: trunk, size: 8563)
2009-07-22
00:35
[577448a890] 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: 8625)
2009-07-09
05:07
[e53a10fd31] 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: 8568)
2009-07-06
18:56
[e761619e76] 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: 8602)
2009-07-02
07:47
[8cae636473] 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: 8698)
2009-06-03
11:25
[f70b694e8c] 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: 8661)
2009-05-28
11:05
[3748683b38] 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: 7842)
2009-05-04
11:42
[58d876d3ed] 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: 7890)
2009-04-10
12:55
[99fcc7e8c4] part of check-in [683e4bd747] Changes to ensure that when running in shared-cache mode with a non-threadsafe build, the correct busy-handler callback is always invoked. (CVS 6481) (check-in: [683e4bd747] user: danielk1977 branch: trunk, size: 7874)
2009-04-02
20:16
[8007018c17] 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: 8065)
2009-03-18
10:33
[e302c57474] 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: 8069)
2009-03-17
22:33
[8ed34391fe] 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: 8165)
2009-02-24
10:01
[96a019c9f2] 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: 8061)
2009-02-03
16:51
[4eab72af6a] part of check-in [663479b417] Commit first version of the 'backup' feature. (CVS 6241) (check-in: [663479b417] user: danielk1977 branch: trunk, size: 7980)
2009-01-24
11:30
[07359623fa] part of check-in [bfc71edca4] Fix some minor compiler warnings. Added sqlite3Isalpha() for use in the soundex() function. (CVS 6203) (check-in: [bfc71edca4] user: drh branch: trunk, size: 7936)
2008-12-17
17:30
[4f141cf748] 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: 7989)
2008-10-27
13:59
[179c3ea813] part of check-in [e68e4282ad] Make sqlite3_count_changes() and total_changes() work with "DELETE FROM ". (CVS 5844)
(check-in: [e68e4282ad] user: danielk1977 branch: trunk, size: 7943)
2008-10-08
17:58
[903682f2a8] 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: 7937)
2008-08-13
19:11
[6371c5e599] part of check-in [0b92cbf525] Additional changes toward fixing ticket #3292. (CVS 5562) (check-in: [0b92cbf525] user: drh branch: trunk, size: 7887)
2008-07-11
21:02
[03256ed7ee] 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: 7886)
16:15
[0063e9853a] 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: 7837)
2008-07-10
00:32
[9373128fbd] 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: 8022)
2008-05-29
03:01
[b1bd7e0b8c] part of check-in [5afc445a0e] Omit declaration for functions that are only used by asserts if asserts aren't being used (NDEBUG). (CVS 5173) (check-in: [5afc445a0e] user: shane branch: trunk, size: 8077)
2008-04-26
13:39
[8826591bf5] part of check-in [a4149ca317] Use "(void)" function arguments in declarations instead of "()". Both are legal but some pedantic compilers complain about the latter. Ticket #3086. (CVS 5050) (check-in: [a4149ca317] user: drh branch: trunk, size: 7739)
2008-03-25
17:23
[c66cb17c6f] 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: 7735)
09:47
[e02869e1e7] 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: 7616)
00:22
[ca065a5910] 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: 7502)
2007-12-07
18:55
[19dcf5ad23] 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: 7642)
2007-09-03
15:19
[d0736ebca4] 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: 7695)
2007-08-30
01:19
[32fad0f06a] part of check-in [e40d40a5d4] Fix for the sqlite3AbortOtherActiveVdbes() problem. (CVS 4328) (check-in: [e40d40a5d4] user: drh branch: trunk, size: 7629)
2007-08-29
17:43
[a90328ee4d] 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: 7583)
04:00
[7391b9e78a] 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: 7425)
00:33
[21cea6453a] part of check-in [844d40b837] More locking fixes. Now makes it all the way through quick.test. There are errors but no assertion faults. Progress. (CVS 4319) (check-in: [844d40b837] user: drh branch: trunk, size: 7356)
2007-08-28
23:28
[03895d1da6] 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: 7286)
02:27
[a8fb26c56b] part of check-in [b8cc493b47] Work toward correct btree locking in a multithreaded environment. (CVS 4307) (check-in: [b8cc493b47] user: drh branch: trunk, size: 7262)
2007-08-22
02:56
[76c8967398] 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: 6540)
2007-08-21
19:33
[aeb85d6a48] 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: 6448)
2007-08-20
22:48
[525105564c] 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: 6400)
2007-08-17
01:14
[91ee529d58] 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: 6372)
2007-05-08
21:45
[1d527bf61e] part of check-in [c5754530c6] Remove compiler warnings in the amalgamation. (CVS 3960) (check-in: [c5754530c6] user: drh branch: trunk, size: 5622)
14:51
[8444af0c82] 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: 5726)
2007-05-05
18:49
[845543b5a5] part of check-in [bece7a6bae] Fix a header problem introduced in the previous check-in. (CVS 3929) (check-in: [bece7a6bae] user: drh branch: trunk, size: 5684)
2007-05-04
18:36
[a9cd72b05a] part of check-in [4516416b4d] Test interaction of incremental io and other database writes. (CVS 3922) (check-in: [4516416b4d] user: danielk1977 branch: trunk, size: 5772)
2007-05-02
16:48
[2c187d60cf] 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: 5778)
01:34
[b2ef1ccc33] 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: 5726)
2007-05-01
17:49
[9a219f01b7] part of check-in [c444836e7b] First approximation of incremental blob IO API. (CVS 3892) (check-in: [c444836e7b] user: danielk1977 branch: trunk, size: 5689)
2007-04-26
14:42
[4c0b5855ce] part of check-in [f6a6d2b887] Add largely untested code for the incremental vacuum function. (CVS 3876) (check-in: [f6a6d2b887] user: danielk1977 branch: trunk, size: 5619)
2007-03-30
14:06
[9b2cc0d113] 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: 5376)
2007-03-29
05:51
[540dcbbf83] 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: 5326)
2007-01-27
02:24
[066444ee25] 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: 5310)
2006-06-27
16:34
[061c50e37d] 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: 5307)
2006-02-11
01:25
[40055cfc09] 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: 5260)
2006-01-07
13:21
[5663c4f43e] 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: 5264)
2006-01-06
13:00
[f7ba8e2f9f] 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: 5219)
2006-01-05
11:34
[96b8c00c6e] 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: 5180)
2005-12-30
16:28
[d6481f9253] 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: 5123)
2005-12-16
15:24
[8ff86378bb] 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: 5025)
2005-08-27
16:36
[1ed561263c] 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: 5049)
2005-03-21
04:04
[41a71ce027] part of check-in [1f9d10d796] Add function to recover from a malloc() failure. (CVS 2414) (check-in: [1f9d10d796] user: danielk1977 branch: trunk, size: 5019)
2005-02-06
02:45
[2e2cc92322] 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: 4979)
2005-01-12
07:15
[74d19cf40a] part of check-in [319bb4a906] Tests to improve coverage of vdbemem.c. (CVS 2200) (check-in: [319bb4a906] user: danielk1977 branch: trunk, size: 4833)
2004-11-05
15:45
[861e40b759] 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: 4754)
2004-11-04
14:30
[3166388fa5] 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: 4437)
2004-07-23
00:01
[94dfec0a17] 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: 4423)
2004-07-22
02:40
[fab5e800b5] part of check-in [b77bec3574] Changes in support of using a codec. (CVS 1844) (check-in: [b77bec3574] user: drh branch: trunk, size: 4418)
01:19
[02fd2c26b7] 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: 4382)
2004-06-26
08:38
[934d0ad30b] 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: 4184)
2004-06-14
06:03
[32f96abef4] 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: 4188)
2004-06-04
06:22
[589427ac13] part of check-in [ff70b6d2b6] Move the 'busy-callback' logic to the pager layer. (CVS 1527) (check-in: [ff70b6d2b6] user: danielk1977 branch: trunk, size: 4094)
2004-06-03
16:08
[7b68234177] part of check-in [d57e5252c8] Untested updates to support atomic multi-file transactions (CVS 1526) (check-in: [d57e5252c8] user: danielk1977 branch: trunk, size: 4059)
2004-05-31
10:01
[1e2beb41b4] 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: 4004)
08:26
[61d670f418] 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: 4000)
2004-05-30
20:46
[512706898e] part of check-in [a0db15bba6] Various speed enhancements. (CVS 1498) (check-in: [a0db15bba6] user: drh branch: trunk, size: 3923)
2004-05-18
10:06
[b65140b5ae] 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: 3927)
2004-05-12
19:18
[6f51ad0ffe] 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: 3815)
15:15
[5549569274] 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: 3732)
2004-05-11
00:58
[578dc465c8] part of check-in [a675ac4988] Updates to sqlite3BtreeKeyFetch() and sqlite3BtreeDataFetch(). (CVS 1347) (check-in: [a675ac4988] user: drh branch: trunk, size: 3732)
2004-05-10
23:29
[91343fe689] 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: 3662)
2004-05-09
23:23
[7c3939a2e5] part of check-in [d8d1c91e55] Add a temporary sqlite2BtreeKeyCompare() function to help get regression tests passing again. (CVS 1332) (check-in: [d8d1c91e55] user: danielk1977 branch: trunk, size: 3669)
00:40
[825034a689] 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: 3732)
2004-05-08
20:07
[e111dde033] part of check-in [e9f84ff3fe] More btree.c bug fixes. (CVS 1327) (check-in: [e9f84ff3fe] user: drh branch: trunk, size: 3732)
08:23
[07a16dbb8c] 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: 3706)
2004-05-07
23:50
[ba5d3bfadc] part of check-in [a80939ef71] More bug fixes in btree.c. (CVS 1322) (check-in: [a80939ef71] user: drh branch: trunk, size: 3401)
13:30
[49b255b288] part of check-in [dcd6b55f93] New btree.c module compiles and links. (CVS 1320) (check-in: [dcd6b55f93] user: drh branch: trunk, size: 3369)
2004-04-26
14:10
[858659c660] part of check-in [910067a200] Pager tests working. (CVS 1308) (check-in: [910067a200] user: drh branch: trunk, size: 3102)
2004-02-10
02:57
[41cb3ff6eb] 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: 6639)
2003-06-01
01:10
[9b7c09f1e6] part of check-in [903adbe802] Add the ability to INSERT or UPDATE using the "rowid" column even on tables that lack an integer primary key. (CVS 991) (check-in: [903adbe802] user: drh branch: trunk, size: 6639)
2003-04-25
13:28
[23c50e0070] part of check-in [c3b1f84dfc] Work around a name collision problem on windows. (CVS 934) (check-in: [c3b1f84dfc] user: drh branch: trunk, size: 6639)
13:22
[6488448db8] 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: 6639)
02:43
[dc899dd3a1] part of check-in [5afb88008f] Get VACUUM working again - with test cases. Some other minor cleanups. (CVS 931) (check-in: [5afb88008f] user: drh branch: trunk, size: 6680)
2003-04-16
01:28
[529c98cb07] 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: 6599)
2003-04-06
20:44
[5cb871546b] 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: 6665)
2003-04-01
21:16
[024d2dd213] part of check-in [79b3aed2a7] Add infrastructure to suport multiple btree implementations (CVS 894) (check-in: [79b3aed2a7] user: paul branch: trunk, size: 6643)
2003-03-19
03:14
[8209bfadf5] 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: 2594)
2003-02-12
14:09
[36a7a26a29] 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: 2522)
2002-12-04
13:40
[17710339f7] 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: 2477)
2002-08-11
20:10
[0ca6c26313] 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: 2430)
2002-02-19
15:00
[8abeabfe6e] part of check-in [cc5abfe392] Optimize simple min() and max() queries. (CVS 382) (check-in: [cc5abfe392] user: drh branch: trunk, size: 2401)
13:39
[9fd16f33b9] 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: 2358)
2002-02-03
19:15
[b131caa443] part of check-in [0090c279d8] Reenable testing code even if NDEBUG is defined. (CVS 367) (check-in: [0090c279d8] user: drh branch: trunk, size: 2352)
17:37
[53476ad4f7] part of check-in [7c65029e5b] Put in PRAGMA SANITY_CHECK in place of VACUUM. (CVS 365) (check-in: [7c65029e5b] user: drh branch: trunk, size: 2351)
2002-02-02
18:49
[a94bef69f5] part of check-in [9be4d4c6f1] Get the ABORT conflict resolution algorithm working. (CVS 362) (check-in: [9be4d4c6f1] user: drh branch: trunk, size: 2355)
2002-01-04
03:09
[9ead7f54c2] 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: 2249)
2001-12-15
14:22
[8767bd4ecf] part of check-in [e8595579a5] Comment and documentation changes. (CVS 331) (check-in: [e8595579a5] user: drh branch: trunk, size: 2207)
2001-11-07
14:22
[0250a0a577] 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: 2107)
2001-09-27
03:22
[57d653ef51] 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: 2068)
2001-09-23
02:35
[5e5531869e] part of check-in [337b3d3b2a] Fixes to the locking and rollback behavior. (CVS 261) (check-in: [337b3d3b2a] user: drh branch: trunk, size: 1991)
2001-09-16
00:13
[fcb08daab5] part of check-in [4e926efe2b] Disclaimed copyright. Preparing for release 2.0. (CVS 250) (check-in: [4e926efe2b] user: drh branch: trunk, size: 1979)
2001-09-14
18:54
[a3d9c20fa8] 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: 2528)
2001-09-13
14:46
[2427961c70] 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: 2486)
13:46
[1fe9710a1d] 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: 2419)
2001-08-20
00:33
[6617284287] part of check-in [2e6aff9802] Restore btree to the main line. (CVS 237) (check-in: [2e6aff9802] user: drh branch: trunk, size: 2375)
2001-07-02
17:51
[5fb5799bcb] part of check-in [a84fb078ba] BTree and pager are working pretty well now. (CVS 234) (check-in: [a84fb078ba] user: drh branch: trunk, size: 2323)
2001-06-30
21:53
[987d80658a] part of check-in [42486880ed] Implemented the sqliteBtreeSanityCheck() test function. (CVS 232) (check-in: [42486880ed] user: drh branch: trunk, size: 2309)
2001-06-28
01:54
[d327e9ad67] 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: 2260)
2001-06-25
02:11
[2ce445f0b7] part of check-in [6b9b298b28] More tests and bug fixes in btree.c (CVS 229) (check-in: [6b9b298b28] user: drh branch: trunk, size: 2227)
2001-06-22
19:15
[40ae2c9b6d] 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: 2227)
2001-06-08
00:21
[f9adc22e84] part of check-in [7108b699cc] incremental update (CVS 223) (check-in: [7108b699cc] user: drh branch: trunk, size: 2113)
2001-06-02
02:40
[4a50996c9b] part of check-in [d07e0e80a0] continued work on btree (CVS 222) (check-in: [d07e0e80a0] user: drh branch: trunk, size: 1963)
2001-05-24
21:06
[a0ef90514e] part of check-in [18500cdcc1] Continued work on btree (CVS 219) (check-in: [18500cdcc1] user: drh branch: trunk, size: 1870)
2001-04-17
20:09
Added: [f21c240d0c] part of check-in [bdb1c425f5] Begin adding BTree code (CVS 213) (check-in: [bdb1c425f5] user: drh branch: trunk, size: 2097)