Skip to main content

update_to_events

Function update_to_events 

Source
pub fn update_to_events(
    msg: &UpdateMessage,
    binlog_file: &str,
    gtid: Option<&str>,
) -> Vec<ChangeEvent>
Expand description

Converts an UPDATE message to change events.

Each UPDATE row generates two events:

  • U- (before image, weight -1)
  • U+ (after image, weight +1)