Hi,
I am executing some operations in a loop and all the operations are wrapped
inside a transaction. During one iteration the "END TRANSACTION" returned
with an error "database is locked". Since this is in a loop my next request
to "BEGIN TRASACTION" failed with "cannot start a transaction within a
transaction". What is the normal way to get rid of this situation? Is it
right to check the status with "sqlite3_get_autocommit" and issue a
"ROLLBACK TRASACTION" if it inside a transaction before issuing BEGIN?

Regards,
Manoj
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to