summaryrefslogtreecommitdiff
path: root/innobase/trx
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2004-12-18 19:52:43 +0200
committerunknown <heikki@hundin.mysql.fi>2004-12-18 19:52:43 +0200
commit67f5704d992b6c89cdaa6e61c8ca59e6a2879b02 (patch)
treee757927fe9750177bcea9cc53f86ebfaf38a2e63 /innobase/trx
parent8b936635b066c7358d3d4a39b7014d7407c6c185 (diff)
downloadmariadb-git-67f5704d992b6c89cdaa6e61c8ca59e6a2879b02.tar.gz
trx0roll.c:
Put a sensible value of thread id and process no to a background rollback transaction innobase/trx/trx0roll.c: Put a sensible value of thread id and process no to a background rollback transaction
Diffstat (limited to 'innobase/trx')
-rw-r--r--innobase/trx/trx0roll.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/innobase/trx/trx0roll.c b/innobase/trx/trx0roll.c
index ddb1240339d..e5cffd2a4f3 100644
--- a/innobase/trx/trx0roll.c
+++ b/innobase/trx/trx0roll.c
@@ -454,6 +454,10 @@ loop:
(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);
}