Updated Branches:
  refs/heads/4.3 264f5172b -> 4ccc74e76

Fix typo


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

Branch: refs/heads/4.3
Commit: 4ccc74e768c1ff67aa188703e7726eb6702d5827
Parents: 264f517
Author: Hugo Trippaers <[email protected]>
Authored: Wed Jan 15 15:20:48 2014 +0100
Committer: Hugo Trippaers <[email protected]>
Committed: Wed Jan 15 15:54:26 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/4ccc74e7/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");

Reply via email to