summaryrefslogtreecommitdiff
path: root/innobase/btr
diff options
context:
space:
mode:
authoraivanov@mysql.com <>2006-07-26 08:26:07 +0400
committeraivanov@mysql.com <>2006-07-26 08:26:07 +0400
commit9441aa22eabf4dc5f61bd092bb908a873eeb876f (patch)
treec0c4b00da4e4a17001a2dbc33b0dfef6c84b554b /innobase/btr
parente7548d2321b3bc5716ce355df9f35059cf73515e (diff)
downloadmariadb-git-9441aa22eabf4dc5f61bd092bb908a873eeb876f.tar.gz
Applied innodb-5.0-ss660 snapshot.
Diffstat (limited to 'innobase/btr')
-rw-r--r--innobase/btr/btr0cur.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/innobase/btr/btr0cur.c b/innobase/btr/btr0cur.c
index 3d7b6fffb52..d51a090be75 100644
--- a/innobase/btr/btr0cur.c
+++ b/innobase/btr/btr0cur.c
@@ -439,7 +439,7 @@ retry_page_get:
if (UNIV_LIKELY_NULL(heap)) {
mem_heap_free(heap);
}
- return;
+ goto func_exit;
}
/* Insert to the insert buffer did not succeed:
@@ -555,6 +555,7 @@ retry_page_get:
|| mode != PAGE_CUR_LE);
}
+func_exit:
if (has_search_latch) {
rw_lock_s_lock(&btr_search_latch);