summaryrefslogtreecommitdiff
path: root/sql/sql_connect.cc
diff options
context:
space:
mode:
authorAlexander Nozdrin <alik@sun.com>2009-10-22 22:06:01 +0400
committerAlexander Nozdrin <alik@sun.com>2009-10-22 22:06:01 +0400
commit564952afb01fa9ff1d6f4622c0f4fb35ccc037cb (patch)
tree85bcbfa3559990f90ce21638ed46531ed888aaa3 /sql/sql_connect.cc
parentffde6bbb15b75c94293784fa0f4264d64039f0b9 (diff)
parentbcaa7524d935464c68e34cb0657cd43517108c40 (diff)
downloadmariadb-git-564952afb01fa9ff1d6f4622c0f4fb35ccc037cb.tar.gz
Automerge from mysql-next-mr.
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 cfcf2af3d09..742bafed0c1 100644
--- a/sql/sql_connect.cc
+++ b/sql/sql_connect.cc
@@ -989,7 +989,7 @@ static void end_connection(THD *thd)
if (thd->user_connect)
decrease_user_connections(thd->user_connect);
- if (thd->killed || net->error && net->vio != 0)
+ if (thd->killed || (net->error && net->vio != 0))
{
statistic_increment(aborted_threads,&LOCK_status);
}