1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MDEV-6832: ER_LOCK_WAIT_TIMEOUT on SHOW STATUS

Synchronous read view should not be needed for
SHOW commands.
This commit is contained in:
Nirbhay Choubey
2014-12-31 19:46:48 -05:00
parent 96e505e4b7
commit 25aaa652c4
7 changed files with 37 additions and 5 deletions

View File

@ -2754,10 +2754,10 @@ mysql_execute_command(THD *thd)
#endif
case SQLCOM_SHOW_STATUS:
{
#ifdef WITH_WSREP
if (WSREP_CLIENT(thd) && wsrep_sync_wait(thd)) goto error;
#endif /* WITH_WSREP */
execute_show_status(thd, all_tables);
#ifdef WITH_WSREP
wsrep_free_status(thd);
#endif /* WITH_WSREP */
break;
}
case SQLCOM_SHOW_EXPLAIN: