The integer primary key is not included in the information_schema.tidb_index_usage
#58256
Labels
affects-8.5
This bug affects the 8.5.x(LTS) versions.
severity/moderate
sig/sql-infra
SIG: SQL Infra
type/bug
The issue is confirmed as a bug.
I recorded the index usage of clustered primary keys and integer primary keys in #55602, but when the primary key is an integer, it'll not show in the
Index
list ofTableInfo
, so it doesn't appear in theinformation_schema.tidb_index_usage
table 🤦 .My fault. The previous PR doesn't have any E2E test.
The text was updated successfully, but these errors were encountered: