# ==== Purpose ==== # # This test will use debug instrumentation to hit all OOM # errors expected by performance_schema.log_status # table while collecting the information to be displayed. # # ==== Related Bugs and Worklogs ==== # # WL#9452: Log Position Lock # --source include/have_debug.inc --source include/have_debug_sync.inc # This test case is binary log format agnostic --source include/have_binlog_format_row.inc # Configure a slave channel CHANGE REPLICATION SOURCE TO SOURCE_HOST='127.0.0.1'; # Adding a channel to the resources list --let $debug_point= log_status_oom_mi --source include/add_debug_point.inc --error ER_UNABLE_TO_COLLECT_LOG_STATUS SELECT * FROM performance_schema.log_status; --source include/remove_debug_point.inc # Adding binary log to the resources list --let $debug_point= log_status_oom_binlog --source include/add_debug_point.inc --error ER_UNABLE_TO_COLLECT_LOG_STATUS SELECT * FROM performance_schema.log_status; --source include/remove_debug_point.inc # Adding gtid_state to the resources list --let $debug_point= log_status_oom_gtid --source include/add_debug_point.inc --error ER_UNABLE_TO_COLLECT_LOG_STATUS SELECT * FROM performance_schema.log_status; --source include/remove_debug_point.inc # Adding a storage engine (InnoDB) to the resources list --let $debug_point= log_status_oom_se --source include/add_debug_point.inc --error ER_UNABLE_TO_COLLECT_LOG_STATUS SELECT * FROM performance_schema.log_status; --source include/remove_debug_point.inc # Collecting information (only from a replication channel) --let $debug_point= log_status_oom_collecting --source include/add_debug_point.inc --error ER_UNABLE_TO_COLLECT_LOG_STATUS SELECT * FROM performance_schema.log_status; --source include/remove_debug_point.inc # Generating the final channels JSON --let $debug_point= log_status_oom_replication --source include/add_debug_point.inc --error ER_UNABLE_TO_COLLECT_LOG_STATUS SELECT * FROM performance_schema.log_status; --source include/remove_debug_point.inc # To improve code coverage --disable_result_log SELECT * FROM performance_schema.log_status ORDER BY 1; --enable_result_log # Cleanup RESET SLAVE ALL;