From 83de75d66dc40fedc4cb762584eed3e0121609bd Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Tue, 19 Feb 2019 01:04:56 +0100 Subject: try harder to link unix_socket plugin statically fix unix_socket tests to work if unix_socket is a built-in --- mysql-test/main/failed_auth_unixsocket.test | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'mysql-test/main/failed_auth_unixsocket.test') diff --git a/mysql-test/main/failed_auth_unixsocket.test b/mysql-test/main/failed_auth_unixsocket.test index 01fb09e1c46..0dcc050a463 100644 --- a/mysql-test/main/failed_auth_unixsocket.test +++ b/mysql-test/main/failed_auth_unixsocket.test @@ -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; - -- cgit v1.2.1