MySQL 8.4.2
Source Code Documentation
debug_sync.h File Reference

Go to the source code of this file.

Macros

#define DEBUG_SYNC(name)
 

Macro Definition Documentation

◆ DEBUG_SYNC

#define DEBUG_SYNC (   name)
Value:
{ \
extern REQUIRES_SERVICE_PLACEHOLDER(mysql_debug_sync_service); \
MYSQL_THD thd = nullptr; \
SERVICE_PLACEHOLDER(mysql_current_thread_reader)->get(&thd); \
assert(thd); \
SERVICE_PLACEHOLDER(mysql_debug_sync_service)->debug_sync(thd, name); \
}
#define REQUIRES_SERVICE_PLACEHOLDER(service)
Create a service placeholder, based on the service name.
Definition: component_implementation.h:280
const mysql_service_mysql_current_thread_reader_t * mysql_current_thread_reader
Definition: rewriter_plugin.cc:63
case opt name
Definition: sslopt-case.h:29