• gbichot@quadita2.mysql.com's avatar
    WWe now store the catalog in Query_log_event in binlog WITHOUT its end zero. · ead47f47
    gbichot@quadita2.mysql.com authored
    This saves one byte per Query_log_event on disk compared to 5.0.[0..3]. Compatibility problems with 5.0.x where x<4
    are explained in the comments in log_event.cc. Putting back s/my_open(O_TRUNC)/(my_delete+my_create) change which had
    been wiped away by somebody doing a wrong 4.1->5.0 merge (which happened just
    before 5.0.3 :( ). Applying it to new events for LOAD DATA INFILE.
    If slave fails in Execute_load_query_log_event::exec_event(),
    don't delete the file (so that it's re-usable at next START SLAVE).
    And (youpi!) fix for BUG#3247 "a partially completed LOAD DATA INFILE is not
    executed at all on the slave" (storing an Execute_load_query_log_event
    to binlog, with its error code, instead of Delete_file_log_event).
    ead47f47
rpl_log.result 5.59 KB