1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Added rpl_status. This is a midway commit to be able to pull so I can save

myself a run of compile-pentium-debug. I have not even tried to compile the 
new code
This commit is contained in:
sasha@mysql.sashanet.com
2001-10-09 20:56:24 -06:00
parent 7b06c3c311
commit d7c47dcf86
6 changed files with 71 additions and 1 deletions

View File

@ -1164,6 +1164,9 @@ int mysqld_show(THD *thd, const char *wild, show_var_st *variables)
case SHOW_QUESTION:
net_store_data(&packet2,(uint32) thd->query_id);
break;
case SHOW_RPL_STATUS:
net_store_data(&packet2, rpl_status_type[(int)rpl_status]);
break;
case SHOW_OPENTABLES:
net_store_data(&packet2,(uint32) cached_tables());
break;