提交 d5fe469c authored 作者: noelgrandin's avatar noelgrandin

Issue 484: Console workaround for H2, patch from "mgcodeact"/"cumer d"

上级 c04541fe
...@@ -55,6 +55,7 @@ Change Log ...@@ -55,6 +55,7 @@ Change Log
</li><li>Fix corruption resulting from a mix of the "WRITE_DELAY=0" option and "SELECT DISTINCT" queries </li><li>Fix corruption resulting from a mix of the "WRITE_DELAY=0" option and "SELECT DISTINCT" queries
</li><li>Fix the combination of updating a table which contains an LOB, and reading from the LOB at the same time. </li><li>Fix the combination of updating a table which contains an LOB, and reading from the LOB at the same time.
Previously it would throw an exception, now it works. Previously it would throw an exception, now it works.
</li><li>Issue 484: Console workaround for H2, patch from "mgcodeact"/"cumer d"
</li></ul> </li></ul>
<h2>Version 1.3.172 (2013-05-25)</h2> <h2>Version 1.3.172 (2013-05-25)</h2>
......
...@@ -64,14 +64,14 @@ public class DbSchema { ...@@ -64,14 +64,14 @@ public class DbSchema {
this.name = name; this.name = name;
this.quotedName = contents.quoteIdentifier(name); this.quotedName = contents.quoteIdentifier(name);
this.isDefault = isDefault; this.isDefault = isDefault;
if (StringUtils.toUpperEnglish(name).startsWith("INFO")) { if (contents.isH2) {
isSystem = true; isSystem = StringUtils.toUpperEnglish(name).startsWith("INFORMATION_SCHEMA");
} else if (contents.isPostgreSQL && StringUtils.toUpperEnglish(name).startsWith("PG_")) { } else if (contents.isPostgreSQL) {
isSystem = true; isSystem = StringUtils.toUpperEnglish(name).startsWith("PG_");
} else if (contents.isDerby && name.startsWith("SYS")) { } else if (contents.isDerby) {
isSystem = true; isSystem = name.startsWith("SYS");
} else { } else {
isSystem = false; isSystem = StringUtils.toUpperEnglish(name).startsWith("INFO");
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论