Commit bb9b1b0c authored by marko's avatar marko

branches/zip: btr_search_guess_on_hash(): Do not call buf_block_get_frame(),

because it will lead to debug assertion failure when buf_fix_count == 0.
This bug was introduced in r912.
parent baeb31b9
...@@ -757,7 +757,7 @@ btr_search_guess_on_hash( ...@@ -757,7 +757,7 @@ btr_search_guess_on_hash(
} }
block = buf_block_align(rec); block = buf_block_align(rec);
page = buf_block_get_frame(block); page = page_align(rec);
if (UNIV_LIKELY(!has_search_latch)) { if (UNIV_LIKELY(!has_search_latch)) {
......
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