mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-23 08:55:40 +01:00
fmt
This commit is contained in:
@@ -4013,11 +4013,10 @@ impl BTreeCursor {
|
||||
)?;
|
||||
if page_type.is_table() {
|
||||
let BTreeCell::TableLeafCell(TableLeafCell {
|
||||
_rowid,
|
||||
_payload,
|
||||
..
|
||||
}) = cell else {
|
||||
unreachable!("unexpected page_type");
|
||||
_rowid, _payload, ..
|
||||
}) = cell
|
||||
else {
|
||||
unreachable!("unexpected page_type");
|
||||
};
|
||||
Ok(CursorResult::Ok(Some(_rowid)))
|
||||
} else {
|
||||
@@ -4378,10 +4377,9 @@ impl BTreeCursor {
|
||||
};
|
||||
DeleteSavepoint::Payload(record)
|
||||
} else {
|
||||
let Some(rowid) = return_if_io!(self.rowid())
|
||||
else {
|
||||
panic!("cursor should be pointing to a record with a rowid");
|
||||
};
|
||||
let Some(rowid) = return_if_io!(self.rowid()) else {
|
||||
panic!("cursor should be pointing to a record with a rowid");
|
||||
};
|
||||
DeleteSavepoint::Rowid(rowid)
|
||||
};
|
||||
let delete_info = self.state.mut_delete_info().unwrap();
|
||||
|
||||
Reference in New Issue
Block a user