Commit dcaf7100 authored by Marko Mäkelä's avatar Marko Mäkelä

btr_page_split_and_insert(): Add an assertion

suggested by Sunny Bains when reviewing Bug #52964.
parent 6ab22816
......@@ -2000,6 +2000,7 @@ btr_page_split_and_insert(
goto insert_empty;
}
} else if (UNIV_UNLIKELY(insert_left)) {
ut_a(n_iterations > 0);
first_rec = page_rec_get_next(page_get_infimum_rec(page));
move_limit = page_rec_get_next(btr_cur_get_rec(cursor));
} else {
......
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