MySQL  8.0.21
Source Code Documentation
test_mysql_current_thread_reader.cc File Reference

Functions

 REQUIRES_SERVICE_PLACEHOLDER (mysql_current_thread_reader)
 
 REQUIRES_SERVICE_PLACEHOLDER (mysql_thd_security_context)
 
 REQUIRES_SERVICE_PLACEHOLDER (mysql_security_context_options)
 
 REQUIRES_SERVICE_PLACEHOLDER (udf_registration)
 
 END_COMPONENT_PROVIDES ()
 
 REQUIRES_SERVICE (mysql_current_thread_reader)
 
 REQUIRES_SERVICE (udf_registration)
 
 REQUIRES_SERVICE (mysql_thd_security_context)
 
 REQUIRES_SERVICE (mysql_security_context_options)
 
 END_COMPONENT_REQUIRES ()
 
static char * test_thd_reader_current_user_udf (UDF_INIT *, UDF_ARGS *args, char *result, unsigned long *length, unsigned char *, unsigned char *error)
 
static mysql_service_status_t init ()
 
static mysql_service_status_t deinit ()
 
 METADATA ("mysql.author", "Oracle Corporation")
 
 METADATA ("mysql.license", "GPL")
 
 METADATA ("test_property", "1")
 
 END_COMPONENT_METADATA ()
 

Variables

mysql_component_t mysql_component_test_mysql_current_thread_reader
 

Function Documentation

◆ deinit()

static mysql_service_status_t deinit ( )
static

◆ END_COMPONENT_METADATA()

END_COMPONENT_METADATA ( )

◆ END_COMPONENT_PROVIDES()

END_COMPONENT_PROVIDES ( )

◆ END_COMPONENT_REQUIRES()

END_COMPONENT_REQUIRES ( )

◆ init()

static mysql_service_status_t init ( )
static

◆ METADATA() [1/3]

METADATA ( "mysql.author"  ,
"Oracle Corporation"   
)

◆ METADATA() [2/3]

METADATA ( "mysql.license"  ,
"GPL"   
)

◆ METADATA() [3/3]

METADATA ( "test_property"  ,
"1"   
)

◆ REQUIRES_SERVICE() [1/4]

REQUIRES_SERVICE ( mysql_current_thread_reader  )

◆ REQUIRES_SERVICE() [2/4]

REQUIRES_SERVICE ( udf_registration  )

◆ REQUIRES_SERVICE() [3/4]

REQUIRES_SERVICE ( mysql_thd_security_context  )

◆ REQUIRES_SERVICE() [4/4]

REQUIRES_SERVICE ( mysql_security_context_options  )

◆ REQUIRES_SERVICE_PLACEHOLDER() [1/4]

REQUIRES_SERVICE_PLACEHOLDER ( mysql_current_thread_reader  )

◆ REQUIRES_SERVICE_PLACEHOLDER() [2/4]

REQUIRES_SERVICE_PLACEHOLDER ( mysql_thd_security_context  )

◆ REQUIRES_SERVICE_PLACEHOLDER() [3/4]

REQUIRES_SERVICE_PLACEHOLDER ( mysql_security_context_options  )

◆ REQUIRES_SERVICE_PLACEHOLDER() [4/4]

REQUIRES_SERVICE_PLACEHOLDER ( udf_registration  )

◆ test_thd_reader_current_user_udf()

static char* test_thd_reader_current_user_udf ( UDF_INIT ,
UDF_ARGS args,
char *  result,
unsigned long *  length,
unsigned char *  ,
unsigned char *  error 
)
static

Variable Documentation

◆ mysql_component_test_mysql_current_thread_reader

mysql_component_t mysql_component_test_mysql_current_thread_reader
Initial value:
= { "mysql:test_mysql_current_thread_reader" , __test_mysql_current_thread_reader_provides, __test_mysql_current_thread_reader_requires, __test_mysql_current_thread_reader_metadata,
static mysql_service_status_t deinit()
Definition: test_mysql_current_thread_reader.cc:102
static mysql_service_status_t init()
Definition: test_mysql_current_thread_reader.cc:90