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

if (`select count(*) = 0 from information_schema.plugins where plugin_name = 'unix_socket' and plugin_status='active'`)
{
  --skip Needs 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;
}