Another case where gw_write fails in EAGAIN/EWOULDBLOCK.
This commit is contained in:
@ -815,6 +815,11 @@ int saved_errno = 0;
|
|||||||
|
|
||||||
if (w < 0)
|
if (w < 0)
|
||||||
{
|
{
|
||||||
|
if (saved_errno == EAGAIN ||
|
||||||
|
saved_errno == EWOULDBLOCK)
|
||||||
|
{
|
||||||
|
break;
|
||||||
|
}
|
||||||
skygw_log_write_flush(
|
skygw_log_write_flush(
|
||||||
LOGFILE_ERROR,
|
LOGFILE_ERROR,
|
||||||
"Error : Write to dcb %p "
|
"Error : Write to dcb %p "
|
||||||
|
Reference in New Issue
Block a user