#1048 - Fix connection leak on failed findIterate()

This commit is contained in:
rob bygrave committed 2017-06-25 22:39:04 +12:00
1 parent e913f88f52
commit 080bafe18f
1 file changed
+5 -1
@@ -232,7 +232,11 @@ public class CQueryEngine {
return readIterate;
} catch (SQLException e) {
throw cquery.createPersistenceException(e);
try {
throw cquery.createPersistenceException(e);
} finally {
request.rollbackTransIfRequired();
}
}
}