mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
cleanup
include/my_dbug.h: formatting
This commit is contained in:
@ -951,7 +951,6 @@ void _db_enter_(const char *_func_, const char *_file_,
|
||||
*_slevel_= 0; /* Set to avoid valgrind warnings if dbug is enabled later */
|
||||
return;
|
||||
}
|
||||
get_code_state_or_return;
|
||||
save_errno= errno;
|
||||
|
||||
*_sfunc_= cs->func;
|
||||
|
@ -81,8 +81,8 @@ extern FILE *_db_fp_(void);
|
||||
#define DBUG_ASSERT(A) assert(A)
|
||||
#define DBUG_EXPLAIN(buf,len) _db_explain_(0, (buf),(len))
|
||||
#define DBUG_EXPLAIN_INITIAL(buf,len) _db_explain_init_((buf),(len))
|
||||
#define DEBUGGER_OFF _dbug_on_= 0
|
||||
#define DEBUGGER_ON _dbug_on_= 1
|
||||
#define DEBUGGER_OFF do { _dbug_on_= 0; } while(0)
|
||||
#define DEBUGGER_ON do { _dbug_on_= 1; } while(0)
|
||||
#define IF_DBUG(A) A
|
||||
#else /* No debugger */
|
||||
|
||||
@ -107,11 +107,11 @@ extern FILE *_db_fp_(void);
|
||||
#define DBUG_ASSERT(A) do { } while(0)
|
||||
#define DBUG_LOCK_FILE
|
||||
#define DBUG_FILE (stderr)
|
||||
#define DEBUGGER_OFF
|
||||
#define DEBUGGER_ON
|
||||
#define DBUG_UNLOCK_FILE
|
||||
#define DBUG_EXPLAIN(buf,len)
|
||||
#define DBUG_EXPLAIN_INITIAL(buf,len)
|
||||
#define DEBUGGER_OFF do { } while(0)
|
||||
#define DEBUGGER_ON do { } while(0)
|
||||
#define IF_DBUG(A)
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
|
Reference in New Issue
Block a user