Skip to content

Commit

Permalink
statements: Add SHOW BINARY LOG STATUS info (pingcap#15380)
Browse files Browse the repository at this point in the history
  • Loading branch information
dveeden authored Nov 21, 2023
1 parent f5c4fbd commit 4ca0445
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sql-statements/sql-statement-show-master-status.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

<CustomContent platform="tidb">
Expand All @@ -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)

</CustomContent>
</CustomContent>

0 comments on commit 4ca0445

Please sign in to comment.