MySQL 9.0.0
Source Code Documentation
Rewrite_result Struct Reference

The results of an attempt to rewrite a query parse tree. More...

#include <rule.h>

Public Member Functions

 Rewrite_result ()
 

Public Attributes

bool was_rewritten
 Means the query was successfully rewritten, and the new query is available in new_query. More...
 
bool digest_matched
 Means that at lest one matching digest was found in the hash table. More...
 
std::string new_query
 If was_rewritten is true, a new query, otherwise an empty string. More...
 

Detailed Description

The results of an attempt to rewrite a query parse tree.

Constructor & Destructor Documentation

◆ Rewrite_result()

Rewrite_result::Rewrite_result ( )
inline

Member Data Documentation

◆ digest_matched

bool Rewrite_result::digest_matched

Means that at lest one matching digest was found in the hash table.

◆ new_query

std::string Rewrite_result::new_query

If was_rewritten is true, a new query, otherwise an empty string.

◆ was_rewritten

bool Rewrite_result::was_rewritten

Means the query was successfully rewritten, and the new query is available in new_query.


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