mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
ed25519: support empty password
This commit is contained in:
committed by
Oleksandr Byelkin
parent
583a5a79c9
commit
044d8c50c6
@@ -50,6 +50,18 @@ select current_user();
|
||||
disconnect con1;
|
||||
connection default;
|
||||
|
||||
create user test2@localhost identified via ed25519 using PASSWORD('');
|
||||
show grants for test2@localhost;
|
||||
connect con2, localhost, test2,;
|
||||
select current_user();
|
||||
disconnect con2;
|
||||
|
||||
replace_result $MASTER_MYSOCK MASTER_MYSOCK $MASTER_MYPORT MASTER_MYPORT;
|
||||
error ER_ACCESS_DENIED_ERROR;
|
||||
connect con3, localhost, test2, "wrong_pwd";
|
||||
connection default;
|
||||
drop user test2@localhost;
|
||||
|
||||
drop user test1@localhost;
|
||||
uninstall plugin ed25519;
|
||||
error ER_CANT_INITIALIZE_UDF;
|
||||
|
Reference in New Issue
Block a user