Re: Bug report: x64 Row status Array uses wrong data type
Clemens Ladisch <[email protected]> Mon, 14 May 2018 17:09:02 +0200
| Newsgroups | gmane.comp.db.postgresql.odbc |
|---|---|
| Message-ID | <[email protected]> |
Jari Siikarla wrote: > https://docs.microsoft.com/en-us/sql/odbc/reference/odbc-64-bit-information > “ > SQLSetStmtAttr > When the Attribute parameter has one of the following values, a 64-bit value is passed in *ValuePtr: > … > SQL_ATTR_ROW_STATUS_PTR > … > ” This is a typo on that web page, "*ValuePtr" should be "ValuePtr". (Most of these SQL_ATTR_xxx attribute values are not pointers, so it does not make sense to dereference ValuePtr.) Only the _pointer_ to the row status array is 64 bits. > https://support.oracle.com/knowledge/Oracle%20Database%20Products/1472987_1.html > “ > in 64-bit mode the status values are 64-bit Of the two possible interpretations of Microsoft's statement, Oracle chose the wrong one. Regards, Clemens