----- Original Message ---- > From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > To: sqlite-users@sqlite.org > Sent: Tuesday, March 27, 2007 1:50:51 PM > Subject: Re: [sqlite] Transaction detection... > > > [EMAIL PROTECTED] wrote: > > Hi all > > > > Is there a way to detect if a transaction is active on the current > > connection? > > Basically the equivalent of "PQtransactionStatus" in postgresql. > > > > I need that to automate rollback or commit depending on other variables > > within my application while keeping the connection open. > > > > http://www.sqlite.org/capi3ref#sqlite3_get_autocommit
Cool thanks, that should do it. Sorry I missed that api call. Nicolas