Quote:
Originally Posted by tetanos
So it is possible that books.db get partially cleanup when a failure occurs.
This is not really good: it would be better to do backup of books.db before the cleanup and revert to the backup once the operation fails.
|
An exception that prevents further cleanup cannot cause a malformed database, I suggest you read up on how sqlite works if you dont understand why.