Commit de0a3d30 authored by monty@narttu.mysql.fi's avatar monty@narttu.mysql.fi

Fixed test if thr_alarm() failed

parent cd3b680d
......@@ -437,7 +437,7 @@ static void my_net_skip_rest(NET *net, ulong remain, thr_alarm_t *alarmed,
uint retry_count=0;
if (!thr_alarm_in_use(alarmed))
{
if (!thr_alarm(alarmed,net->timeout,alarm_buff) ||
if (thr_alarm(alarmed,net->timeout,alarm_buff) ||
(!vio_is_blocking(net->vio) && vio_blocking(net->vio,TRUE) < 0))
return; /* Can't setup, abort */
}
......
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