mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-03 17:48:17 +00:00
core: update btree.rs
postion -> position
This commit is contained in:
parent
9aaf0869ae
commit
043fba2632
1 changed files with 1 additions and 1 deletions
|
@ -700,7 +700,7 @@ impl BTreeCursor {
|
|||
}
|
||||
}
|
||||
|
||||
/* insert to postion and shift other pointers */
|
||||
/* insert to position and shift other pointers */
|
||||
fn insert_into_cell(&self, page: &mut PageContent, payload: &[u8], cell_idx: usize) {
|
||||
let free = self.compute_free_space(page, RefCell::borrow(&self.database_header));
|
||||
let enough_space = payload.len() + 2 <= free as usize;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue