Skip to content

Commit 39a52bc

Browse files
authored
*: Enable plan cache for partitioned tables (pingcap#49161)
close pingcap#33031, close pingcap#45532
1 parent 1ec09e6 commit 39a52bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

model/model.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1250,6 +1250,7 @@ func (pi *PartitionInfo) Clone() *PartitionInfo {
12501250
}
12511251

12521252
// GetNameByID gets the partition name by ID.
1253+
// TODO: Remove the need for this function!
12531254
func (pi *PartitionInfo) GetNameByID(id int64) string {
12541255
definitions := pi.Definitions
12551256
// do not convert this loop to `for _, def := range definitions`.

0 commit comments

Comments
 (0)