Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 816824760BC for ; Sun, 24 Nov 2002 20:55:22 -0500 (EST) Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id B823E476019 for ; Sun, 24 Nov 2002 20:55:20 -0500 (EST) Received: (qmail 882 invoked from network); 25 Nov 2002 01:54:50 -0000 Received: from unknown (HELO tpf.co.jp) (126.0.1.60) by sd2.tpf-fw-c.co.jp with SMTP; 25 Nov 2002 01:54:50 -0000 Message-ID: <3DE18349.9E3CDA92@tpf.co.jp> Date: Mon, 25 Nov 2002 10:56:25 +0900 From: Hiroshi Inoue X-Mailer: Mozilla 4.73 [ja] (Windows NT 5.0; U) X-Accept-Language: ja MIME-Version: 1.0 To: Glen Parker Cc: pgsql-odbc@postgresql.org Subject: Re: Bug in latest ODBC driver (07.02.0004) References: <002801c291e7$afd7e5f0$0b01a8c0@johnpark.net> Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/127 X-Sequence-Number: 2304 Glen Parker wrote: > > The 07.02.0004 (the ver. 3, non unicode in this case) driver has > broken some programs I have. Attached is a snip from my ODBC log. > > The basic problem seems to be that sending a 'create ...' statement > to the server and trying to get the row count after it executes > causes errors that shouldn't be happening. The statement executes > fine, as the log shows, but SQLRowCount() returns -1 (SQL_ERROR). > There is also aparently no error info saved because > SQLGetDiagRecW() returns 100 (SQL_NO_DATA_FOUND). > > Shouldn't SQLRowCount() succeed and return a row count of -1? You seem to be right. I would commit the change. Also try the snapshot dll at http://w2422.nsk.ne.jp/~inoue/. Thanks. Hiroshi Inoue