summaryrefslogtreecommitdiff
path: root/storage/innobase/include/sync0debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/include/sync0debug.h')
-rw-r--r--storage/innobase/include/sync0debug.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/storage/innobase/include/sync0debug.h b/storage/innobase/include/sync0debug.h
index 07e985465e0..da3feecfa53 100644
--- a/storage/innobase/include/sync0debug.h
+++ b/storage/innobase/include/sync0debug.h
@@ -84,11 +84,7 @@ Terminate iteration if the functor returns true.
bool
sync_check_iterate(const sync_check_functor_t& functor);
-/** Acquires the debug mutex. We cannot use the mutex defined in sync0sync,
-because the debug mutex is also acquired in sync0arr while holding the OS
-mutex protecting the sync array, and the ordinary mutex_enter might
-recursively call routines in sync0arr, leading to a deadlock on the OS
-mutex. */
+/** Acquires the debug mutex. */
void
rw_lock_debug_mutex_enter();