From 4ca04457035cfb0cce732d316b76cb241e18d34f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= Date: Tue, 21 Nov 2023 08:34:10 +0100 Subject: [PATCH] statements: Add SHOW BINARY LOG STATUS info (#15380) --- sql-statements/sql-statement-show-master-status.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sql-statements/sql-statement-show-master-status.md b/sql-statements/sql-statement-show-master-status.md index deb31e34da5fc..0ba461b6a5669 100644 --- a/sql-statements/sql-statement-show-master-status.md +++ b/sql-statements/sql-statement-show-master-status.md @@ -29,6 +29,8 @@ SHOW MASTER STATUS; The output of `SHOW MASTER STATUS` is designed to match MySQL. However, the execution results are different in that the MySQL result is the binlog location information and the TiDB result is the latest TSO information. +The `SHOW BINARY LOG STATUS` statement was added in TiDB as an alias for `SHOW MASTER STATUS`, which has been deprecated in MySQL 8.2.0 and newer versions. + ## See also @@ -44,4 +46,4 @@ The output of `SHOW MASTER STATUS` is designed to match MySQL. However, the exec * [`SHOW TABLE STATUS`](/sql-statements/sql-statement-show-table-status.md) - \ No newline at end of file +