Error protect database access; re-create corrupt queue DB. #33
Loading…
Reference in New Issue
No description provided.
Delete Branch "df/webif:df-queuesafer-patch"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A set of changes to
queue.class
to prevent database errors from propagating out of thequeue
class methods.In
queue dbhandle
, wrap all database access intry
/catch
; also minimally verify the database and re-create the schema if that fails, as well as for a new database file. Incidentally Jim 0.81 implementstry
natively.Add three new class methods with database access wrapped in
try
and encapsulating the call toqueue dbhandle
:Elsewhere, use the above methods instead of direct database methods as appropriate.
WIP: Error protect database access; re-create corrupt queue DB.to Error protect database access; re-create corrupt queue DB.Merged.
Pull request closed