Skip to content

Commit

Permalink
Use support.md instead of direct links to GitHub (pingcap#15200)
Browse files Browse the repository at this point in the history
  • Loading branch information
ran-huang authored Oct 13, 2023
1 parent 0308d6e commit bedf47f
Show file tree
Hide file tree
Showing 48 changed files with 57 additions and 57 deletions.
2 changes: 1 addition & 1 deletion dr-secondary-cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -410,4 +410,4 @@ storage = "s3://redo?access-key=minio&secret-access-key=miniostorage&endpoint=ht

## 常见问题处理

以上任何步骤遇到问题,可以先通过 [TiDB FAQ](/faq/faq-overview.md) 查找问题的处理方法。如果问题仍不能解决,请在 TiDB 项目中提 [issue](https://github.com/pingcap/tidb/issues/new/choose)。
以上任何步骤遇到问题,可以先通过 [TiDB FAQ](/faq/faq-overview.md) 查找问题的处理方法。如果问题仍不能解决,请尝试 [TiDB 支持资源](/support.md)。
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-admin-check-table-index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ summary: TiDB 数据库中 ADMIN CHECK [TABLE|INDEX] 的使用概况。
- 校验[外键约束](/foreign-key.md)
- 当使用[聚簇索引](/clustered-indexes.md)时,校验主键索引。

如果执行 `ADMIN CHECK [TABLE|INDEX]` 发现任何问题,你可以删除并重新创建索引来解决。如果问题仍未解决,你可以在 GitHub 上提 [issue](https://github.com/pingcap/tidb/issues/new/choose) 反馈
如果执行 `ADMIN CHECK [TABLE|INDEX]` 发现任何问题,你可以删除并重新创建索引来解决。如果问题仍未解决,你可以尝试 [TiDB 支持资源](/support.md)

## 原理

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-alter-database.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Query OK, 0 rows affected (0.00 sec)

## MySQL 兼容性

`ALTER DATABASE` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
`ALTER DATABASE` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请尝试 [TiDB 支持资源](/support.md)

## 另请参阅

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-create-database.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ SHOW TABLES;

## MySQL 兼容性

`CREATE DATABASE` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
`CREATE DATABASE` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请尝试 [TiDB 支持资源](/support.md)

## 另请参阅

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-create-role.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ SHOW TABLES IN test;

## MySQL 兼容性

`CREATE ROLE` 语句与 MySQL 8.0 的“角色”功能完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
`CREATE ROLE` 语句与 MySQL 8.0 的“角色”功能完全兼容。如发现任何兼容性差异,请尝试 [TiDB 支持资源](/support.md)

## 另请参阅

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-create-table-like.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Empty set (0.00 sec)

## MySQL 兼容性

`CREATE TABLE LIKE` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
`CREATE TABLE LIKE` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请尝试 [TiDB 支持资源](/support.md)

## 另请参阅

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-deallocate.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Query OK, 0 rows affected (0.00 sec)

## MySQL 兼容性

`DEALLOCATE` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
`DEALLOCATE` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请尝试 [TiDB 支持资源](/support.md)

## 另请参阅

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ SELECT * FROM t1;

## MySQL 兼容性

`DELETE` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
`DELETE` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请尝试 [TiDB 支持资源](/support.md)

## 另请参阅

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-do.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Query OK, 0 rows affected (2.50 sec)

## MySQL 兼容性

`DO` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
`DO` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请尝试 [TiDB 支持资源](/support.md)

## 另请参阅

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-drop-database.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ SHOW DATABASES;

## MySQL 兼容性

`DROP DATABASE` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
`DROP DATABASE` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请尝试 [TiDB 支持资源](/support.md)

## 另请参阅

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-drop-role.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ ERROR 3530 (HY000): `analyticsteam`@`%` is is not granted to jennifer@%

## MySQL 兼容性

`DROP ROLE` 语句与 MySQL 8.0 的角色功能完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
`DROP ROLE` 语句与 MySQL 8.0 的角色功能完全兼容。如发现任何兼容性差异,请尝试 [TiDB 支持资源](/support.md)

## 另请参阅

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-drop-view.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ SELECT * FROM t1;

## MySQL 兼容性

`DROP VIEW` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
`DROP VIEW` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请尝试 [TiDB 支持资源](/support.md)

## See also

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-execute.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Query OK, 0 rows affected (0.00 sec)

## MySQL 兼容性

`EXECUTE` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
`EXECUTE` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请尝试 [TiDB 支持资源](/support.md)

## 另请参阅

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-flush-privileges.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Query OK, 0 rows affected (0.01 sec)

## MySQL 兼容性

`FLUSH PRIVILEGES` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
`FLUSH PRIVILEGES` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请尝试 [TiDB 支持资源](/support.md)

## 另请参阅

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-grant-role.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ SHOW TABLES IN test;

## MySQL 兼容性

`GRANT <role>` 语句与 MySQL 8.0 的角色功能完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
`GRANT <role>` 语句与 MySQL 8.0 的角色功能完全兼容。如发现任何兼容性差异,请尝试 [TiDB 支持资源](/support.md)

## 另请参阅

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-insert.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ SELECT * FROM t2;

## MySQL 兼容性

`INSERT` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
`INSERT` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请尝试 [TiDB 支持资源](/support.md)

## 另请参阅

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-load-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ LOAD DATA LOCAL INFILE '/mnt/evo970/data-sets/bikeshare-data/2017Q4-capitalbikes

## MySQL 兼容性

TiDB 中的 `LOAD DATA` 语句语法上兼容 MySQL(除字符集选项被解析但会被忽略以外)。若发现任何语法兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
TiDB 中的 `LOAD DATA` 语句语法上兼容 MySQL(除字符集选项被解析但会被忽略以外)。若发现任何语法兼容性差异,请尝试 [TiDB 支持资源](/support.md)

> **注意:**
>
Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-prepare.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Query OK, 0 rows affected (0.00 sec)

## MySQL 兼容性

`PREPARE` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
`PREPARE` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请尝试 [TiDB 支持资源](/support.md)

## 另请参阅

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-rename-index.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Create Table: CREATE TABLE `t1` (

## MySQL 兼容性

`RENAME INDEX` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
`RENAME INDEX` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请尝试 [TiDB 支持资源](/support.md)

## 另请参阅

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-rename-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ SHOW TABLES;

## MySQL 兼容性

`RENAME TABLE` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
`RENAME TABLE` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请尝试 [TiDB 支持资源](/support.md)

## 另请参阅

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-rename-user.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ ERROR 1141 (42000): There is no such grant defined for user 'newuser' on host '%

## MySQL 兼容性

`RENAME USER` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
`RENAME USER` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请尝试 [TiDB 支持资源](/support.md)

## 另请参阅

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-replace.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ SELECT * FROM t1;

## MySQL 兼容性

`REPLACE` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
`REPLACE` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请尝试 [TiDB 支持资源](/support.md)

## 另请参阅

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-revoke-role.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ SHOW GRANTS;

## MySQL 兼容性

`REVOKE <role>` 语句与 MySQL 8.0 的角色功能完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
`REVOKE <role>` 语句与 MySQL 8.0 的角色功能完全兼容。如发现任何兼容性差异,请尝试 [TiDB 支持资源](/support.md)

## 另请参阅

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-set-default-role.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ ERROR 3530 (HY000): `analyticsteam`@`%` is is not granted to jennifer@%

## MySQL 兼容性

`SET DEFAULT ROLE` 语句与 MySQL 8.0 的角色功能完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
`SET DEFAULT ROLE` 语句与 MySQL 8.0 的角色功能完全兼容。如发现任何兼容性差异,请尝试 [TiDB 支持资源](/support.md)

## 另请参阅

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-set-names.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ SHOW VARIABLES LIKE 'character_set%';

## MySQL 兼容性

`SET [NAMES|CHARACTER SET]` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
`SET [NAMES|CHARACTER SET]` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请尝试 [TiDB 支持资源](/support.md)

## 另请参阅

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-set-password.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ SHOW CREATE USER 'newuser';

## MySQL 兼容性

`SET PASSWORD` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
`SET PASSWORD` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请尝试 [TiDB 支持资源](/support.md)

## 另请参阅

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-set-role.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ SELECT CURRENT_ROLE();

## MySQL 兼容性

`SET ROLE` 语句与 MySQL 8.0 的角色功能完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
`SET ROLE` 语句与 MySQL 8.0 的角色功能完全兼容。如发现任何兼容性差异,请尝试 [TiDB 支持资源](/support.md)

## 另请参阅

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-show-character-set.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ SHOW CHARACTER SET;

## MySQL 兼容性

`SHOW CHARACTER SET` 语句功能与 MySQL 完全兼容。注意,TiDB 中字符集的默认排序规则与 MySQL 有所不同,具体可以参考[与 MySQL 兼容性对比](/mysql-compatibility.md#默认设置)。如发现任何兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
`SHOW CHARACTER SET` 语句功能与 MySQL 完全兼容。注意,TiDB 中字符集的默认排序规则与 MySQL 有所不同,具体可以参考[与 MySQL 兼容性对比](/mysql-compatibility.md#默认设置)。如发现任何兼容性差异,请尝试 [TiDB 支持资源](/support.md)

## 另请参阅

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-show-collation.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ SHOW COLLATION;

## MySQL 兼容性

`SHOW COLLATION` 语句功能与 MySQL 完全兼容。注意,TiDB 中字符集的默认排序规则与 MySQL 有所不同,具体可参考[与 MySQL 兼容性对比](/mysql-compatibility.md#默认设置)。如发现任何其他兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
`SHOW COLLATION` 语句功能与 MySQL 完全兼容。注意,TiDB 中字符集的默认排序规则与 MySQL 有所不同,具体可参考[与 MySQL 兼容性对比](/mysql-compatibility.md#默认设置)。如发现任何其他兼容性差异,请尝试 [TiDB 支持资源](/support.md)

## 另请参阅

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-show-columns-from.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ show full columns from mysql.user;

## MySQL 兼容性

`SHOW [FULL] COLUMNS FROM` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
`SHOW [FULL] COLUMNS FROM` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请尝试 [TiDB 支持资源](/support.md)

## 另请参阅

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-show-create-database.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ SHOW CREATE SCHEMA IF NOT EXISTS test;

## MySQL 兼容性

`SHOW CREATE DATABASE` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
`SHOW CREATE DATABASE` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请尝试 [TiDB 支持资源](/support.md)

## 另请参阅

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-show-create-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ SHOW CREATE TABLE t1;

## MySQL 兼容性

`SHOW CREATE TABLE` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
`SHOW CREATE TABLE` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请尝试 [TiDB 支持资源](/support.md)

## 另请参阅

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-show-databases.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ SHOW DATABASES;

## MySQL 兼容性

`SHOW DATABASES` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
`SHOW DATABASES` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请尝试 [TiDB 支持资源](/support.md)

## 另请参阅

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-show-errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Empty set (0.00 sec)

## MySQL 兼容性

`SHOW ERRORS` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
`SHOW ERRORS` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请尝试 [TiDB 支持资源](/support.md)

## 另请参阅

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-show-grants.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ SHOW GRANTS FOR u1;

## MySQL 兼容性

`SHOW GRANTS` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
`SHOW GRANTS` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请尝试 [TiDB 支持资源](/support.md)

## 另请参阅

Expand Down
14 changes: 7 additions & 7 deletions sql-statements/sql-statement-show-indexes.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ SHOW INDEXES FROM t1;
+-------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+---------+------------+
| Table | Non_unique | Key_name | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression |
+-------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+---------+------------+
| t1 | 0 | PRIMARY | 1 | id | A | 0 | NULL | NULL | | BTREE | | | YES
| t1 | 0 | PRIMARY | 1 | id | A | 0 | NULL | NULL | | BTREE | | | YES
| NULL |
| t1 | 1 | col1 | 1 | col1 | A | 0 | NULL | NULL | YES | BTREE | | | YES
| t1 | 1 | col1 | 1 | col1 | A | 0 | NULL | NULL | YES | BTREE | | | YES
| NULL |
+-------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+---------+------------+
2 rows in set (0.00 sec)
Expand All @@ -70,9 +70,9 @@ SHOW INDEX FROM t1;
+-------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+---------+------------+
| Table | Non_unique | Key_name | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression |
+-------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+---------+------------+
| t1 | 0 | PRIMARY | 1 | id | A | 0 | NULL | NULL | | BTREE | | | YES
| t1 | 0 | PRIMARY | 1 | id | A | 0 | NULL | NULL | | BTREE | | | YES
| NULL |
| t1 | 1 | col1 | 1 | col1 | A | 0 | NULL | NULL | YES | BTREE | | | YES
| t1 | 1 | col1 | 1 | col1 | A | 0 | NULL | NULL | YES | BTREE | | | YES
| NULL |
+-------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+---------+------------+
2 rows in set (0.00 sec)
Expand All @@ -88,17 +88,17 @@ SHOW KEYS FROM t1;
+-------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+---------+------------+
| Table | Non_unique | Key_name | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression |
+-------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+---------+------------+
| t1 | 0 | PRIMARY | 1 | id | A | 0 | NULL | NULL | | BTREE | | | YES
| t1 | 0 | PRIMARY | 1 | id | A | 0 | NULL | NULL | | BTREE | | | YES
| NULL |
| t1 | 1 | col1 | 1 | col1 | A | 0 | NULL | NULL | YES | BTREE | | | YES
| t1 | 1 | col1 | 1 | col1 | A | 0 | NULL | NULL | YES | BTREE | | | YES
| NULL |
+-------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+---------+------------+
2 rows in set (0.00 sec)
```

## MySQL 兼容性

`SHOW INDEXES [FROM|IN]` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
`SHOW INDEXES [FROM|IN]` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请尝试 [TiDB 支持资源](/support.md)

## 另请参阅

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-show-plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ SHOW PLUGINS LIKE 'a%';

## MySQL 兼容性

`SHOW PLUGINS` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 [issue](https://github.com/pingcap/tidb/issues/new/choose)
`SHOW PLUGINS` 语句与 MySQL 完全兼容。如发现任何兼容性差异,请尝试 [TiDB 支持资源](/support.md)
Loading

0 comments on commit bedf47f

Please sign in to comment.