From ce23262b2777dce1c80096bec5b003f90fc1a4a0 Mon Sep 17 00:00:00 2001 From: Sergey Dryabzhinsky Date: Sat, 26 Dec 2020 12:32:59 +0300 Subject: [PATCH] Fix else+if construction --- mysqltuner.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mysqltuner.pl b/mysqltuner.pl index b586072..dc36b62 100644 --- a/mysqltuner.pl +++ b/mysqltuner.pl @@ -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; }