Commit 5b9ed285 authored by Sergei Golubchik's avatar Sergei Golubchik

backport typos found

parent b188b1bf
...@@ -440,7 +440,7 @@ static st_plugin_dl *plugin_dl_add(const LEX_STRING *dl, int report) ...@@ -440,7 +440,7 @@ static st_plugin_dl *plugin_dl_add(const LEX_STRING *dl, int report)
(plugin_dl.version >> 8) > (MYSQL_PLUGIN_INTERFACE_VERSION >> 8)) (plugin_dl.version >> 8) > (MYSQL_PLUGIN_INTERFACE_VERSION >> 8))
{ {
free_plugin_mem(&plugin_dl); free_plugin_mem(&plugin_dl);
report_error(report, ER_CANT_OPEN_LIBRARY, MYF(0), dlpath, 0, report_error(report, ER_CANT_OPEN_LIBRARY, dlpath, 0,
"plugin interface version mismatch"); "plugin interface version mismatch");
DBUG_RETURN(0); DBUG_RETURN(0);
} }
...@@ -469,8 +469,7 @@ static st_plugin_dl *plugin_dl_add(const LEX_STRING *dl, int report) ...@@ -469,8 +469,7 @@ static st_plugin_dl *plugin_dl_add(const LEX_STRING *dl, int report)
if (!(sym= dlsym(plugin_dl.handle, plugin_declarations_sym))) if (!(sym= dlsym(plugin_dl.handle, plugin_declarations_sym)))
{ {
free_plugin_mem(&plugin_dl); free_plugin_mem(&plugin_dl);
report_error(report, ER_CANT_FIND_DL_ENTRY, MYF(0), report_error(report, ER_CANT_FIND_DL_ENTRY, plugin_declarations_sym);
plugin_declarations_sym);
DBUG_RETURN(0); DBUG_RETURN(0);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment