diff options
author | unknown <hezx@hezx.(none)> | 2007-12-15 19:50:23 +0800 |
---|---|---|
committer | unknown <hezx@hezx.(none)> | 2007-12-15 19:50:23 +0800 |
commit | 590350633c23d3d986e9d3c8745aa8f0bbb78105 (patch) | |
tree | 1032a44429a2d1ceb6eadb0991035a7b5a41a5cd /sql/slave.cc | |
parent | 77f4d9124f4dde94ee677fa60f12eddfae20d817 (diff) | |
download | mariadb-git-590350633c23d3d986e9d3c8745aa8f0bbb78105.tar.gz |
BUG#32205 Replaying statements from mysqlbinlog fails with a syntax error, replicates 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
mysql-test/r/ctype_ucs_binlog.result:
Update test result for BUG#32205
mysql-test/r/mix_innodb_myisam_binlog.result:
Update test result for BUG#32205
mysql-test/r/mysqlbinlog.result:
Update test result for BUG#32205
mysql-test/r/rpl_charset.result:
Update test result for BUG#32205
mysql-test/r/rpl_timezone.result:
Update test result for BUG#32205
mysql-test/r/user_var-binlog.result:
Update test result for BUG#32205
mysql-test/t/mix_innodb_myisam_binlog.test:
Fixed for BUG#32205
sql/log_event.cc:
Start a newline before appending delimiter after a query string
mysql-test/r/binlog_start_comment.result:
Add test for BUG#32205
mysql-test/t/binlog_start_comment.test:
Add test for BUG#32205
Diffstat (limited to 'sql/slave.cc')
0 files changed, 0 insertions, 0 deletions