Commit 70455174 authored by heikki@donna.mysql.fi's avatar heikki@donna.mysql.fi

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)
parent 251fb37b
......@@ -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