Commit 6f470748 authored by chengyuan's avatar chengyuan

修复血缘只能;后问题

parent df3c6187
...@@ -41,6 +41,7 @@ public class Explainer { ...@@ -41,6 +41,7 @@ public class Explainer {
public Explainer(Executor executor) { public Explainer(Executor executor) {
this.executor = executor; this.executor = executor;
init();
} }
public Explainer(Executor executor, boolean useStatementSet, String sqlSeparator) { public Explainer(Executor executor, boolean useStatementSet, String sqlSeparator) {
...@@ -49,6 +50,10 @@ public class Explainer { ...@@ -49,6 +50,10 @@ public class Explainer {
this.sqlSeparator = sqlSeparator; this.sqlSeparator = sqlSeparator;
} }
public void init(){
sqlSeparator = SystemConfiguration.getInstances().getSqlSeparator();
}
public static Explainer build(Executor executor) { public static Explainer build(Executor executor) {
return new Explainer(executor, false, ";"); return new Explainer(executor, false, ";");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment