Re: bug in EN_set_odbc3 macro - Mailing list pgsql-odbc

From Hiroshi Inoue
Subject Re: bug in EN_set_odbc3 macro
Date
Msg-id 003701c3a3e5$e5098330$3d283ddb@PbgX
Whole thread Raw
In response to bug in EN_set_odbc3 macro  (tomas@nocrew.org (Tomas Skäre))
List pgsql-odbc
> -----Original Message-----
> From: Tomas Sk舐e
>
> 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


pgsql-odbc by date:

Previous
From: tomas@nocrew.org (Tomas Skäre)
Date:
Subject: bug in EN_set_odbc3 macro
Next
From: "Philippe Lang"
Date:
Subject: Access, pass-through queries and isolation level