Skip to content

Commit

Permalink
fix backquote when use using() in statement (#1509)
Browse files Browse the repository at this point in the history
  • Loading branch information
PanternBao authored and yanhuqing666 committed Nov 20, 2019
1 parent 9e05647 commit 8ea7e5a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,9 @@ public SchemaConfig visitorParse(SchemaConfig schema, RouteResultset rrs, SQLSta
if (visitor.getNotSupportMsg() != null) {
throw new SQLNonTransientException(visitor.getNotSupportMsg());
}
List<List<Condition>> conditions = visitor.getConditionList();
Map<String, String> tableAliasMap = getTableAliasMap(visitor.getAliasMap());
ctx.setRouteCalculateUnits(this.buildRouteCalculateUnits(tableAliasMap, visitor.getConditionList()));
ctx.setRouteCalculateUnits(this.buildRouteCalculateUnits(tableAliasMap, conditions));
return schema;
}

Expand Down

0 comments on commit 8ea7e5a

Please sign in to comment.