src/odbc/odbcError.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  CSqlOdbcError
struct  ErrorDetails

Defines

#define NO_ERR   -0L
#define ERROR_GEN_WARN   -1L
#define ERROR_GENERAL   -2L
#define ERROR_OPTFEATURE_NOTIMP   -3L
#define ERROR_HOSTNAME   -4L
#define ERROR_PORTNO   -5L
#define ERROR_CONNREJCTD   -6L
#define ERROR_INVAUTHSPEC   -7L
#define ERROR_CONN_TIMEOUT_EXP   -8L
#define ERROR_DESTIP_REJ   -9L
#define ERROR_SRCIP_REJ   -10L
#define ERROR_CONNINUSE   -11L
#define ERROR_CONNOTOPEN   -12L
#define ERROR_NOTOPENED   -13L
#define ERROR_INVTRANSTATE   -14L
#define ERROR_TRANROLLBACK   -15L
#define ERROR_SCHNOTFOUND   -16L
#define ERROR_TBLNOTFOUND   -17L
#define ERROR_NO_COLEXISTS   -18L
#define ERROR_NO_IDXEXISTS   -19L
#define ERROR_TBLEXISTS   -20L
#define ERROR_COLEXISTS   -21L
#define ERROR_IDXEXISTS   -22L
#define ERROR_MANY_VALS   -23L
#define ERROR_FEW_VALS   -24L
#define ERROR_SQL_SYNTAX   -25L
#define ERROR_TYPE_INCMP   -26L
#define ERROR_DATA_FORMAT   -27L
#define ERROR_DUP_COL   -28L
#define ERROR_SQL_INT   -29L
#define ERROR_OVERFLOW   -30L
#define ERROR_UNDERFLOW   -31L
#define ERROR_MANY_TUP   -32L
#define ERROR_NUM_PROJ   -33L
#define ERROR_DATATRUNC   -34L
#define ERROR_BUFLEN   -35L
#define ERROR_COLNUM   -36L
#define ERROR_INVBUFTYPE   -37L
#define ERROR_INV_PARAMTYPE   -38L
#define ERROR_INVARGVAL   -39L
#define ERROR_CURNAME   -40L
#define ERROR_DUP_CURNAME   -41L
#define ERROR_NOCURNAME   -42L
#define ERROR_PARAMNUM   -43L
#define ERROR_MEM_MGMNT   -44L
#define ERROR_MEMALLOC   -45L
#define ERROR_OPTRANGE   -46L
#define ERROR_OPTCHANGE   -47L
#define ERROR_FUNCSEQ   -48L
#define ERROR_ATTR_CANNOT_SET   -49L
#define ERROR_INVCURSTATE   -50L
#define ERROR_NOT_PREPAREDSTMT   -51L
#define ERROR_STORAGE_ATTR   -53L
#define ERROR_FLDCNT_MISMATCH   -54L
#define ERROR_MATCHKEY_NOTFOUND   -55L
#define ERROR_ENDOFTABLE   -56L

Typedefs

typedef ErrorDetails ErrorInfo_t

Variables

CSqlOdbcError globalError
static ErrorInfo_t errorInfoTable_3x []
static ErrorInfo_t errorInfoTable_2x []


Define Documentation

#define ERROR_ATTR_CANNOT_SET   -49L

Definition at line 107 of file odbcError.h.

Referenced by CSqlOdbcEnv::chkStateForSQLSetEnvAttr().

#define ERROR_BUFLEN   -35L

Definition at line 88 of file odbcError.h.

Referenced by CSqlOdbcStmt::SQLBindCol(), CSqlOdbcStmt::SQLBindParameter(), CSqlOdbcDbc::SQLConnect(), CSqlOdbcStmt::SQLExecute(), and CSqlOdbcStmt::SQLPrepare().

#define ERROR_COLEXISTS   -21L

Definition at line 71 of file odbcError.h.

#define ERROR_COLNUM   -36L

Definition at line 89 of file odbcError.h.

Referenced by CSqlOdbcStmt::SQLBindCol(), CSqlOdbcStmt::SQLBindParameter(), CSqlOdbcStmt::SQLColAttribute(), and CSqlOdbcStmt::SQLDescribeCol().

#define ERROR_CONN_TIMEOUT_EXP   -8L

Definition at line 53 of file odbcError.h.

#define ERROR_CONNINUSE   -11L

Definition at line 56 of file odbcError.h.

Referenced by CSqlOdbcDbc::chkStateForSQLConnect(), and CSqlOdbcDbc::SQLConnect().

#define ERROR_CONNOTOPEN   -12L

Definition at line 57 of file odbcError.h.

Referenced by CSqlOdbcDbc::chkStateForSQLDisconnect(), and CSqlOdbcStmt::SQLAllocHandle().

#define ERROR_CONNREJCTD   -6L

Definition at line 51 of file odbcError.h.

Referenced by CSqlOdbcDbc::SQLConnect().

#define ERROR_CURNAME   -40L

Definition at line 94 of file odbcError.h.

Referenced by CSqlOdbcStmt::SQLSetCursorName().

#define ERROR_DATA_FORMAT   -27L

Definition at line 78 of file odbcError.h.

#define ERROR_DATATRUNC   -34L

Definition at line 87 of file odbcError.h.

Referenced by CSqlOdbcStmt::SQLColAttribute(), CSqlOdbcStmt::SQLDescribeCol(), CSqlOdbcStmt::SQLFetch(), and CSqlOdbcStmt::SQLGetCursorName().

#define ERROR_DESTIP_REJ   -9L

Definition at line 54 of file odbcError.h.

#define ERROR_DUP_COL   -28L

Definition at line 79 of file odbcError.h.

#define ERROR_DUP_CURNAME   -41L

Definition at line 95 of file odbcError.h.

Referenced by CSqlOdbcStmt::SQLSetCursorName().

#define ERROR_ENDOFTABLE   -56L

Definition at line 116 of file odbcError.h.

Referenced by CSqlOdbcError::printStr().

#define ERROR_FEW_VALS   -24L

Definition at line 75 of file odbcError.h.

#define ERROR_FLDCNT_MISMATCH   -54L

Definition at line 113 of file odbcError.h.

#define ERROR_FUNCSEQ   -48L

Definition at line 106 of file odbcError.h.

Referenced by CSqlOdbcStmt::chkStateForSQLBindCol(), CSqlOdbcStmt::chkStateForSQLBindParameter(), CSqlOdbcStmt::chkStateForSQLCloseCursor(), CSqlOdbcStmt::chkStateForSQLDescribeCol(), CSqlOdbcStmt::chkStateForSQLDescribeParam(), CSqlOdbcStmt::chkStateForSQLExecDirect(), CSqlOdbcStmt::chkStateForSQLExecute(), CSqlOdbcStmt::chkStateForSQLFetch(), CSqlOdbcStmt::chkStateForSQLFreeHandle(), CSqlOdbcDbc::chkStateForSQLFreeHandle(), CSqlOdbcEnv::chkStateForSQLFreeHandle(), CSqlOdbcStmt::chkStateForSQLFreeStmt(), CSqlOdbcStmt::chkStateForSQLGetCursorName(), CSqlOdbcStmt::chkStateForSQLNumParams(), CSqlOdbcStmt::chkStateForSQLNumResultCols(), CSqlOdbcStmt::chkStateForSQLPrepare(), CSqlOdbcStmt::chkStateForSQLRowCount(), CSqlOdbcDbc::chkStateForSQLSetConnectAttr(), CSqlOdbcStmt::chkStateForSQLSetCursorName(), CSqlOdbcDbc::SQLAllocHandle(), and CSqlOdbcEnv::SQLEndTran().

#define ERROR_GEN_WARN   -1L

Definition at line 44 of file odbcError.h.

#define ERROR_GENERAL   -2L

Definition at line 45 of file odbcError.h.

Referenced by CSqlOdbcStmt::SQLExecute(), and CSqlOdbcStmt::SQLPrepare().

#define ERROR_HOSTNAME   -4L

Definition at line 49 of file odbcError.h.

#define ERROR_IDXEXISTS   -22L

Definition at line 72 of file odbcError.h.

#define ERROR_INV_PARAMTYPE   -38L

Definition at line 91 of file odbcError.h.

Referenced by CSqlOdbcStmt::SQLBindParameter().

#define ERROR_INVARGVAL   -39L

Definition at line 92 of file odbcError.h.

Referenced by CSqlOdbcStmt::SQLSetCursorName().

#define ERROR_INVAUTHSPEC   -7L

Definition at line 52 of file odbcError.h.

#define ERROR_INVBUFTYPE   -37L

Definition at line 90 of file odbcError.h.

Referenced by CSqlOdbcStmt::SQLBindCol(), and CSqlOdbcStmt::SQLBindParameter().

#define ERROR_INVCURSTATE   -50L

Definition at line 108 of file odbcError.h.

Referenced by CSqlOdbcStmt::chkStateForSQLCloseCursor(), CSqlOdbcStmt::chkStateForSQLDescribeCol(), CSqlOdbcStmt::chkStateForSQLExecDirect(), CSqlOdbcStmt::chkStateForSQLExecute(), CSqlOdbcStmt::chkStateForSQLFetch(), CSqlOdbcStmt::chkStateForSQLNumParams(), CSqlOdbcStmt::chkStateForSQLPrepare(), and CSqlOdbcStmt::chkStateForSQLSetCursorName().

#define ERROR_INVTRANSTATE   -14L

Definition at line 61 of file odbcError.h.

Referenced by CSqlOdbcDbc::chkStateForSQLDisconnect(), and CSqlOdbcDbc::SQLConnect().

#define ERROR_MANY_TUP   -32L

Definition at line 84 of file odbcError.h.

#define ERROR_MANY_VALS   -23L

Definition at line 74 of file odbcError.h.

#define ERROR_MATCHKEY_NOTFOUND   -55L

Definition at line 114 of file odbcError.h.

#define ERROR_MEM_MGMNT   -44L

Definition at line 100 of file odbcError.h.

Referenced by isValidHandle().

#define ERROR_MEMALLOC   -45L

Definition at line 101 of file odbcError.h.

Referenced by CSqlOdbcStmt::SQLAllocHandle(), CSqlOdbcEnv::SQLAllocHandle(), and CSqlOdbcDbc::SQLAllocHandle().

#define ERROR_NO_COLEXISTS   -18L

Definition at line 67 of file odbcError.h.

#define ERROR_NO_IDXEXISTS   -19L

Definition at line 68 of file odbcError.h.

#define ERROR_NOCURNAME   -42L

Definition at line 96 of file odbcError.h.

Referenced by CSqlOdbcStmt::SQLGetCursorName().

#define ERROR_NOT_PREPAREDSTMT   -51L

Definition at line 109 of file odbcError.h.

Referenced by CSqlOdbcStmt::chkStateForSQLFetch().

#define ERROR_NOTOPENED   -13L

Definition at line 58 of file odbcError.h.

Referenced by CSqlOdbcDbc::chkStateForSQLEndTran().

#define ERROR_NUM_PROJ   -33L

Definition at line 85 of file odbcError.h.

#define ERROR_OPTCHANGE   -47L

Definition at line 105 of file odbcError.h.

Referenced by CSqlOdbcEnv::SQLSetEnvAttr().

#define ERROR_OPTFEATURE_NOTIMP   -3L

Definition at line 46 of file odbcError.h.

Referenced by CSqlOdbcEnv::SQLSetEnvAttr().

#define ERROR_OPTRANGE   -46L

Definition at line 104 of file odbcError.h.

Referenced by SQLAllocHandle(), CSqlOdbcDbc::SQLEndTran(), SQLEndTran(), SQLFreeHandle(), CSqlOdbcStmt::SQLFreeStmt(), CSqlOdbcDbc::SQLGetConnectAttr(), CSqlOdbcEnv::SQLGetEnvAttr(), CSqlOdbcDbc::SQLSetConnectAttr(), and CSqlOdbcEnv::SQLSetEnvAttr().

#define ERROR_OVERFLOW   -30L

Definition at line 82 of file odbcError.h.

#define ERROR_PARAMNUM   -43L

Definition at line 97 of file odbcError.h.

Referenced by CSqlOdbcStmt::SQLDescribeParam().

#define ERROR_PORTNO   -5L

Definition at line 50 of file odbcError.h.

#define ERROR_SCHNOTFOUND   -16L

Definition at line 65 of file odbcError.h.

#define ERROR_SQL_INT   -29L

Definition at line 81 of file odbcError.h.

#define ERROR_SQL_SYNTAX   -25L

Definition at line 76 of file odbcError.h.

#define ERROR_SRCIP_REJ   -10L

Definition at line 55 of file odbcError.h.

#define ERROR_STORAGE_ATTR   -53L

Definition at line 112 of file odbcError.h.

#define ERROR_TBLEXISTS   -20L

Definition at line 70 of file odbcError.h.

#define ERROR_TBLNOTFOUND   -17L

Definition at line 66 of file odbcError.h.

#define ERROR_TRANROLLBACK   -15L

Definition at line 62 of file odbcError.h.

#define ERROR_TYPE_INCMP   -26L

Definition at line 77 of file odbcError.h.

#define ERROR_UNDERFLOW   -31L

Definition at line 83 of file odbcError.h.

#define NO_ERR   -0L

Definition at line 43 of file odbcError.h.

Referenced by CSqlOdbcStmt::SQLBindCol(), CSqlOdbcStmt::SQLBindParameter(), CSqlOdbcStmt::SQLCloseCursor(), CSqlOdbcStmt::SQLColAttribute(), CSqlOdbcDbc::SQLConnect(), CSqlOdbcStmt::SQLDescribeCol(), CSqlOdbcStmt::SQLDescribeParam(), CSqlOdbcDbc::SQLDisconnect(), CSqlOdbcEnv::SQLEndTran(), CSqlOdbcDbc::SQLEndTran(), CSqlOdbcStmt::SQLExecute(), CSqlOdbcStmt::SQLFetch(), CSqlOdbcStmt::SQLFreeStmt(), CSqlOdbcDbc::SQLGetConnectAttr(), CSqlOdbcEnv::SQLGetEnvAttr(), CSqlOdbcStmt::SQLNumParams(), CSqlOdbcStmt::SQLNumResultCols(), CSqlOdbcStmt::SQLPrepare(), CSqlOdbcStmt::SQLRowCount(), CSqlOdbcDbc::SQLSetConnectAttr(), CSqlOdbcStmt::SQLSetCursorName(), and CSqlOdbcEnv::SQLSetEnvAttr().


Typedef Documentation

typedef struct ErrorDetails ErrorInfo_t


Variable Documentation

ErrorInfo_t errorInfoTable_2x[] [static]

Definition at line 231 of file odbcError.h.

Referenced by CSqlOdbcError::printStr(), and CSqlOdbcError::SQLGetDiagRec().

ErrorInfo_t errorInfoTable_3x[] [static]

Definition at line 118 of file odbcError.h.

Referenced by CSqlOdbcError::printStr(), and CSqlOdbcError::SQLGetDiagRec().

CSqlOdbcError globalError

Referenced by isValidHandle(), SQLAllocHandle(), CSqlOdbcDbc::SQLAllocHandle(), CSqlOdbcEnv::SQLAllocHandle(), CSqlOdbcStmt::SQLAllocHandle(), SQLEndTran(), and SQLFreeHandle().


Generated on Mon Jun 9 22:41:11 2008 for csql by  doxygen 1.4.7