On 5 Oct 2017, at 4:35pm, Igor Korot <ikoro...@gmail.com> wrote:

> You mean like have some kind of flag and display an error on disconnect
> only if not set?

If ROLLBACK fails, it’s probably because of a hardware failure or your database 
being corrupt.  You can’t do anything else useful with the database connection 
since it has produced an unrecoverable error.

Display an error message to your user and quit immediately.  That way you don’t 
risk corrupting your dataset by doing more operations which assume that that 
ROLLBACK succeeded.

sqlite-users mailing list

Reply via email to