Skip to content

Commit

Permalink
Update cdc/sink/dmlsink/txn/mysql/mysql.go
Browse files Browse the repository at this point in the history
  • Loading branch information
asddongmen authored Sep 27, 2023
1 parent 7ea72b9 commit 8764f7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdc/sink/dmlsink/txn/mysql/mysql.go
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ func (s *mysqlBackend) prepareDMLs() *preparedDMLs {
if firstRow.TableInfo != nil && firstRow.TableInfo.TableInfo != nil {
tableInfo = firstRow.TableInfo.TableInfo
} else {
// firstRow.TableInfo is nil only when the row change event was generated by
// firstRow.TableInfo is nil only when the row change event was **not** generated by
// mounter, which only occurs when mysql sink was used in redo consumer or
// in the other consumers.
tableInfo = model.BuildTiDBTableInfo(tableColumns, firstRow.IndexColumns)
Expand Down

0 comments on commit 8764f7c

Please sign in to comment.