mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
restore the error message that was changed by mistake
add a test case
This commit is contained in:
@ -1222,7 +1222,8 @@ err:
|
||||
DBUG_ASSERT(!name->str || !dupes); // dupes is ONLY for name->str == 0
|
||||
|
||||
if (errs == 0 && oks == 0 && !dupes) // no plugin was found
|
||||
my_error(ER_PLUGIN_IS_NOT_LOADED, MyFlags, name->str);
|
||||
my_error(ER_CANT_FIND_DL_ENTRY, MyFlags, name->str, tmp.plugin_dl->dl.str);
|
||||
|
||||
|
||||
plugin_dl_del(tmp.plugin_dl);
|
||||
if (errs > 0 || oks + dupes == 0)
|
||||
|
Reference in New Issue
Block a user