@Raghavendra,
Also implementation of innobase_thd_kill (actually thd_kill in sql_class.cc) is copy-paste from sql_parse.cc. And it does scan the list of THD to find one with matching ID. But we know THD already (it is trx->mysql_thd).
and there is also bug #907719
@Raghavendra,
Also implementation of innobase_thd_kill (actually thd_kill in sql_class.cc) is copy-paste from sql_parse.cc. And it does scan the list of THD to find one with matching ID. But we know THD already (it is trx->mysql_thd).
and there is also bug #907719