Обсуждение: Regression in SQLGetDiagField

Поиск
Список
Период
Сортировка

Regression in SQLGetDiagField

От
PSequel Support
Дата:
If a database requires a password and I try to connect to it without a password, it will fail of course. In the version of `psqlodbcw.so` built from tag REL-09_03_0400, I was able to get the error message ("A password is required for this connection") with `SQLGetDiagField`. However, the version built from the HEAD of the latest master branch, `SQLGetDiagField` returns `SQL_NO_DATA`.

Re: Regression in SQLGetDiagField

От
Heikki Linnakangas
Дата:
On 10/25/2015 03:20 AM, PSequel Support wrote:
> If a database requires a password and I try to connect to it without a
> password, it will fail of course. In the version of `psqlodbcw.so` built
> from tag REL-09_03_0400, I was able to get the error message ("A password
> is required for this connection") with `SQLGetDiagField`. However, the
> version built from the HEAD of the latest master
> branch, `SQLGetDiagField` returns `SQL_NO_DATA`.

Fixed, thanks for the report! If you have a chance, please check out the
later master again and check that it now works for you too.

- Heikki