Skip to content

Commit

Permalink
Update pkg/meta/meta.go
Browse files Browse the repository at this point in the history
Co-authored-by: D3Hunter <jujj603@gmail.com>
  • Loading branch information
asddongmen and D3Hunter authored May 31, 2024
1 parent 7f62efc commit a570b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/meta/meta.go
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,7 @@ func (m *Meta) IterTables(dbID int64, fn func(info *model.TableInfo) error) erro
// GetDBMeta return all meta information of a database.
// Note(dongmen): This method is used by TiCDC to reduce the time of changefeed initialization.
// Ref: https://github.com/pingcap/tiflow/issues/11109
func (m *Meta) GetDBMeta(dbID int64) ([]structure.HashPair, error) {
func (m *Meta) GetMetasByDBID(dbID int64) ([]structure.HashPair, error) {
dbKey := m.dbKey(dbID)
if err := m.checkDBExists(dbKey); err != nil {
return nil, errors.Trace(err)
Expand Down

0 comments on commit a570b9d

Please sign in to comment.