| 1 |
################################################################################ |
| 2 |
# Check inc/gr_change_master_hidden.inc for test details. |
| 3 |
# This test enables the binary protocol between client and server. |
| 4 |
# |
| 5 |
# Test: |
| 6 |
# 0. The test requires one server: M1. |
| 7 |
# 1. Verify that CHANGE MASTER FOR recovery channel command is logged in the |
| 8 |
# slow log, query_log and error log, but the password value is either masked |
| 9 |
# with '<secret>' or is not logged. |
| 10 |
# 2. Grep for pattern 'master_password' in error log. Expect 0 count. |
| 11 |
# 3. Grep for pattern 'unique_password' in error log. Expect 0 count. |
| 12 |
################################################################################ |
| 13 |
--source ../include/gr_change_master_hidden.inc |
| 14 |
|
| 15 |
--echo # MASTER_PASSWORD value for the CHANGE MASTER command will not be logged in the error log. |
| 16 |
--let $grep_file=$MYSQLTEST_VARDIR/log/mysqld.1.err |
| 17 |
--let $grep_pattern= source_password |
| 18 |
--let $grep_output= print_count |
| 19 |
--source include/grep_pattern.inc |
| 20 |
|
| 21 |
--echo # The password value 'unique_password' is not logged in the error log. |
| 22 |
--let $grep_pattern= unique_password |
| 23 |
--let $grep_output= print_count |
| 24 |
--source include/grep_pattern.inc |