diff options
Diffstat (limited to 'storage/xtradb/include/row0upd.ic')
-rw-r--r-- | storage/xtradb/include/row0upd.ic | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/xtradb/include/row0upd.ic b/storage/xtradb/include/row0upd.ic index 18e22f1eca9..2968a548b34 100644 --- a/storage/xtradb/include/row0upd.ic +++ b/storage/xtradb/include/row0upd.ic @@ -158,7 +158,7 @@ row_upd_rec_sys_fields( ut_ad(dict_index_is_clust(index)); ut_ad(rec_offs_validate(rec, index, offsets)); #ifdef UNIV_SYNC_DEBUG - if (!rw_lock_own(&btr_search_latch, RW_LOCK_EX)) { + if (!rw_lock_own(btr_search_get_latch(index->id), RW_LOCK_EX)) { ut_ad(!buf_block_align(rec)->is_hashed); } #endif /* UNIV_SYNC_DEBUG */ |