Current Path : /home/usr.opt/mysql57/mysql-test/suite/rpl/r/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //home/usr.opt/mysql57/mysql-test/suite/rpl/r/rpl_change_master_open_temp_tables.result |
include/master-slave.inc Warnings: Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. [connection master] # create a temporary table, replicate at slave for all the tests below. CREATE TEMPORARY TABLE t1(a int); include/sync_slave_sql_with_master.inc # Make sure STOP SLAVE generates a warning. STOP SLAVE; Warnings: Warning 3022 This operation may not be safe when the slave has temporary tables. The tables will be kept open until the server restarts or until the tables are deleted by any replicated DROP statement. Suggest to wait until slave_open_temp_tables = 0. include/wait_for_slave_to_stop.inc # Make sure STOP SLAVE SQL_THREAD generates a warning. STOP SLAVE SQL_THREAD; Warnings: Note 3084 Replication thread(s) for channel '' are already stopped. Warning 3022 This operation may not be safe when the slave has temporary tables. The tables will be kept open until the server restarts or until the tables are deleted by any replicated DROP statement. Suggest to wait until slave_open_temp_tables = 0. include/wait_for_slave_sql_to_stop.inc # Make sure STOP SLAVE IO_THREAD generates a warning. STOP SLAVE IO_THREAD; Warnings: Note 3084 Replication thread(s) for channel '' are already stopped. Warning 3022 This operation may not be safe when the slave has temporary tables. The tables will be kept open until the server restarts or until the tables are deleted by any replicated DROP statement. Suggest to wait until slave_open_temp_tables = 0. include/wait_for_slave_io_to_stop.inc # No warning here since we are changing a configuration parameter only. CHANGE MASTER TO MASTER_HEARTBEAT_PERIOD= 10; # Use of (master/relay)log_file/log_pos options should generate a warning. CHANGE MASTER TO MASTER_AUTO_POSITION= 0; CHANGE MASTER TO MASTER_LOG_FILE= 'MASTER_LOG_FILE'; Warnings: Warning 3022 This operation may not be safe when the slave has temporary tables. The tables will be kept open until the server restarts or until the tables are deleted by any replicated DROP statement. Suggest to wait until slave_open_temp_tables = 0. Warning 3023 CHANGE MASTER TO with a MASTER_LOG_FILE clause but no MASTER_LOG_POS clause may not be safe. The old position value may not be valid for the new binary log file. CHANGE MASTER TO MASTER_LOG_POS= MASTER_LOG_POS; Warnings: Warning 3022 This operation may not be safe when the slave has temporary tables. The tables will be kept open until the server restarts or until the tables are deleted by any replicated DROP statement. Suggest to wait until slave_open_temp_tables = 0. CHANGE MASTER TO RELAY_LOG_FILE= 'RELAY_LOG_FILE'; Warnings: Warning 3022 This operation may not be safe when the slave has temporary tables. The tables will be kept open until the server restarts or until the tables are deleted by any replicated DROP statement. Suggest to wait until slave_open_temp_tables = 0. CHANGE MASTER TO RELAY_LOG_POS= RELAY_LOG_POS; SHOW WARNINGS; Level Code Message Warning 3022 This operation may not be safe when the slave has temporary tables. The tables will be kept open until the server restarts or until the tables are deleted by any replicated DROP statement. Suggest to wait until slave_open_temp_tables = 0. CHANGE MASTER TO MASTER_AUTO_POSITION= SAVE_AUTOPOSITION; # cleanup include/start_slave.inc DROP TEMPORARY TABLE t1; include/rpl_end.inc