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

DatabaseEventListener.init was called with a null url when using the server mode.

上级 ea3ca9c9
...@@ -53,6 +53,7 @@ public class ConnectionInfo implements Cloneable { ...@@ -53,6 +53,7 @@ public class ConnectionInfo implements Cloneable {
*/ */
public ConnectionInfo(String name) { public ConnectionInfo(String name) {
this.name = name; this.name = name;
this.url = Constants.START_URL + name;
parseName(); parseName();
} }
......
...@@ -82,7 +82,7 @@ public class TestDatabaseEventListener extends TestBase implements DatabaseEvent ...@@ -82,7 +82,7 @@ public class TestDatabaseEventListener extends TestBase implements DatabaseEvent
} }
private void testInit() throws SQLException { private void testInit() throws SQLException {
if (config.networked || config.cipher != null || config.memory) { if (config.cipher != null || config.memory) {
return; return;
} }
deleteDb("databaseEventListener"); deleteDb("databaseEventListener");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论