fix lost connection inner 1996 (#3483)

Co-authored-by: wenyh <44251917+wenyh1@users.noreply.github.com>
This commit is contained in:
ylinzhu
2022-11-17 11:16:51 +08:00
committed by GitHub
parent 1c1878895b
commit b1310cf3f6

View File

@@ -48,7 +48,6 @@ public class MySQLShardingSQLHandler {
try {
rrs = RouteService.getInstance().route(schemaConfig, type, sql, service);
if (rrs == null) {
service.writeErrMessage(ErrorCode.ER_PARSE_ERROR, "The sql cannot be parsed to the specified node");
return;
}
if (rrs.getSqlType() == ServerParse.DDL && rrs.getSchema() != null) {