Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

dbc Struct Reference

#include <sqliteodbc.h>


Detailed Description

Driver internal structure for database connection (HDBC).

Definition at line 78 of file sqliteodbc.h.

Data Fields

int magic
 Magic cookie.
ENVenv
 Pointer to environment.
dbcnext
 Pointer to next DBC.
sqlitesqlite
 SQLITE database handle.
int version
 SQLITE version number.
char * dbname
 SQLITE database name.
char * dsn
 ODBC data source name.
int timeout
 Lock timeout value.
long t0
 Start time for SQLITE busy handler.
int * ov3
 True for SQL_OV_ODBC3.
int ov3val
 True for SQL_OV_ODBC3.
int autocommit
 Auto commit state.
int intrans
 True when transaction started.
stmtstmt
 STMT list of this DBC.
int naterr
 Native error code.
char sqlstate [6]
 SQL state for SQLError().
SQLCHAR logmsg [1024]
 Message for SQLError().
int nowchar
 Don't try to use WCHAR.
int curtype
 Default cursor type.
int step_enable
 True for sqlite_compile/step/finalize.
stmtvm_stmt
 Current STMT executing VM.
int vm_rownum
 Current row number.


Field Documentation

int dbc::autocommit
 

Auto commit state.

Definition at line 90 of file sqliteodbc.h.

Referenced by drvallocconnect(), drvexecute(), drvgetconnectattr(), drvgetconnectoption(), drvsetconnectattr(), drvsetconnectoption(), and endtran().

int dbc::curtype
 

Default cursor type.

Definition at line 97 of file sqliteodbc.h.

Referenced by dbopen(), drvallocconnect(), drvallocstmt(), drvgetconnectattr(), and drvgetconnectoption().

char* dbc::dbname
 

SQLITE database name.

Definition at line 84 of file sqliteodbc.h.

Referenced by dbopen(), drvexecute(), drvgetinfo(), drvtables(), and SQLDisconnect().

char* dbc::dsn
 

ODBC data source name.

Definition at line 85 of file sqliteodbc.h.

Referenced by dbopen(), drvgetinfo(), and SQLDisconnect().

ENV* dbc::env
 

Pointer to environment.

Definition at line 80 of file sqliteodbc.h.

Referenced by drvallocconnect(), and drvfreeconnect().

int dbc::intrans
 

True when transaction started.

Definition at line 91 of file sqliteodbc.h.

Referenced by drvexecute(), drvsetconnectattr(), drvsetconnectoption(), endtran(), and SQLDisconnect().

SQLCHAR dbc::logmsg[1024]
 

Message for SQLError().

Definition at line 95 of file sqliteodbc.h.

Referenced by drverror(), drvgetdiagrec(), setstat(), and setstatd().

int dbc::magic
 

Magic cookie.

Definition at line 79 of file sqliteodbc.h.

Referenced by drvallocconnect(), drvallocstmt(), drvconnect(), drverror(), drvfreeconnect(), freestmt(), and SQLDisconnect().

int dbc::naterr
 

Native error code.

Definition at line 93 of file sqliteodbc.h.

Referenced by drverror(), drvgetdiagrec(), setstat(), and setstatd().

struct dbc* dbc::next
 

Pointer to next DBC.

Definition at line 81 of file sqliteodbc.h.

Referenced by drvallocconnect(), drvendtran(), and drvfreeconnect().

int dbc::nowchar
 

Don't try to use WCHAR.

Definition at line 96 of file sqliteodbc.h.

Referenced by drvallocstmt(), and drvconnect().

int* dbc::ov3
 

True for SQL_OV_ODBC3.

Definition at line 88 of file sqliteodbc.h.

Referenced by dbopen(), drvallocconnect(), drvallocstmt(), drvconnect(), drvdriverconnect(), drvfreeconnect(), drvgetconnectattr(), drvgetconnectoption(), drvgetinfo(), and endtran().

int dbc::ov3val
 

True for SQL_OV_ODBC3.

Definition at line 89 of file sqliteodbc.h.

Referenced by drvallocconnect().

sqlite* dbc::sqlite
 

SQLITE database handle.

Definition at line 82 of file sqliteodbc.h.

Referenced by dbopen(), drvcolumns(), drvconnect(), drvdriverconnect(), drvexecute(), drvforeignkeys(), drvfreeconnect(), drvgetconnectattr(), drvprepare(), drvprimarykeys(), drvspecialcolumns(), drvstatistics(), drvtables(), endtran(), mkresultset(), selcb(), SQLDisconnect(), vm_start(), and vm_step().

char dbc::sqlstate[6]
 

SQL state for SQLError().

Definition at line 94 of file sqliteodbc.h.

Referenced by drverror(), drvgetdiagrec(), setstat(), and setstatd().

int dbc::step_enable
 

True for sqlite_compile/step/finalize.

Definition at line 98 of file sqliteodbc.h.

Referenced by dbopen(), and drvexecute().

struct stmt* dbc::stmt
 

STMT list of this DBC.

Definition at line 92 of file sqliteodbc.h.

Referenced by drvallocstmt(), drvfreeconnect(), and freestmt().

long dbc::t0
 

Start time for SQLITE busy handler.

Definition at line 87 of file sqliteodbc.h.

Referenced by busy_handler().

int dbc::timeout
 

Lock timeout value.

Definition at line 86 of file sqliteodbc.h.

Referenced by busy_handler(), and dbopen().

int dbc::version
 

SQLITE version number.

Definition at line 83 of file sqliteodbc.h.

Referenced by drvallocconnect(), and drvprepare().

int dbc::vm_rownum
 

Current row number.

Definition at line 100 of file sqliteodbc.h.

Referenced by drvgetstmtattr(), drvgetstmtoption(), vm_start(), and vm_step().

struct stmt* dbc::vm_stmt
 

Current STMT executing VM.

Definition at line 99 of file sqliteodbc.h.

Referenced by drvexecute(), drvgetstmtattr(), drvgetstmtoption(), drvsetconnectattr(), drvsetconnectoption(), SQLDisconnect(), vm_end(), vm_end_if(), vm_start(), and vm_step().


The documentation for this struct was generated from the following file:
Generated on 8 Nov 2004 by doxygen.
Contact: chw@ch-werner.de