Commit a56931ee authored by unknown's avatar unknown

ibuf0ibuf.c Fix a potential hang in database shutdown (not known if there is...

ibuf0ibuf.c	Fix a potential hang in database shutdown (not known if there is such, but let us play safe)


innobase/ibuf/ibuf0ibuf.c:
  Fix a potential hang in database shutdown (not known if there is such, but let us play safe)
parent de8be62d
......@@ -1698,8 +1698,7 @@ ibuf_contract(
btr_pcur_open_at_rnd_pos(data->index, BTR_SEARCH_LEAF, &pcur, &mtr);
if (data->size == 1
&& 0 == page_get_n_recs(btr_pcur_get_page(&pcur))) {
if (0 == page_get_n_recs(btr_pcur_get_page(&pcur))) {
/* This tree is empty */
......
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