mysql-test/r/binlog_start_comment.result
0 → 100644
+13
−0
+72
−36
+46
−23
Loading
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