Commit 5a5e163f authored by marko's avatar marko

branches/zip: btr_cur_open_at_index_side(): Correct a debug assertion

added in r928.  Do not call btr_cur_get_block() in the debug assertion,
because the debug assertion there would fail.
parent ef4406e8
......@@ -715,7 +715,7 @@ btr_cur_open_at_index_side(
}
}
ut_ad(buf_block_get_frame(btr_cur_get_block(cursor)) == page);
ut_ad(buf_block_get_frame(cursor->page_block) == page);
if (from_left) {
page_cur_set_before_first(page, page_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