mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
Merge 10.4 into 10.5
This commit is contained in:
commit
7bcaa541aa
140 changed files with 1689 additions and 954 deletions
|
|
@ -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) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue