summaryrefslogtreecommitdiff
path: root/innobase/ut/ut0dbg.c
diff options
context:
space:
mode:
Diffstat (limited to 'innobase/ut/ut0dbg.c')
-rw-r--r--innobase/ut/ut0dbg.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/innobase/ut/ut0dbg.c b/innobase/ut/ut0dbg.c
new file mode 100644
index 00000000000..970dd501fad
--- /dev/null
+++ b/innobase/ut/ut0dbg.c
@@ -0,0 +1,27 @@
+/*********************************************************************
+Debug utilities for Innobase.
+
+(c) 1994, 1995 Innobase Oy
+
+Created 1/30/1994 Heikki Tuuri
+**********************************************************************/
+
+#include "univ.i"
+
+/* This is used to eliminate compiler warnings */
+ulint ut_dbg_zero = 0;
+
+/* If this is set to TRUE all threads will stop into the next assertion
+and assert */
+ibool ut_dbg_stop_threads = FALSE;
+
+/* Null pointer used to generate memory trap */
+
+ulint* ut_dbg_null_ptr = NULL;
+
+/* Dummy function to prevent gcc from ignoring this file */
+void
+ut_dummy(void)
+{
+ printf("Hello world\n");
+}