Re: [sqlite] How to get transaction state?

2005-05-18 Thread Mike Owens
On 5/18/05, Gerhard Haering <[EMAIL PROTECTED]> wrote: > On Wed, May 18, 2005 at 10:22:39AM -0500, Mike Owens wrote: > > What about sqlite3_set_authorizer()? Implement a callback function and > > monitor changes in transaction state for each connection object: [...] > > Didn't try, yet. But does

Re: [sqlite] How to get transaction state?

2005-05-18 Thread Gerhard Haering
Hi Mike, good to know you're still around :-) On Wed, May 18, 2005 at 10:22:39AM -0500, Mike Owens wrote: > What about sqlite3_set_authorizer()? Implement a callback function and > monitor changes in transaction state for each connection object: [...] Didn't try, yet. But does this get called

Re: [sqlite] How to get transaction state?

2005-05-18 Thread Will Leshner
On May 18, 2005, at 8:22 AM, Mike Owens wrote: What about sqlite3_set_authorizer()? Implement a callback function and monitor changes in transaction state for each connection object: open_database(...) { ... sqlite3* db = ... connection_object* object = ...

[sqlite] How to get transaction state?

2005-05-18 Thread Gerhard Haering
In pysqlite, I need to keep track of the transaction state (in transaction/not in transaction). To handle ON CONFLICT ROLLBACK in pysqlite correctly, I need to be able to query the transaction state. As I see it, that's currently not possible. Am I mistaken? Otherwise, could you please