提交 8c820494 编写于 作者: L LiuYoung00 提交者: wangzelin.wzl

only send long data disconnect when get not support portocol

上级 dd142a4f
......@@ -14,6 +14,7 @@
#define _OBMP_DEFAULT_H
#include "observer/mysql/obmp_base.h"
namespace oceanbase {
namespace observer {
// this processor always returns NOT_SUPPORTED error to client
......@@ -37,7 +38,9 @@ public:
} else {
SERVER_LOG(WARN, "MySQL command not supported", "cmd", pkt.get_cmd());
}
disconnect();
if (obmysql::OB_MYSQL_COM_STMT_SEND_LONG_DATA == pkt.get_cmd()) {
disconnect();
}
}
return ret;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册