• guilhem@mysql.com's avatar
    WL#1036 (print the db in slave error messages). · df3b31f3
    guilhem@mysql.com authored
    I extended the task to cleaning error messages, making them look nicer,
    and making the output of SHOW SLAVE STATUS (column Last_error) be as complete
    as what's printed on the .err file;
    previously we would have, for a failure of a replicated LOAD DATA INFILE:
    - in the .err, 2 lines:
    "duplicate entry 2708 for key 1"
    "failed loading SQL_LOAD-5-2-2.info"
    - and in SHOW SLAVE STATUS, only:
    "failed loading SQL_LOAD-5-2-2.info".
    Now SHOW SLAVE STATUS will contain the concatenation of the 2 messages.
    df3b31f3
log_event.cc 63.7 KB