summaryrefslogtreecommitdiff
path: root/include/my_dbug.h
diff options
context:
space:
mode:
authorunknown <georg@lmy002.wdf.sap.corp>2006-09-01 14:34:37 +0200
committerunknown <georg@lmy002.wdf.sap.corp>2006-09-01 14:34:37 +0200
commit5d3e6c275857fabffe9e38d979a12017cc257494 (patch)
treeb624943770ca093aa4373ff91f83fddb3b932094 /include/my_dbug.h
parentcce4cc25a9a3927d4d947d4ce006343f4503729e (diff)
downloadmariadb-git-5d3e6c275857fabffe9e38d979a12017cc257494.tar.gz
Fixes for crashes and test failures
scripts/make_win_bin_dist: BitKeeper file /home/georg/work/mysql/prod/mysql-5.0-win/scripts/make_win_bin_dist client/mysqlbinlog.cc: Fix for cmake build: Cmake doesn't use the VC++ files extra/comp_err.c: fixed windows crash (debug): We can't call DBUG_RETURN after my_end. include/my_dbug.h: added missing empty define for DBUG_LEAVE to prevent precompiler errors when compiling in non_debug mode mysql-test/mysql-test-run.pl: Added support for new cmake release and debug paths. mysql-test/t/system_mysql_db_fix.test: This test requires unix shell script mysql_fix_previleges_tables -> skip under windows mysys/my_seek.c: Fix for windows debug crash. However this solution is bad: we should never call lseek with an invalid file pointer. sql/ha_archive.cc: Fixed windows crash: We need dup in gzdopen to keep the filehandle open, otherwise subsequent calls to mysql_close will fail/crash.
Diffstat (limited to 'include/my_dbug.h')
-rw-r--r--include/my_dbug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/my_dbug.h b/include/my_dbug.h
index 6e60b599f53..bf2e8d9969b 100644
--- a/include/my_dbug.h
+++ b/include/my_dbug.h
@@ -97,6 +97,7 @@ extern void _db_unlock_file(void);
#define DBUG_UNLOCK_FILE
#define DBUG_OUTPUT(A)
#define DBUG_ASSERT(A) {}
+#define DBUG_LEAVE
#endif
#ifdef __cplusplus
}