Skip to content

Commit

Permalink
Adding TODO.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 committed Dec 4, 2024
1 parent 264ec76 commit d560de7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sources/mysql/streaming/dml.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ func (i *Iterator) processDML(ts time.Time, event *replication.BinlogEvent) ([]l
return nil, nil
}

// TODO: We should check that tableAdapter's timestamp is not greater than the event's timestamp.

operation, err := convertHeaderToOperation(event.Header.EventType)
if err != nil {
return nil, fmt.Errorf("failed to convert header to operation: %w", err)
Expand Down

0 comments on commit d560de7

Please sign in to comment.