if I understand the question:

On Sun, Mar 3, 2019 at 10:12 AM Simon Slavin <slav...@bigfraud.org> wrote:

> Does ROLLBACK release the transaction lock on the database ?
>
I think so or my code would not be working.

>
> Does ROLLBACK cancel the BEGIN ?  Or do I need to issue END ?
>
END is a synonym for commit . So
begin transaction;
stuff
commit OR rollback.

rollback cancels the begin

>
>
Suppose ROLLBACK does not cancel the BEGIN, can a programmer reliably issue
more SQL commands, including another ROLLBACK ?  Will SQLite continue to
react correctly to other ROLLBACKs, and to SQL commands which result in
"(516) SQLITE_ABORT_ROLLBACK".

>
>
> If you think I've missed a relevant point, please don't hesitate to bring
> it up.
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@mailinglists.sqlite.org
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
>
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to