Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 55988 invoked from network); 16 Sep 2005 18:56:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Sep 2005 18:56:24 -0000 Received: (qmail 48278 invoked by uid 500); 16 Sep 2005 18:56:22 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 48212 invoked by uid 500); 16 Sep 2005 18:56:22 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 48199 invoked by uid 99); 16 Sep 2005 18:56:21 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Sep 2005 11:56:21 -0700 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=SPF_HELO_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [167.206.4.196] (HELO mta1.srv.hcvlny.cv.net) (167.206.4.196) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Sep 2005 11:56:31 -0700 Received: from [192.168.1.101] (ool-43516080.dyn.optonline.net [67.81.96.128]) by mta1.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-2.06 (built May 11 2005)) with ESMTP id <0IMX0076VB98VH80@mta1.srv.hcvlny.cv.net> for dev@apr.apache.org; Fri, 16 Sep 2005 14:55:57 -0400 (EDT) Date: Fri, 16 Sep 2005 14:55:53 -0400 From: Ronen Mizrahi Subject: Re: possible bug in apr_dbd_sqlite3.c In-reply-to: <20050916174425.82185.qmail@web30001.mail.mud.yahoo.com> To: Rick Keiner Cc: dev@apr.apache.org Reply-to: ronen@tversity.com Message-id: <432B1539.4080809@tversity.com> Organization: TVersity MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en References: <20050916174425.82185.qmail@web30001.mail.mud.yahoo.com> User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thank you for responding. May I ask also a question about the apr_dbd interface and how it should be used with sqlite in order to roll back a transaction. I was looking for a way to rollback a transaction, and it looks like the interface right now allows one to start a transaction and to commit it but it does not allow one to roll it back. I ended up using apr_dbd_select() with an SQL string of "ROLLBACK", is this how the interface intends for users to do it? Should there perhaps be function in apr_dbd for rollback? Rick Keiner wrote: > I have been working on that and you're right, the "END TRANSACTION" is not > needed and makes transactions fail. I removed it and the test case works > fine. I'll get a patch to the list soon. I've been working on a seperate > problem with the new release of SQLite that may effect the driver. I would > like to complete that first and then submit a patch to the list. > > */Garrett Rooney /* wrote: > > On 9/15/05, Ronen Mizrahi wrote: > > Yet again, I would like to ask if anyone has any feedback on > this? If > > someone out there is pondering some issues about this, please > respond, > > perhaps a discussion may help and at the least I would know that > someone > > is planning to address this issue. > > I suspect nobody has gotten around to looking at it. If you think > there's a problem, a patch to correct it or at least to add a test > that shows the issue would certainly be appreciated. As it stands, > it'll just have to wait until someone who understands the sqlite code > gets some free time. > > -garrett >