mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
Fix Bug#44671
Part of the 'show status' code was erronously removed when the google patch was applied. This patch puts it back.
This commit is contained in:
parent
26b1b214c0
commit
1a0c2153a0
1 changed files with 21 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue