/* * $Id: 22-Sep-10 9:27:26 PM dolerr.ch Z dgarciagil $ */ /* * TDOLPHIN PROJECT source code: * Manager MySql server connection * * Copyright 2010 Daniel Garcia-Gil * www - http://tdolphin.blogspot.com/ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this software. If not, write to * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). * * As a special exception, the tdolphin Project gives permission for * additional uses of the text contained in its release of tdolphin. * * The exception is that, if you link the tdolphin libraries with other * files to produce an executable, this does not by itself cause the * resulting executable to be covered by the GNU General Public License. * Your use of that executable is in no way restricted on account of * linking the tdolphin library code into it. * * This exception does not however invalidate any other reasons why * the executable file might be covered by the GNU General Public License. * * This exception applies only to the code released by the tdolphin * Project under the name tdolphin. If you copy code from other * tdolphin Project or Free Software Foundation releases into a copy of * tdolphin, as the General Public License permits, the exception does * not apply to the code that you add in this way. To avoid misleading * anyone as to the status of such modified files, you must delete * this exception notice from them. * * If you write modifications of your own for tdolphin, it is your choice * whether to permit this exception to apply to your modifications. * If you do not wish that, delete this exception notice. * */ // dolerr.ch // internal error //from server #define ERR_EMPTYDBNAME 9000 #define ERR_INVALID_STRUCT_ROW_SIZE 9001 #define ERR_INVALID_STRUCT_NOTNULL_VALUE 9002 #define ERR_INVALID_STRUCT_PRIKEY 9003 #define ERR_INVALID_STRUCT_UNIQUE 9004 #define ERR_INVALID_STRUCT_AUTO 9005 #define ERR_NOQUERY 9006 #define ERR_EMPTYVALUES 9007 #define ERR_EMPTYTABLE 9008 #define ERR_NOMATCHCOLUMNSVALUES 9009 #define ERR_INVALIDCOLUMN 9010 #define ERR_INVALIDFIELDNUM 9011 #define ERR_INVALIDFIELDNAME 9012 #define ERR_INVALIDFIELDGET 9013 #define ERR_FAILEDGETROW 9014 #define ERR_INVALIDGETBLANKROW 9015 #define ERR_INVALIDSAVE 9016 #define ERR_NOTHINGTOSAVE 9017 #define ERR_NODATABASESELECTED 9018 #define ERR_MISSINGQRYOBJECT 9019 #define ERR_INVALIDBACKUPFILE 9020 #define ERR_NOTABLESSELECTED 9021 #define ERR_INVALIDDELETE 9022 #define ERR_DELETING 9023 #define ERR_INVALIDQUERYARRAY 9024 #define ERR_MULTIQUERYFAULIRE 9025 #define ERR_INVALIDFIELDTYPE 9026 #define ERR_INVALIDFILENAME 9027 #define ERR_NOEXCELINSTALED 9028 #define ERR_EXPORTTOEXCEL 9029 #define ERR_INVALIDHTMLEXT 9030 #define ERR_NOWORDINSTALED 9031 #define ERR_EXPORTTOWORD 9032 #define ERR_INVALIDTABLES_EXPORTTOSQL 9033 #define ERR_INVALIDFILE_EXPORTTOSQL 9034 #define ERR_NODEFINDEDHOST 9035 #define ERR_INVALIDHOSTSELECTION 9036 #define ERR_CANNOTCREATEBKFILE 9037 #define ERR_OPENBACKUPFILE 9038 #define ERR_INSUFFICIENT_MEMORY 9039 #define ERR_TABLENOEXIST 9040 #define ERR_EMPTYALIAS 9041 #define ERR_NOMATCHCOLUMNSALIAS 9042 #define ERR_INVALID_PARAMETER_CALL 9045 //MySql Errort #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 /* new 4.1 error codes */ #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 #define CR_NO_RESULT_SET 2053 #define CR_NOT_IMPLEMENTED 2054 #define CR_SERVER_LOST_EXTENDED 2055 #define CR_STMT_CLOSED 2056 #define CR_NEW_STMT_METADATA 2057 #define CR_ALREADY_CONNECTED 2058