mirror of https://github.com/apache/activemq.git
https://issues.apache.org/jira/browse/AMQ-3288 - fix over flow to negative on signed int accumulator, would break priority message deletion
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1346401 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
64f3492c85
commit
f0d0ce07ab
|
@ -805,7 +805,7 @@ public class DefaultJDBCAdapter implements JDBCAdapter {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int priorityIterator = 0;
|
char priorityIterator = 0; // unsigned
|
||||||
public void doDeleteOldMessages(TransactionContext c) throws SQLException, IOException {
|
public void doDeleteOldMessages(TransactionContext c) throws SQLException, IOException {
|
||||||
PreparedStatement s = null;
|
PreparedStatement s = null;
|
||||||
cleanupExclusiveLock.writeLock().lock();
|
cleanupExclusiveLock.writeLock().lock();
|
||||||
|
|
Loading…
Reference in New Issue