aboutsummaryrefslogtreecommitdiff
path: root/src/btree.c
Commit message (Collapse)AuthorAge
...
| * Further sanity checking of the OpenDup cursors.drh2021-03-18
| | | | | | FossilOrigin-Name: 0ec71cf16983697f68ab8d921d80a5f39611e4cb5e6e19cbc4a9ad6d49bfc835
| * Automatically close ephemeral b-trees when their last cursor is closed.dan2021-03-18
| | | | | | FossilOrigin-Name: 39b5af18c0580c8e92516d410f8c465bfec31b2d0be9df1cfd6a1d1a19b4fc14
| * Allow instruction OP_OpenDup to duplicate cursors created by OP_OpenDup, as ↵dan2021-03-18
| | | | | | | | | | well as by OP_OpenEphemeral. FossilOrigin-Name: b8de980b2fb78088ef74e053cb987bb84319d13dc96ce1e89baaaa3fe8cf1efc
* | Change the name of the iDataVersion field of Btree to iBDataVersion to makedrh2021-03-18
|/ | | | | it distinct from Pager.iDataVersion. FossilOrigin-Name: e4c44c0bca317c03f8e6d3aa7cc88e5f96159a3d91c07257d408f7db028fd151
* Fix another msan complain triggered by a corrupt database.dan2021-03-01
| | | FossilOrigin-Name: d235d406283191fc7b9e1299be602f1e8be6f36cee8b183cf85c8660519a1c3b
* Add NEVER() to a branch that check-in [5d54d9fd40638138] apparently madedrh2021-02-04
| | | | | unreachable. FossilOrigin-Name: 5c8e6296aa9f69a092364524b716ba894f113f7f1e6024b9a2eaa01c239e65c1
* Improved corrupt database detection in balance_nonroot().drh2021-02-01
| | | FossilOrigin-Name: 5d54d9fd406381383afdf10612bfd590afc4142215d9bca09e227e3aa5baa102
* Do not allow VACUUM to resize the page_size to 512 if the reserve_byte valuedrh2021-01-21
| | | | | is 31 or greater. [forum:/forumpost/e807885dc5|forum post e807885dc5]. FossilOrigin-Name: d5ea75a09d4bf61262cead2604e35d8331b727c504807592d09f5d9e01ce794a
* Enhance the sqlite3BtreeTransferRow() routine so that it does more carefuldrh2020-12-16
| | | | | checks for corrupt database pages. FossilOrigin-Name: 85952e71175dae73c4e587a3b80783825d91fe8567a819e072da651c1ff4131b
* Remove an unnecessary and incorrect #ifdef. Fix harmless compiler warnings.drh2020-12-16
| | | FossilOrigin-Name: 31cd1bbfa5b06723288d99d1cb423f88353bdef770b82e9103f71a796d66f660
* Fix another integer overflow triggered by a corrupt database in recently ↵dan2020-12-15
| | | | | modified vacuum code. FossilOrigin-Name: 4e2dd2a53364f1fed48b995fd5d2642472585f6da5e4735e9da193ba7ff45514
* Fix an integer overflow problem in new VACUUM code.dan2020-12-14
| | | FossilOrigin-Name: 59b4367fd852ba1bfefdff99a27b11657495a3f114ed6f85fdcf6c532f4a19fa
* Fix an assert() broken by recent changes to vacuum.dan2020-12-11
| | | FossilOrigin-Name: dd058da85ca54ae70e26cb0bdc75ff42998d4a8b29a5e2dcac44ee0e45776a85
* Remove a redundant branch added by [56a54258560].dan2020-12-10
| | | FossilOrigin-Name: b4d6f6d728738710249ad74236c31a1872fdff7dadabd4c4a67d05826eb5df9e
* Fix minor issues with new code on this branch.dan2020-12-10
| | | FossilOrigin-Name: f7fa76d0963e7b34026dc20c920bfbf7961033fe2b99503f6857157595f86823
* Better integrate the changes on this branch with OP_Insert and OP_IdxInsert.dan2020-12-10
| | | FossilOrigin-Name: 101cef14910d6e865a94bc870aed599321b893188062a9a61d70a9434992cf23
* Transfer large index or WITHOUT ROWID records between b-trees when vacuuming ↵dan2020-12-09
| | | | | without loading them into memory. FossilOrigin-Name: dfd4ca6891a893d0e9551689954d3e79114d5565f8a5264f96ad1d64fe1d6280
* Avoid loading large intkey rows when VACUUMing, even if the page-size is ↵dan2020-12-09
| | | | | changing. FossilOrigin-Name: 0d2c3776065dc94119899ae4164995193b82fca7ac31868f3141b729d0b65ab9
* Experimental changes to vacuum to avoid loading large records entirely into ↵dan2020-12-08
| | | | | memory. Currently only works in limited cases only - for rowid tables when the page-size does not change. FossilOrigin-Name: c90e063ca9ddcdd1e9f1a2e25a3f7d6e7ee798373ad8acf65b90536b0a124c0d
* Fix a harmless typo in a comment.drh2020-11-24
| | | FossilOrigin-Name: b2a201f1b5dc2fc94b360df4807c108fac47db2399edd8763efbdd66b71ffe5f
* Add an sqlite3FaultSim() call to btreeNext() to make it easier todrh2020-09-30
| | | | | simulate I/O errors in calls to sqlite3BtreeNext(), and in OP_SeekScan. FossilOrigin-Name: 29cca775d3f5411624f0a8d55d34a038a24f1009d25b097315adb64e70c4b299
* Fix a tsan error that could occur when using shared-cache mode.dan2020-09-04
| | | FossilOrigin-Name: de80bc87300257cc49d98e2d22e914211f213dce912f320c8b37b3883c73923c
* New test-control that returns the number of calls todrh2020-08-31
| | | | | | sqlite3BtreeMovetoUnpacked() on the main database and then resets the counter. This only works for SQLITE_DEBUG builds. FossilOrigin-Name: dca5b91926431768babac28a6faf7674a5014db95caba727995b470e92b3182a
* Add support for the sqlite3_txn_state() interface.drh2020-08-25
| | | FossilOrigin-Name: ad195e3dd89d0f33b50070c18fb8f43c4eb24162515dfdd7c04d9e7d96b902a2
* Simplify #ifdefs associated with Parse.eParseMode. Fix an #ifdef errordrh2020-08-10
| | | | | associated with SQLITE_OMIT_AUTOVACUUM. FossilOrigin-Name: 5bbd4bddd3b9fa64d134ed62bce3eb4a09456bf24dec2474b5d764a3a3775964
* Back out a NEVER() that turns out to be reachable.drh2020-07-31
| | | FossilOrigin-Name: 8cf342d4e5eb67b17aee595d9d75f7798eccaebc1ec88e646d344d8d4ab64977
* Remove an ALWAYS() that turns out to be reachable.drh2020-07-31
| | | FossilOrigin-Name: 12bb75d9edc4c11de58d8b1105b95366c58ac4daaa9ad659499dded89a0d7cb5
* Fix unreachable branches.drh2020-07-30
| | | FossilOrigin-Name: 905752da9815ff8242b3cb9a77b1ffdc5cfc76143f47c774890f617a542457a5
* Fix signed/unsigned compiler warnings.drh2020-07-29
| | | FossilOrigin-Name: 1d69eee8b085d514f442840346f001b4785f8ec64f5ba66943e9577b26e2e29c
* Earlier detection of out-of-range page numbers in the btree layer.drh2020-07-28
| | | FossilOrigin-Name: 805bb67a82be51dc6077480691ed815c63a37bd8fc00cf7e67e020349c6e322e
* Merge support for partial integrity checks.drh2020-07-23
|\ | | | | FossilOrigin-Name: b5443b47af95f4f0ef527bee90f186ee25faa5df197dbcc3e14d48eee095e4aa
| * Add the ability to do a PRAGMA integrity_check (or quick_check) on a singledrh2020-07-23
| | | | | | | | | | table by specifying the table name as the argument. FossilOrigin-Name: 65dd321432e8f80bc1cb11be8ca06656b41ac997a74a5eb271c797cf0fbb764e
* | All TCL tests now passing.drh2020-07-22
| | | | | | FossilOrigin-Name: 4c5f3c6cacf84a36d0347790d98d82d1f584cd1537a13a2736348405c4d20367
* | Continuing work toward supporting unsigned 32-bit page numbers.drh2020-07-22
| | | | | | FossilOrigin-Name: 9ce1710aad43cebe5ad50859c7685fb83e40cdd4a60913bd2b7e659bc59942fd
* | Initial changes to allow database up to 281TB in size.drh2020-07-20
|/ | | FossilOrigin-Name: 9cb7da9bdb666ea40771513b89591dca275f1e92092b39190df747e3797178a3
* Early detection of freelist size corruption in incremental vacuum.drh2020-07-14
| | | FossilOrigin-Name: f25a56c26e28abd44373230c6b5763aed35c9a7648abede8a53409dccc0bee1d
* Improved detection of a corrupt database schema. Fix for a problem discovereddrh2020-07-11
| | | | | by dbsqlfuzz. FossilOrigin-Name: 30735432bc33cb953b6d7d2a2de9eb378f9740e0e663f50c727c3f138cd43a2b
* Change the name of IntegrityCk.mallocFailed to IntegrityCk.bOomFault todrh2020-06-29
| | | | | avoid confusion with the sqlite3 object field with the same name. FossilOrigin-Name: 87c7d962581f4bb1224086701352850ede9847dc76235b33c7c2a35ef594d382
* Extend the refactoring into extensions. Clean up stray newlines.drh2020-06-19
| | | FossilOrigin-Name: 7a876209a678a34c198b54ceef9e3c041f128a14dc73357f6a57cadadaa6cf7b
* Further refactoring of the schema table name.drh2020-06-19
| | | FossilOrigin-Name: 9536fa0ae0c1ae6e2e98d2fa11e5acda7f3c9b8ca5061b6f7f8cae63a11d936b
* Refactoring various names. No changes in the resulting machine code.drh2020-06-19
| | | FossilOrigin-Name: 7bb08b1bfcf184e4b59c8c9028926a0052612ff6a6731914ccdb8dee07ea4a98
* Fix an assert() that could fail when operating on a database with a corrupt ↵dan2020-06-17
| | | | | schema. FossilOrigin-Name: 4a340c9bc7d939efc947e3b17ca79314482f74368b15567dd089d40e4270890e
* Provide "sqlite_schema" as an alternative name to the table that holds thedrh2020-06-15
| | | | | database schema. FossilOrigin-Name: 61782a7ae3c25cf59d7a676cb295eb024d17c46e532ae78c6fe871a91d712fa9
* Remove a NEVER() that turns out to be reachable.drh2020-06-12
| | | FossilOrigin-Name: 44e573ecd5c2b60107133d60c51f3a04a3f904e9c1cf926e9b8ea977c7acae8d
* Fix an error that could occur if the first transaction executed by a ↵dan2020-05-07
| | | | | connection configured to use blocking locks is a write-transaction for which the WRITER lock cannot be obtained. FossilOrigin-Name: 49e4dc72f7a4b28e4b49d7b91030bc986aea3ff44dac38cb6e68305800cd1de5
* Merge trunk changes into this branch.dan2020-05-07
|\ | | | | FossilOrigin-Name: ac4ee69664278a828e0a64c5be3b96fdb6eb6acc95646a9425c667aea328791c
| * Fix the handling of reserve-bytes so that the maximum value of 255 can be used.drh2020-05-07
| | | | | | FossilOrigin-Name: 99749d4fd4930ccf15227f67c732266af9e09dd3cabdc0834fb450ef98196441
* | Fix harmless compiler warnings.drh2020-05-06
| | | | | | FossilOrigin-Name: 92dc59132f8547635d73c61c21ea29b380c401ddc84a6d01412808e00386b9e8
* | Add error code SQLITE_BUSY_TIMEOUT, used internally by the OS layer to ↵dan2020-05-06
| | | | | | | | | | indicate that a call to xShmLock() has failed due to timeout of a blocking lock. FossilOrigin-Name: f3ef9c7c2b4ba3de1057ad569f068b241d5f23e6629d8e0dacf85e57fd13b8aa
* | Fix compiler warnings in non-SQLITE_ENABLE_SETLK_TIMEOUT builds.dan2020-05-06
| | | | | | FossilOrigin-Name: 22de99ef410ba2a540871f3e61157d8dc4b969416f14808aeca73971b17fcd51