Commit d956281e authored by kostja@dipika.(none)'s avatar kostja@dipika.(none)

Don't complain about a failure to write a log message if we were

simply killed.
parent 209d3d2e
...@@ -441,7 +441,7 @@ bool Log_to_csv_event_handler:: ...@@ -441,7 +441,7 @@ bool Log_to_csv_event_handler::
result= FALSE; result= FALSE;
err: err:
if (result) if (result && !thd->killed)
sql_print_error("Failed to write to mysql.general_log: %s", sql_print_error("Failed to write to mysql.general_log: %s",
error_handler.message()); error_handler.message());
...@@ -639,7 +639,7 @@ bool Log_to_csv_event_handler:: ...@@ -639,7 +639,7 @@ bool Log_to_csv_event_handler::
err: err:
thd->pop_internal_handler(); thd->pop_internal_handler();
if (result) if (result && !thd->killed)
sql_print_error("Failed to write to mysql.slow_log: %s", sql_print_error("Failed to write to mysql.slow_log: %s",
error_handler.message()); error_handler.message());
......
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