summaryrefslogtreecommitdiff
path: root/sql/net_serv.cc
diff options
context:
space:
mode:
authorunknown <monty@narttu.mysql.fi>2003-06-05 15:15:27 +0300
committerunknown <monty@narttu.mysql.fi>2003-06-05 15:15:27 +0300
commit4916da252cc33867a5199269275054912315283b (patch)
tree93cdf9f025b7ae996af15857e2d3396a064e2b1c /sql/net_serv.cc
parent9b73c7097ad607e34b2faa9249e55f5afb90227e (diff)
downloadmariadb-git-4916da252cc33867a5199269275054912315283b.tar.gz
Fixed test if thr_alarm() failed
Diffstat (limited to 'sql/net_serv.cc')
-rw-r--r--sql/net_serv.cc2
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 */
}