Updated Branches: refs/heads/master 2a9346443 -> 9aaea28d0
Fix typo Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/9aaea28d Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/9aaea28d Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/9aaea28d Branch: refs/heads/master Commit: 9aaea28d0dedc370888d346d55c81b95486f131b Parents: 2a93464 Author: Hugo Trippaers <[email protected]> Authored: Wed Jan 15 15:20:48 2014 +0100 Committer: Hugo Trippaers <[email protected]> Committed: Wed Jan 15 15:20:48 2014 +0100 ---------------------------------------------------------------------- engine/schema/src/com/cloud/upgrade/dao/Upgrade421to430.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/9aaea28d/engine/schema/src/com/cloud/upgrade/dao/Upgrade421to430.java ---------------------------------------------------------------------- diff --git a/engine/schema/src/com/cloud/upgrade/dao/Upgrade421to430.java b/engine/schema/src/com/cloud/upgrade/dao/Upgrade421to430.java index bf08e87..9702792 100644 --- a/engine/schema/src/com/cloud/upgrade/dao/Upgrade421to430.java +++ b/engine/schema/src/com/cloud/upgrade/dao/Upgrade421to430.java @@ -80,7 +80,7 @@ public class Upgrade421to430 implements DbUpgrade { try { selectPstmt = conn.prepareStatement("SELECT id FROM `cloud`.`service_offering` WHERE vm_type='secondarystoragevm'"); - updatePstmt = conn.prepareStatement("UPDATE `cloud`.`service_offering` SET ram_size=? WHERE id=?'"); + updatePstmt = conn.prepareStatement("UPDATE `cloud`.`service_offering` SET ram_size=? WHERE id=?"); selectResultSet = selectPstmt.executeQuery(); if(selectResultSet.next()) { serviceOfferingId = selectResultSet.getLong("id");
