From e1bc268a6536e2f01d5a0ec4bf177444be32cd86 Mon Sep 17 00:00:00 2001 From: Jussi Saurio Date: Fri, 6 Jun 2025 20:11:14 +0300 Subject: [PATCH] fix CREATE TABLE hang --- core/storage/btree.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/storage/btree.rs b/core/storage/btree.rs index a2ff9a854..9d287729b 100644 --- a/core/storage/btree.rs +++ b/core/storage/btree.rs @@ -1156,7 +1156,7 @@ impl BTreeCursor { cell_idx ); - if cell_count == 0 || cell_idx == cell_count { + if cell_idx == cell_count { // do rightmost let has_parent = self.stack.has_parent(); match contents.rightmost_pointer() {