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

if (!$AUTH_NAMED_PIPE_SO) {
  skip No auth_named_pipe plugin;
}

if (!$USERNAME) {
  skip USER variable is undefined;
}

if (`SELECT count(*) <> 0 FROM mysql.user WHERE user = '$USERNAME'`) {
  skip %USERNAME%=$USER which exists in mysql.user;
}