summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
Diffstat (limited to 'innobase')
-rw-r--r--innobase/include/univ.i4
1 files changed, 3 insertions, 1 deletions
diff --git a/innobase/include/univ.i b/innobase/include/univ.i
index 4854e5a7b78..12846593977 100644
--- a/innobase/include/univ.i
+++ b/innobase/include/univ.i
@@ -86,8 +86,10 @@ memory is read outside the allocated blocks. */
/* Make a non-inline debug version */
+#ifdef DBUG_ON
+# define UNIV_DEBUG
+#endif /* DBUG_ON */
/*
-#define UNIV_DEBUG
#define UNIV_SYNC_DEBUG
#define UNIV_MEM_DEBUG