bug CS-14466: removing blank statement

This commit is contained in:
Abhi 2012-04-13 13:49:09 +05:30
parent 7e186fefb6
commit a8ab24be96
1 changed files with 1 additions and 3 deletions

View File

@ -28,6 +28,7 @@ import org.apache.log4j.Logger;
import com.cloud.offering.NetworkOffering;
import com.cloud.utils.crypt.DBEncryptionUtil;
import com.cloud.utils.db.Transaction;
import com.cloud.utils.exception.CloudRuntimeException;
import com.cloud.utils.script.Script;
@ -953,9 +954,6 @@ public class Upgrade2214to30 implements DbUpgrade {
pstmt = conn
.prepareStatement("UPDATE op_host_capacity, data_center SET op_host_capacity.capacity_state='Disabled' where data_center.id=op_host_capacity.data_center_id and data_center.allocation_state='Disabled';");
pstmt.executeUpdate();
pstmt = conn
.prepareStatement("");
pstmt.executeUpdate();
} catch (SQLException e) {
throw new CloudRuntimeException("Unable to update op_host_capacity table. ", e);
} finally {