#include <dcl/Config.h>
#include <string.h>
#include <wchar.h>
#include <dcl/Object.h>
#include <dcl/Thread.h>
#include <dcl/Array.h>
#include <dcl/ListedHashMap.h>
#include <dcl/SQLCore.h>
Go to the source code of this file.
◆ __CHECK_ADDRESS
| #define __CHECK_ADDRESS |
( |
| p | ) |
|
Value:{ \
__SET_ERROR(eBadAddress); \
return false; \
} \
}
Definition at line 139 of file SQLCore.cpp.
139#define __CHECK_ADDRESS(p) \
140{ \
141 if (p == NULL) { \
142 __SET_ERROR(eBadAddress); \
143 return false; \
144 } \
145}
◆ __SET_ERROR [1/3]
| #define __SET_ERROR |
( |
| _errorCode | ) |
|
Value: connection()->setErrorStatus(_errorCode,
__THIS_FILE__, __LINE__)
Definition at line 149 of file SQLCore.cpp.
149#define __SET_ERROR(_errorCode) \
150 connection()->setErrorStatus(_errorCode, __THIS_FILE__, __LINE__)
◆ __SET_ERROR [2/3]
| #define __SET_ERROR |
( |
| _errorCode | ) |
|
Value: __connHandle->setErrorStatus(_errorCode,
__THIS_FILE__, __LINE__)
Definition at line 149 of file SQLCore.cpp.
149#define __SET_ERROR(_errorCode) \
150 connection()->setErrorStatus(_errorCode, __THIS_FILE__, __LINE__)
◆ __SET_ERROR [3/3]
| #define __SET_ERROR |
( |
| _errorCode | ) |
|
Value:
Definition at line 149 of file SQLCore.cpp.
149#define __SET_ERROR(_errorCode) \
150 connection()->setErrorStatus(_errorCode, __THIS_FILE__, __LINE__)
◆ __SQLERROR_MSG
| #define __SQLERROR_MSG |
( |
| code, |
|
|
| msg ) |
◆ DATA_TYPE_NAME
| #define DATA_TYPE_NAME |
( |
| type | ) |
|
◆ SQL_ERROR
◆ IMPLEMENT_CLASSINFO() [1/4]
Definition at line 651 of file SQLCore.cpp.
654{
656}
static long incrementAndGet(volatile long &_n)
◆ IMPLEMENT_CLASSINFO() [2/4]
Definition at line 152 of file SQLCore.cpp.
157{
158 __queryHandle = _queryHandle;
159 __dataType = typeUnknown;
160 __precision = -1;
161 __scale = 0;
162}
◆ IMPLEMENT_CLASSINFO() [3/4]
Definition at line 339 of file SQLCore.cpp.
343 : Field(_queryHandle)
344{
345}
◆ IMPLEMENT_CLASSINFO() [4/4]
Definition at line 513 of file SQLCore.cpp.
518{
519 __connHandle = _connHandle;
520 __eof = true;
521 __affectedRows = -1;
522
523 __fieldCount = 0;
524 __paramCount = 0;
525 __placeholder = L'?';
526
527 __states = stStandBy;
528
529 __connHandle->addRef();
530}