Commit 97463576 authored by unknown's avatar unknown

Fix test failure in plugins.unix_socket when running tests as user root.

(The problem is that if $USER is root, then the authentication will log
in with the mysqld user root. And then CURRENT_USER() returns a valid
user, giving .result file difference).
parent 66cc6196
--source include/not_embedded.inc --source include/not_embedded.inc
# If we run this as root, $USER gets authenticated as the `root' user, and we
# get .result differences from CURRENT_USER().
--source include/not_as_root.inc
if (!$AUTH_SOCKET_SO) { if (!$AUTH_SOCKET_SO) {
skip No auth_socket plugin; skip No auth_socket plugin;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment