Repository: apache/shardingsphere
Issue: The tables with no configuration appear in the proxy.

The tables which are not configed in yaml can be used with show tables, select etc.
It is not correct, i will fix it in next week.

Changed files:
sharding-proxy/src/main/java/io/shardingsphere/proxy/transport/mysql/packet/command/text/fieldlist/ComFieldListPacket.java

diff --git a/sharding-proxy/src/main/java/io/shardingsphere/proxy/transport/mysql/packet/command/text/fieldlist/ComFieldListPacket.java b/sharding-proxy/src/main/java/io/shardingsphere/proxy/transport/mysql/packet/command/text/fieldlist/ComFieldListPacket.java
index 373a17bcf07..88836c3a5a3 100644
--- a/sharding-proxy/src/main/java/io/shardingsphere/proxy/transport/mysql/packet/command/text/fieldlist/ComFieldListPacket.java
+++ b/sharding-proxy/src/main/java/io/shardingsphere/proxy/transport/mysql/packet/command/text/fieldlist/ComFieldListPacket.java
@@ -31,6 +31,8 @@ import io.shardingsphere.proxy.transport.mysql.packet.command.CommandResponsePac
 import io.shardingsphere.proxy.transport.mysql.packet.command.text.query.ComQueryPacket;
 import lombok.extern.slf4j.Slf4j;
 
+import java.sql.SQLException;
+
 /**
  * COM_FIELD_LIST command packet.
  *
@@ -47,6 +49,10 @@ public final class ComFieldListPacket extends CommandPacket implements CommandPa
     
     private final String fieldWildcard;
     
+    private SQLExecuteBackendHandler sqlExecuteBackendHandler;
+    
+    private SQLPacketsBackendHandler sqlPacketsBackendHandler;
+    
     public ComFieldListPacket(final int sequenceId, final int connectionId, final MySQLPacketPayload mysqlPacketPayload) {
         super(sequenceId);
         this.connectionId = connectionId;
@@ -75,20 +81,34 @@ public final class ComFieldListPacket extends CommandPacket implements CommandPa
         String sql = String.format("SHOW COLUMNS FROM %s FROM %s", table, ShardingConstant.LOGIC_SCHEMA_NAME);
         // TODO use common database type
         if (RuleRegistry.getInstance().isWithoutJdbc()) {
-            return new SQLPacketsBackendHandler(this, DatabaseType.MySQL, RuleRegistry.getInstance().isShowSQL()).execute();
+            sqlPacketsBackendHandler = new SQLPacketsBackendHandler(this, DatabaseType.MySQL, RuleRegistry.getInstance().isShowSQL());
+            return sqlPacketsBackendHandler.execute();
         } else {
-            return new SQLExecuteBackendHandler(sql, DatabaseType.MySQL, RuleRegistry.getInstance().isShowSQL()).execute();
+            sqlExecuteBackendHandler = new SQLExecuteBackendHandler(sql, DatabaseType.MySQL, RuleRegistry.getInstance().isShowSQL());
+            return sqlExecuteBackendHandler.execute();
         }
     }
     
     @Override
     public boolean hasMoreResultValue() {
-        return false;
+        try {
+            if (RuleRegistry.getInstance().isWithoutJdbc()) {
+                return sqlPacketsBackendHandler.hasMoreResultValue();
+            } else {
+                return sqlExecuteBackendHandler.hasMoreResultValue();
+            }
+        } catch (final SQLException ex) {
+            return false;
+        }
     }
     
     @Override
     public DatabaseProtocolPacket getResultValue() {
-        return null;
+        if (RuleRegistry.getInstance().isWithoutJdbc()) {
+            return sqlPacketsBackendHandler.getResultValue();
+        } else {
+            return sqlExecuteBackendHandler.getResultValue();
+        }
     }
     
     @Override