#include <dcl/Config.h>
#include <sqlhdr.h>
#include <sqliapi.h>
#include <sqlda.h>
#include <sqlstype.h>
#include <sqltypes.h>
#include <stdlib.h>
#include <string.h>
#include <dcl/Object.h>
#include <dcl/Numeric.h>
#include <dcl/SQLCore.h>
#include "IFXConnection.h"
#include "IFXQuery.h"
#include "IFXField.h"
#include "IFXParam.h"
#include "IFXUtils.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) |
◆ __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 ) |
◆ __TRACE_THIS
◆ IMPLEMENT_CLASSINFO()
Definition at line 49 of file IFXQuery.cpp.
52 : return L ## #_sq;
53
54static const wchar_t* __STMT_STRING(int _sq)
55{
56 switch (_sq) {
57 __SQ_NAME(SQ_SELECT)
58 __SQ_NAME(SQ_UPDATE)
59 __SQ_NAME(SQ_DELETE)
60 __SQ_NAME(SQ_INSERT)
61 __SQ_NAME(SQ_EXECPROC)
62 }
63 return L"SQ_OTHER..";
64}
65#endif
66
68 : Query(pConnection)
69{
70 ByteString strID;
71 strID = ByteString::format("%p", this);
72
73 __statementID = "stmt_" + strID;
74 __cursorID = "cursor_" + strID;
75
76#if __USE_STMT_TYPE
78#endif
82
83 __cursorOpened = false;
84 __cursorDeclared = false;
85
88}
IFXQuery(IFXConnection *pConnection)