Unverified 提交 4a339e7a authored 作者: Andrei Tokar's avatar Andrei Tokar 提交者: GitHub

Merge pull request #1579 from h2database/append_mode_fix

fix unintentional append mode disruption
...@@ -1308,7 +1308,7 @@ public class MVMap<K, V> extends AbstractMap<K, V> ...@@ -1308,7 +1308,7 @@ public class MVMap<K, V> extends AbstractMap<K, V>
int attempt = 0; int attempt = 0;
boolean success; boolean success;
do { do {
RootReference rootReference = getRoot(); RootReference rootReference = getRootInternal();
int appendCounter = rootReference.getAppendCounter(); int appendCounter = rootReference.getAppendCounter();
if (appendCounter > 0) { if (appendCounter > 0) {
RootReference updatedRootReference = new RootReference(rootReference, appendCounter - 1, ++attempt); RootReference updatedRootReference = new RootReference(rootReference, appendCounter - 1, ++attempt);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论