mirror of https://github.com/apache/activemq.git
Fixes AMQ-2863 : KahaDB NPE can occur using random index removes
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@983672 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
530ab0420b
commit
d93ef2a919
|
@ -237,7 +237,7 @@ public final class BTreeNode<Key,Value> {
|
|||
private BTreeNode<Key,Value> getRightLeaf(Transaction tx) throws IOException {
|
||||
BTreeNode<Key,Value> cur = this;
|
||||
while(cur.isBranch()) {
|
||||
cur = cur.getChild(tx, keys.length);
|
||||
cur = cur.getChild(tx, cur.keys.length);
|
||||
}
|
||||
return cur;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue