When an error occurs which we are not handling, we want to unconditionally close the db connection. The next transaction will reopen it.
Signed-off-by: Ian Jackson <ian.jack...@eu.citrix.com> --- tcl/JobDB-Executive.tcl | 1 + 1 file changed, 1 insertion(+) diff --git a/tcl/JobDB-Executive.tcl b/tcl/JobDB-Executive.tcl index fe1c946..c0cd4e9 100644 --- a/tcl/JobDB-Executive.tcl +++ b/tcl/JobDB-Executive.tcl @@ -333,6 +333,7 @@ proc transaction {tables script} { continue } } + catch { db-ensure-closed } } return -code $rc -errorinfo $ei -errorcode $ec $result } -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel