mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
resolved a bug where the wrong msid was used in releasing locks
This commit is contained in:
parent
5619f0490c
commit
b54edececf
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user