diff options
author | unknown <serg@janus.mylan> | 2008-02-13 20:29:29 +0100 |
---|---|---|
committer | unknown <serg@janus.mylan> | 2008-02-13 20:29:29 +0100 |
commit | 0e4659bcd118842e494ffd3cac5897cc2d475295 (patch) | |
tree | c7a43302a20ecb3e056f377e9fa22daff293b93f /include/my_dbug.h | |
parent | 5cf9db531c46bf38e4e0d169ff359ea1d9fc36af (diff) | |
download | mariadb-git-0e4659bcd118842e494ffd3cac5897cc2d475295.tar.gz |
skip dbug tests if DBUG_OFF
include/my_dbug.h:
warnings
Diffstat (limited to 'include/my_dbug.h')
-rw-r--r-- | include/my_dbug.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/my_dbug.h b/include/my_dbug.h index 587d2936625..4e883563759 100644 --- a/include/my_dbug.h +++ b/include/my_dbug.h @@ -112,19 +112,19 @@ extern void _db_flush_(); #define DBUG_EVALUATE(keyword,a1,a2) (a2) #define DBUG_EVALUATE_IF(keyword,a1,a2) (a2) #define DBUG_PRINT(keyword,arglist) do { } while(0) -#define DBUG_PUSH(a1) -#define DBUG_SET(a1) -#define DBUG_SET_INITIAL(a1) -#define DBUG_POP() -#define DBUG_PROCESS(a1) +#define DBUG_PUSH(a1) do { } while(0) +#define DBUG_SET(a1) do { } while(0) +#define DBUG_SET_INITIAL(a1) do { } while(0) +#define DBUG_POP() do { } while(0) +#define DBUG_PROCESS(a1) do { } while(0) #define DBUG_SETJMP(a1) setjmp(a1) #define DBUG_LONGJMP(a1) longjmp(a1) -#define DBUG_DUMP(keyword,a1,a2) -#define DBUG_END() +#define DBUG_DUMP(keyword,a1,a2) do { } while(0) +#define DBUG_END() do { } while(0) #define DBUG_ASSERT(A) do { } while(0) -#define DBUG_LOCK_FILE +#define DBUG_LOCK_FILE do { } while(0) #define DBUG_FILE (stderr) -#define DBUG_UNLOCK_FILE +#define DBUG_UNLOCK_FILE do { } while(0) #define DBUG_EXPLAIN(buf,len) #define DBUG_EXPLAIN_INITIAL(buf,len) #define DEBUGGER_OFF do { } while(0) |