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.
This commit is contained in:
marko 2006-11-01 10:06:29 +00:00
parent 0a00463417
commit 9ba7e51e23

View file

@ -102,7 +102,7 @@ btr_cur_position(
buf_block_t* block, /* in: buffer block of rec */
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));