diff options
author | gluh@mysql.com/eagle.(none) <> | 2007-10-10 12:21:11 +0500 |
---|---|---|
committer | gluh@mysql.com/eagle.(none) <> | 2007-10-10 12:21:11 +0500 |
commit | a5e7b726c1840190d5e90854d2a4838fad68729f (patch) | |
tree | 52eae641d9b2a7de963b90792a12f948caf46e86 /sql/set_var.cc | |
parent | 91a7fbc8bbf0732937d0e9486424de6704df587a (diff) | |
download | mariadb-git-a5e7b726c1840190d5e90854d2a4838fad68729f.tar.gz |
Bug#28893 --relay-log variable is not exposed with SHOW VARIABLES
added variables relay_log, relay_log_index, relay_log_info_file to init_vars[]
to make them visible within SHOW VARIABLES
Diffstat (limited to 'sql/set_var.cc')
-rw-r--r-- | sql/set_var.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/set_var.cc b/sql/set_var.cc index e1246617d84..fbfe174434d 100644 --- a/sql/set_var.cc +++ b/sql/set_var.cc @@ -1040,6 +1040,9 @@ struct show_var_st init_vars[]= { {sys_readonly.name, (char*) &sys_readonly, SHOW_SYS}, {sys_read_rnd_buff_size.name,(char*) &sys_read_rnd_buff_size, SHOW_SYS}, #ifdef HAVE_REPLICATION + {"relay_log" , (char*) &opt_relay_logname, SHOW_CHAR_PTR}, + {"relay_log_index", (char*) &opt_relaylog_index_name, SHOW_CHAR_PTR}, + {"relay_log_info_file", (char*) &relay_log_info_file, SHOW_CHAR_PTR}, {sys_relay_log_purge.name, (char*) &sys_relay_log_purge, SHOW_SYS}, {"relay_log_space_limit", (char*) &relay_log_space_limit, SHOW_LONGLONG}, #endif |