MDEV-14711 Fix-up

parent a6066e23
...@@ -470,7 +470,7 @@ btr_cur_optimistic_latch_leaves( ...@@ -470,7 +470,7 @@ btr_cur_optimistic_latch_leaves(
/* release the left block */ /* release the left block */
btr_leaf_page_release( btr_leaf_page_release(
cursor->left_block, mode, mtr); cursor->left_block, mode, mtr);
return false; goto unpin_failed;
} }
} else { } else {
cursor->left_block = NULL; cursor->left_block = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment