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

H2 Console: when editing a row, an empty varchar column was replaced with a single space.

上级 de651560
...@@ -18,7 +18,8 @@ Change Log ...@@ -18,7 +18,8 @@ Change Log
<h1>Change Log</h1> <h1>Change Log</h1>
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul><li>Lukas Eder has updated the jOOQ documentation. <ul><li>H2 Console: when editing a row, an empty varchar column was replaced with a single space.
</li><li>Lukas Eder has updated the jOOQ documentation.
</li><li>Some nested joins could not be executed, for example: </li><li>Some nested joins could not be executed, for example:
select * from (select * from (select * from a) a right join b b) c; select * from (select * from (select * from a) a right join b b) c;
</li><li>MS SQL Server compatibility: ISNULL is now an alias for IFNULL. </li><li>MS SQL Server compatibility: ISNULL is now an alias for IFNULL.
......
...@@ -1693,6 +1693,9 @@ public class WebApp { ...@@ -1693,6 +1693,9 @@ public class WebApp {
return "<div style='display: none'>=+</div>" + s; return "<div style='display: none'>=+</div>" + s;
} else if (d.equals("null") || d.startsWith("= ") || d.startsWith("=+")) { } else if (d.equals("null") || d.startsWith("= ") || d.startsWith("=+")) {
return "<div style='display: none'>= </div>" + PageParser.escapeHtml(d); return "<div style='display: none'>= </div>" + PageParser.escapeHtml(d);
} else if (d.equals("")) {
// PageParser.escapeHtml replaces "" with a non-breaking space
return "";
} }
return PageParser.escapeHtml(d); return PageParser.escapeHtml(d);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论