Re: Bug in latest ODBC driver (07.02.0004)

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: Bug in latest ODBC driver (07.02.0004)
Дата
Msg-id 3DE18349.9E3CDA92@tpf.co.jp
обсуждение исходный текст
Ответ на Bug in latest ODBC driver (07.02.0004)  ("Glen Parker" <glenebob@nwlink.com>)
Ответы Re: Bug in latest ODBC driver (07.02.0004)  ("Glen Parker" <glenebob@nwlink.com>)
Bug #2 in latest ODBC driver (07.02.0004)  ("Glen Parker" <glenebob@nwlink.com>)
Список pgsql-odbc
Glen Parker wrote:
>
> The 07.02.0004 (the ver. 3, non unicode in this case) driver has
> broken some programs I have.  Attached is a snip from my ODBC log.
>
> The basic problem seems to be that sending a 'create ...' statement
> to the server and trying to get the row count after it executes
> causes errors that shouldn't be happening.  The statement executes
> fine, as the log shows, but SQLRowCount() returns -1 (SQL_ERROR).
> There is also aparently no error info saved because
> SQLGetDiagRecW() returns 100 (SQL_NO_DATA_FOUND).
>
> Shouldn't SQLRowCount() succeed and return a row count of -1?

You seem to be right. I would commit the change.
Also try the snapshot dll at http://w2422.nsk.ne.jp/~inoue/.

Thanks.
Hiroshi Inoue

В списке pgsql-odbc по дате отправления:

Предыдущее
От: "Tim Noske"
Дата:
Сообщение: Having problems using ODBC on pgSQL
Следующее
От: Hiroshi Inoue
Дата:
Сообщение: Re: Text field truncation problem