1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

srv0srv.c:

Make SHOW INNODB STATUS aware which trx's are waiting because of innodb_thread_concurrency exceeded
This commit is contained in:
heikki@hundin.mysql.fi
2003-01-15 22:48:02 +02:00
parent 97279ea8de
commit 244b378b47

View File

@ -1814,8 +1814,12 @@ retry:
/* Go to wait for the event; when a thread leaves InnoDB it will
release this thread */
trx->op_info = "waiting in InnoDB queue";
os_event_wait(slot->event);
trx->op_info = "";
os_fast_mutex_lock(&srv_conc_mutex);
srv_conc_n_waiting_threads--;