engine: Fix build regression

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2014-12-12 21:49:11 +05:30
parent 94cad49e07
commit 2f2ff4bfc0
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ public class Upgrade442to443 implements DbUpgrade {
PreparedStatement updatePstmt = null;
try {
String encryptedValue = DBEncryptionUtil.encrypt("256");
updatePstmt = conn.prepareStatement("UPDATE `cloud`.`configuration` SET value=? WHERE name='router.ram.size' AND category='Hidden');
updatePstmt = conn.prepareStatement("UPDATE `cloud`.`configuration` SET value=? WHERE name='router.ram.size' AND category='Hidden'");
updatePstmt.setBytes(1, encryptedValue.getBytes("UTF-8"));
updatePstmt.executeUpdate();
} catch (SQLException e) {