MySQL  8.0.18
Source Code Documentation
set_var_collation_client Class Reference

#include <set_var.h>

Inheritance diagram for set_var_collation_client:
set_var_base

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 *)
 Check privileges & fix_fields. More...
 
int check (THD *thd)
 Evaluate the expression. More...
 
int update (THD *thd)
 Set the value. More...
 
void print (const THD *thd, String *str)
 To self-print. More...
 
- Public Member Functions inherited from set_var_base
 set_var_base ()
 
virtual ~set_var_base ()
 
virtual bool is_var_optimizer_trace () const
 
virtual int light_check (THD *thd)
 Used only by prepared statements to resolve and check. 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)
virtual

Evaluate the expression.

Implements set_var_base.

◆ print()

void set_var_collation_client::print ( const THD thd,
String str 
)
virtual

To self-print.

Implements set_var_base.

◆ resolve()

int set_var_collation_client::resolve ( THD thd)
inlinevirtual

Check privileges & fix_fields.

Implements set_var_base.

◆ update()

int set_var_collation_client::update ( THD thd)
virtual

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: