pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
bug in EN_set_odbc3 macro
2+ messages / 2 participants
[nested] [flat]

* bug in EN_set_odbc3 macro
@ 2003-11-05 17:28 Tomas Skäre <tomas@nocrew.org>
  2003-11-05 21:43 ` Re: bug in EN_set_odbc3 macro Hiroshi Inoue <inoue@tpf.co.jp>
  0 siblings, 1 reply; 2+ messages in thread

From: tomas@nocrew.org @ 2003-11-05 17:28 UTC (permalink / raw)
  To: pgsql-odbc

Hi,

I found that the EN_set_odbc3 macro in environ.h seems to be
wrong. It's defined as:

#define EN_set_odbc3(env) (env->flag &= EN_OV_ODBC2)

There should probably be a ~ in there too:

#define EN_set_odbc3(env) (env->flag &= ~EN_OV_ODBC2)


Greetings,

Tomas



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: bug in EN_set_odbc3 macro
  2003-11-05 17:28 bug in EN_set_odbc3 macro Tomas Skäre <tomas@nocrew.org>
@ 2003-11-05 21:43 ` Hiroshi Inoue <inoue@tpf.co.jp>
  0 siblings, 0 replies; 2+ messages in thread

From: Hiroshi Inoue @ 2003-11-05 21:43 UTC (permalink / raw)
  To: 'Tomas Sk$BgS(Be' <tomas@nocrew.org>; +Cc: pgsql-odbc

> -----Original Message-----
> From: Tomas Sk$BgS(Be
> 
> Hi,
> 
> I found that the EN_set_odbc3 macro in environ.h seems to be
> wrong. It's defined as:
> 
> #define EN_set_odbc3(env) (env->flag &= EN_OV_ODBC2)
> 
> There should probably be a ~ in there too:
> 
> #define EN_set_odbc3(env) (env->flag &= ~EN_OV_ODBC2)

Oops you are right.
I would fix it ASAP.

Thanks.
Hiroshi Inoue




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2003-11-05 21:43 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-11-05 17:28 bug in EN_set_odbc3 macro Tomas Skäre <tomas@nocrew.org>
2003-11-05 21:43 ` Hiroshi Inoue <inoue@tpf.co.jp>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox