1
0
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:
Sergei Golubchik
2014-03-13 20:12:50 +01:00
parent 5616bd5597
commit 8428c116c7

View File

@ -8,3 +8,6 @@ if (!$USER) {
skip USER variable is undefined;
}
if (`SELECT count(*) <> 0 FROM mysql.user WHERE user = '$USER'`) {
skip \$USER=$USER which exists in mysql.user;
}