mirror of
https://github.com/webmin/webmin.git
synced 2025-08-16 14:51:18 +00:00
Fix code that detects support for mysql.hosts table https://sourceforge.net/p/webadmin/bugs/4945/
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user