You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by hu...@apache.org on 2014/09/17 11:41:15 UTC
[3/4] git commit: updated refs/heads/master to 577a2f4
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 <ht...@schubergphilis.com>
Authored: Tue Sep 16 09:49:19 2014 +0200
Committer: Hugo Trippaers <ht...@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);