• hezx@hezx.(none)'s avatar
    BUG#32205 Replaying statements from mysqlbinlog fails with a syntax error, replicates · 3255237f
    hezx@hezx.(none) authored
    fine
    
    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
    3255237f
binlog_start_comment.test 774 Bytes