• mats@romeo.(none)'s avatar
    BUG#19459 (BINLOG RBR command does not lock tables correctly causing · e762328b
    mats@romeo.(none) authored
    crash for, e.g., NDB):
    
    Before, mysqlbinlog printed table map events as a separate statement, so
    when executing the event, the opened table was subsequently closed
    when the statement ended. Instead, the row-based events that make up
    a statement are now printed as *one* BINLOG statement, which means
    that the table maps and the following *_rows_log_event events are
    executed fully before the statement ends.
    
    Changing implementation of BINLOG statement to be able to read the 
    emitted format, which now consists of several chunks of BASE64-encoded
    data.
    e762328b
sql_binlog.cc 5.63 KB