This commit is contained in:
Jean-Marie RENOUARD 2015-08-24 10:00:28 +02:00
commit 3f78587411
2 changed files with 16 additions and 3 deletions

View file

@ -1,3 +1,5 @@
sudo: false
language: perl
perl:
- "blead"
@ -8,7 +10,18 @@ perl:
- "5.12"
- "5.10"
- "5.8"
- "5.6"
matrix:
include:
- addons:
mariadb: 5.5
perl: 5.20
- addons:
mariadb: 10.0
perl: 5.20
- addons:
mariadb: 10.1
perl: 5.20
before_install:
- git clone git://github.com/haarg/perl-travis-helper
@ -20,4 +33,4 @@ install:
- cpanm --quiet --notest Data::Dumper
script:
- mysqltuner
- ./mysqltuner.pl

View file

@ -712,7 +712,7 @@ sub security_recommendations {
# Looking for Empty Password
@mysqlstatlist = select_array
"SELECT CONCAT(user, '\@', host) FROM mysql.user WHERE password = '' OR password IS NULL";
"SELECT CONCAT(user, '\@', host) FROM mysql.user WHERE (password = '' OR password IS NULL) AND (plugin='' OR plugin IS NULL)";
if (@mysqlstatlist) {
foreach my $line ( sort @mysqlstatlist ) {
chomp($line);