Commit 92193389 authored by marko's avatar marko

branches/zip: btr_cur_optimistic_insert(): If btr_page_reorganize()

fails, reset the insert buffer free bits for the page.
parent efd79c7a
......@@ -1170,6 +1170,8 @@ fail_err:
if (UNIV_UNLIKELY(!btr_page_reorganize(block, index, mtr))) {
ut_a(buf_block_get_page_zip(block));
ibuf_reset_free_bits_with_type(index->type, block);
goto fail;
}
......
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