MySQL 9.2.0
Source Code Documentation
routing_guidelines::Sql_info Struct Reference

Information about query details. More...

#include <routing_guidelines.h>

Public Attributes

std::string default_schema
 schema currently active for the session More...
 
bool is_read {true}
 statement (or transaction) is a RO statement More...
 
bool is_update {false}
 statement (or transaction) is an update More...
 
bool is_ddl {false}
 statement is a DDL operation More...
 
std::map< std::string, std::string, std::less<> > query_tags
 query specific tags specified as a comment in the SQL statement ( e.g. More...
 
std::map< std::string, std::string, std::less<> > query_hints
 query specific hints specified at the protocol level (see WL#12542) More...
 

Detailed Description

Information about query details.

Member Data Documentation

◆ default_schema

std::string routing_guidelines::Sql_info::default_schema

schema currently active for the session

◆ is_ddl

bool routing_guidelines::Sql_info::is_ddl {false}

statement is a DDL operation

◆ is_read

bool routing_guidelines::Sql_info::is_read {true}

statement (or transaction) is a RO statement

◆ is_update

bool routing_guidelines::Sql_info::is_update {false}

statement (or transaction) is an update

◆ query_hints

std::map<std::string, std::string, std::less<> > routing_guidelines::Sql_info::query_hints

query specific hints specified at the protocol level (see WL#12542)

◆ query_tags

std::map<std::string, std::string, std::less<> > routing_guidelines::Sql_info::query_tags

query specific tags specified as a comment in the SQL statement ( e.g.

: /*-> tag1=value2,tag2=value2 *‍/ )


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