On 16 Dec 2019, at 7:16pm, Jesse Rittner <rittneje+sql...@gmail.com> wrote:

> 1. Can sqlite3_interrupt interrupt a call to BEGIN or its variants (BEGIN
> IMMEDIATE and BEGIN EXCLUSIVE)? If so, is the transaction automatically
> "rolled back" in this case?
> 2. What about an interrupt during an explicit call to COMMIT or ROLLBACK?
> 3. What is the behavior with regard to savepoints? 

1. If BEGIN is interrupted, no transaction is started.
2. This results in the equivalent of ROLLBACK
3. This results in the equivalent of ROLLBACK.  Savepoints are lost.
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to