bug in EN_set_odbc3 macro - Mailing list pgsql-odbc

From tomas@nocrew.org (Tomas Skäre)
Subject bug in EN_set_odbc3 macro
Date
Msg-id 80u15iwwr0.fsf@junk.nocrew.org
Whole thread Raw
Responses Re: bug in EN_set_odbc3 macro
List 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

pgsql-odbc by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Access, ODBC and "other users"
Next
From: "Hiroshi Inoue"
Date:
Subject: Re: bug in EN_set_odbc3 macro