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

fails, reset the insert buffer free bits for the page.
This commit is contained in:
marko 2007-02-20 11:30:13 +00:00
parent 37b0f7bf1c
commit df5da79d26

View file

@ -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;
}