Commit 2e7817bf authored by marko's avatar marko

lock_rec_move(): Compute receiver_heap_no correctly.

parent 44d80eae
......@@ -2553,10 +2553,10 @@ lock_rec_move(
#endif /* UNIV_SYNC_DEBUG */
if (UNIV_LIKELY(comp)) {
receiver_heap_no = rec_get_heap_no_new(donator);
receiver_heap_no = rec_get_heap_no_new(receiver);
donator_heap_no = rec_get_heap_no_new(donator);
} else {
receiver_heap_no = rec_get_heap_no_old(donator);
receiver_heap_no = rec_get_heap_no_old(receiver);
donator_heap_no = rec_get_heap_no_old(donator);
}
......
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