#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 142 of file SQLCore.cpp.
142#define __CHECK_ADDRESS(p) \
143{ \
144 if (p == NULL) { \
145 __SET_ERROR(eBadAddress); \
146 return false; \
147 } \
148}
◆ __SET_ERROR [1/3]
| #define __SET_ERROR |
( |
| _errorCode | ) |
|
Value: __queryHandle->connection()->setErrorStatus(_errorCode,
__THIS_FILE__, __LINE__)
Definition at line 153 of file SQLCore.cpp.
153#define __SET_ERROR(_errorCode) \
154 __queryHandle->connection()->setErrorStatus(_errorCode, __THIS_FILE__, __LINE__)
◆ __SET_ERROR [2/3]
| #define __SET_ERROR |
( |
| _errorCode | ) |
|
Value: __connHandle->setErrorStatus(_errorCode,
__THIS_FILE__, __LINE__)
Definition at line 153 of file SQLCore.cpp.
153#define __SET_ERROR(_errorCode) \
154 __queryHandle->connection()->setErrorStatus(_errorCode, __THIS_FILE__, __LINE__)
◆ __SET_ERROR [3/3]
| #define __SET_ERROR |
( |
| _errorCode | ) |
|
Value:
Definition at line 153 of file SQLCore.cpp.
153#define __SET_ERROR(_errorCode) \
154 __queryHandle->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 632 of file SQLCore.cpp.
635{
637}
static long incrementAndGet(volatile long &_n)
◆ IMPLEMENT_CLASSINFO() [2/4]
Definition at line 156 of file SQLCore.cpp.
161{
162 __queryHandle = _queryHandle;
163 __dataType = typeUnknown;
164 __precision = -1;
165 __scale = 0;
166}
◆ IMPLEMENT_CLASSINFO() [3/4]
Definition at line 315 of file SQLCore.cpp.
319 : Field(_queryHandle)
320{
321}
◆ IMPLEMENT_CLASSINFO() [4/4]
Definition at line 494 of file SQLCore.cpp.
499{
500 __connHandle = _connHandle;
501 __eof = true;
502 __affectedRows = -1;
503
504 __fieldCount = 0;
505 __paramCount = 0;
506 __placeholder = L'?';
507
508 __states = stStandBy;
509
510 __connHandle->addRef();
511}