mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Bug #43414 Parenthesis (and other) warnings compiling MySQL
with gcc 4.3.2 Cleaning up warnings not present in 5.0.
This commit is contained in:
@@ -985,7 +985,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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user