diff options
author | unknown <monty@narttu.mysql.fi> | 2003-06-05 15:15:27 +0300 |
---|---|---|
committer | unknown <monty@narttu.mysql.fi> | 2003-06-05 15:15:27 +0300 |
commit | 4916da252cc33867a5199269275054912315283b (patch) | |
tree | 93cdf9f025b7ae996af15857e2d3396a064e2b1c /sql/net_serv.cc | |
parent | 9b73c7097ad607e34b2faa9249e55f5afb90227e (diff) | |
download | mariadb-git-4916da252cc33867a5199269275054912315283b.tar.gz |
Fixed test if thr_alarm() failed
Diffstat (limited to 'sql/net_serv.cc')
-rw-r--r-- | sql/net_serv.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/net_serv.cc b/sql/net_serv.cc index 0b332f84bac..23a23dbde7b 100644 --- a/sql/net_serv.cc +++ b/sql/net_serv.cc @@ -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 */ } |