-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
balance() in btree.c of SQLite is the original logic. The original logic rebalance 3 sibling pages and allocate a new page only if required to get better disk utilization (aiming 3/4). This commit implements the simple logic which split a overflowing page into 2. This now only supports splitting table leaf/interior pages.
- Loading branch information
Showing
4 changed files
with
590 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.