• unknown's avatar
    Fix for BUG#1096 which is: · ad68064c
    unknown authored
    "mysqlbinlog does not comment the original LOAD DATA INFILE if it has a "use xx""
    
    
    client/mysqlbinlog.cc:
      a comment
    sql/log_event.cc:
      in mysqlbinlog we want to have a leading '#' before LOAD DATA INFILE when we
      print a Create_file event.
      This was not done properly when the query had *2* lines: only the "use db" got
      commented.
      To fix this I had to add an argument to Load_log_event::print, it could not be
      handled in Create_file_log_event::print alone.
    sql/log_event.h:
      prototype
    ad68064c
log_event.h 21.3 KB