mariadb/mysql-test/suite/binlog/t
Nuno Carvalho 448c3d6275 WL#6236: Allow SHOW MASTER LOGS and SHOW BINARY LOGS with REPLICATION CLIENT
Currently SHOW MASTER LOGS and SHOW BINARY LOGS require the SUPER
privilege. Monitoring tools (such as MEM) often want to check this 
output - for instance MEM generates the SUM of the sizes of the logs 
reported here, and puts that in the Replication overview within the MEM
Dashboard.
However, because of the SUPER requirement, these tools often have an 
account that holds open the connection whilst monitoring, and can lock
out administrators when the server gets overloaded and reaches
max_connections - there is already another SUPER privileged account
connected, the "monitor". 

As SHOW MASTER STATUS, and all other replication related statements,
return with either REPLICATION CLIENT or SUPER privileges, this worklog 
is to make SHOW MASTER LOGS and SHOW BINARY LOGS be consistent with this
as well, and allow both of these commands with either SUPER or 
REPLICATION CLIENT. 
This allows monitoring tools to not require a SUPER privilege any more,
so is safer in overloaded situations, as well as being more secure, as 
lighter privileges can be given to users of such tools or scripts.
2012-04-18 10:08:01 +01:00
..
binlog_base64_flag.test Bug #11762407 54999: MTR GLOBAL SUPPRESSION HIDES SQL THREAD EXECUTION UNEXPECTED ERRORS 2011-02-23 10:31:37 +01:00
binlog_bug23533.test WL#5867 2011-05-09 23:14:24 +04:00
binlog_bug36391-master.opt WL#5867, reorganize test cases of bugs suite 2011-04-14 00:18:08 +04:00
binlog_bug36391.test WL#5867, reorganize test cases of bugs suite 2011-04-14 00:18:08 +04:00
binlog_database.test Bug#32435: 2007-11-16 15:55:22 +01:00
binlog_delete_and_flush_index.test BUG#34582: FLUSH LOGS does not close and reopen the binlog index 2009-10-20 09:39:40 +01:00
binlog_drop_if_exists.test BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
binlog_grant.test WL#6236: Allow SHOW MASTER LOGS and SHOW BINARY LOGS with REPLICATION CLIENT 2012-04-18 10:08:01 +01:00
binlog_incident-master.opt Bug #44442: Incident events are silent in mysqlbinlog output 2009-05-11 13:32:38 +02:00
binlog_incident.test Bug#46010 main.ctype_gbk_binlog fails sporadically : Table 't2' already exists 2009-09-07 13:42:54 +08:00
binlog_index-master.opt Bug #57840 MTR: parallel execution breaks with smart ordering of test cases 2010-11-05 15:26:38 +01:00
binlog_index.test Bug #11762804 55442: MYSQLD DEBUG CRASHES WHILE RUNNING MYISAM_CRASH_BEFORE_FLUSH_KEYS.TEST 2011-03-15 16:06:59 +01:00
binlog_innodb.test Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
binlog_innodb_row.test Post-push fix for BUG#51251. 2010-03-09 23:41:21 +00:00
binlog_killed.test Merge from mysql-trunk-innodb into mysql-5.1-innodb/storage/innobase: 2010-05-20 10:39:02 +03:00
binlog_killed_simulate-master.opt bug#27571 merging. Fixing offsets and moving tests to the corrent 2007-10-31 11:48:49 +02:00
binlog_killed_simulate.test Bug #34283 mysqlbinlog leaves tmpfile after termination if binlog contains load data infile 2010-08-03 10:22:19 +08:00
binlog_mix_innodb_stat.test Bug#37312: Make test binlog_{row,stm}_innodb_stat more robust 2008-09-08 16:23:55 -04:00
binlog_mixed_failure_mixing_engines.test BUG#47287 RBR: replication diff on basic case with txn- and non-txn tables in a statement 2009-10-06 01:38:58 +01:00
binlog_mixed_load_data.test Bug #34283 mysqlbinlog leaves tmpfile after termination if binlog contains load data infile 2010-08-03 10:22:19 +08:00
binlog_multi_engine.test Bug #38360: BLACKHOLE replication with RBR is broken 2008-10-02 11:02:38 +02:00
binlog_old_versions.test BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
binlog_query_filter_rules-master.opt BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
binlog_query_filter_rules.test BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
binlog_reset_master.test BUG#12574820: binlog.binlog_tmp_table timing out in daily and weekly trunk run 2011-05-26 12:50:43 +02:00
binlog_row_binlog-master.opt WL#3933 Split main test suite to rpl, rpl_ndb and ndb 2007-06-27 14:28:02 +02:00
binlog_row_binlog.test WL#3933 Split main test suite to rpl, rpl_ndb and ndb 2007-06-27 14:28:02 +02:00
binlog_row_ctype_cp932.test WL#3933 Split main test suite to rpl, rpl_ndb and ndb 2007-06-27 14:28:02 +02:00
binlog_row_ctype_ucs.test WL#3933 Split main test suite to rpl, rpl_ndb and ndb 2007-06-27 14:28:02 +02:00
binlog_row_drop_tmp_tbl.test WL#3933 Split main test suite to rpl, rpl_ndb and ndb 2007-06-27 14:28:02 +02:00
binlog_row_failure_mixing_engines.test BUG#47287 RBR: replication diff on basic case with txn- and non-txn tables in a statement 2009-10-06 01:38:58 +01:00
binlog_row_innodb_stat-master.opt WL#3933 Split main test suite to rpl, rpl_ndb and ndb 2007-06-27 14:28:02 +02:00
binlog_row_innodb_stat.test WL#3933 Split main test suite to rpl, rpl_ndb and ndb 2007-06-27 14:28:02 +02:00
binlog_row_insert_select.test WL#3933 Split main test suite to rpl, rpl_ndb and ndb 2007-06-27 14:28:02 +02:00
binlog_row_mix_innodb_myisam-master.opt WL#3933 Split main test suite to rpl, rpl_ndb and ndb 2007-06-27 14:28:02 +02:00
binlog_row_mix_innodb_myisam.test Post-merge fixes to make tests pass. 2008-01-11 13:25:26 +01:00
binlog_row_mysqlbinlog_db_filter.test Bug #46998 mysqlbinlog can't output BEGIN even if the database is included in a transaction 2009-09-30 10:31:25 +08:00
binlog_row_mysqlbinlog_verbose.test Attempt to fix Windows testcase output issue 2009-10-14 21:25:11 +08:00
binlog_server_id.test BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
binlog_sf.test BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
binlog_sql_mode.test Bug#12601974 - STORED PROCEDURE SQL_MODE=NO_BACKSLASH_ESCAPES IGNORED AND BREAKS REPLICATION 2012-02-29 12:23:15 +05:30
binlog_start_comment.test Merge 5.0 -> 5.1 2008-09-30 15:32:35 -04:00
binlog_statement_insert_delayed.test WL#3933 Split main test suite to rpl, rpl_ndb and ndb 2007-06-27 14:28:02 +02:00
binlog_stm_binlog-master.opt Bug #57840 MTR: parallel execution breaks with smart ordering of test cases 2010-11-05 15:26:38 +01:00
binlog_stm_binlog.test Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
binlog_stm_blackhole.test Bug #34283 mysqlbinlog leaves tmpfile after termination if binlog contains load data infile 2010-08-03 10:22:19 +08:00
binlog_stm_ctype_cp932.test WL#3933 Split main test suite to rpl, rpl_ndb and ndb 2007-06-27 14:28:02 +02:00
binlog_stm_ctype_ucs.test WL#3933 Split main test suite to rpl, rpl_ndb and ndb 2007-06-27 14:28:02 +02:00
binlog_stm_do_db-master.opt Bug #57840 MTR: parallel execution breaks with smart ordering of test cases 2010-11-05 15:26:38 +01:00
binlog_stm_do_db.test BUG#42829: binlogging enabled for all schemas regardless of 2009-09-24 15:52:52 +01:00
binlog_stm_drop_tmp_tbl.test WL#3933 Split main test suite to rpl, rpl_ndb and ndb 2007-06-27 14:28:02 +02:00
binlog_stm_innodb_stat-master.opt WL#3933 Split main test suite to rpl, rpl_ndb and ndb 2007-06-27 14:28:02 +02:00
binlog_stm_innodb_stat.test Bug#37312: Make test binlog_{row,stm}_innodb_stat more robust 2008-09-08 16:23:55 -04:00
binlog_stm_insert_select.test WL#3933 Split main test suite to rpl, rpl_ndb and ndb 2007-06-27 14:28:02 +02:00
binlog_stm_mix_innodb_myisam-master.opt WL#3933 Split main test suite to rpl, rpl_ndb and ndb 2007-06-27 14:28:02 +02:00
binlog_stm_mix_innodb_myisam.test BUG#47995: Mark system functions as unsafe 2009-11-18 15:50:31 +01:00
binlog_stm_ps.test BUG#34768 - nondeterministic INSERT using LIMIT logged in stmt mode 2008-03-25 17:28:12 +04:00
binlog_stm_row.test BUG#47995: Mark system functions as unsafe 2009-11-18 15:50:31 +01:00
binlog_stm_unsafe_warning-master.opt Bug#46265: Can not disable warning about unsafe statements for binary logging 2009-07-31 10:00:35 -03:00
binlog_stm_unsafe_warning.test Bug#12872804 - 62155: BINLOG.BINLOG_STM_UNSAFE_WARNING FAILS WHEN RUN WITH --REPEAT=2 2012-01-06 15:46:03 +05:30
binlog_tmp_table.test BUG#51226: mysqlbinlog replay: ERROR 1146 when using temp tables 2010-03-03 12:16:18 +00:00
binlog_truncate_innodb-master.opt Bug #36763 2009-02-06 17:06:41 +01:00
binlog_truncate_innodb.test Bug #36763 2009-02-10 22:26:37 +01:00
binlog_truncate_myisam.test Bug #36763 2009-02-10 22:26:37 +01:00
binlog_unsafe.test fixed the binlog problem 2010-12-23 13:35:42 +02:00
binlog_write_error.test Backport Bug#37148 to 5.1 2010-01-24 15:03:23 +08:00
disabled.def Changed to Oracle bug numbers 2011-05-24 12:08:13 +05:30