MySQL 9.1.0
Source Code Documentation
set_var_collation_client Class Reference

#include <set_var.h>

Inheritance diagram for set_var_collation_client:
[legend]

Public Types

enum  set_cs_flags_enum { SET_CS_NAMES = 1 , SET_CS_DEFAULT = 2 , SET_CS_COLLATE = 4 }
 

Public Member Functions

 set_var_collation_client (int set_cs_flags_arg, const CHARSET_INFO *client_coll_arg, const CHARSET_INFO *connection_coll_arg, const CHARSET_INFO *result_coll_arg)
 
int resolve (THD *) override
 Check privileges & fix_fields. More...
 
int check (THD *thd) override
 Evaluate the expression. More...
 
int update (THD *thd) override
 Set the value. More...
 
bool print (const THD *thd, String *str) override
 To self-print. More...
 
- Public Member Functions inherited from set_var_base
 set_var_base ()=default
 
virtual ~set_var_base ()=default
 
virtual bool is_var_optimizer_trace () const
 
virtual void cleanup ()
 
virtual int light_check (THD *thd)
 Used only by prepared statements to resolve and check. More...
 
virtual bool is_sensitive () const
 Used to identify if variable is sensitive or not. More...
 

Private Attributes

int set_cs_flags
 
const CHARSET_INFOcharacter_set_client
 
const CHARSET_INFOcharacter_set_results
 
const CHARSET_INFOcollation_connection
 

Member Enumeration Documentation

◆ set_cs_flags_enum

Enumerator
SET_CS_NAMES 
SET_CS_DEFAULT 
SET_CS_COLLATE 

Constructor & Destructor Documentation

◆ set_var_collation_client()

set_var_collation_client::set_var_collation_client ( int  set_cs_flags_arg,
const CHARSET_INFO client_coll_arg,
const CHARSET_INFO connection_coll_arg,
const CHARSET_INFO result_coll_arg 
)
inline

Member Function Documentation

◆ check()

int set_var_collation_client::check ( THD thd)
overridevirtual

Evaluate the expression.

Implements set_var_base.

◆ print()

bool set_var_collation_client::print ( const THD thd,
String str 
)
overridevirtual

To self-print.

Implements set_var_base.

◆ resolve()

int set_var_collation_client::resolve ( THD thd)
inlineoverridevirtual

Check privileges & fix_fields.

Implements set_var_base.

◆ update()

int set_var_collation_client::update ( THD thd)
overridevirtual

Set the value.

Implements set_var_base.

Member Data Documentation

◆ character_set_client

const CHARSET_INFO* set_var_collation_client::character_set_client
private

◆ character_set_results

const CHARSET_INFO* set_var_collation_client::character_set_results
private

◆ collation_connection

const CHARSET_INFO* set_var_collation_client::collation_connection
private

◆ set_cs_flags

int set_var_collation_client::set_cs_flags
private

The documentation for this class was generated from the following files: