mirror of
https://github.com/MariaDB/server.git
synced 2026-04-27 18:55:31 +02:00
try harder to link unix_socket plugin statically
fix unix_socket tests to work if unix_socket is a built-in
This commit is contained in:
parent
38bf9319a4
commit
83de75d66d
12 changed files with 14 additions and 50 deletions
|
|
@ -11,20 +11,6 @@ flush privileges;
|
|||
# that matches other parts of the error message.
|
||||
let $replace=Access denied for user '$USER';
|
||||
|
||||
--echo connect(localhost,USER,,test,MASTER_PORT,MASTER_SOCKET);
|
||||
--replace_result $replace "Access denied for user 'USER'"
|
||||
--disable_query_log
|
||||
--error ER_PLUGIN_IS_NOT_LOADED
|
||||
connect (fail,localhost,$USER);
|
||||
--enable_query_log
|
||||
|
||||
--replace_result $replace "Access denied for user 'USER'"
|
||||
--error ER_PLUGIN_IS_NOT_LOADED
|
||||
change_user $USER;
|
||||
|
||||
eval install plugin unix_socket soname '$AUTH_SOCKET_SO';
|
||||
flush privileges;
|
||||
|
||||
--echo connect(localhost,USER,,test,MASTER_PORT,MASTER_SOCKET);
|
||||
--replace_result $replace "Access denied for user 'USER'"
|
||||
--disable_query_log
|
||||
|
|
@ -32,11 +18,9 @@ flush privileges;
|
|||
connect (fail,localhost,$USER);
|
||||
--enable_query_log
|
||||
|
||||
--replace_result $replace "Access denied for user 'USER'"
|
||||
--replace_result $replace "Access denied for user 'USER'"
|
||||
--error ER_ACCESS_DENIED_NO_PASSWORD_ERROR
|
||||
change_user $USER;
|
||||
|
||||
update mysql.global_priv set priv=json_compact(json_remove(priv, '$.plugin'));
|
||||
flush privileges;
|
||||
uninstall plugin unix_socket;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue