Commit f5e15818 authored by Marko Mäkelä's avatar Marko Mäkelä

Follow-up fix to MDEV-14441: Correct a misplaced condition

btr_cur_update_in_place(): The call rw_lock_x_lock(ahi_latch) must
of course be inside the if (ahi_latch) condition. This is a mistake
that I made when backporting the fix-under-development from 10.3.
parent 0292cd0a
......@@ -3711,9 +3711,9 @@ btr_cur_update_in_place(
to this record */
btr_search_update_hash_on_delete(cursor);
}
}
rw_lock_x_lock(ahi_latch);
rw_lock_x_lock(ahi_latch);
}
assert_block_ahi_valid(block);
#endif /* BTR_CUR_HASH_ADAPT */
......
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