Go to the documentation of this file.
27 #if defined(_WIN32) || defined(_WIN64)
33 #include <sys/types.h>
39 #if defined(HAVE_LOCALECONV) || defined(_WIN32) || defined(_WIN64)
51 #include <iodbcinst.h>
53 #if defined(HAVE_UNIXODBC) || defined(_WIN32) || defined(_WIN64)
62 #define SQLLEN SQLINTEGER
65 #define SQLLEN_PTR SQLLEN *
68 #define SQLULEN SQLUINTEGER
71 #ifndef HAVE_SQLROWCOUNT
72 #define SQLROWCOUNT SQLUINTEGER
75 #ifndef HAVE_SQLSETPOSIROW
76 #define SQLSETPOSIROW SQLUSMALLINT
79 #ifndef HAVE_SQLROWOFFSET
80 #define SQLROWOFFSET SQLLEN
83 #ifndef HAVE_SQLROWSETSIZE
84 #define SQLROWSETSIZE SQLULEN
100 #if defined(_WIN32) || defined(_WIN64)
147 #ifdef USE_DLOPEN_FOR_GPPS
151 #if defined(_WIN32) || defined(_WIN64)
int nrows
Number of result rows.
SQLCHAR * query
Current query, raw string.
int timeout
Lock timeout value.
double s3dval
SQLite3 float value.
struct dbc * dbcs
Pointer to first DBC.
SQLULEN paramset_size
SQL_ATTR_PARAMSET_SIZE.
char ** rows
2-dim array, result set
int pdcount
SQLParamData() counter.
int has_pk
Flag for primary key (> 0)
char * column
Column name.
FILE * trace
sqlite3_trace() file pointer or NULL
int guessed_types
Flag for drvprepare()/drvexecute()
int dobigint
Force SQL_BIGINT for INTEGER columns.
int naterr
Native error code.
SQLULEN * row_count
Row count pointer.
char sqlstate[6]
SQL state for SQLError()
char * pwd
Password or NULL.
int pool
True for SQL_CP_ONE_PER_DRIVER.
SQLULEN bind_type
SQL_ATTR_ROW_BIND_TYPE.
char sqlstate[6]
SQL state for SQLError()
SQLCHAR logmsg[1024]
Message for SQLError()
int naterr
Native error code.
SQLULEN parm_bind_type
SQL_ATTR_PARAM_BIND_TYPE.
long t0
Start time for SQLITE busy handler.
SQLULEN * parm_bind_offs
SQL_ATTR_PARAM_BIND_OFFSET_PTR.
BINDPARM * bindparms
Array of bound parameters.
sqlite_int64 s3lival
SQLite3 64bit integer value.
int longnames
Don't shorten column names.
int dobigint
Force SQL_BIGINT for INTEGER columns.
int ncols
Number of result columns.
int oemcp
True for Win32 OEM CP translation.
int s3stmt_rownum
Current row number.
int bound
True when SQLBindParameter() called.
int * jdconv
True for julian day conversion.
void * param
Parameter buffer.
struct stmt * stmt
STMT list of this DBC.
int ov3val
True for SQL_OV_ODBC3.
int jdconv
True for julian day conversion.
int prec
Precision of column.
SQLUINTEGER paramset_nrows
Row count for paramset handling.
int trans_disable
True for no transaction support.
int autoinc
AUTO_INCREMENT column.
SQLINTEGER * bkmrkptr
SQL_ATTR_FETCH_BOOKMARK_PTR.
SQLLEN * lenp
Value return, actual size of value buffer.
SQLLEN * lenp0
Actual size of parameter buffer, initial value.
SQLLEN * lenp
Actual size of parameter buffer.
SQLUSMALLINT row_status1
Internal status array for 1 row rowsets.
COL * cols
Result column array.
int busyint
Interrupt busy handler from SQLCancel()
SQLCHAR cursorname[32]
Cursor name.
int longnames
Don't shorten column names.
void * s3val
SQLite3 value buffer.
SQLUSMALLINT * parm_oper
SQL_ATTR_PARAM_OPERATION_PTR.
sqlite3 * sqlite
SQLITE database handle.
int * oemcp
True for Win32 OEM CP translation.
int rowprs
Current start row of rowset.
int notnull
NOT NULL constraint on column.
int index
Index of column in result.
int isselect
0 if query is a SELECT statement
int shortnames
Always use short column names.
int nocreat
Don't auto create database file.
void(* rowfree)()
Free function for rows.
SQLULEN retr_data
SQL_ATTR_RETRIEVE_DATA.
struct stmt * next
Linkage for STMT list in DBC.
int offs
Byte offset for SQLGetData()
char * bincache
Cache for blob data.
int ov3
True for SQL_OV_ODBC3.
char * label
Column label or NULL.
int * ov3
True for SQL_OV_ODBC3.
int step_enable
True for sqlite_compile/step/finalize.
int intrans
True when transaction started.
SQLUSMALLINT * row_status0
Internal status array.
int version
SQLITE version number.
int scale
from SQLBindParameter()
SQLUSMALLINT * row_status
Row status pointer.
int nowchar[2]
Don't try to use WCHAR.
struct stmt * cur_s3stmt
Current STMT executing sqlite statement.
void * parbuf
Buffer for SQL_LEN_DATA_AT_EXEC etc.
int scale
Scale of column.
int nbindparms
Number bound parameters.
SQLULEN max_rows
SQL_ATTR_MAX_ROWS.
int index
Index of column in result.
BINDCOL * bindcols
Array of bound columns.
int ispk
Flag for primary key (> 0)
char * dsn
ODBC data source name.
int binlen
Length of blob data.
int rowp
Current result row.
int curtype
Default cursor type.
int nbindcols
Number of entries in bindcols.
int autocommit
Auto commit state.
int bkmrk
True when bookmarks used.
SQLCHAR logmsg[1024]
Message for SQLError()
char * dbname
SQLITE database name.
COL * dyncols
Column array, but malloc()ed.
SQLPOINTER valp
Value buffer.
SQLULEN rowset_size
Size of rowset.
ENV * env
Pointer to environment.
int fksupport
Foreign keys on or off.
int s3stmt_needmeta
True to get meta data in s3stmt_step().
int nparams
Number of parameters in query.
int one_tbl
Flag for single table (> 0)
SQLULEN paramset_count
Internal for paramset.
int s3ival
SQLite3 integer value.
int isrowid
Flag for ROWID column (> 0)
int * ov3
True for SQL_OV_ODBC3.
BINDCOL bkmrkcol
Bookmark bound column.
int need
True when SQL_LEN_DATA_AT_EXEC.
struct dbc * next
Pointer to next DBC.
SQLULEN * bind_offs
SQL_ATTR_ROW_BIND_OFFSET_PTR.
int nowchar
Don't try to use WCHAR.
int s3stmt_noreset
False when sqlite3_reset() needed.
int dcols
Number of entries in dyncols.
SQLULEN * parm_proc
SQL_ATTR_PARAMS_PROCESSED_PTR.
sqlite3_stmt * s3stmt
SQLite statement handle or NULL.
int type
Data type of column.
int pwdLen
Length of password.
int inc
Increment for paramset size > 1.
char * bincell
Cache for blob data.
void * param0
Parameter buffer, initial value.
int has_rowid
Flag for ROWID (>= 0 or -1)
SQLUSMALLINT * parm_status
SQL_ATTR_PARAMS_STATUS_PTR.
SQLSMALLINT type
ODBC type.
SQLULEN row_count0
Row count.
Generated on Mon Aug 17 2020 by doxygen.
Contact: chw@ch-werner.de