mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
don't run unix_socket tests when $USER is already present in mysql.user
(as it's done in 10.0)
This commit is contained in:
@ -8,3 +8,6 @@ if (!$USER) {
|
|||||||
skip USER variable is undefined;
|
skip USER variable is undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (`SELECT count(*) <> 0 FROM mysql.user WHERE user = '$USER'`) {
|
||||||
|
skip \$USER=$USER which exists in mysql.user;
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user