#include <sqlite3odbc.h>
Definition at line 111 of file sqlite3odbc.h.
Data Fields | |
| int | magic |
| Magic cookie. | |
| ENV * | env |
| Pointer to environment. | |
| struct dbc * | next |
| Pointer to next DBC. | |
| sqlite3 * | sqlite |
| 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 | busyint |
| Interrupt busy handler from SQLCancel(). | |
| 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. | |
| struct stmt * | stmt |
| 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 | dobigint |
| Force SQL_BIGINT for INTEGER columns. | |
| int | shortnames |
| Always use short column names. | |
| int | longnames |
| Don't shorten column names. | |
| int | nocreat |
| Don't auto create database file. | |
| int | fksupport |
| Foreign keys on or off. | |
| int | curtype |
| Default cursor type. | |
| int | step_enable |
| True for sqlite_compile/step/finalize. | |
| int | trans_disable |
| True for no transaction support. | |
| int | oemcp |
| True for Win32 OEM CP translation. | |
| int | jdconv |
| True for julian day conversion. | |
| struct stmt * | cur_s3stmt |
| Current STMT executing sqlite statement. | |
| int | s3stmt_needmeta |
| True to get meta data in s3stmt_step(). | |
| FILE * | trace |
| sqlite3_trace() file pointer or NULL | |
| char * | pwd |
| Password or NULL. | |
| int | pwdLen |
| Length of password. | |
| int dbc::magic |
Magic cookie.
Definition at line 112 of file sqlite3odbc.h.
Referenced by drvallocconnect(), drvallocstmt(), drvconnect(), drvdisconnect(), drvfreeconnect(), freestmt(), and SQLCancel().
Pointer to environment.
Definition at line 113 of file sqlite3odbc.h.
Referenced by drvallocconnect(), and drvfreeconnect().
Pointer to next DBC.
Definition at line 114 of file sqlite3odbc.h.
Referenced by drvallocconnect(), and drvfreeconnect().
| sqlite3* dbc::sqlite |
SQLITE database handle.
Definition at line 115 of file sqlite3odbc.h.
Referenced by dbloadext(), dbopen(), drvbulkoperations(), drvcolumns(), drvconnect(), drvdisconnect(), drvdriverconnect(), drvforeignkeys(), drvfreeconnect(), drvgetconnectattr(), drvgettable(), drvprimarykeys(), drvsetpos(), drvspecialcolumns(), drvstatistics(), drvtableprivileges(), drvtables(), endtran(), fixupdyncols(), mkresultset(), s3stmt_start(), s3stmt_step(), SQLCancel(), and starttran().
| int dbc::version |
SQLITE version number.
Definition at line 116 of file sqlite3odbc.h.
Referenced by drvallocconnect().
| char* dbc::dbname |
SQLITE database name.
Definition at line 117 of file sqlite3odbc.h.
Referenced by dbopen(), drvdisconnect(), and drvgetinfo().
| char* dbc::dsn |
ODBC data source name.
Definition at line 118 of file sqlite3odbc.h.
Referenced by dbopen(), drvdisconnect(), drvgetdiagfield(), and drvgetinfo().
| int dbc::timeout |
Lock timeout value.
Definition at line 119 of file sqlite3odbc.h.
Referenced by busy_handler(), and dbopen().
| long dbc::t0 |
Start time for SQLITE busy handler.
Definition at line 120 of file sqlite3odbc.h.
Referenced by busy_handler().
| int dbc::busyint |
Interrupt busy handler from SQLCancel().
Definition at line 121 of file sqlite3odbc.h.
Referenced by busy_handler(), s3stmt_end(), s3stmt_end_if(), and SQLCancel().
| int* dbc::ov3 |
True for SQL_OV_ODBC3.
Definition at line 122 of file sqlite3odbc.h.
Referenced by dbopen(), drvallocconnect(), drvallocstmt(), drvconnect(), drvdriverconnect(), drvfreeconnect(), drvgetconnectattr(), drvgetconnectoption(), drvgetinfo(), endtran(), and SQLConnectW().
| int dbc::ov3val |
True for SQL_OV_ODBC3.
Definition at line 123 of file sqlite3odbc.h.
Referenced by drvallocconnect().
| int dbc::autocommit |
Auto commit state.
Definition at line 124 of file sqlite3odbc.h.
Referenced by drvallocconnect(), drvgetconnectattr(), drvgetconnectoption(), drvsetconnectattr(), drvsetconnectoption(), endtran(), and starttran().
| int dbc::intrans |
True when transaction started.
Definition at line 125 of file sqlite3odbc.h.
Referenced by drvdisconnect(), drvsetconnectattr(), drvsetconnectoption(), endtran(), and starttran().
STMT list of this DBC.
Definition at line 126 of file sqlite3odbc.h.
Referenced by drvallocstmt(), drvfreeconnect(), drvgettable(), and freestmt().
| int dbc::naterr |
Native error code.
Definition at line 127 of file sqlite3odbc.h.
Referenced by drvgetdiagfield(), drvgetdiagrec(), and setstatd().
| char dbc::sqlstate[6] |
SQL state for SQLError().
Definition at line 128 of file sqlite3odbc.h.
Referenced by drvgetdiagfield(), drvgetdiagrec(), and setstatd().
| SQLCHAR dbc::logmsg[1024] |
Message for SQLError().
Definition at line 129 of file sqlite3odbc.h.
Referenced by drvgetdiagfield(), drvgetdiagrec(), and setstatd().
| int dbc::nowchar |
Don't try to use WCHAR.
Definition at line 130 of file sqlite3odbc.h.
Referenced by drvallocstmt(), drvconnect(), and drvdriverconnect().
| int dbc::dobigint |
Force SQL_BIGINT for INTEGER columns.
Definition at line 131 of file sqlite3odbc.h.
Referenced by drvallocstmt(), drvconnect(), and drvdriverconnect().
| int dbc::shortnames |
Always use short column names.
Definition at line 132 of file sqlite3odbc.h.
Referenced by drvconnect(), drvdriverconnect(), and setsqliteopts().
| int dbc::longnames |
Don't shorten column names.
Definition at line 133 of file sqlite3odbc.h.
Referenced by drvallocstmt(), drvconnect(), drvdriverconnect(), and setsqliteopts().
| int dbc::nocreat |
Don't auto create database file.
Definition at line 134 of file sqlite3odbc.h.
Referenced by dbopen(), drvconnect(), and drvdriverconnect().
| int dbc::fksupport |
Foreign keys on or off.
Definition at line 135 of file sqlite3odbc.h.
Referenced by drvconnect(), drvdriverconnect(), and setsqliteopts().
| int dbc::curtype |
Default cursor type.
Definition at line 136 of file sqlite3odbc.h.
Referenced by dbopen(), drvallocconnect(), drvallocstmt(), drvgetconnectattr(), and drvgetconnectoption().
| int dbc::step_enable |
True for sqlite_compile/step/finalize.
Definition at line 137 of file sqlite3odbc.h.
Referenced by dbopen().
True for no transaction support.
Definition at line 138 of file sqlite3odbc.h.
Referenced by dbopen(), and starttran().
| int dbc::oemcp |
True for Win32 OEM CP translation.
Definition at line 139 of file sqlite3odbc.h.
Referenced by drvallocconnect(), drvallocstmt(), drvconnect(), and drvdriverconnect().
| int dbc::jdconv |
True for julian day conversion.
Definition at line 140 of file sqlite3odbc.h.
Referenced by drvallocstmt(), drvconnect(), and drvdriverconnect().
struct stmt* dbc::cur_s3stmt [read] |
Current STMT executing sqlite statement.
Definition at line 141 of file sqlite3odbc.h.
Referenced by drvdisconnect(), drvsetconnectattr(), drvsetconnectoption(), s3stmt_end(), s3stmt_end_if(), s3stmt_start(), and s3stmt_step().
True to get meta data in s3stmt_step().
Definition at line 142 of file sqlite3odbc.h.
Referenced by s3stmt_start(), and s3stmt_step().
| FILE* dbc::trace |
sqlite3_trace() file pointer or NULL
Definition at line 143 of file sqlite3odbc.h.
Referenced by dbopen(), dbtrace(), dbtraceapi(), dbtracerc(), drvbulkoperations(), drvconnect(), drvdisconnect(), drvdriverconnect(), drvfreeconnect(), s3bind(), s3stmt_coltype(), s3stmt_step(), setposbind(), and setposibind().
| char* dbc::pwd |
Password or NULL.
Definition at line 144 of file sqlite3odbc.h.
Referenced by dbopen(), drvconnect(), and drvdriverconnect().
| int dbc::pwdLen |
Length of password.
Definition at line 145 of file sqlite3odbc.h.
Referenced by dbopen(), drvconnect(), and drvdriverconnect().