Re: Bug report: x64 Row status Array uses wrong data type - Mailing list pgsql-odbc

From Clemens Ladisch
Subject Re: Bug report: x64 Row status Array uses wrong data type
Date
Msg-id f704455b-efcd-8e87-5a82-8709dfcd42c1@ladisch.de
Whole thread Raw
In response to RE: Bug report: x64 Row status Array uses wrong data type  (Jari Siikarla <jari.siikarla@ddswireless.com>)
List pgsql-odbc
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


pgsql-odbc by date:

Previous
From: "Inoue, Hiroshi"
Date:
Subject: Re: 32-bit odbc source compilation failed
Next
From: Ashraf Parakkuth Thattasseri
Date:
Subject: RE: 32-bit odbc source compilation failed