mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-23 08:55:40 +01:00
Fix drop table: initialize loaded pages to cell idx 0
This commit is contained in:
@@ -4564,6 +4564,7 @@ impl BTreeCursor {
|
||||
DestroyState::LoadPage => {
|
||||
let page = self.stack.top();
|
||||
return_if_locked_maybe_load!(self.pager, page);
|
||||
self.stack.set_cell_index(0); // initialize to first cell of page when loaded.
|
||||
|
||||
let destroy_info = self
|
||||
.state
|
||||
|
||||
Reference in New Issue
Block a user