From ddc38a84bd4f4bec419a7f30069de1989d2a6e6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= Date: Mon, 8 Apr 2024 09:31:04 +0200 Subject: [PATCH] ebnf show engines --- sql-statements/sql-statement-show-engines.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/sql-statements/sql-statement-show-engines.md b/sql-statements/sql-statement-show-engines.md index e0234219a503b..4fc855e8de9dd 100644 --- a/sql-statements/sql-statement-show-engines.md +++ b/sql-statements/sql-statement-show-engines.md @@ -10,12 +10,13 @@ This statement is used to list all supported storage engines. The syntax is incl ## Synopsis -**ShowEnginesStmt:** +```enbf+diagram +ShowEnginesStmt ::= + "SHOW" "ENGINES" ShowLikeOrWhere? -![ShowEnginesStmt](/media/sqlgram/ShowEnginesStmt.png) - -```sql -SHOW ENGINES; +ShowLikeOrWhere ::= + "LIKE" SimpleExpr +| "WHERE" Expression ``` ## Examples @@ -32,4 +33,4 @@ mysql> SHOW ENGINES; ## MySQL compatibility -* This statement will always only return InnoDB as the supported engine. Internally, TiDB will typically use TiKV as the storage engine. +* This statement will always only return InnoDB as the supported engine. Internally, TiDB will typically use [TiKV](/tikv-overview.md) as the storage engine.