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.
This commit is contained in:
parent
0292cd0a27
commit
f5e158183c
@ -3711,9 +3711,9 @@ btr_cur_update_in_place(
|
|||||||
to this record */
|
to this record */
|
||||||
btr_search_update_hash_on_delete(cursor);
|
btr_search_update_hash_on_delete(cursor);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
rw_lock_x_lock(ahi_latch);
|
rw_lock_x_lock(ahi_latch);
|
||||||
|
}
|
||||||
|
|
||||||
assert_block_ahi_valid(block);
|
assert_block_ahi_valid(block);
|
||||||
#endif /* BTR_CUR_HASH_ADAPT */
|
#endif /* BTR_CUR_HASH_ADAPT */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user