Re: Bug report: x64 Row status Array uses wrong data type

Поиск
Список
Период
Сортировка
От Clemens Ladisch
Тема Re: Bug report: x64 Row status Array uses wrong data type
Дата
Msg-id f704455b-efcd-8e87-5a82-8709dfcd42c1@ladisch.de
обсуждение исходный текст
Ответ на RE: Bug report: x64 Row status Array uses wrong data type  (Jari Siikarla <jari.siikarla@ddswireless.com>)
Список 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 по дате отправления:

Предыдущее
От: "Inoue, Hiroshi"
Дата:
Сообщение: Re: 32-bit odbc source compilation failed
Следующее
От: Ashraf Parakkuth Thattasseri
Дата:
Сообщение: RE: 32-bit odbc source compilation failed