summaryrefslogtreecommitdiff
path: root/innobase/sync/sync0sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'innobase/sync/sync0sync.c')
-rw-r--r--innobase/sync/sync0sync.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/innobase/sync/sync0sync.c b/innobase/sync/sync0sync.c
index 89bfb5dd02e..86306e49cac 100644
--- a/innobase/sync/sync0sync.c
+++ b/innobase/sync/sync0sync.c
@@ -314,7 +314,6 @@ mutex_enter_nowait(
return(1);
}
-#ifdef UNIV_DEBUG
/**********************************************************************
Checks that the mutex has been initialized. */
@@ -328,7 +327,6 @@ mutex_validate(
return(TRUE);
}
-#endif /* UNIV_DEBUG */
/**********************************************************************
Sets the waiters field in a mutex. */
@@ -1077,12 +1075,8 @@ sync_thread_add_level(
} else if (level == SYNC_DICT_HEADER) {
ut_a(sync_thread_levels_g(array, SYNC_DICT_HEADER));
} else if (level == SYNC_DICT) {
-#ifdef UNIV_DEBUG
- ut_a(buf_debug_prints ||
- sync_thread_levels_g(array, SYNC_DICT));
-#else /* UNIV_DEBUG */
- ut_a(sync_thread_levels_g(array, SYNC_DICT));
-#endif /* UNIV_DEBUG */
+ ut_a(buf_debug_prints
+ || sync_thread_levels_g(array, SYNC_DICT));
} else {
ut_error;
}