Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 1C2EF475AE5 for ; Tue, 26 Nov 2002 04:11:58 -0500 (EST) Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id 48A25475AAC for ; Tue, 26 Nov 2002 04:11:56 -0500 (EST) Received: (qmail 7975 invoked from network); 26 Nov 2002 09:11:50 -0000 Received: from unknown (HELO tpf.co.jp) (126.0.1.60) by sd2.tpf-fw-c.co.jp with SMTP; 26 Nov 2002 09:11:50 -0000 Message-ID: <3DE33B35.16B290D3@tpf.co.jp> Date: Tue, 26 Nov 2002 18:13: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 #2 in latest ODBC driver (07.02.0004) References: <009601c294c7$cc01d4b0$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/139 X-Sequence-Number: 2316 Glen Parker wrote: > > This bug *seems* to be the result of incomplete statement recycling (old > values left behind from previous executions). This is mostly a guess. > Log is attached. > > If a non-select statement is executed (INSERT in this case) followed by > a select, trying to fetch the rows from the select will fail with an > invalid scroll type error. > > Compiling the driver without the DRIVER_CURSOR_IMPLEMENT flag eliminates > the errors. Turning updatable cursors on/off in the driver config has > no apparent affect. I committed a change to cvs though I tested none about it. Could you try it ? Please nmake clean before rebuilding it. regards, Hiroshi Inoue http://w2422.nsk.ne.jp/~inoue/