#At file:///FC/MYSQL/wa-2008-BZR/mysql-5.1-performance-version/ based on revid:mikael@stripped
2855 Kelly Long 2009-07-21
Fix Bug#44671
Part of the 'show status' code was erronously removed when the google
patch was applied. This patch puts it back.
modified:
storage/innobase/srv/srv0srv.c
=== modified file 'storage/innobase/srv/srv0srv.c'
--- a/storage/innobase/srv/srv0srv.c 2009-07-01 12:36:40 +0000
+++ b/storage/innobase/srv/srv0srv.c 2009-07-21 20:10:09 +0000
@@ -1880,6 +1880,27 @@ srv_printf_innodb_monitor(
mutex_exit(&dict_foreign_err_mutex);
+ /* Print open transaction details */
+ lock_print_info_summary(file);
+
+ if (trx_start) {
+ long t = ftell(file);
+ if (t < 0) {
+ *trx_start = ULINT_UNDEFINED;
+ } else {
+ *trx_start = (ulint) t;
+ }
+ }
+ lock_print_info_all_transactions(file);
+ if (trx_end) {
+ long t = ftell(file);
+ if (t < 0) {
+ *trx_end = ULINT_UNDEFINED;
+ } else {
+ *trx_end = (ulint) t;
+ }
+ }
+
fputs("--------\n"
"FILE I/O\n"
"--------\n", file);
Attachment: [text/bzr-bundle] bzr/k.long@sun.com-20090721201009-ikszmudds8gwiyst.bundle
| Thread |
|---|
| • bzr commit into mysql-5.4 branch (k.long:2855) Bug#44671 | Kelly Long | 21 Jul |