提交 9ed55eec authored 作者: LaughingMan's avatar LaughingMan

Properly close Statement object in CreateCluster

上级 5b6bf351
...@@ -166,6 +166,7 @@ public class CreateCluster extends Tool { ...@@ -166,6 +166,7 @@ public class CreateCluster extends Tool {
urlTarget + ";CLUSTER=''", user, password); urlTarget + ";CLUSTER=''", user, password);
statTarget = connTarget.createStatement(); statTarget = connTarget.createStatement();
statTarget.execute("DROP ALL OBJECTS DELETE FILES"); statTarget.execute("DROP ALL OBJECTS DELETE FILES");
statTarget.close();
connTarget.close(); connTarget.close();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论