mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime
into bodhi.(none):/opt/local/work/mysql-5.1-runtime-inc-2
This commit is contained in:
@ -975,12 +975,12 @@ void end_connection(THD *thd)
|
||||
decrease_user_connections(thd->user_connect);
|
||||
|
||||
if (thd->killed ||
|
||||
net->error && net->vio != 0 && net->report_error)
|
||||
net->error && net->vio != 0 && thd->is_error())
|
||||
{
|
||||
statistic_increment(aborted_threads,&LOCK_status);
|
||||
}
|
||||
|
||||
if (net->error && net->vio != 0 && net->report_error)
|
||||
if (net->error && net->vio != 0 && thd->is_error())
|
||||
{
|
||||
if (!thd->killed && thd->variables.log_warnings > 1)
|
||||
{
|
||||
|
Reference in New Issue
Block a user