diff options
-rw-r--r-- | mysql-test/include/have_unix_socket.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/include/have_unix_socket.inc b/mysql-test/include/have_unix_socket.inc index 6e4c3b9826b..4246b138e9d 100644 --- a/mysql-test/include/have_unix_socket.inc +++ b/mysql-test/include/have_unix_socket.inc @@ -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; +} |