diff options
author | unknown <heikki@hundin.mysql.fi> | 2003-01-15 21:26:45 +0200 |
---|---|---|
committer | unknown <heikki@hundin.mysql.fi> | 2003-01-15 21:26:45 +0200 |
commit | 2e5c24d09e2aad57d55a4adfb84403fbda16d02e (patch) | |
tree | 922d9ad6deb1051e64b3a3780986419296a27be2 | |
parent | b5a9dd14d5f5ba7e3016365924bbd3201d8a7851 (diff) | |
download | mariadb-git-2e5c24d09e2aad57d55a4adfb84403fbda16d02e.tar.gz |
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
-rw-r--r-- | innobase/trx/trx0trx.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |