• hezx@hezx.(none)'s avatar
    BUG#32205 Replaying statements from mysqlbinlog fails with a syntax error, replicates fine · c2f00cc3
    hezx@hezx.(none) authored
    The reason of this bug is that when mysqlbinlog dumps a query, the query is written to
    output with a delimeter appended right after it, if the query string ends with a '--'
    comment, then the delimeter would be considered as part of the comment, if there are any
    statements after this query, then it will cause a syntax error.
    
    Start a newline before appending delimiter after a query string
    c2f00cc3
log_event.cc 165 KB