Commit 3621df70 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-21024: Clean up rtr_adjust_upper_level()

Remove the unnecessary retrieval and null-modifications of
the preceding page.
parent 29d67d05
...@@ -750,7 +750,6 @@ rtr_adjust_upper_level( ...@@ -750,7 +750,6 @@ rtr_adjust_upper_level(
mem_heap_free(heap); mem_heap_free(heap);
/* Get the previous and next pages of page */
const uint32_t next_page_no = btr_page_get_next(page); const uint32_t next_page_no = btr_page_get_next(page);
if (next_page_no != FIL_NULL) { if (next_page_no != FIL_NULL) {
......
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