~maria-captains/maria/5.2

« back to all changes in this revision

Viewing changes to mysql-test/include/have_unix_socket.inc

  • Committer: Sergei Golubchik
  • Date: 2014-03-13 19:12:50 UTC
  • Revision ID: sergii@pisem.net-20140313191250-i5pj21jd9y6y4buo
don't run unix_socket tests when $USER is already present in mysql.user
(as it's done in 10.0)

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
  skip USER variable is undefined;
9
9
}
10
10
 
 
11
if (`SELECT count(*) <> 0 FROM mysql.user WHERE user = '$USER'`) {
 
12
  skip \$USER=$USER which exists in mysql.user;
 
13
}