diff options
author | heikki@hundin.mysql.fi <> | 2003-01-15 22:48:02 +0200 |
---|---|---|
committer | heikki@hundin.mysql.fi <> | 2003-01-15 22:48:02 +0200 |
commit | 244b378b4781d3985012aeae0ab45dc7ce73102d (patch) | |
tree | 08042897ebe267ac3629e586c8fde2b3ee7ddee1 /innobase | |
parent | 97279ea8deee3cf9f4bb276af846927fc18bcdbb (diff) | |
download | mariadb-git-244b378b4781d3985012aeae0ab45dc7ce73102d.tar.gz |
srv0srv.c:
Make SHOW INNODB STATUS aware which trx's are waiting because of innodb_thread_concurrency exceeded
Diffstat (limited to 'innobase')
-rw-r--r-- | innobase/srv/srv0srv.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/innobase/srv/srv0srv.c b/innobase/srv/srv0srv.c index 50ad90e60bd..61f5a847d51 100644 --- a/innobase/srv/srv0srv.c +++ b/innobase/srv/srv0srv.c @@ -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--; |