SELECT `g` . `OBJECT_SCHEMA` AS `object_schema` , `g` . `OBJECT_NAME` AS `object_name` , `pt` . `THREAD_ID` AS `waiting_thread_id` , `pt` . `PROCESSLIST_ID` AS `waiting_pid` , `sys` . `ps_thread_account` ( `p` . `OWNER_THREAD_ID` ) AS `waiting_account` , `p` . `LOCK_TYPE` AS `waiting_lock_type` , `p` . `LOCK_DURATION` AS `waiting_lock_duration` , `sys` . `format_statement` ( `pt` . `PROCESSLIST_INFO` ) AS `waiting_query` , `pt` . `PROCESSLIST_TIME` AS `waiting_query_secs` , `ps` . `ROWS_AFFECTED` AS `waiting_query_rows_affected` , `ps` . `ROWS_EXAMINED` AS `waiting_query_rows_examined` , `gt` . `THREAD_ID` AS `blocking_thread_id` , `gt` . `PROCESSLIST_ID` AS `blocking_pid` , `sys` . `ps_thread_account` ( `g` . `OWNER_THREAD_ID` ) AS `blocking_account` , `g` . `LOCK_TYPE` AS `blocking_lock_type` , `g` . `LOCK_DURATION` AS `blocking_lock_duration` , `concat` ( ? , `gt` . `PROCESSLIST_ID` ) AS `sql_kill_blocking_query` , `concat` ( ? , `gt` . `PROCESSLIST_ID` ) AS 