mirror of
https://github.com/MariaDB/server.git
synced 2026-04-26 10:15:29 +02:00
Bug #11766854: 60075: MYSQL_LOAD_CLIENT_PLUGIN DOESN'T CLEAR ERROR
Added the cleanup code. Extended mysql_client_test to take --plugin-dir and --default_auth. Added a C test case.
This commit is contained in:
parent
45175655e1
commit
4bb5d2dce4
3 changed files with 43 additions and 1 deletions
|
|
@ -163,6 +163,7 @@ add_plugin(MYSQL *mysql, struct st_mysql_client_plugin *plugin, void *dlhandle,
|
|||
|
||||
p->next= plugin_list[plugin->type];
|
||||
plugin_list[plugin->type]= p;
|
||||
net_clear_error(&mysql->net);
|
||||
|
||||
return plugin;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue