Skip to content

Commit 36c0422

Browse files
committed
Added support for MYSQL_ENABLE_CLEARtEXT_PLUGIN in mysql_options.
However we don't take any actions - plugins are always enabled.
1 parent cc95c08 commit 36c0422

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

include/mysql.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,8 @@ extern char *mysql_unix_port;
202202
MYSQL_OPT_CONNECT_ATTR_RESET,
203203
MYSQL_OPT_CONNECT_ATTR_ADD,
204204
MYSQL_OPT_CONNECT_ATTR_DELETE,
205+
MYSQL_SERVER_PUBLIC_KEY,
206+
MYSQL_ENABLE_CLEARTEXT_PLUGIN,
205207

206208
/* MariaDB specific */
207209
MYSQL_PROGRESS_CALLBACK=5999,

libmariadb/libmariadb.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3112,6 +3112,8 @@ mysql_optionsv(MYSQL *mysql,enum mysql_option option, ...)
31123112
}
31133113
}
31143114
break;
3115+
case MYSQL_ENABLE_CLEARTEXT_PLUGIN:
3116+
break;
31153117
case MYSQL_SECURE_AUTH:
31163118
mysql->options.secure_auth= *(my_bool *)arg1;
31173119
break;

0 commit comments

Comments
 (0)