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:28:20 -05:00
parent eda3db826f
commit 952b575272
7 changed files with 34 additions and 5 deletions

View File

@ -2485,9 +2485,6 @@ mysql_execute_command(THD *thd)
break;
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
if (lex->sql_command == SQLCOM_SHOW_STATUS) wsrep_free_status(thd);