trx0roll.c:

  Put a sensible value of thread id and process no to a background rollback transaction
parent 2a072721
......@@ -454,6 +454,10 @@ trx_rollback_or_clean_all_without_sess(
(ulong) rows_to_undo, unit);
mutex_exit(&kernel_mutex);
trx->mysql_thread_id = os_thread_get_curr_id();
trx->mysql_process_no = os_proc_get_number();
if (trx->dict_operation) {
row_mysql_lock_data_dictionary(trx);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment