BUG#35543 mysqlbinlog.cc does not properly work with tmp files

 - Backport to 5.0, use --local-load to instruct myqlbinlog where to 
 put the files it generate
parent 2e071e9e
...@@ -2045,6 +2045,9 @@ sub environment_setup () { ...@@ -2045,6 +2045,9 @@ sub environment_setup () {
{ {
$cmdline_mysqlbinlog .=" --character-sets-dir=$path_charsetsdir"; $cmdline_mysqlbinlog .=" --character-sets-dir=$path_charsetsdir";
} }
# Always use the given tmpdir for the LOAD files created
# by mysqlbinlog
$cmdline_mysqlbinlog .=" --local-load=$opt_tmpdir";
if ( $opt_debug ) if ( $opt_debug )
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment