提交 a145da6e authored 作者: andrei's avatar andrei

back to cursor.getValue() call

上级 8d5524fb
...@@ -126,8 +126,7 @@ public class TransactionMap<K, V> { ...@@ -126,8 +126,7 @@ public class TransactionMap<K, V> {
Cursor<K, VersionedValue> cursor = map.cursor(null); Cursor<K, VersionedValue> cursor = map.cursor(null);
while (cursor.hasNext()) { while (cursor.hasNext()) {
K key = cursor.next(); K key = cursor.next();
// cursor.getValue() returns outdated value VersionedValue data = cursor.getValue();
VersionedValue data = map.get(key);
data = getValue(mapRootPage, undoRootPage, key, readLogId, data, committingTransactions); data = getValue(mapRootPage, undoRootPage, key, readLogId, data, committingTransactions);
if (data != null && data.value != null) { if (data != null && data.value != null) {
size++; size++;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论