summaryrefslogtreecommitdiff
path: root/sql/sql_connect.cc
diff options
context:
space:
mode:
authorAlexander Nozdrin <alik@sun.com>2009-10-13 13:42:38 +0400
committerAlexander Nozdrin <alik@sun.com>2009-10-13 13:42:38 +0400
commitc69629d269fcab948800a427eff587b68cd7cf34 (patch)
treee56ffd06670e5f719dc7c91ca477eb50aa578a24 /sql/sql_connect.cc
parenteddd727a3a3de0e27e921551263e18c0b558a8ca (diff)
parent85bb4aa09ee906c5cb8a3f7af8ff319e3a6c93b9 (diff)
downloadmariadb-git-c69629d269fcab948800a427eff587b68cd7cf34.tar.gz
Merge from mysql-5.1.
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 3952567c329..5bca766114e 100644
--- a/sql/sql_connect.cc
+++ b/sql/sql_connect.cc
@@ -986,7 +986,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);
}