--echo ## --echo ## Miscellaneous test cases for performance_schema.processlist --echo ## --echo ## Test cases: --echo ## 1. Verify naming of foreground system threads. --echo ## --echo --echo ## --echo ## Test Case 1: Verify naming of foreground system threads. --echo ## --echo ## Foreground system threads should be named 'system user' except for --echo ## singleton threads such as 'event_scheduler'. --echo ## --echo ## Reference: Bug#36895513 "Wrong result in P_S.processlist on replica node" --echo ## NOTE: Results must be manually verified. --echo ## --source include/no_protocol.inc --echo --echo # Configure two servers to be source and replica. --source include/master-slave.inc --echo --echo # Wait until the replica SQL thread has been synced and all events have been copied over to the replica. --source include/sync_slave_sql_with_master.inc --echo --echo # Stop replica. --source include/stop_slave.inc --echo --echo # Start replica. --source include/start_slave.inc --echo --echo # Verify processlist user name is 'system_user'. --echo --replace_column 1 3 6