summaryrefslogtreecommitdiff
path: root/sql/sql_connect.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_connect.cc')
-rw-r--r--sql/sql_connect.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_connect.cc b/sql/sql_connect.cc
index 53b68961c02..c6cd57f9ad9 100644
--- a/sql/sql_connect.cc
+++ b/sql/sql_connect.cc
@@ -997,7 +997,7 @@ static void end_connection(THD *thd)
thd->user_connect= NULL;
}
- if (thd->killed || net->error && net->vio != 0)
+ if (thd->killed || (net->error && net->vio != 0))
{
statistic_increment(aborted_threads,&LOCK_status);
}