#include "sqltypes.h"
Include dependency graph for sql.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
#define SQL_ATTR_OUTPUT_NTS 10001 |
Definition at line 68 of file sql.h.
Referenced by CSqlOdbcEnv::SQLGetEnvAttr(), and CSqlOdbcEnv::SQLSetEnvAttr().
#define SQL_CHAR 1 |
Definition at line 163 of file sql.h.
Referenced by AllDataType::convertFromSQLType(), AllDataType::convertToSQLType(), getSQLType(), getSQLTypeName(), isValidSQLType(), CSqlOdbcStmt::SQLColAttribute(), CSqlOdbcStmt::SQLDescribeCol(), and CSqlOdbcStmt::SQLDescribeParam().
#define SQL_CLOSE 0 |
Definition at line 249 of file sql.h.
Referenced by CSqlOdbcStmt::resetStmt(), CSqlOdbcDbc::SQLEndTran(), and CSqlOdbcStmt::SQLFreeStmt().
#define SQL_COMMIT 0 |
Definition at line 267 of file sql.h.
Referenced by SqlOdbcConnection::commit(), CSqlOdbcDbc::SQLEndTran(), CSqlOdbcStmt::SQLExecute(), and CSqlOdbcDbc::SQLSetConnectAttr().
#define SQL_DECIMAL 3 |
#define SQL_DEFAULT_TXN_ISOLATION 26 |
Definition at line 411 of file sql.h.
Referenced by CSqlOdbcDbc::SQLGetConnectAttr(), and CSqlOdbcDbc::SQLSetConnectAttr().
#define SQL_DESC_COUNT 1001 |
#define SQL_DESC_LENGTH 1003 |
#define SQL_DESC_NAME 1011 |
#define SQL_DESC_NULLABLE 1008 |
#define SQL_DESC_PRECISION 1005 |
#define SQL_DESC_SCALE 1006 |
#define SQL_DESC_TYPE 1002 |
#define SQL_DOUBLE 8 |
Definition at line 170 of file sql.h.
Referenced by AllDataType::convertFromSQLType(), AllDataType::convertToSQLType(), getSQLType(), getSQLTypeName(), and isValidSQLType().
#define SQL_DROP 1 |
#define SQL_ERROR (-1) |
Definition at line 36 of file sql.h.
Referenced by CSqlOdbcStmt::chkStateForSQLBindCol(), CSqlOdbcStmt::chkStateForSQLBindParameter(), CSqlOdbcStmt::chkStateForSQLCloseCursor(), CSqlOdbcDbc::chkStateForSQLConnect(), CSqlOdbcStmt::chkStateForSQLDescribeCol(), CSqlOdbcStmt::chkStateForSQLDescribeParam(), CSqlOdbcDbc::chkStateForSQLDisconnect(), CSqlOdbcDbc::chkStateForSQLEndTran(), 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(), CSqlOdbcEnv::chkStateForSQLSetEnvAttr(), CSqlOdbcDescList::delDesc(), CSqlOdbcDescList::getDescWithColNum(), getSQLType(), isValidCType(), isValidSQLType(), CSqlOdbcError::printStr(), CSqlOdbcStmt::SQLAllocHandle(), CSqlOdbcEnv::SQLAllocHandle(), CSqlOdbcDbc::SQLAllocHandle(), SQLAllocHandle(), CSqlOdbcStmt::SQLBindCol(), CSqlOdbcStmt::SQLBindParameter(), CSqlOdbcStmt::SQLCloseCursor(), CSqlOdbcStmt::SQLColAttribute(), CSqlOdbcDbc::SQLConnect(), CSqlOdbcStmt::SQLDescribeCol(), CSqlOdbcStmt::SQLDescribeParam(), CSqlOdbcDbc::SQLDisconnect(), CSqlOdbcEnv::SQLEndTran(), CSqlOdbcDbc::SQLEndTran(), SQLEndTran(), CSqlOdbcStmt::SQLExecDirect(), CSqlOdbcStmt::SQLExecute(), CSqlOdbcStmt::SQLFetch(), CSqlOdbcStmt::SQLFreeHandle(), CSqlOdbcEnv::SQLFreeHandle(), CSqlOdbcDbc::SQLFreeHandle(), SQLFreeHandle(), CSqlOdbcStmt::SQLFreeStmt(), CSqlOdbcDbc::SQLGetConnectAttr(), CSqlOdbcStmt::SQLGetCursorName(), CSqlOdbcError::SQLGetDiagRec(), SQLGetDiagRec(), CSqlOdbcEnv::SQLGetEnvAttr(), CSqlOdbcStmt::SQLNumParams(), CSqlOdbcStmt::SQLNumResultCols(), CSqlOdbcStmt::SQLPrepare(), CSqlOdbcStmt::SQLRowCount(), CSqlOdbcDbc::SQLSetConnectAttr(), CSqlOdbcStmt::SQLSetCursorName(), and CSqlOdbcEnv::SQLSetEnvAttr().
#define SQL_FALSE 0 |
#define SQL_FLOAT 6 |
Definition at line 168 of file sql.h.
Referenced by AllDataType::convertFromSQLType(), getSQLType(), getSQLTypeName(), and isValidSQLType().
#define SQL_HANDLE_DBC 2 |
Definition at line 61 of file sql.h.
Referenced by SqlOdbcConnection::connect(), SqlOdbcConnection::disconnect(), isValidHandle(), CacheTableLoader::load(), CSqlOdbcStmt::SQLAllocHandle(), SQLAllocHandle(), SQLConnect(), SQLDisconnect(), SQLDriverConnect(), SQLEndTran(), SQLError(), CSqlOdbcDbc::SQLFreeHandle(), SQLFreeHandle(), SQLGetConnectAttr(), CSqlOdbcError::SQLGetDiagRec(), SQLSetConnectAttr(), and SQLTransact().
#define SQL_HANDLE_ENV 1 |
Definition at line 60 of file sql.h.
Referenced by SqlOdbcConnection::connect(), SqlOdbcConnection::disconnect(), isValidHandle(), CacheTableLoader::load(), CSqlOdbcDbc::SQLAllocHandle(), SQLAllocHandle(), SQLEndTran(), SQLError(), CSqlOdbcEnv::SQLFreeHandle(), SQLFreeHandle(), CSqlOdbcError::SQLGetDiagRec(), SQLGetEnvAttr(), SQLSetEnvAttr(), and SQLTransact().
#define SQL_HANDLE_STMT 3 |
Definition at line 62 of file sql.h.
Referenced by SqlOdbcStatement::free(), SqlOdbcStatement::getPrimaryKeyFieldName(), isValidHandle(), CacheTableLoader::load(), SqlOdbcStatement::prepare(), SQLAllocHandle(), SQLBindCol(), SQLBindParameter(), SQLCloseCursor(), SQLColAttribute(), SQLColAttributes(), SQLDescribeCol(), SQLDescribeParam(), SQLError(), SQLExecDirect(), SQLExecute(), SQLFetch(), CSqlOdbcStmt::SQLFreeHandle(), SQLFreeHandle(), SQLFreeStmt(), SQLGetCursorName(), CSqlOdbcError::SQLGetDiagRec(), SQLNumParams(), SQLNumResultCols(), SQLPrepare(), SQLRowCount(), and SQLSetCursorName().
#define SQL_INDEX_ALL 1 |
#define SQL_INTEGER 4 |
Definition at line 166 of file sql.h.
Referenced by AllDataType::convertFromSQLType(), AllDataType::convertToSQL_C_Type(), AllDataType::convertToSQLType(), getSQLType(), getSQLTypeName(), and isValidSQLType().
#define SQL_INVALID_HANDLE (-2) |
Definition at line 37 of file sql.h.
Referenced by isValidHandle(), CSqlOdbcStmt::SQLAllocHandle(), CSqlOdbcDbc::SQLAllocHandle(), SQLBindCol(), SQLBindParameter(), SQLCloseCursor(), SQLColAttribute(), SQLColAttributes(), SQLConnect(), SQLDescribeCol(), SQLDescribeParam(), SQLDisconnect(), SQLDriverConnect(), SQLEndTran(), SQLError(), SQLExecDirect(), SQLExecute(), SQLFetch(), CSqlOdbcStmt::SQLFreeHandle(), CSqlOdbcEnv::SQLFreeHandle(), CSqlOdbcDbc::SQLFreeHandle(), SQLFreeStmt(), SQLGetConnectAttr(), SQLGetCursorName(), SQLGetEnvAttr(), SQLNumParams(), SQLNumResultCols(), SQLPrepare(), SQLRowCount(), SQLSetConnectAttr(), SQLSetCursorName(), SQLSetEnvAttr(), and SQLTransact().
#define SQL_MAX_CURSOR_NAME_LEN 31 |
#define SQL_MAXIMUM_CATALOG_NAME_LENGTH SQL_MAX_CATALOG_NAME_LEN |
#define SQL_MAXIMUM_COLUMN_NAME_LENGTH SQL_MAX_COLUMN_NAME_LEN |
#define SQL_MAXIMUM_COLUMNS_IN_GROUP_BY SQL_MAX_COLUMNS_IN_GROUP_BY |
#define SQL_MAXIMUM_COLUMNS_IN_ORDER_BY SQL_MAX_COLUMNS_IN_ORDER_BY |
#define SQL_MAXIMUM_COLUMNS_IN_SELECT SQL_MAX_COLUMNS_IN_SELECT |
#define SQL_MAXIMUM_CONCURRENT_ACTIVITIES SQL_MAX_CONCURRENT_ACTIVITIES |
#define SQL_MAXIMUM_CURSOR_NAME_LENGTH SQL_MAX_CURSOR_NAME_LEN |
#define SQL_MAXIMUM_DRIVER_CONNECTIONS SQL_MAX_DRIVER_CONNECTIONS |
#define SQL_MAXIMUM_SCHEMA_NAME_LENGTH SQL_MAX_SCHEMA_NAME_LEN |
#define SQL_NTS (-3) |
Definition at line 45 of file sql.h.
Referenced by SqlOdbcConnection::connect(), SqlOdbcStatement::getPrimaryKeyFieldName(), CacheTableLoader::load(), SqlOdbcStatement::prepare(), CSqlOdbcStmt::SQLBindCol(), CSqlOdbcStmt::SQLBindParameter(), CSqlOdbcDbc::SQLConnect(), CSqlOdbcStmt::SQLPrepare(), and CSqlOdbcStmt::SQLSetCursorName().
#define SQL_NULL_DATA (-1) |
Definition at line 29 of file sql.h.
Referenced by CSqlOdbcStmt::SQLExecute(), and CSqlOdbcStmt::SQLFetch().
#define SQL_NULL_HANDLE 0L |
Definition at line 281 of file sql.h.
Referenced by SqlOdbcConnection::connect(), CacheTableLoader::load(), SQLAllocEnv(), and CSqlOdbcEnv::SQLAllocHandle().
#define SQL_NULL_HENV 0 |
#define SQL_NUMERIC 2 |
Definition at line 164 of file sql.h.
Referenced by getSQLType(), getSQLTypeName(), and isValidSQLType().
#define SQL_PRED_BASIC 2 |
#define SQL_REAL 7 |
Definition at line 169 of file sql.h.
Referenced by AllDataType::convertFromSQLType(), AllDataType::convertToSQLType(), getSQLTypeName(), and isValidSQLType().
#define SQL_RESET_PARAMS 3 |
Definition at line 252 of file sql.h.
Referenced by CSqlOdbcStmt::resetStmt(), and CSqlOdbcStmt::SQLFreeStmt().
#define SQL_ROLLBACK 1 |
Definition at line 268 of file sql.h.
Referenced by SqlOdbcConnection::beginTrans(), SqlOdbcConnection::rollback(), and CSqlOdbcDbc::SQLEndTran().
#define SQL_SMALLINT 5 |
Definition at line 167 of file sql.h.
Referenced by AllDataType::convertFromSQLType(), AllDataType::convertToSQLType(), getSQLType(), getSQLTypeName(), and isValidSQLType().
#define SQL_SUCCEEDED | ( | rc | ) | (((rc)&(~1))==0) |
Definition at line 40 of file sql.h.
Referenced by SqlOdbcConnection::beginTrans(), SqlOdbcConnection::commit(), SqlOdbcConnection::connect(), CacheTableLoader::load(), and SqlOdbcConnection::rollback().
#define SQL_SUCCESS 0 |
Definition at line 31 of file sql.h.
Referenced by CSqlOdbcStmt::chkStateForSQLBindCol(), CSqlOdbcStmt::chkStateForSQLBindParameter(), CSqlOdbcStmt::chkStateForSQLCloseCursor(), CSqlOdbcDbc::chkStateForSQLConnect(), CSqlOdbcStmt::chkStateForSQLDescribeCol(), CSqlOdbcStmt::chkStateForSQLDescribeParam(), CSqlOdbcDbc::chkStateForSQLDisconnect(), CSqlOdbcDbc::chkStateForSQLEndTran(), 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(), CSqlOdbcEnv::chkStateForSQLSetEnvAttr(), SqlOdbcConnection::connect(), CSqlOdbcDescList::delDesc(), CSqlOdbcDescList::getDescWithColNum(), isValidCType(), isValidHandle(), isValidSQLType(), CacheTableLoader::load(), CSqlOdbcError::printStr(), CSqlOdbcStmt::SQLAllocHandle(), CSqlOdbcEnv::SQLAllocHandle(), CSqlOdbcDbc::SQLAllocHandle(), CSqlOdbcStmt::SQLBindCol(), SQLBindCol(), CSqlOdbcStmt::SQLBindParameter(), SQLBindParameter(), CSqlOdbcStmt::SQLCloseCursor(), SQLCloseCursor(), CSqlOdbcStmt::SQLColAttribute(), SQLColAttribute(), SQLColAttributes(), CSqlOdbcDbc::SQLConnect(), SQLConnect(), CSqlOdbcStmt::SQLDescribeCol(), SQLDescribeCol(), CSqlOdbcStmt::SQLDescribeParam(), SQLDescribeParam(), CSqlOdbcDbc::SQLDisconnect(), SQLDisconnect(), SQLDriverConnect(), CSqlOdbcEnv::SQLEndTran(), CSqlOdbcDbc::SQLEndTran(), SQLEndTran(), SQLError(), CSqlOdbcStmt::SQLExecDirect(), SQLExecDirect(), CSqlOdbcStmt::SQLExecute(), SQLExecute(), CSqlOdbcStmt::SQLFetch(), SQLFetch(), CSqlOdbcStmt::SQLFreeHandle(), CSqlOdbcEnv::SQLFreeHandle(), CSqlOdbcDbc::SQLFreeHandle(), CSqlOdbcStmt::SQLFreeStmt(), SQLFreeStmt(), CSqlOdbcDbc::SQLGetConnectAttr(), SQLGetConnectAttr(), CSqlOdbcStmt::SQLGetCursorName(), SQLGetCursorName(), CSqlOdbcError::SQLGetDiagRec(), SQLGetDiagRec(), CSqlOdbcEnv::SQLGetEnvAttr(), SQLGetEnvAttr(), CSqlOdbcStmt::SQLNumParams(), SQLNumParams(), CSqlOdbcStmt::SQLNumResultCols(), SQLNumResultCols(), CSqlOdbcStmt::SQLPrepare(), SQLPrepare(), CSqlOdbcStmt::SQLRowCount(), SQLRowCount(), CSqlOdbcDbc::SQLSetConnectAttr(), SQLSetConnectAttr(), CSqlOdbcStmt::SQLSetCursorName(), SQLSetCursorName(), CSqlOdbcEnv::SQLSetEnvAttr(), SQLSetEnvAttr(), CSqlOdbcStmt::SQLSetStmtAttr(), and SQLTransact().
#define SQL_SUCCESS_WITH_INFO 1 |
Definition at line 32 of file sql.h.
Referenced by CSqlOdbcStmt::SQLColAttribute(), CSqlOdbcStmt::SQLDescribeCol(), CSqlOdbcStmt::SQLFetch(), and CSqlOdbcStmt::SQLGetCursorName().
#define SQL_TRANSACTION_ISOLATION_OPTION SQL_TXN_ISOLATION_OPTION |
#define SQL_TRANSACTION_READ_UNCOMMITTED SQL_TXN_READ_UNCOMMITTED |
#define SQL_TRANSACTION_REPEATABLE_READ SQL_TXN_REPEATABLE_READ |
#define SQL_TRUE 1 |
Definition at line 215 of file sql.h.
Referenced by CSqlOdbcStmt::SQLColAttribute(), CSqlOdbcEnv::SQLGetEnvAttr(), and CSqlOdbcEnv::SQLSetEnvAttr().
#define SQL_TXN_READ_COMMITTED 0x00000002L |
Definition at line 558 of file sql.h.
Referenced by SqlOdbcConnection::beginTrans(), CSqlOdbcDbc::SQLGetConnectAttr(), and CSqlOdbcDbc::SQLSetConnectAttr().
#define SQL_TXN_READ_UNCOMMITTED 0x00000001L |
Definition at line 556 of file sql.h.
Referenced by SqlOdbcConnection::beginTrans(), CSqlOdbcDbc::SQLGetConnectAttr(), and CSqlOdbcDbc::SQLSetConnectAttr().
#define SQL_TXN_REPEATABLE_READ 0x00000004L |
Definition at line 560 of file sql.h.
Referenced by SqlOdbcConnection::beginTrans(), CSqlOdbcDbc::SQLGetConnectAttr(), and CSqlOdbcDbc::SQLSetConnectAttr().
#define SQL_TYPE_DATE 91 |
Definition at line 178 of file sql.h.
Referenced by AllDataType::convertFromSQLType(), AllDataType::convertToSQLType(), getSQLTypeName(), and isValidSQLType().
#define SQL_TYPE_TIME 92 |
Definition at line 179 of file sql.h.
Referenced by AllDataType::convertFromSQLType(), AllDataType::convertToSQLType(), getSQLTypeName(), and isValidSQLType().
#define SQL_TYPE_TIMESTAMP 93 |
Definition at line 180 of file sql.h.
Referenced by AllDataType::convertFromSQLType(), AllDataType::convertToSQLType(), getSQLTypeName(), and isValidSQLType().
#define SQL_UNBIND 2 |
Definition at line 251 of file sql.h.
Referenced by CSqlOdbcStmt::resetStmt(), and CSqlOdbcStmt::SQLFreeStmt().
#define SQL_VARCHAR 12 |
Definition at line 174 of file sql.h.
Referenced by AllDataType::convertFromSQLType(), getSQLTypeName(), isValidSQLType(), and CSqlOdbcStmt::SQLColAttribute().
Definition at line 26 of file odbcDbc.cxx.
References CSqlOdbcDbc::SQLAllocHandle().
00029 { 00030 return( CSqlOdbcDbc::SQLAllocHandle( EnvironmentHandle, ConnectionHandle ) ); 00031 }
Here is the call graph for this function:
Definition at line 23 of file odbcEnv.cxx.
References SQL_NULL_HANDLE, and CSqlOdbcEnv::SQLAllocHandle().
00025 { 00026 return( CSqlOdbcEnv::SQLAllocHandle( (SQLHANDLE) SQL_NULL_HANDLE, EnvironmentHandle ) ); 00027 }
Here is the call graph for this function:
SQLRETURN SQL_API SQLAllocHandle | ( | SQLSMALLINT | HandleType, | |
SQLHANDLE | InputHandle, | |||
SQLHANDLE * | OutputHandle | |||
) |
Definition at line 3 of file odbcCommon.cxx.
References ERROR_OPTRANGE, globalError, CSqlOdbcError::printStr(), CSqlOdbcError::set(), SQL_ERROR, SQL_HANDLE_DBC, SQL_HANDLE_ENV, SQL_HANDLE_STMT, SQL_OV_ODBC3, CSqlOdbcEnv::SQLAllocHandle(), CSqlOdbcDbc::SQLAllocHandle(), and CSqlOdbcStmt::SQLAllocHandle().
Referenced by SqlOdbcConnection::connect(), SqlOdbcStatement::getPrimaryKeyFieldName(), CacheTableLoader::load(), and SqlOdbcStatement::prepare().
00006 { 00007 switch( hdlType ) 00008 { 00009 case SQL_HANDLE_ENV: 00010 return CSqlOdbcEnv::SQLAllocHandle( inHdl, outHdl ); 00011 case SQL_HANDLE_DBC: 00012 return CSqlOdbcDbc::SQLAllocHandle( inHdl, outHdl ); 00013 case SQL_HANDLE_STMT: 00014 return CSqlOdbcStmt::SQLAllocHandle( inHdl, outHdl ); 00015 } 00016 00017 globalError.set( ERROR_OPTRANGE ); 00018 globalError.printStr( SQL_OV_ODBC3 ); 00019 return( SQL_ERROR ); 00020 }
Here is the call graph for this function:
Here is the caller graph for this function:
Definition at line 26 of file odbcStmt.cxx.
References CSqlOdbcStmt::SQLAllocHandle().
00029 { 00030 return( CSqlOdbcStmt::SQLAllocHandle( ConnectionHandle, StatementHandle ) ); 00031 }
Here is the call graph for this function:
SQLRETURN SQL_API SQLBindCol | ( | SQLHSTMT | StatementHandle, | |
SQLUSMALLINT | ColumnNumber, | |||
SQLSMALLINT | TargetType, | |||
SQLPOINTER | TargetValue, | |||
SQLLEN | BufferLength, | |||
SQLLEN * | StrLen_or_Ind | |||
) |
Referenced by CacheTableLoader::load(), SqlOdbcStatement::prepare(), and SQLBindCol().
Here is the caller graph for this function:
SQLRETURN SQL_API SQLBindParam | ( | SQLHSTMT | StatementHandle, | |
SQLUSMALLINT | ParameterNumber, | |||
SQLSMALLINT | ValueType, | |||
SQLSMALLINT | ParameterType, | |||
SQLULEN | LengthPrecision, | |||
SQLSMALLINT | ParameterScale, | |||
SQLPOINTER | ParameterValue, | |||
SQLLEN * | StrLen_or_Ind | |||
) |
Definition at line 878 of file odbcStmt.cxx.
References isValidHandle(), SQL_HANDLE_STMT, SQL_INVALID_HANDLE, SQL_SUCCESS, and SQLCloseCursor().
Referenced by SqlOdbcStatement::close(), CacheTableLoader::load(), and SQLCloseCursor().
00879 { 00880 // Is Stmt valid ? 00881 if( isValidHandle( (CSqlOdbcStmt*) StatementHandle, SQL_HANDLE_STMT ) != SQL_SUCCESS ) 00882 return( SQL_INVALID_HANDLE ); 00883 00884 return( ((CSqlOdbcStmt*) StatementHandle)->SQLCloseCursor() ); 00885 }
Here is the call graph for this function:
Here is the caller graph for this function:
SQLRETURN SQL_API SQLColAttribute | ( | SQLHSTMT | StatementHandle, | |
SQLUSMALLINT | ColumnNumber, | |||
SQLUSMALLINT | FieldIdentifier, | |||
SQLPOINTER | CharacterAttribute, | |||
SQLSMALLINT | BufferLength, | |||
SQLSMALLINT * | StringLength, | |||
SQLLEN * | NumericAttribute | |||
) |
Referenced by SQLColAttribute(), and SQLColAttributes().
Here is the caller graph for this function:
SQLRETURN SQL_API SQLColumns | ( | SQLHSTMT | StatementHandle, | |
SQLCHAR * | CatalogName, | |||
SQLSMALLINT | NameLength1, | |||
SQLCHAR * | SchemaName, | |||
SQLSMALLINT | NameLength2, | |||
SQLCHAR * | TableName, | |||
SQLSMALLINT | NameLength3, | |||
SQLCHAR * | ColumnName, | |||
SQLSMALLINT | NameLength4 | |||
) |
SQLRETURN SQL_API SQLConnect | ( | SQLHDBC | ConnectionHandle, | |
SQLCHAR * | ServerName, | |||
SQLSMALLINT | NameLength1, | |||
SQLCHAR * | UserName, | |||
SQLSMALLINT | NameLength2, | |||
SQLCHAR * | Authentication, | |||
SQLSMALLINT | NameLength3 | |||
) |
Definition at line 130 of file odbcDbc.cxx.
References isValidHandle(), SQL_HANDLE_DBC, SQL_INVALID_HANDLE, SQL_SUCCESS, and SQLConnect().
Referenced by SQLConnect(), and SQLDriverConnect().
00138 { 00139 // Validate handle 00140 if( isValidHandle( ConnectionHandle, SQL_HANDLE_DBC ) != SQL_SUCCESS ) 00141 return( SQL_INVALID_HANDLE ); 00142 00143 return( ((CSqlOdbcDbc*) ConnectionHandle)->SQLConnect( ServerName, NameLength1, 00144 UserName, NameLength2, Authentication, NameLength3) ); 00145 }
Here is the call graph for this function:
Here is the caller graph for this function:
SQLRETURN SQL_API SQLDataSources | ( | SQLHENV | EnvironmentHandle, | |
SQLUSMALLINT | Direction, | |||
SQLCHAR * | ServerName, | |||
SQLSMALLINT | BufferLength1, | |||
SQLSMALLINT * | NameLength1, | |||
SQLCHAR * | Description, | |||
SQLSMALLINT | BufferLength2, | |||
SQLSMALLINT * | NameLength2 | |||
) |
SQLRETURN SQL_API SQLDescribeCol | ( | SQLHSTMT | StatementHandle, | |
SQLUSMALLINT | ColumnNumber, | |||
SQLCHAR * | ColumnName, | |||
SQLSMALLINT | BufferLength, | |||
SQLSMALLINT * | NameLength, | |||
SQLSMALLINT * | DataType, | |||
SQLULEN * | ColumnSize, | |||
SQLSMALLINT * | DecimalDigits, | |||
SQLSMALLINT * | Nullable | |||
) |
Referenced by CacheTableLoader::load(), SqlOdbcStatement::prepare(), and SQLDescribeCol().
Here is the caller graph for this function:
Definition at line 208 of file odbcDbc.cxx.
References isValidHandle(), SQL_HANDLE_DBC, SQL_INVALID_HANDLE, and SQL_SUCCESS.
Referenced by SqlOdbcConnection::disconnect(), and CacheTableLoader::load().
00210 { 00211 // Validate Handle 00212 if( isValidHandle( ConnectionHandle, SQL_HANDLE_DBC ) != SQL_SUCCESS ) 00213 return( SQL_INVALID_HANDLE ); 00214 SQLRETURN ret = ( ((CSqlOdbcDbc*) ConnectionHandle)->SQLDisconnect() ); 00215 return ret; 00216 }
Here is the call graph for this function:
Here is the caller graph for this function:
SQLRETURN SQL_API SQLEndTran | ( | SQLSMALLINT | HandleType, | |
SQLHANDLE | Handle, | |||
SQLSMALLINT | CompletionType | |||
) |
Definition at line 38 of file odbcCommon.cxx.
References ERROR_OPTRANGE, globalError, isValidHandle(), CSqlOdbcError::printStr(), CSqlOdbcError::set(), SQL_ERROR, SQL_HANDLE_DBC, SQL_HANDLE_ENV, SQL_INVALID_HANDLE, SQL_OV_ODBC3, and SQL_SUCCESS.
Referenced by SQLTransact().
00042 { 00043 if( isValidHandle( hdl, hdlType ) != SQL_SUCCESS ) 00044 return( SQL_INVALID_HANDLE ); 00045 00046 switch( hdlType ) 00047 { 00048 case SQL_HANDLE_ENV: 00049 return ((CSqlOdbcEnv*) hdl)->SQLEndTran( compType ); 00050 case SQL_HANDLE_DBC: 00051 return ((CSqlOdbcDbc*) hdl)->SQLEndTran( compType ); 00052 } 00053 00054 globalError.set( ERROR_OPTRANGE ); 00055 globalError.printStr( SQL_OV_ODBC3 ); 00056 return( SQL_ERROR ); 00057 }
Here is the call graph for this function:
Here is the caller graph for this function:
SQLRETURN SQL_API SQLError | ( | SQLHENV | EnvironmentHandle, | |
SQLHDBC | ConnectionHandle, | |||
SQLHSTMT | StatementHandle, | |||
SQLCHAR * | Sqlstate, | |||
SQLINTEGER * | NativeError, | |||
SQLCHAR * | MessageText, | |||
SQLSMALLINT | BufferLength, | |||
SQLSMALLINT * | TextLength | |||
) |
Definition at line 57 of file odbcError.cxx.
References isValidHandle(), SQL_HANDLE_DBC, SQL_HANDLE_ENV, SQL_HANDLE_STMT, SQL_INVALID_HANDLE, and SQL_SUCCESS.
00066 { 00067 // Call SQLGetDiagRec() on handle whichever is valid. 00068 if( isValidHandle( EnvironmentHandle, SQL_HANDLE_ENV ) == SQL_SUCCESS ) 00069 return( ((CSqlOdbcEnv*)EnvironmentHandle)->err_.SQLGetDiagRec(EnvironmentHandle, Sqlstate, NativeError, MessageText, BufferLength, TextLength) ); 00070 00071 if( isValidHandle( ConnectionHandle, SQL_HANDLE_DBC ) == SQL_SUCCESS ) 00072 return( ((CSqlOdbcDbc*)ConnectionHandle)->err_.SQLGetDiagRec(ConnectionHandle, Sqlstate, NativeError, MessageText, BufferLength, TextLength) ); 00073 00074 if( isValidHandle( StatementHandle, SQL_HANDLE_STMT ) == SQL_SUCCESS ) 00075 return( ((CSqlOdbcStmt*)StatementHandle)->err_.SQLGetDiagRec(StatementHandle, Sqlstate, NativeError, MessageText, BufferLength, TextLength) ); 00076 00077 return( SQL_INVALID_HANDLE ); 00078 }
Here is the call graph for this function:
SQLRETURN SQL_API SQLExecDirect | ( | SQLHSTMT | StatementHandle, | |
SQLCHAR * | StatementText, | |||
SQLINTEGER | TextLength | |||
) |
Definition at line 687 of file odbcStmt.cxx.
References isValidHandle(), SQL_HANDLE_STMT, SQL_INVALID_HANDLE, SQL_SUCCESS, and SQLExecDirect().
Referenced by SQLExecDirect().
00691 { 00692 // Is Stmt valid ? 00693 if( isValidHandle( (CSqlOdbcStmt*) StatementHandle, SQL_HANDLE_STMT ) != SQL_SUCCESS ) 00694 return( SQL_INVALID_HANDLE ); 00695 00696 return( ((CSqlOdbcStmt*) StatementHandle)->SQLExecDirect( StatementText, TextLength ) ); 00697 }
Here is the call graph for this function:
Here is the caller graph for this function:
Definition at line 540 of file odbcStmt.cxx.
References isValidHandle(), SQL_HANDLE_STMT, SQL_INVALID_HANDLE, SQL_SUCCESS, and SQLExecute().
Referenced by SqlOdbcStatement::execute(), CacheTableLoader::load(), and SQLExecute().
00541 { 00542 // Is Stmt valid ? 00543 if( isValidHandle( (CSqlOdbcStmt*) StatementHandle, SQL_HANDLE_STMT ) != SQL_SUCCESS ) 00544 return( SQL_INVALID_HANDLE ); 00545 00546 return( ((CSqlOdbcStmt*) StatementHandle)->SQLExecute() ); 00547 }
Here is the call graph for this function:
Here is the caller graph for this function:
Definition at line 767 of file odbcStmt.cxx.
References isValidHandle(), SQL_HANDLE_STMT, SQL_INVALID_HANDLE, SQL_SUCCESS, and SQLFetch().
Referenced by SqlOdbcStatement::fetch(), SqlOdbcStatement::fetchAndPrint(), SqlOdbcStatement::getPrimaryKeyFieldName(), CacheTableLoader::load(), and SQLFetch().
00768 { 00769 // Is Stmt valid ? 00770 if( isValidHandle( (CSqlOdbcStmt*) StatementHandle, SQL_HANDLE_STMT ) != SQL_SUCCESS ) 00771 return( SQL_INVALID_HANDLE ); 00772 00773 return( ((CSqlOdbcStmt*) StatementHandle)->SQLFetch() ); 00774 }
Here is the call graph for this function:
Here is the caller graph for this function:
SQLRETURN SQL_API SQLFetchScroll | ( | SQLHSTMT | StatementHandle, | |
SQLSMALLINT | FetchOrientation, | |||
SQLROWOFFSET | FetchOffset | |||
) |
Definition at line 69 of file odbcDbc.cxx.
References CSqlOdbcDbc::SQLFreeHandle().
00071 { 00072 return( CSqlOdbcDbc::SQLFreeHandle( ConnectionHandle ) ); 00073 }
Here is the call graph for this function:
Definition at line 53 of file odbcEnv.cxx.
References CSqlOdbcEnv::SQLFreeHandle().
00055 { 00056 return( CSqlOdbcEnv::SQLFreeHandle( EnvironmentHandle ) ); 00057 }
Here is the call graph for this function:
SQLRETURN SQL_API SQLFreeHandle | ( | SQLSMALLINT | HandleType, | |
SQLHANDLE | Handle | |||
) |
Definition at line 22 of file odbcCommon.cxx.
References ERROR_OPTRANGE, globalError, CSqlOdbcError::printStr(), CSqlOdbcError::set(), SQL_ERROR, SQL_HANDLE_DBC, SQL_HANDLE_ENV, SQL_HANDLE_STMT, SQL_OV_ODBC3, CSqlOdbcEnv::SQLFreeHandle(), CSqlOdbcDbc::SQLFreeHandle(), and CSqlOdbcStmt::SQLFreeHandle().
Referenced by SqlOdbcConnection::disconnect(), SqlOdbcStatement::free(), SqlOdbcStatement::getPrimaryKeyFieldName(), and CacheTableLoader::load().
00025 { 00026 switch( hdlType ) 00027 { 00028 case SQL_HANDLE_ENV: return CSqlOdbcEnv::SQLFreeHandle( inHdl ); 00029 case SQL_HANDLE_DBC: return CSqlOdbcDbc::SQLFreeHandle( inHdl ); 00030 case SQL_HANDLE_STMT: return CSqlOdbcStmt::SQLFreeHandle( inHdl ); 00031 } 00032 00033 globalError.set( ERROR_OPTRANGE ); 00034 globalError.printStr( SQL_OV_ODBC3 ); 00035 return( SQL_ERROR ); 00036 }
Here is the call graph for this function:
Here is the caller graph for this function:
SQLRETURN SQL_API SQLFreeStmt | ( | SQLHSTMT | StatementHandle, | |
SQLUSMALLINT | Option | |||
) |
Definition at line 111 of file odbcStmt.cxx.
References isValidHandle(), SQL_DROP, SQL_HANDLE_STMT, SQL_INVALID_HANDLE, SQL_SUCCESS, CSqlOdbcStmt::SQLFreeHandle(), and SQLFreeStmt().
Referenced by SQLFreeStmt().
00114 { 00115 // Is Stmt valid ? 00116 if( isValidHandle( (CSqlOdbcStmt*) StatementHandle, SQL_HANDLE_STMT ) != SQL_SUCCESS ) 00117 return( SQL_INVALID_HANDLE ); 00118 00119 // Free Handle 00120 if( Option == SQL_DROP ) 00121 return( CSqlOdbcStmt::SQLFreeHandle( StatementHandle ) ); 00122 00123 return( ((CSqlOdbcStmt*) StatementHandle)->SQLFreeStmt( Option ) ); 00124 }
Here is the call graph for this function:
Here is the caller graph for this function:
SQLRETURN SQL_API SQLGetConnectAttr | ( | SQLHDBC | ConnectionHandle, | |
SQLINTEGER | Attribute, | |||
SQLPOINTER | Value, | |||
SQLINTEGER | BufferLength, | |||
SQLINTEGER * | StringLength | |||
) |
Definition at line 389 of file odbcDbc.cxx.
References isValidHandle(), SQL_HANDLE_DBC, SQL_INVALID_HANDLE, SQL_SUCCESS, and SQLGetConnectAttr().
Referenced by SQLGetConnectAttr(), and SQLGetConnectOption().
00395 { 00396 // Validate handle 00397 if( isValidHandle( ConnectionHandle, SQL_HANDLE_DBC ) != SQL_SUCCESS ) 00398 return( SQL_INVALID_HANDLE ); 00399 00400 return( ((CSqlOdbcDbc*)ConnectionHandle)->SQLGetConnectAttr( Attribute, Value, BufferLength, StringLength ) ); 00401 }
Here is the call graph for this function:
Here is the caller graph for this function:
SQLRETURN SQL_API SQLGetConnectOption | ( | SQLHDBC | ConnectionHandle, | |
SQLUSMALLINT | Option, | |||
SQLPOINTER | Value | |||
) |
Definition at line 381 of file odbcDbc.cxx.
References SQLGetConnectAttr().
00385 { 00386 return( SQLGetConnectAttr( ConnectionHandle, Option, Value, 0, 0) ); 00387 }
Here is the call graph for this function:
SQLRETURN SQL_API SQLGetCursorName | ( | SQLHSTMT | StatementHandle, | |
SQLCHAR * | CursorName, | |||
SQLSMALLINT | BufferLength, | |||
SQLSMALLINT * | NameLength | |||
) |
Definition at line 962 of file odbcStmt.cxx.
References isValidHandle(), SQL_HANDLE_STMT, SQL_INVALID_HANDLE, SQL_SUCCESS, and SQLGetCursorName().
Referenced by SQLGetCursorName().
00967 { 00968 // Is Stmt valid ? 00969 if( isValidHandle( (CSqlOdbcStmt*) StatementHandle, SQL_HANDLE_STMT ) != SQL_SUCCESS ) 00970 return( SQL_INVALID_HANDLE ); 00971 00972 return( ((CSqlOdbcStmt*) StatementHandle)->SQLGetCursorName( CursorName, BufferLength, NameLength ) ); 00973 }
Here is the call graph for this function:
Here is the caller graph for this function:
SQLRETURN SQL_API SQLGetData | ( | SQLHSTMT | StatementHandle, | |
SQLUSMALLINT | ColumnNumber, | |||
SQLSMALLINT | TargetType, | |||
SQLPOINTER | TargetValue, | |||
SQLLEN | BufferLength, | |||
SQLLEN * | StrLen_or_Ind | |||
) |
Referenced by SqlOdbcStatement::getPrimaryKeyFieldName().
Here is the caller graph for this function:
SQLRETURN SQLGetDescField | ( | SQLHDESC | DescriptorHandle, | |
SQLSMALLINT | RecNumber, | |||
SQLSMALLINT | FieldIdentifier, | |||
SQLPOINTER | Value, | |||
SQLINTEGER | BufferLength, | |||
SQLINTEGER * | StringLength | |||
) |
SQLRETURN SQL_API SQLGetDescRec | ( | SQLHDESC | DescriptorHandle, | |
SQLSMALLINT | RecNumber, | |||
SQLCHAR * | Name, | |||
SQLSMALLINT | BufferLength, | |||
SQLSMALLINT * | StringLength, | |||
SQLSMALLINT * | Type, | |||
SQLSMALLINT * | SubType, | |||
SQLLEN * | Length, | |||
SQLSMALLINT * | Precision, | |||
SQLSMALLINT * | Scale, | |||
SQLSMALLINT * | Nullable | |||
) |
SQLRETURN SQL_API SQLGetDiagField | ( | SQLSMALLINT | HandleType, | |
SQLHANDLE | Handle, | |||
SQLSMALLINT | RecNumber, | |||
SQLSMALLINT | DiagIdentifier, | |||
SQLPOINTER | DiagInfo, | |||
SQLSMALLINT | BufferLength, | |||
SQLSMALLINT * | StringLength | |||
) |
SQLRETURN SQL_API SQLGetDiagRec | ( | SQLSMALLINT | HandleType, | |
SQLHANDLE | Handle, | |||
SQLSMALLINT | RecNumber, | |||
SQLCHAR * | Sqlstate, | |||
SQLINTEGER * | NativeError, | |||
SQLCHAR * | MessageText, | |||
SQLSMALLINT | BufferLength, | |||
SQLSMALLINT * | TextLength | |||
) |
Definition at line 81 of file odbcError.cxx.
References isValidHandle(), SQL_ERROR, and SQL_SUCCESS.
Referenced by SqlOdbcConnection::connect().
00090 { 00091 // Validate handle 00092 if( isValidHandle( Handle, HandleType ) != SQL_SUCCESS ) 00093 return( SQL_ERROR ); 00094 00095 return( ((CSqlOdbcEnv*)Handle)->err_.SQLGetDiagRec(Handle, Sqlstate, NativeError, MessageText, BufferLength, TextLength) ); 00096 }
Here is the call graph for this function:
Here is the caller graph for this function:
SQLRETURN SQL_API SQLGetEnvAttr | ( | SQLHENV | EnvironmentHandle, | |
SQLINTEGER | Attribute, | |||
SQLPOINTER | Value, | |||
SQLINTEGER | BufferLength, | |||
SQLINTEGER * | StringLength | |||
) |
Definition at line 183 of file odbcEnv.cxx.
References isValidHandle(), SQL_HANDLE_ENV, SQL_INVALID_HANDLE, SQL_SUCCESS, and SQLGetEnvAttr().
Referenced by SQLGetEnvAttr().
00189 { 00190 // Validate handle 00191 if( isValidHandle( EnvironmentHandle, SQL_HANDLE_ENV ) != SQL_SUCCESS ) 00192 return( SQL_INVALID_HANDLE ); 00193 00194 return( ((CSqlOdbcEnv*)EnvironmentHandle)->SQLGetEnvAttr( Attribute, Value, BufferLength, StringLength ) ); 00195 }
Here is the call graph for this function:
Here is the caller graph for this function:
SQLRETURN SQL_API SQLGetFunctions | ( | SQLHDBC | ConnectionHandle, | |
SQLUSMALLINT | FunctionId, | |||
SQLUSMALLINT * | Supported | |||
) |
SQLRETURN SQL_API SQLGetInfo | ( | SQLHDBC | ConnectionHandle, | |
SQLUSMALLINT | InfoType, | |||
SQLPOINTER | InfoValue, | |||
SQLSMALLINT | BufferLength, | |||
SQLSMALLINT * | StringLength | |||
) |
SQLRETURN SQL_API SQLGetStmtAttr | ( | SQLHSTMT | StatementHandle, | |
SQLINTEGER | Attribute, | |||
SQLPOINTER | Value, | |||
SQLINTEGER | BufferLength, | |||
SQLINTEGER * | StringLength | |||
) |
SQLRETURN SQL_API SQLGetStmtOption | ( | SQLHSTMT | StatementHandle, | |
SQLUSMALLINT | Option, | |||
SQLPOINTER | Value | |||
) |
SQLRETURN SQL_API SQLGetTypeInfo | ( | SQLHSTMT | StatementHandle, | |
SQLSMALLINT | DataType | |||
) |
SQLRETURN SQL_API SQLNumResultCols | ( | SQLHSTMT | StatementHandle, | |
SQLSMALLINT * | ColumnCount | |||
) |
Definition at line 1005 of file odbcStmt.cxx.
References isValidHandle(), SQL_HANDLE_STMT, SQL_INVALID_HANDLE, SQL_SUCCESS, and SQLNumResultCols().
Referenced by CacheTableLoader::load(), SqlOdbcStatement::prepare(), and SQLNumResultCols().
01008 { 01009 // Is Stmt valid ? 01010 if( isValidHandle( (CSqlOdbcStmt*) StatementHandle, SQL_HANDLE_STMT ) != SQL_SUCCESS ) 01011 return( SQL_INVALID_HANDLE ); 01012 01013 return( ((CSqlOdbcStmt*) StatementHandle)->SQLNumResultCols( ColumnCount ) ); 01014 }
Here is the call graph for this function:
Here is the caller graph for this function:
SQLRETURN SQL_API SQLParamData | ( | SQLHSTMT | StatementHandle, | |
SQLPOINTER * | Value | |||
) |
SQLRETURN SQL_API SQLPrepare | ( | SQLHSTMT | StatementHandle, | |
SQLCHAR * | StatementText, | |||
SQLINTEGER | TextLength | |||
) |
Definition at line 457 of file odbcStmt.cxx.
References isValidHandle(), SQL_HANDLE_STMT, SQL_INVALID_HANDLE, SQL_SUCCESS, and SQLPrepare().
Referenced by CacheTableLoader::load(), SqlOdbcStatement::prepare(), and SQLPrepare().
00461 { 00462 // Is Stmt valid ? 00463 if( isValidHandle( (CSqlOdbcStmt*) StatementHandle, SQL_HANDLE_STMT ) != SQL_SUCCESS ) 00464 return( SQL_INVALID_HANDLE ); 00465 00466 // Prepare 00467 return( ((CSqlOdbcStmt*) StatementHandle)->SQLPrepare( StatementText, TextLength ) ); 00468 }
Here is the call graph for this function:
Here is the caller graph for this function:
SQLRETURN SQL_API SQLPutData | ( | SQLHSTMT | StatementHandle, | |
SQLPOINTER | Data, | |||
SQLLEN | StrLen_or_Ind | |||
) |
SQLRETURN SQL_API SQLSetConnectAttr | ( | SQLHDBC | ConnectionHandle, | |
SQLINTEGER | Attribute, | |||
SQLPOINTER | Value, | |||
SQLINTEGER | StringLength | |||
) |
Definition at line 320 of file odbcDbc.cxx.
References isValidHandle(), SQL_HANDLE_DBC, SQL_INVALID_HANDLE, SQL_SUCCESS, and SQLSetConnectAttr().
Referenced by SqlOdbcConnection::beginTrans(), SqlOdbcConnection::connect(), SQLSetConnectAttr(), and SQLSetConnectOption().
00325 { 00326 // Validate handle 00327 if( isValidHandle( ConnectionHandle, SQL_HANDLE_DBC ) != SQL_SUCCESS ) 00328 return( SQL_INVALID_HANDLE ); 00329 00330 return( ((CSqlOdbcDbc*)ConnectionHandle)->SQLSetConnectAttr( Attribute, Value, StringLength ) ); 00331 }
Here is the call graph for this function:
Here is the caller graph for this function:
SQLRETURN SQL_API SQLSetConnectOption | ( | SQLHDBC | ConnectionHandle, | |
SQLUSMALLINT | Option, | |||
SQLULEN | Value | |||
) |
SQLRETURN SQL_API SQLSetCursorName | ( | SQLHSTMT | StatementHandle, | |
SQLCHAR * | CursorName, | |||
SQLSMALLINT | NameLength | |||
) |
Definition at line 902 of file odbcStmt.cxx.
References isValidHandle(), SQL_HANDLE_STMT, SQL_INVALID_HANDLE, SQL_SUCCESS, and SQLSetCursorName().
Referenced by SQLSetCursorName().
00906 { 00907 // Is Stmt valid ? 00908 if( isValidHandle( (CSqlOdbcStmt*) StatementHandle, SQL_HANDLE_STMT ) != SQL_SUCCESS ) 00909 return( SQL_INVALID_HANDLE ); 00910 00911 return( ((CSqlOdbcStmt*) StatementHandle)->SQLSetCursorName( CursorName, NameLength ) ); 00912 }
Here is the call graph for this function:
Here is the caller graph for this function:
SQLRETURN SQL_API SQLSetDescField | ( | SQLHDESC | DescriptorHandle, | |
SQLSMALLINT | RecNumber, | |||
SQLSMALLINT | FieldIdentifier, | |||
SQLPOINTER | Value, | |||
SQLINTEGER | BufferLength | |||
) |
SQLRETURN SQL_API SQLSetDescRec | ( | SQLHDESC | DescriptorHandle, | |
SQLSMALLINT | RecNumber, | |||
SQLSMALLINT | Type, | |||
SQLSMALLINT | SubType, | |||
SQLLEN | Length, | |||
SQLSMALLINT | Precision, | |||
SQLSMALLINT | Scale, | |||
SQLPOINTER | Data, | |||
SQLLEN * | StringLength, | |||
SQLLEN * | Indicator | |||
) |
SQLRETURN SQL_API SQLSetEnvAttr | ( | SQLHENV | EnvironmentHandle, | |
SQLINTEGER | Attribute, | |||
SQLPOINTER | Value, | |||
SQLINTEGER | StringLength | |||
) |
Definition at line 127 of file odbcEnv.cxx.
References isValidHandle(), SQL_HANDLE_ENV, SQL_INVALID_HANDLE, SQL_SUCCESS, and SQLSetEnvAttr().
Referenced by SqlOdbcConnection::connect(), CacheTableLoader::load(), and SQLSetEnvAttr().
00132 { 00133 // Validate handle 00134 if( isValidHandle( inputEnv, SQL_HANDLE_ENV ) != SQL_SUCCESS ) 00135 return( SQL_INVALID_HANDLE ); 00136 00137 return( ((CSqlOdbcEnv*)inputEnv)->SQLSetEnvAttr( Attribute, Value, StringLength ) ); 00138 }
Here is the call graph for this function:
Here is the caller graph for this function:
SQLRETURN SQL_API SQLSetParam | ( | SQLHSTMT | StatementHandle, | |
SQLUSMALLINT | ParameterNumber, | |||
SQLSMALLINT | ValueType, | |||
SQLSMALLINT | ParameterType, | |||
SQLULEN | LengthPrecision, | |||
SQLSMALLINT | ParameterScale, | |||
SQLPOINTER | ParameterValue, | |||
SQLLEN * | StrLen_or_Ind | |||
) |
SQLRETURN SQL_API SQLSetStmtAttr | ( | SQLHSTMT | StatementHandle, | |
SQLINTEGER | Attribute, | |||
SQLPOINTER | Value, | |||
SQLINTEGER | StringLength | |||
) |
Definition at line 730 of file odbcStmt.cxx.
References SQLSetStmtAttr().
Referenced by SQLSetStmtAttr(), and SQLSetStmtOption().
00733 { 00734 return (((CSqlOdbcStmt*)StatementHandle)->SQLSetStmtAttr(Attribute, Value,StringLength)); 00735 }
Here is the call graph for this function:
Here is the caller graph for this function:
SQLRETURN SQL_API SQLSetStmtOption | ( | SQLHSTMT | StatementHandle, | |
SQLUSMALLINT | Option, | |||
SQLROWCOUNT | Value | |||
) |
SQLRETURN SQL_API SQLSpecialColumns | ( | SQLHSTMT | StatementHandle, | |
SQLUSMALLINT | IdentifierType, | |||
SQLCHAR * | CatalogName, | |||
SQLSMALLINT | NameLength1, | |||
SQLCHAR * | SchemaName, | |||
SQLSMALLINT | NameLength2, | |||
SQLCHAR * | TableName, | |||
SQLSMALLINT | NameLength3, | |||
SQLUSMALLINT | Scope, | |||
SQLUSMALLINT | Nullable | |||
) |
SQLRETURN SQL_API SQLStatistics | ( | SQLHSTMT | StatementHandle, | |
SQLCHAR * | CatalogName, | |||
SQLSMALLINT | NameLength1, | |||
SQLCHAR * | SchemaName, | |||
SQLSMALLINT | NameLength2, | |||
SQLCHAR * | TableName, | |||
SQLSMALLINT | NameLength3, | |||
SQLUSMALLINT | Unique, | |||
SQLUSMALLINT | Reserved | |||
) |
SQLRETURN SQL_API SQLTables | ( | SQLHSTMT | StatementHandle, | |
SQLCHAR * | CatalogName, | |||
SQLSMALLINT | NameLength1, | |||
SQLCHAR * | SchemaName, | |||
SQLSMALLINT | NameLength2, | |||
SQLCHAR * | TableName, | |||
SQLSMALLINT | NameLength3, | |||
SQLCHAR * | TableType, | |||
SQLSMALLINT | NameLength4 | |||
) |
SQLRETURN SQL_API SQLTransact | ( | SQLHENV | EnvironmentHandle, | |
SQLHDBC | ConnectionHandle, | |||
SQLUSMALLINT | CompletionType | |||
) |
Definition at line 79 of file odbcEnv.cxx.
References isValidHandle(), SQL_HANDLE_DBC, SQL_HANDLE_ENV, SQL_INVALID_HANDLE, SQL_SUCCESS, and SQLEndTran().
Referenced by SqlOdbcConnection::beginTrans(), SqlOdbcConnection::commit(), and SqlOdbcConnection::rollback().
00083 { 00084 // Call SQLEndTrans() on handle whichever is valid 00085 if( isValidHandle( EnvironmentHandle, SQL_HANDLE_ENV ) == SQL_SUCCESS ) 00086 return( ((CSqlOdbcEnv*) EnvironmentHandle)->SQLEndTran( CompletionType ) ); 00087 00088 if( isValidHandle( ConnectionHandle, SQL_HANDLE_DBC ) == SQL_SUCCESS ) 00089 return( ((CSqlOdbcDbc*) ConnectionHandle)->SQLEndTran( CompletionType ) ); 00090 00091 return( SQL_INVALID_HANDLE ); 00092 }
Here is the call graph for this function:
Here is the caller graph for this function: