Commit 76934212 authored by Eugene Kosov's avatar Eugene Kosov Committed by Sergey Vojtovich

remove unneeded code

rec_get_offsets() was previously called in a btr_cur_optimistic_update()
parent b66164ab
......@@ -4345,10 +4345,7 @@ btr_cur_pessimistic_update(
}
rec = btr_cur_get_rec(cursor);
*offsets = rec_get_offsets(
rec, index, *offsets, page_is_leaf(page),
ULINT_UNDEFINED, offsets_heap);
ut_ad(rec_offs_validate(rec, index, *offsets));
dtuple_t* new_entry = row_rec_to_index_entry(
rec, index, *offsets, &n_ext, entry_heap);
......
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