Skip to content

Commit

Permalink
Fix else+if construction
Browse files Browse the repository at this point in the history
  • Loading branch information
sergey-dryabzhinsky committed Dec 26, 2020
1 parent b1a1829 commit ce23262
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mysqltuner.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1780,10 +1780,10 @@ sub security_recommendations {
$PASS_COLUMN_NAME =
"IF(plugin='mysql_native_password', authentication_string, password)";
}
else if ($authstring_column_exists) {
elsif ($authstring_column_exists) {
$PASS_COLUMN_NAME = 'authentication_string';
}
else if (!$password_column_exists) {
elsif (!$password_column_exists) {
infoprint "Skipped due to none of known auth columns exists";
return;
}
Expand Down

0 comments on commit ce23262

Please sign in to comment.