MySQL 8.0.39
Source Code Documentation
|
#include <mysql/plugin.h>
#include <mysql/plugin_audit.h>
#include <mysql/service_my_plugin_log.h>
#include <mysql/service_security_context.h>
#include <stdio.h>
#include <string.h>
Functions | |
static | MYSQL_THDVAR_STR (get_field, PLUGIN_VAR_RQCMDARG|PLUGIN_VAR_MEMALLOC, "Get specified security context field.", nullptr, nullptr, nullptr) |
static | MYSQL_THDVAR_STR (get_value, PLUGIN_VAR_RQCMDARG|PLUGIN_VAR_MEMALLOC, "Get specified security context field value.", nullptr, nullptr, nullptr) |
static int | test_security_context_notify (MYSQL_THD thd, mysql_event_class_t event_class, const void *event) |
Tests the security context service. More... | |
mysql_declare_plugin (test_security_context) | |
Plugin declaration. More... | |
Variables | |
static struct st_mysql_audit | test_security_context_descriptor |
Plugin descriptor structure. More... | |
static SYS_VAR * | system_variables [] |
mysql_declare_plugin_end | |
mysql_declare_plugin | ( | test_security_context | ) |
Plugin declaration.
|
static |
|
static |
|
static |
Tests the security context service.
Do not run this in multiple concurrent threads !
thd | the thread to work with |
event_class | audit event class |
event | event data |
mysql_declare_plugin_end |
|
static |
|
static |
Plugin descriptor structure.