1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MDEV-20110 don't try to load client plugins with invalid names

reported by lixtelnis
This commit is contained in:
Sergei Golubchik
2019-07-21 12:09:17 +02:00
parent f90040fd9c
commit 82563c5fc0
4 changed files with 24 additions and 1 deletions

View File

@ -3,3 +3,8 @@ set global debug_dbug='+d,auth_disconnect';
create user 'bad' identified by 'worse';
set global debug_dbug=@old_dbug;
drop user bad;
set global debug_dbug='+d,auth_invalid_plugin';
create user 'bad' identified by 'worse';
ERROR 2059 (HY000): Authentication plugin 'foo/bar' cannot be loaded: invalid plugin name
set global debug_dbug=@old_dbug;
drop user bad;