mirror of
https://gitee.com/wangbin579/cetus.git
synced 2024-12-02 03:47:41 +08:00
Disable transaction for admin
This commit is contained in:
parent
106f03c599
commit
6b21ee9062
@ -131,7 +131,7 @@ NETWORK_MYSQLD_PLUGIN_PROTO(server_con_init)
|
|||||||
challenge->server_version_str = g_strdup_printf("%s admin", PACKAGE_STRING);
|
challenge->server_version_str = g_strdup_printf("%s admin", PACKAGE_STRING);
|
||||||
challenge->server_version = 50099;
|
challenge->server_version = 50099;
|
||||||
challenge->charset = charset_get_number("latin1");
|
challenge->charset = charset_get_number("latin1");
|
||||||
challenge->capabilities = CETUS_DEFAULT_FLAGS;
|
challenge->capabilities = CETUS_DEFAULT_FLAGS & (~CLIENT_TRANSACTIONS);
|
||||||
#ifdef HAVE_OPENSSL
|
#ifdef HAVE_OPENSSL
|
||||||
if (chas->ssl) {
|
if (chas->ssl) {
|
||||||
challenge->capabilities |= CLIENT_SSL;
|
challenge->capabilities |= CLIENT_SSL;
|
||||||
|
Loading…
Reference in New Issue
Block a user