MySQL 9.1.0
Source Code Documentation
rewriter.cc File Reference

Implementation of the Rewriter class's member functions. More...

#include "plugin/rewriter/rewriter.h"
#include "my_config.h"
#include <mysql/service_parser.h>
#include <mysql/service_rules_table.h>
#include <stddef.h>
#include <memory>
#include <optional>
#include <string>
#include "m_string.h"
#include "my_dbug.h"
#include "mysql/components/services/bits/my_thread_bits.h"
#include "mysqld_error.h"
#include "plugin/rewriter/messages.h"
#include "plugin/rewriter/persisted_rule.h"
#include "plugin/rewriter/rule.h"
#include "sql/debug_sync.h"
#include "string_with_len.h"
#include "template_utils.h"

Classes

struct  anonymous_namespace{rewriter.cc}::Refresh_callback_args
 

Namespaces

namespace  anonymous_namespace{rewriter.cc}
 

Functions

std::string anonymous_namespace{rewriter.cc}::hash_key_from_digest (const uchar *digest)
 
static void do_debug_sync (MYSQL_THD thd)
 Normal debug sync points will not work in the THD that the plugin creates, so we have to call the debug sync functions ourselves. More...
 
void * anonymous_namespace{rewriter.cc}::refresh_callback (void *p_args)
 

Detailed Description

Implementation of the Rewriter class's member functions.

Function Documentation

◆ do_debug_sync()

static void do_debug_sync ( MYSQL_THD  thd)
static

Normal debug sync points will not work in the THD that the plugin creates, so we have to call the debug sync functions ourselves.