From 2e5c24d09e2aad57d55a4adfb84403fbda16d02e Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 15 Jan 2003 21:26:45 +0200 Subject: trx0trx.c: Print also the thread ids in SHOW INNODB STATUS also in Linux innobase/trx/trx0trx.c: Print also the thread ids in SHOW INNODB STATUS also in Linux --- innobase/trx/trx0trx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'innobase') diff --git a/innobase/trx/trx0trx.c b/innobase/trx/trx0trx.c index 357fb01df63..38d15866769 100644 --- a/innobase/trx/trx0trx.c +++ b/innobase/trx/trx0trx.c @@ -1517,10 +1517,10 @@ trx_print( #ifdef UNIV_LINUX buf += sprintf(buf, ", process no %lu", trx->mysql_process_no); -#else +#endif buf += sprintf(buf, ", OS thread id %lu", os_thread_pf(trx->mysql_thread_id)); -#endif + if (ut_strlen(trx->op_info) > 0) { buf += sprintf(buf, " %s", trx->op_info); } -- cgit v1.2.1