diff options
Diffstat (limited to 'innobase/ha/ha0ha.c')
-rw-r--r-- | innobase/ha/ha0ha.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/innobase/ha/ha0ha.c b/innobase/ha/ha0ha.c index e8082f016b9..ad1391ff83e 100644 --- a/innobase/ha/ha0ha.c +++ b/innobase/ha/ha0ha.c @@ -211,7 +211,9 @@ ha_search_and_update_if_found( { ha_node_t* node; +#ifdef UNIV_SYNC_DEBUG ut_ad(!table->mutexes || mutex_own(hash_get_mutex(table, fold))); +#endif /* UNIV_SYNC_DEBUG */ node = ha_search_with_data(table, fold, data); |