MDEV-34066 Output of SHOW ENGINE INNODB STATUS uses the nanoseconds suffix for microseconds

- This issue is caused by commit e71e6133535da8d5eab86e504f0b116a03680780
(MDEV-24671). Change the output of transaction lock wait
time in microseconds suffix.
This commit is contained in:
Thirunarayanan Balathandayuthapani 2024-07-23 21:35:27 +05:30
parent 216fdb1556
commit 3359ac09a4

View File

@ -5015,7 +5015,7 @@ void lock_trx_print_wait_and_mvcc_state(FILE *file, const trx_t *trx,
if (const lock_t* wait_lock = trx->lock.wait_lock) {
const my_hrtime_t suspend_time= trx->lock.suspend_time;
fprintf(file,
"------- TRX HAS BEEN WAITING %llu ns"
"------- TRX HAS BEEN WAITING %llu us"
" FOR THIS LOCK TO BE GRANTED:\n",
now.val - suspend_time.val);