You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/04/08 10:14:42 UTC
[GitHub] [incubator-shardingsphere] yu199195 commented on a change in pull
request #5102: if more rule decorate metaData bug fix.
yu199195 commented on a change in pull request #5102: if more rule decorate metaData bug fix.
URL: https://github.com/apache/incubator-shardingsphere/pull/5102#discussion_r405414605
##########
File path: shardingsphere-underlying/shardingsphere-common/src/main/java/org/apache/shardingsphere/underlying/common/metadata/schema/RuleSchemaMetaDataLoader.java
##########
@@ -146,8 +146,10 @@ private SchemaMetaData decorate(final SchemaMetaData schemaMetaData) {
Map<String, TableMetaData> result = new HashMap<>(schemaMetaData.getAllTableNames().size(), 1);
Map<BaseRule, RuleMetaDataDecorator> decorators = OrderedSPIRegistry.getRegisteredServices(rules, RuleMetaDataDecorator.class);
for (String each : schemaMetaData.getAllTableNames()) {
+ TableMetaData decorate = null;
Review comment:
fix it
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services