mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 11:31:51 +01:00
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:
parent
0a00463417
commit
9ba7e51e23
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue