Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 95184475B47 for ; Sat, 7 Dec 2002 19:49:49 -0500 (EST) Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id 3ABD6474E61 for ; Sat, 7 Dec 2002 19:49:48 -0500 (EST) Received: (qmail 7416 invoked from network); 8 Dec 2002 00:49:49 -0000 X-Authentication: inoue was authenticated by sd.tpf.co.jp at 8 Dec 2002 00:49:49 -0000 Received: from unknown (HELO mcadnote1) (219.61.40.6) by sd.tpf.co.jp with SMTP; 8 Dec 2002 00:49:49 -0000 From: "Hiroshi Inoue" To: "Glen Parker" Cc: Subject: Re: Driver confused by explicit transactions Date: Sun, 8 Dec 2002 09:51:31 +0900 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <02d001c29e48$2a59b030$0b01a8c0@johnpark.net> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/45 X-Sequence-Number: 2434 > -----Original Message----- > From: Glen Parker [mailto:glenebob@nwlink.com] > > > > It appears there is a somewhat on-going bug in the ODBC driver > > > (07.02.0005 in this case) concerning explicit transactions. The > > > following sequence demonstrates it. > > > > What do you mean by explicit transactions ? i. e > > > > > Begin transaction (OK) > > > > How do you begin the transaction ? > > By turning off auto-commit with a call to SQLSetConnectOption(). > > > > Execute update statement(s) (OK, records hidden from other > > > transactions) > > > Commit transaction (OK, records appear to other transactions) > > > > And how do you commit the transaction ? > > With a call to SQLTransact() to either commit or abort transaction. Should SQLTransact() turn on auto-commit ? regards, Hiroshi Inoue