From 5164760dba050f62a9418709c141a5165dd75b27 Mon Sep 17 00:00:00 2001
From: Marcos Daniel Romero Garcia <Marck Romero>
Date: Tue, 25 Mar 2025 04:46:12 -0500
Subject: [PATCH] Fix syntax error in SHOW BINARY LOG STATUS

---
 scripts/sys_schema/procedures/diagnostics.sql | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/sys_schema/procedures/diagnostics.sql b/scripts/sys_schema/procedures/diagnostics.sql
index 5611d47aae57..3850018338bb 100644
--- a/scripts/sys_schema/procedures/diagnostics.sql
+++ b/scripts/sys_schema/procedures/diagnostics.sql
@@ -659,9 +659,9 @@ BEGIN
         -- other tables, so include them even though they are no longer optimal solutions and if present get the additional
         -- information from the other tables available.
         IF (@@log_bin = 1) THEN
-            SELECT 'SHOW BINARY LOG STATUS' AS 'The following output is:';
-            SHOW BINARY LOG STATUS;
-        END IF;
+            SELECT 'SHOW BINARY LOGS' AS 'The following output is:';
+            SHOW BINARY LOGS;
+        END IF; 
 
         IF (v_has_replication <> 'NO') THEN
             SELECT 'SHOW REPLICA STATUS' AS 'The following output is:';