G:/ScriptBasic/source/extensions/mysql/errmsg.h

Go to the documentation of this file.
00001 /* Copyright Abandoned 1996 TCX DataKonsult AB & Monty Program KB & Detron HB
00002    This file is public domain and comes with NO WARRANTY of any kind */
00003 
00004 /* Error messages for mysql clients */
00005 /* error messages for the demon is in share/language/errmsg.sys */
00006 
00007 void    init_client_errs(void);
00008 extern char *client_errors[];           /* Error messages */
00009 
00010 #define CR_MIN_ERROR            2000    /* For easier client code */
00011 #define CR_MAX_ERROR            2999
00012 #define ER(X) client_errors[(X)-CR_MIN_ERROR]
00013 #define CLIENT_ERRMAP           2       /* Errormap used by my_error() */
00014 
00015 #define CR_UNKNOWN_ERROR        2000
00016 #define CR_SOCKET_CREATE_ERROR  2001
00017 #define CR_CONNECTION_ERROR     2002
00018 #define CR_CONN_HOST_ERROR      2003
00019 #define CR_IPSOCK_ERROR         2004
00020 #define CR_UNKNOWN_HOST         2005
00021 #define CR_SERVER_GONE_ERROR    2006
00022 #define CR_VERSION_ERROR        2007
00023 #define CR_OUT_OF_MEMORY        2008
00024 #define CR_WRONG_HOST_INFO      2009
00025 #define CR_LOCALHOST_CONNECTION 2010
00026 #define CR_TCP_CONNECTION       2011
00027 #define CR_SERVER_HANDSHAKE_ERR 2012
00028 #define CR_SERVER_LOST          2013
00029 #define CR_COMMANDS_OUT_OF_SYNC 2014

Generated on Sun Mar 12 23:56:30 2006 for ScriptBasic by  doxygen 1.4.6-NO