Skip to content

Commit

Permalink
fix make check.
Browse files Browse the repository at this point in the history
  • Loading branch information
3AceShowHand committed Dec 1, 2021
1 parent c65d4f9 commit e7b9795
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions cdc/sink/cdclog/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import (
"github.com/pingcap/log"
"github.com/pingcap/ticdc/cdc/model"
"github.com/pingcap/ticdc/cdc/sink/codec"
"github.com/pingcap/ticdc/pkg/quotes"
"github.com/pingcap/tidb/br/pkg/storage"
"github.com/uber-go/atomic"
"go.uber.org/zap"
Expand Down Expand Up @@ -230,19 +229,6 @@ func makeTableFileName(commitTS uint64) string {
return fmt.Sprintf("cdclog.%d", commitTS)
}

func makeLogMetaContent(tableInfos []*model.SimpleTableInfo) *logMeta {
meta := new(logMeta)
names := make(map[int64]string)
for _, table := range tableInfos {
if table != nil {
log.Info("[makeLogMetaContent]", zap.Reflect("table", table))
names[table.TableID] = quotes.QuoteSchema(table.Schema, table.Table)
}
}
meta.Names = names
return meta
}

func makeDDLFileObject(commitTS uint64) string {
return fmt.Sprintf("%s/%s", ddlEventsDir, makeDDLFileName(commitTS))
}
Expand Down

0 comments on commit e7b9795

Please sign in to comment.