Merge branch 'master' into subtable

This commit is contained in:
lazio579 2019-01-24 16:57:44 +08:00
commit 6857c0f15c

View File

@ -419,6 +419,11 @@ do_connect_cetus(network_mysqld_con *con, network_backend_t **backend, int *back
else
challenge->capabilities &= ~CLIENT_SSL;
#endif
if (con->srv->compress_support) {
challenge->capabilities &= CLIENT_COMPRESS;
}
network_mysqld_auth_challenge_set_challenge(challenge);
challenge->server_status |= SERVER_STATUS_AUTOCOMMIT;
challenge->charset = 0xC0;