1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-07 02:42:49 +03:00

Added support for MYSQL_ENABLE_CLEARtEXT_PLUGIN in mysql_options.

However we don't take any actions - plugins are always enabled.
This commit is contained in:
Georg Richter
2014-12-18 18:02:50 +01:00
parent cc95c08c9d
commit 36c04222f7
2 changed files with 4 additions and 0 deletions

View File

@@ -202,6 +202,8 @@ extern char *mysql_unix_port;
MYSQL_OPT_CONNECT_ATTR_RESET, MYSQL_OPT_CONNECT_ATTR_RESET,
MYSQL_OPT_CONNECT_ATTR_ADD, MYSQL_OPT_CONNECT_ATTR_ADD,
MYSQL_OPT_CONNECT_ATTR_DELETE, MYSQL_OPT_CONNECT_ATTR_DELETE,
MYSQL_SERVER_PUBLIC_KEY,
MYSQL_ENABLE_CLEARTEXT_PLUGIN,
/* MariaDB specific */ /* MariaDB specific */
MYSQL_PROGRESS_CALLBACK=5999, MYSQL_PROGRESS_CALLBACK=5999,

View File

@@ -3112,6 +3112,8 @@ mysql_optionsv(MYSQL *mysql,enum mysql_option option, ...)
} }
} }
break; break;
case MYSQL_ENABLE_CLEARTEXT_PLUGIN:
break;
case MYSQL_SECURE_AUTH: case MYSQL_SECURE_AUTH:
mysql->options.secure_auth= *(my_bool *)arg1; mysql->options.secure_auth= *(my_bool *)arg1;
break; break;