Fix code that detects support for mysql.hosts table https://sourceforge.net/p/webadmin/bugs/4945/

This commit is contained in:
Jamie Cameron
2017-04-23 14:17:51 -07:00
parent 97e40304ac
commit a37185b170

View File

@ -697,7 +697,7 @@ else {
# Returns 1 if the hosts table exists
sub supports_hosts
{
return $mysql_version <= 5.7 ? 1 :
return $mysql_version < 5.7 ? 1 :
$mysql_version =~ /^5\.7\.(\d+)/ && $1 < 16 ? 1 : 0;
}