Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

errmsg.h File Reference

Go to the source code of this file.

Defines

#define CR_MIN_ERROR   2000
#define CR_MAX_ERROR   2999
#define ER(X)   client_errors[(X)-CR_MIN_ERROR]
#define CLIENT_ERRMAP   2
#define CR_UNKNOWN_ERROR   2000
#define CR_SOCKET_CREATE_ERROR   2001
#define CR_CONNECTION_ERROR   2002
#define CR_CONN_HOST_ERROR   2003
#define CR_IPSOCK_ERROR   2004
#define CR_UNKNOWN_HOST   2005
#define CR_SERVER_GONE_ERROR   2006
#define CR_VERSION_ERROR   2007
#define CR_OUT_OF_MEMORY   2008
#define CR_WRONG_HOST_INFO   2009
#define CR_LOCALHOST_CONNECTION   2010
#define CR_TCP_CONNECTION   2011
#define CR_SERVER_HANDSHAKE_ERR   2012
#define CR_SERVER_LOST   2013
#define CR_COMMANDS_OUT_OF_SYNC   2014
#define CR_NAMEDPIPE_CONNECTION   2015
#define CR_NAMEDPIPEWAIT_ERROR   2016
#define CR_NAMEDPIPEOPEN_ERROR   2017
#define CR_NAMEDPIPESETSTATE_ERROR   2018
#define CR_CANT_READ_CHARSET   2019
#define CR_NET_PACKET_TOO_LARGE   2020
#define CR_EMBEDDED_CONNECTION   2021
#define CR_PROBE_SLAVE_STATUS   2022
#define CR_PROBE_SLAVE_HOSTS   2023
#define CR_PROBE_SLAVE_CONNECT   2024
#define CR_PROBE_MASTER_CONNECT   2025
#define CR_SSL_CONNECTION_ERROR   2026
#define CR_MALFORMED_PACKET   2027
#define CR_WRONG_LICENSE   2028
#define CR_NULL_POINTER   2029
#define CR_NO_PREPARE_STMT   2030
#define CR_PARAMS_NOT_BOUND   2031
#define CR_DATA_TRUNCATED   2032
#define CR_NO_PARAMETERS_EXISTS   2033
#define CR_INVALID_PARAMETER_NO   2034
#define CR_INVALID_BUFFER_USE   2035
#define CR_UNSUPPORTED_PARAM_TYPE   2036
#define CR_SHARED_MEMORY_CONNECTION   2037
#define CR_SHARED_MEMORY_CONNECT_REQUEST_ERROR   2038
#define CR_SHARED_MEMORY_CONNECT_ANSWER_ERROR   2039
#define CR_SHARED_MEMORY_CONNECT_FILE_MAP_ERROR   2040
#define CR_SHARED_MEMORY_CONNECT_MAP_ERROR   2041
#define CR_SHARED_MEMORY_FILE_MAP_ERROR   2042
#define CR_SHARED_MEMORY_MAP_ERROR   2043
#define CR_SHARED_MEMORY_EVENT_ERROR   2044
#define CR_SHARED_MEMORY_CONNECT_ABANDONED_ERROR   2045
#define CR_SHARED_MEMORY_CONNECT_SET_ERROR   2046
#define CR_CONN_UNKNOW_PROTOCOL   2047
#define CR_INVALID_CONN_HANDLE   2048
#define CR_SECURE_AUTH   2049
#define CR_FETCH_CANCELED   2050
#define CR_NO_DATA   2051
#define CR_NO_STMT_METADATA   2052

Functions

void init_client_errs (void)

Variables

const char * client_errors []


Define Documentation

#define CLIENT_ERRMAP   2
 

Definition at line 36 of file errmsg.h.

#define CR_CANT_READ_CHARSET   2019
 

Definition at line 57 of file errmsg.h.

#define CR_COMMANDS_OUT_OF_SYNC   2014
 

Definition at line 52 of file errmsg.h.

#define CR_CONN_HOST_ERROR   2003
 

Definition at line 41 of file errmsg.h.

#define CR_CONN_UNKNOW_PROTOCOL   2047
 

Definition at line 88 of file errmsg.h.

#define CR_CONNECTION_ERROR   2002
 

Definition at line 40 of file errmsg.h.

#define CR_DATA_TRUNCATED   2032
 

Definition at line 72 of file errmsg.h.

#define CR_EMBEDDED_CONNECTION   2021
 

Definition at line 59 of file errmsg.h.

#define CR_FETCH_CANCELED   2050
 

Definition at line 91 of file errmsg.h.

#define CR_INVALID_BUFFER_USE   2035
 

Definition at line 75 of file errmsg.h.

#define CR_INVALID_CONN_HANDLE   2048
 

Definition at line 89 of file errmsg.h.

#define CR_INVALID_PARAMETER_NO   2034
 

Definition at line 74 of file errmsg.h.

#define CR_IPSOCK_ERROR   2004
 

Definition at line 42 of file errmsg.h.

#define CR_LOCALHOST_CONNECTION   2010
 

Definition at line 48 of file errmsg.h.

#define CR_MALFORMED_PACKET   2027
 

Definition at line 65 of file errmsg.h.

#define CR_MAX_ERROR   2999
 

Definition at line 30 of file errmsg.h.

#define CR_MIN_ERROR   2000
 

Definition at line 29 of file errmsg.h.

#define CR_NAMEDPIPE_CONNECTION   2015
 

Definition at line 53 of file errmsg.h.

#define CR_NAMEDPIPEOPEN_ERROR   2017
 

Definition at line 55 of file errmsg.h.

#define CR_NAMEDPIPESETSTATE_ERROR   2018
 

Definition at line 56 of file errmsg.h.

#define CR_NAMEDPIPEWAIT_ERROR   2016
 

Definition at line 54 of file errmsg.h.

#define CR_NET_PACKET_TOO_LARGE   2020
 

Definition at line 58 of file errmsg.h.

#define CR_NO_DATA   2051
 

Definition at line 92 of file errmsg.h.

#define CR_NO_PARAMETERS_EXISTS   2033
 

Definition at line 73 of file errmsg.h.

#define CR_NO_PREPARE_STMT   2030
 

Definition at line 70 of file errmsg.h.

#define CR_NO_STMT_METADATA   2052
 

Definition at line 93 of file errmsg.h.

#define CR_NULL_POINTER   2029
 

Definition at line 69 of file errmsg.h.

#define CR_OUT_OF_MEMORY   2008
 

Definition at line 46 of file errmsg.h.

#define CR_PARAMS_NOT_BOUND   2031
 

Definition at line 71 of file errmsg.h.

#define CR_PROBE_MASTER_CONNECT   2025
 

Definition at line 63 of file errmsg.h.

#define CR_PROBE_SLAVE_CONNECT   2024
 

Definition at line 62 of file errmsg.h.

#define CR_PROBE_SLAVE_HOSTS   2023
 

Definition at line 61 of file errmsg.h.

#define CR_PROBE_SLAVE_STATUS   2022
 

Definition at line 60 of file errmsg.h.

#define CR_SECURE_AUTH   2049
 

Definition at line 90 of file errmsg.h.

#define CR_SERVER_GONE_ERROR   2006
 

Definition at line 44 of file errmsg.h.

#define CR_SERVER_HANDSHAKE_ERR   2012
 

Definition at line 50 of file errmsg.h.

#define CR_SERVER_LOST   2013
 

Definition at line 51 of file errmsg.h.

#define CR_SHARED_MEMORY_CONNECT_ABANDONED_ERROR   2045
 

Definition at line 86 of file errmsg.h.

#define CR_SHARED_MEMORY_CONNECT_ANSWER_ERROR   2039
 

Definition at line 80 of file errmsg.h.

#define CR_SHARED_MEMORY_CONNECT_FILE_MAP_ERROR   2040
 

Definition at line 81 of file errmsg.h.

#define CR_SHARED_MEMORY_CONNECT_MAP_ERROR   2041
 

Definition at line 82 of file errmsg.h.

#define CR_SHARED_MEMORY_CONNECT_REQUEST_ERROR   2038
 

Definition at line 79 of file errmsg.h.

#define CR_SHARED_MEMORY_CONNECT_SET_ERROR   2046
 

Definition at line 87 of file errmsg.h.

#define CR_SHARED_MEMORY_CONNECTION   2037
 

Definition at line 78 of file errmsg.h.

#define CR_SHARED_MEMORY_EVENT_ERROR   2044
 

Definition at line 85 of file errmsg.h.

#define CR_SHARED_MEMORY_FILE_MAP_ERROR   2042
 

Definition at line 83 of file errmsg.h.

#define CR_SHARED_MEMORY_MAP_ERROR   2043
 

Definition at line 84 of file errmsg.h.

#define CR_SOCKET_CREATE_ERROR   2001
 

Definition at line 39 of file errmsg.h.

#define CR_SSL_CONNECTION_ERROR   2026
 

Definition at line 64 of file errmsg.h.

#define CR_TCP_CONNECTION   2011
 

Definition at line 49 of file errmsg.h.

#define CR_UNKNOWN_ERROR   2000
 

Definition at line 38 of file errmsg.h.

#define CR_UNKNOWN_HOST   2005
 

Definition at line 43 of file errmsg.h.

#define CR_UNSUPPORTED_PARAM_TYPE   2036
 

Definition at line 76 of file errmsg.h.

#define CR_VERSION_ERROR   2007
 

Definition at line 45 of file errmsg.h.

#define CR_WRONG_HOST_INFO   2009
 

Definition at line 47 of file errmsg.h.

#define CR_WRONG_LICENSE   2028
 

Definition at line 66 of file errmsg.h.

#define ER  )     client_errors[(X)-CR_MIN_ERROR]
 

Definition at line 34 of file errmsg.h.


Function Documentation

void init_client_errs void   ) 
 


Variable Documentation

const char* client_errors[]
 


Generated on Sun May 14 14:51:28 2006 by  doxygen 1.4.2