From a0713f3d646620527e9bdb020e5587c9c0fb6a89 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 af5d0788b5907..48fb8b4d1b7f6 100644 --- a/sql-statements/sql-statement-show-engines.md +++ b/sql-statements/sql-statement-show-engines.md @@ -9,12 +9,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 @@ -31,4 +32,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.