[fix](fe) Fix finalizeCommand sendAndFlush NullPointerException (#33420)

This commit is contained in:
Lei Zhang
2024-04-15 22:57:04 +08:00
committed by yiguolei
parent fe3b6824b3
commit 1fba73eea4

View File

@ -484,21 +484,16 @@ public abstract class ConnectProcessor {
} else {
executor.sendResultSet(resultSet);
packet = getResultPacket();
if (packet == null) {
if (LOG.isDebugEnabled()) {
LOG.debug("packet == null");
}
return;
}
}
} else {
packet = getResultPacket();
if (packet == null) {
if (LOG.isDebugEnabled()) {
LOG.debug("packet == null");
}
return;
}
if (packet == null) {
if (LOG.isDebugEnabled()) {
LOG.debug("packet == null");
}
return;
}
MysqlChannel channel = ctx.getMysqlChannel();