#include <dcl/Config.h>
#include <stdlib.h>
#include <time.h>
#include <ibase.h>
#include <dcl/Object.h>
#include <dcl/SQLCore.h>
#include <dcl/BytesOutputStream.h>
#include <dcl/InputStream.h>
#include <dcl/Charset.h>
#include "IBConnection.h"
#include "IBQuery.h"
#include "IBParam.h"
Go to the source code of this file.
◆ __SET_ERROR
| #define __SET_ERROR |
( |
| _error | ) |
|
Value:
Definition at line 28 of file IBParam.cpp.
28#define __SET_ERROR(_error) \
29 conn()->setErrorHandle(_error, __THIS_FILE__, __LINE__)
◆ __SET_ERROR_MSG
| #define __SET_ERROR_MSG |
( |
| _msg | ) |
|
Value:
Definition at line 30 of file IBParam.cpp.
30#define __SET_ERROR_MSG(_msg) \
31 conn()->setErrorMessage(_msg, __THIS_FILE__, __LINE__)
◆ __SQLTYPE_IS
| #define __SQLTYPE_IS |
( |
| _sqltype | ) |
|
Value:((__sqltype & ~1) == _sqltype)
◆ __dataTypeName()
| const wchar_t * __dataTypeName |
( |
const XSQLVAR * | _sqlvar | ) |
|
Definition at line 240 of file IBField.cpp.
241{
242 switch(_sqlvar->sqltype & ~1) {
244 case SQL_SHORT:
245 case SQL_LONG:
246 case SQL_INT64: {
247 if (_sqlvar->sqlscale) {
248 switch (_sqlvar->sqltype & ~1) {
252 }
253 }
254 else {
255 switch (_sqlvar->sqltype & ~1) {
259 }
260 }
261 }
267#if defined(FIREBIRD_IBASE_H) && FB_API_VER >= 40
269 SQLTYPE_NAME(SQL_TIMESTAMP_TZ_EX,
"TIMESTAMP WITH TIMEZONE");
270#endif
273 case SQL_BLOB: {
274 if (_sqlvar->sqlsubtype == 1)
275 return L"BLOB(TEXT)";
276 else
277 return L"BLOB";
278 }
279 }
280 return L"Unknown Type: Driver is not Support";
281}
#define SQLTYPE_NAME(_dataType, name)
◆ __MIN()
| size_t __MIN |
( |
size_t | x, |
|
|
size_t | y ) |
|
inline |
Definition at line 332 of file IBParam.cpp.
333{
334 return x < y ? x : y;
335}
◆ IMPLEMENT_CLASSINFO()