This commit is contained in:
Hugo Trippaers 2014-01-15 15:20:48 +01:00
parent 2a93464431
commit 9aaea28d0d
1 changed files with 1 additions and 1 deletions

View File

@ -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");