mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
5.5 merge
This commit is contained in:
13
mysql-test/include/have_unix_socket.inc
Normal file
13
mysql-test/include/have_unix_socket.inc
Normal file
@ -0,0 +1,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;
|
||||
}
|
Reference in New Issue
Block a user