提交 8e5b3055 authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Update changelog

上级 4e96e4d0
...@@ -21,6 +21,12 @@ Change Log ...@@ -21,6 +21,12 @@ Change Log
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul> <ul>
<li>Issue #1718: Window function and values clause don't work well together
</li>
<li>PR #1717: Backward compatibility patch for #1592
</li>
<li>PR #1716: Improve documentation of some DML commands
</li>
<li>Issue #1715: Postgres mode: Domain "regproc" already exists <li>Issue #1715: Postgres mode: Domain "regproc" already exists
</li> </li>
<li>PR #1714: Assorted changes <li>PR #1714: Assorted changes
......
...@@ -1306,7 +1306,7 @@ public class MVMap<K, V> extends AbstractMap<K, V> ...@@ -1306,7 +1306,7 @@ public class MVMap<K, V> extends AbstractMap<K, V>
int unsavedMemory = replacement.getMemory(); int unsavedMemory = replacement.getMemory();
while (path != null) { while (path != null) {
Page parent = path.page; Page parent = path.page;
// condition below sould always be true, but older versions (up to 1.4.197) // condition below should always be true, but older versions (up to 1.4.197)
// may create single-childed (with no keys) internal nodes, which we skip here // may create single-childed (with no keys) internal nodes, which we skip here
if (parent.getKeyCount() > 0) { if (parent.getKeyCount() > 0) {
Page child = replacement; Page child = replacement;
...@@ -1717,8 +1717,10 @@ public class MVMap<K, V> extends AbstractMap<K, V> ...@@ -1717,8 +1717,10 @@ public class MVMap<K, V> extends AbstractMap<K, V>
index = pos.index; index = pos.index;
pos = pos.parent; pos = pos.parent;
keyCount = p.getKeyCount(); keyCount = p.getKeyCount();
// condition below sould always be false, but older versions (up to 1.4.197) // condition below should always be false, but older
// may create single-childed (with no keys) internal nodes, which we skip here // versions (up to 1.4.197) may create
// single-childed (with no keys) internal nodes,
// which we skip here
} while (keyCount == 0 && pos != null); } while (keyCount == 0 && pos != null);
if (keyCount <= 1) { if (keyCount <= 1) {
...@@ -1726,8 +1728,9 @@ public class MVMap<K, V> extends AbstractMap<K, V> ...@@ -1726,8 +1728,9 @@ public class MVMap<K, V> extends AbstractMap<K, V>
assert index <= 1; assert index <= 1;
p = p.getChildPage(1 - index); p = p.getChildPage(1 - index);
} else { } else {
// if root happens to be such single-childed (with no keys) internal node, // if root happens to be such single-childed
// then just replace it with empty leaf // (with no keys) internal node, then just
// replace it with empty leaf
p = Page.createEmptyLeaf(this); p = Page.createEmptyLeaf(this);
} }
break; break;
......
...@@ -806,4 +806,4 @@ econd irst bcef ordinality nord unnest ...@@ -806,4 +806,4 @@ econd irst bcef ordinality nord unnest
analyst occupation distributive josaph aor engineer sajeewa isuru randil kevin doctor businessman artist ashan analyst occupation distributive josaph aor engineer sajeewa isuru randil kevin doctor businessman artist ashan
corrupts splitted disruption unintentional octets preconditions predicates subq objectweb insn opcodes corrupts splitted disruption unintentional octets preconditions predicates subq objectweb insn opcodes
preserves masking holder unboxing avert iae transformed subtle reevaluate exclusions subclause ftbl rgr preserves masking holder unboxing avert iae transformed subtle reevaluate exclusions subclause ftbl rgr
presorted inclusion contexts aax mwd percentile cont interpolate mwa hypothetical regproc presorted inclusion contexts aax mwd percentile cont interpolate mwa hypothetical regproc childed
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论