diff options
Diffstat (limited to 'innobase/thr/thr0loc.c')
-rw-r--r-- | innobase/thr/thr0loc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/innobase/thr/thr0loc.c b/innobase/thr/thr0loc.c index 5da1d7dfb41..a17d09fcca6 100644 --- a/innobase/thr/thr0loc.c +++ b/innobase/thr/thr0loc.c @@ -65,7 +65,9 @@ thr_local_get( try_again: ut_ad(thr_local_hash); +#ifdef UNIV_SYNC_DEBUG ut_ad(mutex_own(&thr_local_mutex)); +#endif /* UNIV_SYNC_DEBUG */ /* Look for the local struct in the hash table */ |