Annotation of parser3/src/sql/mysql/mySQL32/include/errmsg.h, revision 1.1

1.1     ! paf         1: /* Copyright Abandoned 1996 TCX DataKonsult AB & Monty Program KB & Detron HB
        !             2:    This file is public domain and comes with NO WARRANTY of any kind */
        !             3: 
        !             4: /* Error messages for mysql clients */
        !             5: /* error messages for the demon is in share/language/errmsg.sys */
        !             6: 
        !             7: void   init_client_errs(void);
        !             8: extern const char *client_errors[];    /* Error messages */
        !             9: 
        !            10: #define CR_MIN_ERROR           2000    /* For easier client code */
        !            11: #define CR_MAX_ERROR           2999
        !            12: #define ER(X) client_errors[(X)-CR_MIN_ERROR]
        !            13: #define CLIENT_ERRMAP          2       /* Errormap used by my_error() */
        !            14: 
        !            15: #define CR_UNKNOWN_ERROR       2000
        !            16: #define CR_SOCKET_CREATE_ERROR 2001
        !            17: #define CR_CONNECTION_ERROR    2002
        !            18: #define CR_CONN_HOST_ERROR     2003
        !            19: #define CR_IPSOCK_ERROR                2004
        !            20: #define CR_UNKNOWN_HOST                2005
        !            21: #define CR_SERVER_GONE_ERROR   2006
        !            22: #define CR_VERSION_ERROR       2007
        !            23: #define CR_OUT_OF_MEMORY       2008
        !            24: #define CR_WRONG_HOST_INFO     2009
        !            25: #define CR_LOCALHOST_CONNECTION 2010
        !            26: #define CR_TCP_CONNECTION      2011
        !            27: #define CR_SERVER_HANDSHAKE_ERR 2012
        !            28: #define CR_SERVER_LOST         2013
        !            29: #define CR_COMMANDS_OUT_OF_SYNC 2014
        !            30: #define CR_NAMEDPIPE_CONNECTION 2015
        !            31: #define CR_NAMEDPIPEWAIT_ERROR 2016
        !            32: #define CR_NAMEDPIPEOPEN_ERROR 2017
        !            33: #define CR_NAMEDPIPESETSTATE_ERROR 2018

E-mail: