summaryrefslogtreecommitdiff
path: root/src/interfaces/odbc/statement.h
diff options
context:
space:
mode:
authorHiroshi Inoue <inoue@tpf.co.jp>2002-05-22 05:51:03 +0000
committerHiroshi Inoue <inoue@tpf.co.jp>2002-05-22 05:51:03 +0000
commit79420840ee4f56b8399d3f526bb45ce788198e2e (patch)
tree83027ac6beca92e86847cf9468d58e9385bcc6fc /src/interfaces/odbc/statement.h
parent6c6f395a8aca8a9525d62cbf46fbafd130bdb9e5 (diff)
1) Support Keyset Driven driver cursors.
2) Supprt ARD precision/scale and SQL_C_NUEMRIC. 3) Minimal implementation of SQLGetDiagField(). 4) SQLRowCount() reports the result of SQLSetPos and SQLBulkOperation. 5) int8 -> SQL_NUMERIC for Microsoft Jet. 6) Support isolation level change. 7) ODBC3.0 SQLSTATE code. 8) Append mode log files.
Diffstat (limited to 'src/interfaces/odbc/statement.h')
-rw-r--r--src/interfaces/odbc/statement.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/interfaces/odbc/statement.h b/src/interfaces/odbc/statement.h
index e0a01b7eab4..f1c2ddd4c1f 100644
--- a/src/interfaces/odbc/statement.h
+++ b/src/interfaces/odbc/statement.h
@@ -80,6 +80,7 @@ typedef enum
#define STMT_ERROR_IN_ROW 30
#define STMT_INVALID_DESCRIPTOR_IDENTIFIER 31
#define STMT_OPTION_NOT_FOR_THE_DRIVER 32
+#define STMT_FETCH_OUT_OF_RANGE 33
/* statement types */
enum
@@ -137,15 +138,6 @@ struct StatementClass_
char *errormsg;
int errornumber;
- /* information on bindings */
- /*** BindInfoClass *bindings; ***/ /* array to store the binding information */
- /*** BindInfoClass bookmark;
- int bindings_allocated; ***/
-
- /* information on statement parameters */
- /*** int parameters_allocated;
- ParameterInfoClass *parameters; ***/
-
Int4 currTuple; /* current absolute row number (GetData,
* SetPos, SQLFetch) */
int save_rowset_size; /* saved rowset size in case of
@@ -200,9 +192,11 @@ struct StatementClass_
char updatable;
SWORD errorpos;
SWORD error_recsize;
+ Int4 diag_row_count;
char *load_statement; /* to (re)load updatable individual rows */
Int4 from_pos;
Int4 where_pos;
+ Int4 last_fetch_count_include_ommitted;
};
#define SC_get_conn(a) (a->hdbc)