X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id D1329D1B947 for ; Wed, 5 Nov 2003 17:28:54 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 83333-02 for ; Wed, 5 Nov 2003 13:28:23 -0400 (AST) Received: from junk.nocrew.org (junk.nocrew.org [213.242.147.30]) by svr1.postgresql.org (Postfix) with ESMTP id A731FD1B4EF for ; Wed, 5 Nov 2003 13:28:22 -0400 (AST) Received: from tomas by junk.nocrew.org with local (Exim 3.35 #1 (Debian)) for pgsql-odbc@postgresql.org id 1AHRS7-0002bZ-00; Wed, 05 Nov 2003 18:28:19 +0100 To: pgsql-odbc@postgresql.org Subject: bug in EN_set_odbc3 macro From: tomas@nocrew.org (Tomas =?iso-8859-1?q?Sk=E4re?=) Date: 05 Nov 2003 18:28:19 +0100 Message-ID: <80u15iwwr0.fsf@junk.nocrew.org> Lines: 15 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/31 X-Sequence-Number: 3433 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