Affects Version/s: None
Fix Version/s: None
**Reported in Launchpad by Laurynas Biveinis last update 01-08-2014 16:12:34
This is a copy of http://bugs.mysql.com/bug.php?id=71603:
[6 Feb 9:34] Vlad Lesin
Load_log_event::print_query() function does not escape file name for "LOAD DATA INFILE" statement, as a result unescaped file name can be written in replication binlog.
How to repeat:
.tar.bz2 archive will be attached to this bug report. This archive contains MTR test which repeats the bug. Just unpack this archive to the root of 5.5.36 source tree and launch it with mysqltestrun.
Escape file name in Load_log_event::print_query().
[6 Feb 9:35] Vlad Lesin
MTR test to repeat the bug
Attachment: rpl_load_data_file_escape.tar.bz2 (application/x-bzip, text), 886 bytes.