MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
st_net Struct Reference
Collaboration diagram for st_net:

Public Attributes

Viovio
unsigned char * buff
unsigned char * buff_end
unsigned char * write_pos
unsigned char * read_pos
my_socket fd
unsigned long remain_in_buf
unsigned long length
unsigned long buf_length
unsigned long where_b
unsigned long max_packet
unsigned long max_packet_size
unsigned int pkt_nr
unsigned int compress_pkt_nr
unsigned int write_timeout
unsigned int read_timeout
unsigned int retry_count
int fcntl
unsigned int * return_status
unsigned char reading_or_writing
char save_char
my_bool unused1
my_bool unused2
my_bool compress
my_bool unused3
unsigned char * unused
unsigned int last_errno
unsigned char error
my_bool unused4
my_bool unused5
char last_error [MYSQL_ERRMSG_SIZE]
char sqlstate [SQLSTATE_LENGTH+1]
void * extension

Detailed Description

Definition at line 314 of file mysql_com.h.

Member Data Documentation

void* st_net::extension

Extension pointer, for the caller private use. Any program linking with the networking library can use this pointer, which is handy when private connection specific data needs to be maintained. The mysqld server process uses this pointer internally, to maintain the server internal instrumentation for the connection.

Definition at line 361 of file mysql_com.h.

char st_net::last_error[MYSQL_ERRMSG_SIZE]

Client library error message buffer. Actually belongs to struct MYSQL.

Definition at line 350 of file mysql_com.h.

char st_net::sqlstate[SQLSTATE_LENGTH+1]

Client library sqlstate buffer. Set along with the error message.

Definition at line 352 of file mysql_com.h.


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