提交 eb73eaa9 authored 作者: Thomas Mueller's avatar Thomas Mueller

A persistent multi-version map (work in progress)

上级 c597b3d3
...@@ -362,7 +362,7 @@ public class DataUtils { ...@@ -362,7 +362,7 @@ public class DataUtils {
while (i < size) { while (i < size) {
c = s.charAt(i++); c = s.charAt(i++);
if (c == '\\') { if (c == '\\') {
i++; c = s.charAt(i++);
} else if (c == '\"') { } else if (c == '\"') {
break; break;
} }
......
...@@ -71,7 +71,7 @@ public class MVStore { ...@@ -71,7 +71,7 @@ public class MVStore {
/** /**
* Whether assertions are enabled. * Whether assertions are enabled.
*/ */
public static final boolean ASSERT = true; public static final boolean ASSERT = false;
private static final StringType STRING_TYPE = new StringType(); private static final StringType STRING_TYPE = new StringType();
......
...@@ -304,7 +304,7 @@ public class Page { ...@@ -304,7 +304,7 @@ public class Page {
* @param at the split index * @param at the split index
* @return the page with the entries after the split index * @return the page with the entries after the split index
*/ */
Page split(int at) { public Page split(int at) {
return isLeaf() ? splitLeaf(at) : splitNode(at); return isLeaf() ? splitLeaf(at) : splitNode(at);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论