You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-08 14:02:17 +03:00
Merge branch '3.1' into 3.3
This commit is contained in:
@@ -137,7 +137,11 @@ static struct st_mysql_client_plugin *find_plugin(const char *name, int type)
|
|||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (!name)
|
if (!name)
|
||||||
return plugin_list[plugin_nr]->plugin;
|
{
|
||||||
|
if (plugin_list[plugin_nr])
|
||||||
|
return plugin_list[plugin_nr]->plugin;
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
for (p= plugin_list[plugin_nr]; p; p= p->next)
|
for (p= plugin_list[plugin_nr]; p; p= p->next)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user