MySQL  8.0.18
Source Code Documentation
test_services_host_application_signal.cc File Reference

Macros

#define LOG_COMPONENT_TAG   "test_services_host_application_signal"
 

Functions

 REQUIRES_SERVICE_PLACEHOLDER (host_application_signal)
 
 REQUIRES_SERVICE_PLACEHOLDER (udf_registration)
 
 REQUIRES_SERVICE_PLACEHOLDER (registry)
 
 REQUIRES_SERVICE_PLACEHOLDER (log_builtins)
 
 REQUIRES_SERVICE_PLACEHOLDER (log_builtins_string)
 
static MYSQL_SYSVAR_BOOL (shutdown_at_init, shutdown_at_init, PLUGIN_VAR_OPCMDARG, "Call shutdown at init if true", NULL, NULL, false)
 
static long long test_shutdown_signal_udf (UDF_INIT *, UDF_ARGS *args, unsigned char *, unsigned char *error)
 
static int plugin_deinit (void *p)
 
static int plugin_init (void *p)
 
 mysql_declare_plugin (test_services_host_application_signal)
 

Variables

static bool udf_registered = false
 
static bool shutdown_at_init = false
 
static SYS_VARsystem_variables [] = {MYSQL_SYSVAR(shutdown_at_init), nullptr}
 
static struct st_mysql_daemon plugin = {MYSQL_DAEMON_INTERFACE_VERSION}
 
 mysql_declare_plugin_end
 

Macro Definition Documentation

◆ LOG_COMPONENT_TAG

#define LOG_COMPONENT_TAG   "test_services_host_application_signal"

Function Documentation

◆ mysql_declare_plugin()

mysql_declare_plugin ( test_services_host_application_signal  )

◆ MYSQL_SYSVAR_BOOL()

static MYSQL_SYSVAR_BOOL ( shutdown_at_init  ,
shutdown_at_init  ,
PLUGIN_VAR_OPCMDARG  ,
"Call shutdown at init if true ,
NULL  ,
NULL  ,
false   
)
static

◆ plugin_deinit()

static int plugin_deinit ( void *  p)
static

◆ plugin_init()

static int plugin_init ( void *  p)
static

◆ REQUIRES_SERVICE_PLACEHOLDER() [1/5]

REQUIRES_SERVICE_PLACEHOLDER ( host_application_signal  )

◆ REQUIRES_SERVICE_PLACEHOLDER() [2/5]

REQUIRES_SERVICE_PLACEHOLDER ( udf_registration  )

◆ REQUIRES_SERVICE_PLACEHOLDER() [3/5]

REQUIRES_SERVICE_PLACEHOLDER ( registry  )

◆ REQUIRES_SERVICE_PLACEHOLDER() [4/5]

REQUIRES_SERVICE_PLACEHOLDER ( log_builtins  )

◆ REQUIRES_SERVICE_PLACEHOLDER() [5/5]

REQUIRES_SERVICE_PLACEHOLDER ( log_builtins_string  )

◆ test_shutdown_signal_udf()

static long long test_shutdown_signal_udf ( UDF_INIT ,
UDF_ARGS args,
unsigned char *  ,
unsigned char *  error 
)
static

Variable Documentation

◆ mysql_declare_plugin_end

mysql_declare_plugin_end

◆ plugin

◆ shutdown_at_init

bool shutdown_at_init = false
static

◆ system_variables

SYS_VAR* system_variables[] = {MYSQL_SYSVAR(shutdown_at_init), nullptr}
static

◆ udf_registered

bool udf_registered = false
static