MySQL 8.4.2
Source Code Documentation
s_mysql_mysql_debug_sync_service Struct Reference

Enable capability to process debug_sync point from components. More...

#include <mysql_debug_sync_service.h>

Public Attributes

void(* debug_sync )(MYSQL_THD thd, const char *name)
 Process debug_sync point. More...
 

Detailed Description

Enable capability to process debug_sync point from components.

MySQL server provides DEBUG_SYNC macro to enable controlled testing. This service makes the same functionality to component.

The usage remains the same way as used in server. E.g., DEBUG_SYNC("debug sync point");

Member Data Documentation

◆ debug_sync

void(* s_mysql_mysql_debug_sync_service::debug_sync) (MYSQL_THD thd, const char *name)

Process debug_sync point.

Parameters
[in]thdThe THD pointer to current thread.
[in]nameThe debug point name to process.

The documentation for this struct was generated from the following file: