diff options
author | Sergei Golubchik <serg@mariadb.org> | 2019-02-19 01:04:56 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2019-02-21 15:04:03 +0100 |
commit | 83de75d66dc40fedc4cb762584eed3e0121609bd (patch) | |
tree | 3d7905299200db0ac8876e636956284f588b74b6 /mysql-test/main/failed_auth_unixsocket.test | |
parent | 38bf9319a4cec638dfea319f40dc5eaecf9a52eb (diff) | |
download | mariadb-git-83de75d66dc40fedc4cb762584eed3e0121609bd.tar.gz |
try harder to link unix_socket plugin statically
fix unix_socket tests to work if unix_socket is a built-in
Diffstat (limited to 'mysql-test/main/failed_auth_unixsocket.test')
-rw-r--r-- | mysql-test/main/failed_auth_unixsocket.test | 18 |
1 files changed, 1 insertions, 17 deletions
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 @@ -14,29 +14,13 @@ 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 --error ER_ACCESS_DENIED_NO_PASSWORD_ERROR 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; - |