Commit b7cf2102 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 5acbc67f
......@@ -2000,6 +2000,7 @@ func_start:
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