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:
Gary Tully 2012-06-05 14:48:17 +00:00
parent 64f3492c85
commit f0d0ce07ab
1 changed files with 1 additions and 1 deletions

View File

@ -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();