mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
cleanup: THD::abort_current_cond_wait()
* reuse the loop in THD::abort_current_cond_wait, don't duplicate it * find_thread_by_id should return whatever it has found, it's the caller's task not to kill COM_DAEMON (if the caller's a killer) and other minor changes
This commit is contained in:
@ -3256,11 +3256,8 @@ int fill_show_explain(THD *thd, TABLE_LIST *table, COND *cond)
|
||||
}
|
||||
DBUG_RETURN(bres);
|
||||
}
|
||||
else
|
||||
{
|
||||
my_error(ER_NO_SUCH_THREAD, MYF(0), (ulong) thread_id);
|
||||
DBUG_RETURN(1);
|
||||
}
|
||||
my_error(ER_NO_SUCH_THREAD, MYF(0), (ulong) thread_id);
|
||||
DBUG_RETURN(1);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user