MySQL 8.0.39
Source Code Documentation
|
Implementation part of the parser service layer. More...
#include "plugin/rewriter/services.h"
#include "my_config.h"
#include <stddef.h>
#include "template_utils.h"
Classes | |
class | services::Lex_str |
A very limited smart pointer to protect against stack unwinding in case an STL class throws an exception. More... | |
class | services::Array_ptr |
A very limited smart pointer to protect against stack unwinding in case an STL class throws an exception. More... | |
Namespaces | |
namespace | services |
Functions | |
string | services::print_digest (const unsigned char *digest) |
static int | services::handle (int sql_errno, const char *sqlstate, const char *message, void *state) |
Bridge function between the C++ API offered by this module and the C API of the parser service. More... | |
static MYSQL_LEX_STRING | services::make_lex_string (const string &str) |
Convenience function, to avoid sprinkling the code with const_casts. More... | |
void | services::set_current_database (MYSQL_THD thd, const string &db) |
bool | services::parse (MYSQL_THD thd, const string &query, bool is_prepared, Condition_handler *handler) |
bool | services::parse (MYSQL_THD thd, const string &query, bool is_prepared) |
bool | services::is_supported_statement (MYSQL_THD thd) |
int | services::get_number_params (MYSQL_THD thd) |
static int | services::process_item (MYSQL_ITEM item, uchar *arg) |
bool | services::visit_parse_tree (MYSQL_THD thd, Literal_visitor *visitor) |
string | services::print_item (MYSQL_ITEM item) |
Prints an Item as an std::string. More... | |
string | services::get_current_query_normalized (MYSQL_THD thd) |
std::vector< int > | services::get_parameter_positions (MYSQL_THD thd) |
Implementation part of the parser service layer.