report correct write error on log writes
This commit is contained in:
parent
f620da194b
commit
8483659f4f
@ -2863,7 +2863,7 @@ bool MYSQL_QUERY_LOG::write(THD *thd, time_t current_time,
|
||||
if (! write_error)
|
||||
{
|
||||
write_error= 1;
|
||||
sql_print_error(ER(ER_ERROR_ON_WRITE), name, error);
|
||||
sql_print_error(ER(ER_ERROR_ON_WRITE), name, tmp_errno);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user