Qt 4.8
Public Functions | Public Variables | List of all members
QOCIDriverPrivate Struct Reference

Public Functions

void allocErrorHandle ()
 
 QOCIDriverPrivate ()
 

Public Variables

OCISession * authp
 
OCIEnvenv
 
OCIError * err
 
ub2 prefetchMem
 
ub4 prefetchRows
 
int serverVersion
 
OCIServer * srvhp
 
OCISvcCtxsvc
 
bool transaction
 
QString user
 

Detailed Description

Definition at line 465 of file qsql_oci.cpp.

Constructors and Destructors

◆ QOCIDriverPrivate()

QOCIDriverPrivate::QOCIDriverPrivate ( )

Definition at line 483 of file qsql_oci.cpp.

484  : env(0), svc(0), srvhp(0), authp(0), err(0), transaction(false), serverVersion(-1),
486 {
487 }
OCISvcCtx * svc
Definition: qsql_oci.cpp:470
OCISession * authp
Definition: qsql_oci.cpp:472
#define QOCI_PREFETCH_MEM
Definition: qsql_oci.cpp:76
OCIError * err
Definition: qsql_oci.cpp:473
OCIServer * srvhp
Definition: qsql_oci.cpp:471

Functions

◆ allocErrorHandle()

void QOCIDriverPrivate::allocErrorHandle ( )

Definition at line 489 of file qsql_oci.cpp.

Referenced by QOCIDriver::QOCIDriver().

490 {
491  int r = OCIHandleAlloc(env,
492  reinterpret_cast<void **>(&err),
493  OCI_HTYPE_ERROR,
494  0,
495  0);
496  if (r != 0)
497  qWarning("QOCIDriver: unable to allocate error handle");
498 }
OCIError * err
Definition: qsql_oci.cpp:473
Q_CORE_EXPORT void qWarning(const char *,...)

Properties

◆ authp

OCISession* QOCIDriverPrivate::authp

Definition at line 472 of file qsql_oci.cpp.

Referenced by QOCIDriver::close(), and QOCIDriver::open().

◆ env

OCIEnv* QOCIDriverPrivate::env

◆ err

OCIError* QOCIDriverPrivate::err

◆ prefetchMem

ub2 QOCIDriverPrivate::prefetchMem

Definition at line 477 of file qsql_oci.cpp.

Referenced by qParseOpts().

◆ prefetchRows

ub4 QOCIDriverPrivate::prefetchRows

Definition at line 476 of file qsql_oci.cpp.

Referenced by qParseOpts().

◆ serverVersion

int QOCIDriverPrivate::serverVersion

Definition at line 475 of file qsql_oci.cpp.

Referenced by QOCIDriver::hasFeature(), QOCIDriver::open(), and QOCIDriver::record().

◆ srvhp

OCIServer* QOCIDriverPrivate::srvhp

Definition at line 471 of file qsql_oci.cpp.

Referenced by QOCIDriver::close(), and QOCIDriver::open().

◆ svc

OCISvcCtx* QOCIDriverPrivate::svc

◆ transaction

bool QOCIDriverPrivate::transaction

◆ user

QString QOCIDriverPrivate::user

The documentation for this struct was generated from the following file: