summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorjani@ua141d10.elisa.omakaista.fi <>2007-02-28 22:23:35 +0200
committerjani@ua141d10.elisa.omakaista.fi <>2007-02-28 22:23:35 +0200
commitbcbc0031ebf001dd53e4322aeda67267c5ce3d03 (patch)
tree288ffce0d7e95cc7177686fa96f53632b56e4161 /include
parent01ea1aa44d4d1ab0abb288f8b6b4627c19a052c9 (diff)
downloadmariadb-git-bcbc0031ebf001dd53e4322aeda67267c5ce3d03.tar.gz
Fixed compiler warnings.
Diffstat (limited to 'include')
-rw-r--r--include/my_dbug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/my_dbug.h b/include/my_dbug.h
index a3591f0151a..31fd507ec73 100644
--- a/include/my_dbug.h
+++ b/include/my_dbug.h
@@ -74,6 +74,7 @@ extern void _db_unlock_file(void);
#define DBUG_ASSERT(A) assert(A)
#define DBUG_EXECUTE_IF(keyword,a1) \
{if (_db_on_) {if (_db_strict_keyword_ (keyword)) { a1 }}}
+#define IF_DBUG(A) A
#else /* No debugger */
#define DBUG_ENTER(a1)
@@ -98,6 +99,7 @@ extern void _db_unlock_file(void);
#define DBUG_OUTPUT(A)
#define DBUG_ASSERT(A) {}
#define DBUG_LEAVE
+#define IF_DBUG(A)
#endif
#ifdef __cplusplus
}