From f863ca924ff6066afe8a4ea215250e86bac611d9 Mon Sep 17 00:00:00 2001 From: jamie Date: Wed, 16 Jun 2021 15:12:45 +0800 Subject: [PATCH] #2804 --- src/main/java/io/mycat/route/util/RouterUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/mycat/route/util/RouterUtil.java b/src/main/java/io/mycat/route/util/RouterUtil.java index 52bff65b7..30e77ba35 100644 --- a/src/main/java/io/mycat/route/util/RouterUtil.java +++ b/src/main/java/io/mycat/route/util/RouterUtil.java @@ -1228,7 +1228,7 @@ public static RouteResultset tryRouteForTables(SchemaConfig schema, DruidShardin throws SQLNonTransientException { List tables = ctx.getTables(); - + rrs.setTables(tables); if(schema.isNoSharding()||(tables.size() >= 1&&isNoSharding(schema,tables.get(0)))) { return routeToSingleNode(rrs, schema.getDataNode(), ctx.getSql());