Repository: cloudstack Updated Branches: refs/heads/4.4 a68d89868 -> 86083216d
close statement Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/86083216 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/86083216 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/86083216 Branch: refs/heads/4.4 Commit: 86083216deebc4a60e8c7c8d30d28cca8eb78e6b Parents: a68d898 Author: Daan Hoogland <d...@onecht.net> Authored: Mon Aug 4 12:30:38 2014 +0200 Committer: Daan Hoogland <d...@onecht.net> Committed: Mon Aug 4 12:30:38 2014 +0200 ---------------------------------------------------------------------- engine/schema/src/com/cloud/upgrade/dao/Upgrade302to40.java | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/86083216/engine/schema/src/com/cloud/upgrade/dao/Upgrade302to40.java ---------------------------------------------------------------------- diff --git a/engine/schema/src/com/cloud/upgrade/dao/Upgrade302to40.java b/engine/schema/src/com/cloud/upgrade/dao/Upgrade302to40.java index 5ce8f36..248f33b 100644 --- a/engine/schema/src/com/cloud/upgrade/dao/Upgrade302to40.java +++ b/engine/schema/src/com/cloud/upgrade/dao/Upgrade302to40.java @@ -582,6 +582,7 @@ public class Upgrade302to40 extends Upgrade30xBase implements DbUpgrade { pstmt.setLong(1, pNtwkId); pstmt.executeUpdate(); + pstmt.close(); //get provider id pstmt = conn.prepareStatement("SELECT id FROM `cloud`.`physical_network_service_providers` "