Re: Driver patch

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: Driver patch
Дата
Msg-id 3ADFF7FB.87AFC9EB@tpf.co.jp
обсуждение исходный текст
Ответ на Driver patch  ("Andrea Aime" <aaime@comune.modena.it>)
Список pgsql-odbc
Andrea Aime wrote:
>
> Hi everybody,
> I've found and fixed the source of my problems, now Autocad is happy
> (and I'm happy too :-)). The problem is in parse.c/searchColInfo:
>
> char
> searchColInfo(COL_INFO *col_info, FIELD_INFO *fi)
> ...
>
>         {
>                 col = QR_get_value_manual(col_info->result, k, 3);
>                 if (!strcmp(col, fi->name))
>                 {
>                         getColInfo(col_info, fi, k);
>
>                         mylog("PARSE: searchColInfo: \n");
>                         return TRUE;
>                 }
> ...
> }
>
> strcmp must be replaced with stricmp, fi->name derives from the query
> "SELECT CLASSE FROM tav974 WHERE SIAPK974=?", so it is upcase, whilst
> in col_info the same is stored lowcase.
>

OK I would commit your change in a convenient time(I'm
holding some patches and have to commit in order).

Thanks.
Hiroshi Inoue

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

Предыдущее
От: "Andrea Aime"
Дата:
Сообщение: Driver patch
Следующее
От: "Andrea Aime"
Дата:
Сообщение: Another bug with parse statements on