summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2001-09-08 11:47:34 +0300
committerunknown <monty@hundin.mysql.fi>2001-09-08 11:47:34 +0300
commit8e9c21de2ba0a41ba81ce14f0c5bbaa2187015b3 (patch)
tree519c781289c4f4c0769d932057d293ba813f2b8c /include
parent0ce7e16ef3b9fbe6aa253ac9cef407710dd250e9 (diff)
downloadmariadb-git-8e9c21de2ba0a41ba81ce14f0c5bbaa2187015b3.tar.gz
More debug info
Fix DBUG_ASSERT() Optimization for BDB tables Fix for BDB under Win98 Docs/manual.texi: Removed wrong info bdb/os_win32/os_rename.c: Fix for windows 98 configure.in: Better options for MAC OS X include/dbug.h: Fix DBUG_ASSERT() mysys/thr_lock.c: More DBUG messages sql/ha_berkeley.cc: Use cursor in remove_key sql/lock.cc: Fix possible problem when pre-unlocking tables in SELECT sql/sql_select.cc: More DBUG messages sql/violite.c: Fix DBUG messages
Diffstat (limited to 'include')
-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)