MySQL 8.0.39
Source Code Documentation
|
#include "sql/sql_query_rewrite.h"
#include <assert.h>
#include <stddef.h>
#include "lex_string.h"
#include "my_sqlcommand.h"
#include "mysql/plugin_audit.h"
#include "mysql/service_mysql_alloc.h"
#include "mysql/service_rules_table.h"
#include "mysql/service_ssl_wrapper.h"
#include "mysqld_error.h"
#include "sql/sql_audit.h"
#include "sql/sql_class.h"
#include "sql/sql_error.h"
#include "sql/sql_lex.h"
#include "sql/sql_parse.h"
Functions | |
static void | raise_query_rewritten_note (THD *thd, const char *original_query, const char *rewritten_query) |
void | invoke_pre_parse_rewrite_plugins (THD *thd) |
Calls the query rewrite plugins' respective rewrite functions before parsing the query. More... | |
bool | invoke_post_parse_rewrite_plugins (THD *thd, bool is_prepared) |
Calls query rewrite plugins after parsing the query. More... | |
bool invoke_post_parse_rewrite_plugins | ( | THD * | thd, |
bool | is_prepared | ||
) |
Calls query rewrite plugins after parsing the query.
[in] | thd | The session with the query to be rewritten. |
is_prepared | True if the query was a prepared statement. |
void invoke_pre_parse_rewrite_plugins | ( | THD * | thd | ) |
Calls the query rewrite plugins' respective rewrite functions before parsing the query.
[in] | thd | The session sending the query to be rewritten. |
|
static |