![]()  | 
  
    MySQL 8.0.44
    
   Source Code Documentation 
   | 
 
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... | |
Structure that is passed during each step of a rewriting.
| void* Mysql_rewrite_pre_parse_param::data | 
Pointer left to the plugin to store any necessary info as needed.
| int Mysql_rewrite_pre_parse_param::flags | 
Indicate the status of the current rewrite.
| const char* Mysql_rewrite_pre_parse_param::query | 
The query potentially to be rewritten.
| size_t Mysql_rewrite_pre_parse_param::query_length | 
Length of query potentially to be rewritten.
| const char* Mysql_rewrite_pre_parse_param::rewritten_query | 
The rewritten query, if applicable.
| size_t Mysql_rewrite_pre_parse_param::rewritten_query_length | 
Length of the rewritten query, if applicable.
| MYSQL_THD Mysql_rewrite_pre_parse_param::thd | 
The current session.