diff options
author | Hiroshi Inoue <inoue@tpf.co.jp> | 2002-03-28 08:08:07 +0000 |
---|---|---|
committer | Hiroshi Inoue <inoue@tpf.co.jp> | 2002-03-28 08:08:07 +0000 |
commit | 6852741c1879fd2bd5ab5b367c7fc5a130dfd4da (patch) | |
tree | a0f27a6fb623307b0772f2964f31707fd302972e /src/interfaces/odbc/odbcapi.c | |
parent | e6774dc3553d814e6aa500cabe5739b2e6f94df4 (diff) | |
download | postgresql-6852741c1879fd2bd5ab5b367c7fc5a130dfd4da.tar.gz postgresql-6852741c1879fd2bd5ab5b367c7fc5a130dfd4da.zip |
[2002-03-28]
1) Prepare to separate 4 kinds of Descriptor handles.
2) Detect the transaction status more naturally.
3) Improve Parse Statement functionality for the use
of updatable cursors.
4) Improve updatable cursors.
5) Implement SQLGetDescField() and improve SQLColAttribute().
6) etc.
Diffstat (limited to 'src/interfaces/odbc/odbcapi.c')
-rw-r--r-- | src/interfaces/odbc/odbcapi.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/interfaces/odbc/odbcapi.c b/src/interfaces/odbc/odbcapi.c index cbb31dad0a7..d116d00006c 100644 --- a/src/interfaces/odbc/odbcapi.c +++ b/src/interfaces/odbc/odbcapi.c @@ -204,8 +204,9 @@ SQLFetch(HSTMT StatementHandle) if (conn->driver_version >= 0x0300) { - SQLUSMALLINT *rowStatusArray = stmt->options.rowStatusArray; - SQLINTEGER *pcRow = stmt->options.rowsFetched; + IRDFields *irdopts = SC_get_IRD(stmt); + SQLUSMALLINT *rowStatusArray = irdopts->rowStatusArray; + SQLINTEGER *pcRow = irdopts->rowsFetched; mylog("[[%s]]", func); return PGAPI_ExtendedFetch(StatementHandle, SQL_FETCH_NEXT, 0, |