Skip to content

Commit

Permalink
ebnf show plugins (#17004)
Browse files Browse the repository at this point in the history
  • Loading branch information
dveeden committed Apr 10, 2024
1 parent ee17026 commit d8d705d
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions sql-statements/sql-statement-show-plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,13 @@ aliases: ['/docs/dev/sql-statements/sql-statement-show-plugins/']
## Synopsis

**ShowStmt:**

![ShowStmt](/media/sqlgram/ShowStmt.png)

**ShowTargetFilterable:**

![ShowTargetFilterable](/media/sqlgram/ShowTargetFilterable.png)
```ebnf+diagram
ShowPluginsStmt ::=
"SHOW" "PLUGINS" ShowLikeOrWhere?
```

## Examples

{{< copyable "sql" >}}

```sql
SHOW PLUGINS;
```
Expand All @@ -39,8 +34,6 @@ SHOW PLUGINS;
1 row in set (0.000 sec)
```

{{< copyable "sql" >}}

```sql
SHOW PLUGINS LIKE 'a%';
```
Expand All @@ -57,3 +50,7 @@ SHOW PLUGINS LIKE 'a%';
## MySQL compatibility

The `SHOW PLUGINS` statement in TiDB is fully compatible with MySQL. If you find any compatibility differences, [report a bug](https://docs.pingcap.com/tidb/stable/support).

## See also

- [`ADMIN PLUGINS`](/sql-statements/sql-statement-admin.md#admin-plugins-related-statement)

0 comments on commit d8d705d

Please sign in to comment.