cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h...@apache.org
Subject [3/4] git commit: updated refs/heads/master to 577a2f4
Date Wed, 17 Sep 2014 09:41:15 GMT
Fix CID-1116645


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/e1973a2b
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/e1973a2b
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/e1973a2b

Branch: refs/heads/master
Commit: e1973a2b70d64dbef9c17dc3cd582b28236c331d
Parents: 086b8c0
Author: Hugo Trippaers <htrippaers@schubergphilis.com>
Authored: Tue Sep 16 09:49:19 2014 +0200
Committer: Hugo Trippaers <htrippaers@schubergphilis.com>
Committed: Wed Sep 17 11:40:40 2014 +0200

----------------------------------------------------------------------
 engine/schema/src/com/cloud/upgrade/dao/Upgrade410to420.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/e1973a2b/engine/schema/src/com/cloud/upgrade/dao/Upgrade410to420.java
----------------------------------------------------------------------
diff --git a/engine/schema/src/com/cloud/upgrade/dao/Upgrade410to420.java b/engine/schema/src/com/cloud/upgrade/dao/Upgrade410to420.java
index 18303b0..dab2b46 100755
--- a/engine/schema/src/com/cloud/upgrade/dao/Upgrade410to420.java
+++ b/engine/schema/src/com/cloud/upgrade/dao/Upgrade410to420.java
@@ -265,8 +265,8 @@ public class Upgrade410to420 implements DbUpgrade {
             while (clusterIt.hasNext()) {
                 clusterId = clusterIt.next();
                 keyValues = detailsMap.get(clusterId);
+                clusterDetailsInsert = conn.prepareStatement("INSERT INTO `cloud`.`cluster_details`
(cluster_id, name, value) VALUES (?, ?, ?)");
                 for (Pair<String, String> keyValuePair : keyValues) {
-                    clusterDetailsInsert = conn.prepareStatement("INSERT INTO `cloud`.`cluster_details`
(cluster_id, name, value) VALUES (?, ?, ?)");
                     key = keyValuePair.first();
                     val = keyValuePair.second();
                     clusterDetailsInsert.setLong(1, clusterId);


Mime
View raw message