Commit 7b6b235c authored by marko's avatar marko

branches/zip: btr_cur_position(): Replace buf_block_get_frame(block)

with block->frame, because in btr_search_guess_on_hash(), it may
occur that block->buf_fix_count == 0.
parent 5e45ac48
...@@ -102,7 +102,7 @@ btr_cur_position( ...@@ -102,7 +102,7 @@ btr_cur_position(
buf_block_t* block, /* in: buffer block of rec */ buf_block_t* block, /* in: buffer block of rec */
btr_cur_t* cursor) /* out: cursor */ btr_cur_t* cursor) /* out: cursor */
{ {
ut_ad(page_align(rec) == buf_block_get_frame(block)); ut_ad(page_align(rec) == block->frame);
page_cur_position(rec, block, btr_cur_get_page_cur(cursor)); page_cur_position(rec, block, btr_cur_get_page_cur(cursor));
......
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