#include <dcl/Config.h>
#include <errno.h>
#include <float.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <sql.h>
#include <sqlext.h>
#include <msodbcsql.h>
#include <dcl/Object.h>
#include <dcl/size_t.h>
#include <dcl/SQLCore.h>
#include <dcl/OutputStream.h>
#include <dcl/Charset.h>
#include "ODBCConnection.h"
#include "ODBCQuery.h"
#include "ODBCData.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 | SQLTYPE_NAME(SQL_TYPE, name) |
| #define | __TYPE_IS(_type) |
| #define | __UNNEED__ 0 |
◆ __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 51 of file ODBCData.cpp.
51#define __SET_ERROR(_error) \
52 ((SQL::Connection*)conn())->setErrorStatus(_error, __THIS_FILE__, __LINE__)
◆ __SET_ERROR_HANDLE
| #define __SET_ERROR_HANDLE |
( |
| _rc, |
|
|
| _htype, |
|
|
| _handle ) |
Value: conn()->setErrorHandle(_rc, _htype, _handle,
__THIS_FILE__, __LINE__)
Definition at line 55 of file ODBCData.cpp.
55#define __SET_ERROR_HANDLE(_rc, _htype, _handle) \
56 conn()->setErrorHandle(_rc, _htype, _handle, __THIS_FILE__, __LINE__)
◆ __SET_ERROR_MSG
| #define __SET_ERROR_MSG |
( |
| _msg | ) |
|
Value:
Definition at line 53 of file ODBCData.cpp.
53#define __SET_ERROR_MSG(_msg) \
54 conn()->setErrorMessage(_msg, __THIS_FILE__, __LINE__)
◆ __TRACE_THIS
◆ __TYPE_IS
| #define __TYPE_IS |
( |
| _type | ) |
|
◆ __UNNEED__
◆ SQLTYPE_NAME
| #define SQLTYPE_NAME |
( |
| SQL_TYPE, |
|
|
| name ) |
Value:case SQL_TYPE : return name