1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

MDEV#5790 : SHOW GLOBAL STATUS LIKE does not show

the correct list of variables when using "_"

Fixed the type for offending "wsrep", wrongly
set to SHOW_SIMPLE_FUNC.

Added a test case.
This commit is contained in:
Nirbhay Choubey
2014-03-04 22:10:28 -05:00
parent 87910f7d30
commit 27c09524eb
4 changed files with 107 additions and 1 deletions

View File

@@ -0,0 +1,84 @@
#
# MDEV#5790: SHOW GLOBAL STATUS LIKE does not show the correct list of
# variables when using "_"
#
CALL mtr.add_suppression("WSREP: Could not open saved state file for reading.*");
SHOW VARIABLES LIKE 'wsrep%';
Variable_name Value
wsrep_osu_method #
wsrep_auto_increment_control #
wsrep_causal_reads #
wsrep_certify_nonpk #
wsrep_cluster_address #
wsrep_cluster_name #
wsrep_convert_lock_to_trx #
wsrep_data_home_dir #
wsrep_dbug_option #
wsrep_debug #
wsrep_desync #
wsrep_drupal_282555_workaround #
wsrep_forced_binlog_format #
wsrep_load_data_splitting #
wsrep_log_conflicts #
wsrep_max_ws_rows #
wsrep_max_ws_size #
wsrep_mysql_replication_bundle #
wsrep_node_address #
wsrep_node_incoming_address #
wsrep_node_name #
wsrep_notify_cmd #
wsrep_on #
wsrep_provider #
wsrep_provider_options #
wsrep_recover #
wsrep_replicate_myisam #
wsrep_retry_autocommit #
wsrep_slave_threads #
wsrep_sst_auth #
wsrep_sst_donor #
wsrep_sst_donor_rejects_queries #
wsrep_sst_method #
wsrep_sst_receive_address #
wsrep_start_position #
SHOW VARIABLES LIKE 'wsrep_%';
Variable_name Value
wsrep_osu_method #
wsrep_auto_increment_control #
wsrep_causal_reads #
wsrep_certify_nonpk #
wsrep_cluster_address #
wsrep_cluster_name #
wsrep_convert_lock_to_trx #
wsrep_data_home_dir #
wsrep_dbug_option #
wsrep_debug #
wsrep_desync #
wsrep_drupal_282555_workaround #
wsrep_forced_binlog_format #
wsrep_load_data_splitting #
wsrep_log_conflicts #
wsrep_max_ws_rows #
wsrep_max_ws_size #
wsrep_mysql_replication_bundle #
wsrep_node_address #
wsrep_node_incoming_address #
wsrep_node_name #
wsrep_notify_cmd #
wsrep_on #
wsrep_provider #
wsrep_provider_options #
wsrep_recover #
wsrep_replicate_myisam #
wsrep_retry_autocommit #
wsrep_slave_threads #
wsrep_sst_auth #
wsrep_sst_donor #
wsrep_sst_donor_rejects_queries #
wsrep_sst_method #
wsrep_sst_receive_address #
wsrep_start_position #
# Should show nothing.
SHOW VARIABLES LIKE 'x';
Variable_name Value
# End of test.