mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-03 17:48:17 +00:00
Fix drop table: initialize loaded pages to cell idx 0
This commit is contained in:
parent
e897052650
commit
5c08d259bf
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue