#include <dcl/Config.h>
#include <string.h>
#include <sql.h>
#include <sqlext.h>
#include <dcl/Object.h>
#include <dcl/size_t.h>
#include <dcl/Charset.h>
#include <dcl/SQLCore.h>
#include "ODBCConnection.h"
#include "ODBCQuery.h"
Go to the source code of this file.
|
| #define | __TRACE_THIS 0 |
| #define | __DCL_TRACE0_N(fmt) |
| #define | __DCL_TRACE1_N(fmt, arg) |
| #define | __DCL_TRACE2_N(fmt, arg1, arg2) |
| #define | __DCL_TRACE3_N(fmt, arg1, arg2, arg3) |
| #define | __DCL_TRACE4_N(fmt, arg1, arg2, arg3, arg4) |
| #define | __SET_ERROR(_error) |
| #define | __SET_ERROR_MSG(_msg) |
| #define | __SET_ERROR_HANDLE(_rc, _htype, _handle) |
| #define | __SET_INFO_HANDLE(_rc, _htype, _handle) |
| #define | CASE_STR(rc) |
◆ __DCL_TRACE0_N
| #define __DCL_TRACE0_N |
( |
| fmt | ) |
|
◆ __DCL_TRACE1_N
| #define __DCL_TRACE1_N |
( |
| fmt, |
|
|
| arg ) |
◆ __DCL_TRACE2_N
| #define __DCL_TRACE2_N |
( |
| fmt, |
|
|
| arg1, |
|
|
| arg2 ) |
◆ __DCL_TRACE3_N
| #define __DCL_TRACE3_N |
( |
| fmt, |
|
|
| arg1, |
|
|
| arg2, |
|
|
| arg3 ) |
◆ __DCL_TRACE4_N
| #define __DCL_TRACE4_N |
( |
| fmt, |
|
|
| arg1, |
|
|
| arg2, |
|
|
| arg3, |
|
|
| arg4 ) |
◆ __SET_ERROR
| #define __SET_ERROR |
( |
| _error | ) |
|
Value:
Definition at line 44 of file ODBCConnection.cpp.
44#define __SET_ERROR(_error) \
45 setErrorStatus(_error, __THIS_FILE__, __LINE__)
◆ __SET_ERROR_HANDLE
| #define __SET_ERROR_HANDLE |
( |
| _rc, |
|
|
| _htype, |
|
|
| _handle ) |
Value:
Definition at line 48 of file ODBCConnection.cpp.
48#define __SET_ERROR_HANDLE(_rc, _htype, _handle) \
49 setErrorHandle(_rc, _htype, _handle, __THIS_FILE__, __LINE__)
◆ __SET_ERROR_MSG
| #define __SET_ERROR_MSG |
( |
| _msg | ) |
|
Value:
Definition at line 46 of file ODBCConnection.cpp.
46#define __SET_ERROR_MSG(_msg) \
47 setErrorMessage(_msg, __THIS_FILE__, __LINE__)
◆ __SET_INFO_HANDLE
| #define __SET_INFO_HANDLE |
( |
| _rc, |
|
|
| _htype, |
|
|
| _handle ) |
Value: if (_rc == SQL_SUCCESS_WITH_INFO) { \
}
Definition at line 50 of file ODBCConnection.cpp.
50#define __SET_INFO_HANDLE(_rc, _htype, _handle) \
51 if (_rc == SQL_SUCCESS_WITH_INFO) { \
52 setErrorHandle(_rc, _htype, _handle, __THIS_FILE__, __LINE__); \
53 }
◆ __TRACE_THIS
◆ CASE_STR
Value:case rc: __lastErrorMessage = #rc; break;
◆ IMPLEMENT_CLASSINFO()
Definition at line 55 of file ODBCConnection.cpp.
58 : Connection(_serverTitle)
59{
60 Connection::__canTransact = true;
63
64 __IS_MS_SS = false;
65}