Commit e677258a authored by marko's avatar marko

branches/zip: Fix a bug in optimistic update.

btr_cur_update_in_place(): Remove the page_zip_write_rec() call,
because row_upd_rec_in_place() already calls it.
parent bee191b7
......@@ -1627,10 +1627,6 @@ btr_cur_update_in_place(
btr_cur_update_in_place_log(flags, rec, index, update,
trx, roll_ptr, mtr);
if (UNIV_LIKELY_NULL(page_zip)) {
page_zip_write_rec(page_zip, rec, index, offsets);
}
if (was_delete_marked && !rec_get_deleted_flag(rec,
page_is_comp(buf_block_get_frame(block)))) {
/* The new updated record owns its possible externally
......
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