summaryrefslogtreecommitdiff
path: root/include/dbug.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dbug.h')
-rw-r--r--include/dbug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dbug.h b/include/dbug.h
index d86b83f4de8..3c86cbb8ac2 100644
--- a/include/dbug.h
+++ b/include/dbug.h
@@ -66,7 +66,7 @@ extern void _db_unlock_file();
#define DEBUGGER_ON _no_db_=0
#define DBUG_LOCK_FILE { _db_lock_file(); }
#define DBUG_UNLOCK_FILE { _db_unlock_file(); }
-#define DBUG_ASSERT(A) A
+#define DBUG_ASSERT(A) assert(A)
#else /* No debugger */
#define DBUG_ENTER(a1)