summaryrefslogtreecommitdiff
path: root/innobase/srv/srv0start.c
diff options
context:
space:
mode:
Diffstat (limited to 'innobase/srv/srv0start.c')
-rw-r--r--innobase/srv/srv0start.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/innobase/srv/srv0start.c b/innobase/srv/srv0start.c
index d7a14b8a9ec..e6fdc95fad0 100644
--- a/innobase/srv/srv0start.c
+++ b/innobase/srv/srv0start.c
@@ -1512,12 +1512,13 @@ NetWare. */
srv_is_being_started = FALSE;
#ifdef UNIV_DEBUG
- /* Wait a while so that creates threads have time to suspend themselves
- before we switch sync debugging on; otherwise a thread may execute
- mutex_enter() before the checks are on, and mutex_exit() after the
- checks are on. */
+ /* Wait a while so that the created threads have time to suspend
+ themselves before we switch sync debugging on; otherwise a thread may
+ execute mutex_enter() before the checks are on, and mutex_exit() after
+ the checks are on, which will cause an assertion failure in sync
+ debug. */
- os_thread_sleep(2000000);
+ os_thread_sleep(3000000);
#endif
sync_order_checks_on = TRUE;