summaryrefslogtreecommitdiff
path: root/storage/innobase/include/dict0priv.ic
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/include/dict0priv.ic')
-rw-r--r--storage/innobase/include/dict0priv.ic4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/innobase/include/dict0priv.ic b/storage/innobase/include/dict0priv.ic
index 2fcadc055e1..36d0ba66524 100644
--- a/storage/innobase/include/dict0priv.ic
+++ b/storage/innobase/include/dict0priv.ic
@@ -39,7 +39,7 @@ dict_table_get_low(
dict_table_t* table;
ut_ad(table_name);
- ut_ad(mutex_own(&dict_sys.mutex));
+ dict_sys.assert_locked();
table = dict_table_check_if_in_cache_low(table_name);
@@ -79,7 +79,7 @@ dict_table_check_if_in_cache_low(
("table: '%s'", table_name));
ut_ad(table_name);
- ut_ad(mutex_own(&dict_sys.mutex));
+ dict_sys.assert_locked();
/* Look for the table name in the hash table */
table_fold = ut_fold_string(table_name);