Re: More strict bind param count checking

Поиск
Список
Период
Сортировка
От Ludek Finstrle
Тема Re: More strict bind param count checking
Дата
Msg-id 20051217205047.GA28826@soptik.pzkagis.cz
обсуждение исходный текст
Ответ на Re: More strict bind param count checking  (Hiroshi Inoue <inoue@tpf.co.jp>)
Список pgsql-odbc
> Looks pretty good to me.

Very good.

> It's more safe to adjust the param_count in case of apdopts->allocated <
> param_count.

Thanks fot pointing it.

> Also it's safe to change the following code in PGAPI_ParamData.
>
> /* At least 1 data at execution parameter, so Fill in the token value */
>         for (; i < apdopts->allocated; i++)

I implement it both. New patch attached.
I also change older test for param number from == to >= and
comment out some not used code.

Thank you very much again Hiroshi

Luf

P.S. Dave can I commit it if there it no negative answer?

Вложения

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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Does postgresql-odbc work on 64-bit platforms?
Следующее
От:
Дата:
Сообщение: [ psqlodbc-Bugs-1000490 ] cannot connect