From 5ec40fbb2704a0bf1369836d88a5def4721809c8 Mon Sep 17 00:00:00 2001 From: Thirunarayanan Balathandayuthapani Date: Fri, 31 Jul 2020 16:45:35 +0530 Subject: [PATCH] MDEV-14711 Fix-up --- storage/innobase/btr/btr0cur.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/innobase/btr/btr0cur.cc b/storage/innobase/btr/btr0cur.cc index bacc05686e9..d433f9cadc8 100644 --- a/storage/innobase/btr/btr0cur.cc +++ b/storage/innobase/btr/btr0cur.cc @@ -470,7 +470,7 @@ btr_cur_optimistic_latch_leaves( /* release the left block */ btr_leaf_page_release( cursor->left_block, mode, mtr); - return false; + goto unpin_failed; } } else { cursor->left_block = NULL;