Commit 914e85b3 authored by msvensson@pilot.(none)'s avatar msvensson@pilot.(none)
Browse files

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
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2045,6 +2045,9 @@ sub environment_setup () {
  {
    $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 )
  {