Fix for wrong mysql_upgrade message on Users tab with Percona Server >= 5.7

Signed-off-by: Andre Evertz <andre.evertz@devil-coding.de>
This commit is contained in:
Andre Evertz 2016-02-25 23:35:11 +01:00
parent 1d99372688
commit 10e9a91c12

View File

@ -4739,7 +4739,8 @@ function PMA_getHtmlForUserOverview($pmaThemeImage, $text_dir)
. '</h2>' . "\n";
$password_column = 'Password';
if (Util::getServerType() == 'MySQL'
$server_type = Util::getServerType();
if (($server_type == 'MySQL' || $server_type == 'Percona Server')
&& PMA_MYSQL_INT_VERSION >= 50706
) {
$password_column = 'authentication_string';