Skip to content

Commit

Permalink
fix(input.mysql): no fatal when columns and data mismatch (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan-Git authored Aug 21, 2019
1 parent c187b24 commit 886b6bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/inputs/mysqlstream/msg.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ func NewDeleteMsgs(

for rowIndex, row := range ev.Rows {
if len(row) != len(columns) {
return nil, errors.Errorf("delete %s.%s columns and data mismatch in length: %d vs %d",
log.Warnf("delete %s.%s columns and data mismatch in length: %d vs %d",
tableDef.Schema, tableDef.Name, len(columns), len(row))
}
msg := core.Msg{
Expand Down

0 comments on commit 886b6bd

Please sign in to comment.