Re: SQLExecute returns 0 rows with BoolsAsChar=1

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: SQLExecute returns 0 rows with BoolsAsChar=1
Дата
Msg-id 514B3870.2060208@vmware.com
обсуждение исходный текст
Ответ на Re: SQLExecute returns 0 rows with BoolsAsChar=1  (Hiroshi Inoue <inoue@tpf.co.jp>)
Ответы Re: SQLExecute returns 0 rows with BoolsAsChar=1
Список pgsql-odbc
On 21.03.2013 14:19, Hiroshi Inoue wrote:
> (2013/03/19 7:25), Heikki Linnakangas wrote:
>> If you SQLPrepare a query, and bind a VARCHAR parameter with column_size
>> of exactly 5, and you have BoolsAsChar=1 (which is the default), the
>> subsequent SQLExecute will return 0 rows.
>
> Hmm I can't reproduce it here.
> Could you send me the Mylog output of the case?

Sure. Here's a test program to reproduce it, and the mylog output from
running it. It should print:

got result: foobar

But due to the bug, you get:

SQLFetch returned SQL_NO_DATA

- Heikki

Вложения

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

Предыдущее
От: Hiroshi Inoue
Дата:
Сообщение: Re: SQLExecute returns 0 rows with BoolsAsChar=1
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Issue with ALTER Table.