mirror of
https://github.com/sogou/workflow.git
synced 2026-02-08 01:33:17 +08:00
update MySQLImpl to support character_set_results (#77)
* update MySQLImpl to support character_set_results * remove WFComplexClientTask::is_user_request(). Co-authored-by: XieHan <XieHan@sogou-inc.com>
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
namespace protocol
|
||||
{
|
||||
|
||||
using MySQLHandshakeRequest = MySQLMessage;
|
||||
using MySQLHandshakeRequest = MySQLRequest;
|
||||
|
||||
class MySQLHandshakeResponse : public MySQLResponse
|
||||
{
|
||||
@@ -51,7 +51,7 @@ public:
|
||||
memcpy(auth_plugin_data_part_2_, auth2, 12);
|
||||
}
|
||||
|
||||
bool host_disallowed() { return this->disallowed_; }
|
||||
bool host_disallowed() const { return this->disallowed_; }
|
||||
|
||||
private:
|
||||
virtual int decode_packet(const char *buf, size_t buflen);
|
||||
@@ -73,7 +73,7 @@ public:
|
||||
MySQLHandshakeResponse& operator= (MySQLHandshakeResponse&& move) = default;
|
||||
};
|
||||
|
||||
class MySQLAuthRequest : public MySQLMessage
|
||||
class MySQLAuthRequest : public MySQLRequest
|
||||
{
|
||||
public:
|
||||
void set_auth(const std::string& username,
|
||||
|
||||
Reference in New Issue
Block a user