mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-08 17:54:22 +01:00
remove space allocated for overflow pointer in non-overflow cases
This commit is contained in:
@@ -1514,7 +1514,6 @@ impl BTreeCursor {
|
||||
if record_buf.len() <= payload_overflow_threshold_max {
|
||||
// enough allowed space to fit inside a btree page
|
||||
cell_payload.extend_from_slice(record_buf.as_slice());
|
||||
cell_payload.resize(cell_payload.len() + 4, 0);
|
||||
return;
|
||||
}
|
||||
log::debug!("fill_cell_payload(overflow)");
|
||||
|
||||
Reference in New Issue
Block a user