Commit a4c98407 authored by unknown's avatar unknown

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


mysql-test/mysql-test-run.pl:
  Make mysqlbinlog use the designated tmpdir for it's LOAD DATA files
parent 8d3952e9
...@@ -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