summaryrefslogtreecommitdiff
path: root/innobase/include/log0log.ic
diff options
context:
space:
mode:
Diffstat (limited to 'innobase/include/log0log.ic')
-rw-r--r--innobase/include/log0log.ic2
1 files changed, 2 insertions, 0 deletions
diff --git a/innobase/include/log0log.ic b/innobase/include/log0log.ic
index 16423286f6d..e273b6a292b 100644
--- a/innobase/include/log0log.ic
+++ b/innobase/include/log0log.ic
@@ -10,6 +10,7 @@ Created 12/9/1995 Heikki Tuuri
#include "mach0data.h"
#include "mtr0mtr.h"
+#ifdef UNIV_LOG_DEBUG
/**********************************************************
Checks by parsing that the catenated log segment for a single mtr is
consistent. */
@@ -21,6 +22,7 @@ log_check_log_recs(
in the log_sys->buf log buffer */
ulint len, /* in: segment length in bytes */
dulint buf_start_lsn); /* in: buffer start lsn */
+#endif /* UNIV_LOG_DEBUG */
/****************************************************************
Gets a log block flush bit. */