MySQL 9.1.0
Source Code Documentation
Mysql_rewrite_pre_parse_param Struct Reference

Structure that is passed during each step of a rewriting. More...

#include <plugin_query_rewrite.h>

Public Attributes

int flags
 Indicate the status of the current rewrite. More...
 
MYSQL_THD thd
 The current session. More...
 
void * data
 Pointer left to the plugin to store any necessary info as needed. More...
 
const char * query
 The query potentially to be rewritten. More...
 
size_t query_length
 Length of query potentially to be rewritten. More...
 
const char * rewritten_query
 The rewritten query, if applicable. More...
 
size_t rewritten_query_length
 Length of the rewritten query, if applicable. More...
 

Detailed Description

Structure that is passed during each step of a rewriting.

Member Data Documentation

◆ data

void* Mysql_rewrite_pre_parse_param::data

Pointer left to the plugin to store any necessary info as needed.

◆ flags

int Mysql_rewrite_pre_parse_param::flags

Indicate the status of the current rewrite.

See also
FLAG_REWRITE_PLUGIN_QUERY_REWRITTEN
FLAG_REWRITE_PLUGIN_IS_PREPARED_STATEMENT

◆ query

const char* Mysql_rewrite_pre_parse_param::query

The query potentially to be rewritten.

◆ query_length

size_t Mysql_rewrite_pre_parse_param::query_length

Length of query potentially to be rewritten.

◆ rewritten_query

const char* Mysql_rewrite_pre_parse_param::rewritten_query

The rewritten query, if applicable.

◆ rewritten_query_length

size_t Mysql_rewrite_pre_parse_param::rewritten_query_length

Length of the rewritten query, if applicable.

◆ thd

MYSQL_THD Mysql_rewrite_pre_parse_param::thd

The current session.


The documentation for this struct was generated from the following file: