26#ifndef SQL_CHANNEL_INFO_INCLUDED 
   27#define SQL_CHANNEL_INFO_INCLUDED 
Vio Vio
Definition: channel_info.h:35
 
This abstract base class represents connection channel information about a new connection.
Definition: channel_info.h:47
 
virtual THD * create_thd()
Instantiate and initialize THD object and vio.
Definition: channel_info.cc:40
 
virtual bool is_admin_connection() const
Definition: channel_info.h:90
 
ulonglong prior_thr_create_utime
Definition: channel_info.h:48
 
void set_prior_thr_create_utime()
Definition: channel_info.h:86
 
Channel_info()
Definition: channel_info.h:58
 
virtual void send_error_and_close_channel(uint errorcode, int error, bool senderror)
Send error back to the client and close the channel.
Definition: channel_info.cc:57
 
ulonglong get_prior_thr_create_utime() const
Definition: channel_info.h:82
 
virtual ~Channel_info()=default
 
virtual Vio * create_and_init_vio() const =0
Create and initialize a Vio object.
 
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
 
Some integer typedefs for easier portability.
 
unsigned long long int ulonglong
Definition: my_inttypes.h:56
 
Defines for getting and processing the current system type programmatically.
 
unsigned long long int my_micro_time()
Return time in microseconds.
Definition: my_systime.h:183
 
Definition: violite.h:320