summaryrefslogtreecommitdiff
path: root/mysql-test/include/have_unix_socket.inc
blob: 4246b138e9d0690287600881ac0772f5895f84c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--source include/not_embedded.inc

if (!$AUTH_SOCKET_SO) {
  skip No unix_socket plugin;
}

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;
}