mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge 10.4 into 10.5
This commit is contained in:
@@ -67,6 +67,7 @@ extern void dbug_free_code_state(void **code_state_store);
|
||||
extern const char* _db_get_func_(void);
|
||||
extern int (*dbug_sanity)(void);
|
||||
|
||||
#ifdef DBUG_TRACE
|
||||
#define DBUG_LEAVE do { \
|
||||
_db_stack_frame_.line= __LINE__; \
|
||||
_db_return_ (&_db_stack_frame_); \
|
||||
@@ -85,6 +86,13 @@ extern int (*dbug_sanity)(void);
|
||||
#define DBUG_VOID_RETURN do {DBUG_LEAVE; return;} while(0)
|
||||
#endif
|
||||
|
||||
#else
|
||||
#define DBUG_LEAVE
|
||||
#define DBUG_ENTER(a)
|
||||
#define DBUG_RETURN(a1) return(a1)
|
||||
#define DBUG_VOID_RETURN return
|
||||
#endif
|
||||
|
||||
#define DBUG_EXECUTE(keyword,a1) \
|
||||
do {if (_db_keyword_(0, (keyword), 0)) { a1 }} while(0)
|
||||
#define DBUG_EXECUTE_IF(keyword,a1) \
|
||||
|
Reference in New Issue
Block a user