mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 03:51:50 +01:00
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:
parent
37b0f7bf1c
commit
df5da79d26
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue