提交 91064b32 authored 作者: noelgrandin@gmail.com's avatar noelgrandin@gmail.com

Fix bug in "jdbc:h2:nioMemFS" isRoot() function

上级 71735a10
...@@ -59,7 +59,8 @@ Change Log ...@@ -59,7 +59,8 @@ Change Log
throw an exception. throw an exception.
</li><li>Fix bug in MVStore when creating lots of temporary tables, where we could run out of </li><li>Fix bug in MVStore when creating lots of temporary tables, where we could run out of
transaction IDs. transaction IDs.
</li><li>Add support for PostgreSQL STRING_AGG function. Patch by Fred Aquiles. </li><li>Add support for PostgreSQL STRING_AGG function. Patch by Fred Aquiles.
</li><li>Fix bug in "jdbc:h2:nioMemFS" isRoot() function
</li></ul> </li></ul>
<h2>Version 1.4.186 Beta (2015-03-02)</h2> <h2>Version 1.4.186 Beta (2015-03-02)</h2>
......
...@@ -191,7 +191,7 @@ public class FilePathNioMem extends FilePath { ...@@ -191,7 +191,7 @@ public class FilePathNioMem extends FilePath {
} }
private boolean isRoot() { private boolean isRoot() {
return name.equals(getScheme()); return name.equals(getScheme() + ":");
} }
private static String getCanonicalPath(String fileName) { private static String getCanonicalPath(String fileName) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论