Skip to content

Commit

Permalink
fix integration test.
Browse files Browse the repository at this point in the history
  • Loading branch information
3AceShowHand committed Oct 13, 2023
1 parent 7007e22 commit 19a815d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cdc/model/schema_storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ func (ti *TableInfo) Clone() *TableInfo {
return WrapTableInfo(ti.SchemaID, ti.TableName.Schema, ti.Version, ti.TableInfo.Clone())
}

// GetIndex return the corresponding index by the given name.
func (ti *TableInfo) GetIndex(name string) *model.IndexInfo {
for _, index := range ti.Indices {
if index.Name.O == name {
Expand Down

0 comments on commit 19a815d

Please sign in to comment.