mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +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 sql/Makefile.am: added repl_failsafe.* sql/mysqld.cc: added Rpl_status sql/sql_show.cc: added rpl_status sql/structs.h: rpl_status
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user