Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ebnf show engines #17006

Merged
merged 1 commit into from
Apr 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 7 additions & 6 deletions sql-statements/sql-statement-show-engines.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.