mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
btr_page_split_and_insert(): Add an assertion
suggested by Sunny Bains when reviewing Bug #52964.
This commit is contained in:
parent
5acbc67f6e
commit
b7cf210256
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue