summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2012-03-13 13:27:14 +0100
committerSergei Golubchik <sergii@pisem.net>2012-03-13 13:27:14 +0100
commit3f17890892a3f47727a25fcc7c8fa6c958a006f3 (patch)
treecb8f955e6cec8453e724cb6530309b2e8bbda5e6 /include
parentecbd868f58db42e52a2dd8f46c6ee39dc4425cc5 (diff)
downloadmariadb-git-3f17890892a3f47727a25fcc7c8fa6c958a006f3.tar.gz
disable EXTRA_DEBUG in non-dbug builds
Diffstat (limited to 'include')
-rw-r--r--include/my_global.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/my_global.h b/include/my_global.h
index 3acb204de6c..3ab736ba1fc 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -528,6 +528,10 @@ C_MODE_END
# endif
#endif
+#ifdef DBUG_OFF
+#undef EXTRA_DEBUG
+#endif
+
/* Some types that is different between systems */
typedef int File; /* File descriptor */