MySQL 9.6.0
Source Code Documentation
debug_execute_if.h File Reference

Go to the source code of this file.

Macros

#define DBUG_EXECUTE_IF(keyword, a1)
 Debug macro for conditional code execution. More...
 

Macro Definition Documentation

◆ DBUG_EXECUTE_IF

#define DBUG_EXECUTE_IF (   keyword,
  a1 
)
Value:
do { \
if (SERVICE_PLACEHOLDER(mysql_debug_keyword_service) \
->lookup_debug_keyword(keyword)) { \
a1 \
} \
} while (0)
#define SERVICE_PLACEHOLDER(service)
Use this macro to reference the service placeholder as defined by the REQUIRES_SERVICE_PLACEHOLDER ma...
Definition: component_implementation.h:381

Debug macro for conditional code execution.

Note
Using this macro requires declaring extern mysql_debug_keyword_service service reference: extern REQUIRES_SERVICE_PLACEHOLDER(mysql_debug_keyword_service);