Commit cd715fea authored by wenmo's avatar wenmo

[Fix-621] [core] Fix can't explain 'show datatbases'

parent 759706cb
...@@ -212,7 +212,7 @@ public class Explainer { ...@@ -212,7 +212,7 @@ public class Explainer {
for (StatementParam item : jobParam.getTrans()) { for (StatementParam item : jobParam.getTrans()) {
SqlExplainResult record = new SqlExplainResult(); SqlExplainResult record = new SqlExplainResult();
try { try {
record.setExplain(executor.explainSql(item.getValue())); record = executor.explainSqlRecord(item.getValue());
record.setParseTrue(true); record.setParseTrue(true);
record.setExplainTrue(true); record.setExplainTrue(true);
} catch (Exception e) { } catch (Exception e) {
......
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