resolved a bug where the wrong msid was used in releasing locks

This commit is contained in:
Alex Huang 2011-07-13 09:52:35 -07:00
parent 5619f0490c
commit b54edececf

View File

@ -261,7 +261,7 @@ public class Merovingian2 extends StandardMBean implements MerovingianMBean {
PreparedStatement pstmt = null;
try {
pstmt = _conn.prepareStatement(CLEANUP_MGMT_LOCKS_SQL);
pstmt.setLong(1, _msId);
pstmt.setLong(1, msId);
int rows = pstmt.executeUpdate();
s_logger.info("Released " + rows + " locks for " + msId);
} catch (SQLException e) {