summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2003-01-15 21:26:45 +0200
committerunknown <heikki@hundin.mysql.fi>2003-01-15 21:26:45 +0200
commit2e5c24d09e2aad57d55a4adfb84403fbda16d02e (patch)
tree922d9ad6deb1051e64b3a3780986419296a27be2
parentb5a9dd14d5f5ba7e3016365924bbd3201d8a7851 (diff)
downloadmariadb-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.c4
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);
}