We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e1e206 commit 98fb5a6Copy full SHA for 98fb5a6
pkg/statistics/handle/util/table_info.go
@@ -37,7 +37,7 @@ func NewTableInfoGetter() TableInfoGetter {
37
38
// TableInfoByID returns the table info specified by the physicalID.
39
// If the physicalID is corresponding to a partition, return its parent table.
40
-func (c *tableInfoGetterImpl) TableInfoByID(is infoschema.InfoSchema, physicalID int64) (table.Table, bool) {
+func (*tableInfoGetterImpl) TableInfoByID(is infoschema.InfoSchema, physicalID int64) (table.Table, bool) {
41
tbl, _, _ := is.FindTableByPartitionID(physicalID)
42
return tbl, tbl == nil
43
}
0 commit comments