Commit f5f0847a authored by marko's avatar marko

branches/zip: Add TODO comments about the relocation log.

page_cur_insert_rec_low(): Note that the relocation log
on the compressed page needs to reflect some changes of extra_size.
parent 83cb4c49
......@@ -954,6 +954,7 @@ page_cur_insert_rec_low(
lint extra_size_diff
= rec_offs_extra_size(offsets)
- rec_offs_extra_size(foffsets);
/* TODO: compare to original extra_size */
if (UNIV_UNLIKELY(extra_size_diff < 0)) {
/* Add an offset to the extra_size. */
if (rec_offs_size(foffsets)
......@@ -964,6 +965,11 @@ page_cur_insert_rec_low(
insert_buf -= extra_size_diff;
}
/* TODO: update to the relocation log
* add when extra_size grows for the first time
* remove when extra_size shrinks to original
*/
}
heap_no = rec_get_heap_no_new(free_rec);
......
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