Markus Kolb wrote: > Hello, > > I open one connection to a sqlitedb and do a few successful autocommited > sqlite3_exec() calls. > Then I want to use the db handle to call another sqlite3_exec() with SQL > code for a transaction. > Before I close the connection I call again sqlite3_exec() with SQL > COMMIT to end the transaction. > This produces the sqlite error: cannot commit transaction - SQL > statements in progress > > I don't use statements and/or threading in my code but sqlite is > compiled with threading enabled. > > I don't understand why there are statements in progress?
Thanks for your "very numerous" help ;) I know it in the meantime. The transaction stuff got called by accident in a callback function. The callbacks are threaded by sqlite?! Bye