diff options
author | Hiroshi Inoue <inoue@tpf.co.jp> | 2002-05-22 05:51:03 +0000 |
---|---|---|
committer | Hiroshi Inoue <inoue@tpf.co.jp> | 2002-05-22 05:51:03 +0000 |
commit | 79420840ee4f56b8399d3f526bb45ce788198e2e (patch) | |
tree | 83027ac6beca92e86847cf9468d58e9385bcc6fc /src/interfaces/odbc/bind.h | |
parent | 6c6f395a8aca8a9525d62cbf46fbafd130bdb9e5 (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/bind.h')
-rw-r--r-- | src/interfaces/odbc/bind.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/interfaces/odbc/bind.h b/src/interfaces/odbc/bind.h index 7eadea92e44..f2467c7713a 100644 --- a/src/interfaces/odbc/bind.h +++ b/src/interfaces/odbc/bind.h @@ -27,6 +27,8 @@ struct BindInfoClass_ Int2 returntype; /* kind of conversion to be applied when * returning (SQL_C_DEFAULT, * SQL_C_CHAR...) */ + Int2 precision; /* the precision for numeric or timestamp type */ + Int2 scale; /* the scale for numeric type */ }; /* @@ -40,12 +42,14 @@ struct ParameterInfoClass_ Int2 paramType; Int2 CType; Int2 SQLType; - UInt4 column_size; Int2 decimal_digits; + UInt4 column_size; Oid lobj_oid; Int4 *EXEC_used; /* amount of data OR the oid of the large * object */ char *EXEC_buffer; /* the data or the FD of the large object */ + Int2 precision; /* the precision for numeric or timestamp type */ + Int2 scale; /* the scale for numeric type */ char data_at_exec; }; |