DCL 3.7.4
Loading...
Searching...
No Matches
IBQuery.cpp File Reference
#include <dcl/Config.h>
#include <stdlib.h>
#include <ibase.h>
#include <dcl/Object.h>
#include <dcl/SQLCore.h>
#include <dcl/OutputStream.h>
#include <dcl/Charset.h>
#include "IBConnection.h"
#include "IBQuery.h"
#include "IBField.h"
#include "IBParam.h"

Go to the source code of this file.

Macros

#define SQLDA_CURRENT_VERSION   SQLDA_VERSION1
#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)

Functions

 IMPLEMENT_CLASSINFO (IBQuery, SQL::Query) IBQuery

Macro Definition Documentation

◆ __DCL_TRACE0_N

#define __DCL_TRACE0_N ( fmt)

Definition at line 34 of file IBQuery.cpp.

◆ __DCL_TRACE1_N

#define __DCL_TRACE1_N ( fmt,
arg )

Definition at line 35 of file IBQuery.cpp.

◆ __DCL_TRACE2_N

#define __DCL_TRACE2_N ( fmt,
arg1,
arg2 )

Definition at line 36 of file IBQuery.cpp.

◆ __DCL_TRACE3_N

#define __DCL_TRACE3_N ( fmt,
arg1,
arg2,
arg3 )

Definition at line 37 of file IBQuery.cpp.

◆ __DCL_TRACE4_N

#define __DCL_TRACE4_N ( fmt,
arg1,
arg2,
arg3,
arg4 )

Definition at line 38 of file IBQuery.cpp.

◆ __SET_ERROR

#define __SET_ERROR ( _error)
Value:
conn()->setErrorHandle(_error, __THIS_FILE__, __LINE__)
#define __THIS_FILE__
Definition _trace.h:14

Definition at line 46 of file IBQuery.cpp.

46#define __SET_ERROR(_error) \
47 conn()->setErrorHandle(_error, __THIS_FILE__, __LINE__)

◆ __SET_ERROR_MSG

#define __SET_ERROR_MSG ( _msg)
Value:
conn()->setErrorMessage(_msg, __THIS_FILE__, __LINE__)

Definition at line 48 of file IBQuery.cpp.

48#define __SET_ERROR_MSG(_msg) \
49 conn()->setErrorMessage(_msg, __THIS_FILE__, __LINE__)

◆ __TRACE_THIS

#define __TRACE_THIS   0

Definition at line 26 of file IBQuery.cpp.

◆ SQLDA_CURRENT_VERSION

#define SQLDA_CURRENT_VERSION   SQLDA_VERSION1

Definition at line 23 of file IBQuery.cpp.

Function Documentation

◆ IMPLEMENT_CLASSINFO()

IMPLEMENT_CLASSINFO ( IBQuery ,
SQL::Query  )

Definition at line 51 of file IBQuery.cpp.

54 : Query(_connHandle)
55{
56 __stmtHandle = NULL_HANDLE;
57 __inSQLDA = NULL;
58 __outSQLDA = NULL;
59
60 __stmtType = _IB_STMT_TYPE_UNKNOWN;
61 __fields = NULL;
62 __params = NULL;
63}
#define NULL
Definition Config.h:312
#define NULL_HANDLE
#define _IB_STMT_TYPE_UNKNOWN
Definition IBQuery.h:6