summaryrefslogtreecommitdiff
path: root/sql/sql_show.cc
diff options
context:
space:
mode:
authorsasha@mysql.sashanet.com <>2001-10-09 20:56:24 -0600
committersasha@mysql.sashanet.com <>2001-10-09 20:56:24 -0600
commitd7c47dcf86ad5fac58e33be29b5ecc2a1d06151c (patch)
tree58cc6265f722205aaca76380e2eb9137edfa1c05 /sql/sql_show.cc
parent7b06c3c3116417b51458d347242ea12ea91e29ad (diff)
downloadmariadb-git-d7c47dcf86ad5fac58e33be29b5ecc2a1d06151c.tar.gz
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
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r--sql/sql_show.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index 5a9777e24a4..dba6b55443c 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -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;