Skip to content
Permalink
Browse files

report correct write error on log writes

  • Loading branch information...
vuvova committed Sep 24, 2016
1 parent f620da1 commit 8483659f4f017285a878ce563c1c756ee3e4d3dc
Showing with 1 addition and 1 deletion.
  1. +1 −1 sql/log.cc
@@ -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);
}
}
}

0 comments on commit 8483659

Please sign in to comment.
You can’t perform that action at this time.