MySQL 8.0.39
Source Code Documentation
|
#include "sql/trigger.h"
#include <assert.h>
#include <stdio.h>
#include <atomic>
#include "lex_string.h"
#include "m_ctype.h"
#include "m_string.h"
#include "my_psi_config.h"
#include "mysql/components/services/bits/psi_statement_bits.h"
#include "mysql/psi/mysql_sp.h"
#include "mysqld_error.h"
#include "mysys_err.h"
#include "sql/derror.h"
#include "sql/error_handler.h"
#include "sql/sp.h"
#include "sql/sp_head.h"
#include "sql/sql_class.h"
#include "sql/sql_db.h"
#include "sql/sql_digest_stream.h"
#include "sql/sql_error.h"
#include "sql/sql_lex.h"
#include "sql/sql_parse.h"
#include "sql/sql_show.h"
#include "sql/strfunc.h"
#include "sql/system_variables.h"
#include "sql/trigger_creation_ctx.h"
#include "sql_string.h"
Classes | |
class | Deprecated_trigger_syntax_handler |
An error handler that catches all non-OOM errors which can occur during parsing of trigger body. More... | |
Functions | |
static bool | construct_definer_value (MEM_ROOT *mem_root, LEX_CSTRING *definer, const LEX_CSTRING &definer_user, const LEX_CSTRING &definer_host) |
Create a definer value from its user and host parts. More... | |
Variables | |
static const LEX_CSTRING | trg_action_time_type_names [] |
static const LEX_CSTRING | trg_event_type_names [] |
|
static |
Create a definer value from its user and host parts.
mem_root | mem-root where needed strings will be allocated | |
[out] | definer | pointer to LEX_CSTRING holder where to store a constructed value of definer |
definer_user | user part of a definer value | |
definer_host | host part of a definer value |
false | Success |
true | Failure |
|
static |
|
static |