RE: Another bug with parse statements on

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема RE: Another bug with parse statements on
Дата
Msg-id EKEJJICOHDIEMGPNIFIJGEDBEDAA.Inoue@tpf.co.jp
обсуждение исходный текст
Ответ на Re: Another bug with parse statements on  ("Andrea Aime" <aaime@comune.modena.it>)
Список pgsql-odbc
> -----Original Message-----
> From: Andrea Aime [mailto:aaime@comune.modena.it]
>
> > >
> > > 'SELECT min(classe) as minimo, max(classe) as massimo
> > > FROM tav974'
> > > (
> > >  is a carriage return...)
> > >
> >
> > What kind of errors do you see ?
> > I couldn't find any related ERRORs in your log.
> >
> --------------------------------------------
> nfld=1, ntab=1
> Field 0:  expr=0, func=1, quote=0, dquote=0, numeric=0, name='min',
> alias='', dot=''
> Table 0: name='tav974', alias=''
>
> nfld = 1? There are two fields in the result of my query. Moreover it

OK please try the following patch.

regards,
Hiroshi Inoue

Index: parse.c
===================================================================
RCS file: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/odbc/parse.c,v
retrieving revision 1.16
diff -c -c -r1.16 parse.c
*** parse.c    2001/03/27 04:00:54    1.16
--- parse.c    2001/04/23 08:59:18
***************
*** 393,398 ****
--- 393,401 ----
                  {
                      blevel--;
                      mylog("blevel-- = %d\n", blevel);
+                 }
+                 if (blevel == 0)
+                 {
                      if (delim == ',')
                      {
                          in_func = FALSE;


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

Предыдущее
От: Hiroshi Inoue
Дата:
Сообщение: Re: Postgres 7.1, iODBC and PHP4
Следующее
От: Hiroshi Inoue
Дата:
Сообщение: Re: How to configure iodbc access to local postgres db?