mariadb/mysql-test/suite/rpl/t
Nirbhay Choubey 69052ed022 MDEV-10320: NO-OP ALTER TABLE on temporary tables getting
.. logged under row binlog format

In the early stages of ALTER TABLE execution, the implementation
checks whether its a NOOP (alter_info->flags == 0), and if so,
it returns after logging the command to binary log. The logging,
however, was done unconditionally.

Fixed by skipping the logging for temporary tables when under row
based replication.
2016-08-08 17:29:22 -04:00
..
create_or_replace.inc
create_or_replace2.test
create_or_replace_mix.cnf
create_or_replace_mix.test
create_or_replace_row.cnf
create_or_replace_row.test
create_or_replace_statement.cnf
create_or_replace_statement.test
create_select.cnf
create_select.test
failed_create_view-6409.test
ignore_table_autoinc-9737.test
kill_hard-6290.test
last_insert_id.cnf
last_insert_id.test
myisam_external_lock-slave.opt
myisam_external_lock.test
mysql-wsrep#110-2.test
replace.test
rpl_000010-slave.opt
rpl_000010.test
rpl_000011-slave.opt
rpl_000011.test
rpl_000013.test
rpl_000017.test
rpl_alter.test
rpl_alter_db.test
rpl_auto_increment-master.opt
rpl_auto_increment-slave.opt
rpl_auto_increment.test
rpl_auto_increment_11932.test
rpl_auto_increment_bug33029.test
rpl_auto_increment_bug45679.test
rpl_auto_increment_update_failure.test
rpl_autogen_query_multi_byte_char.test
rpl_begin_commit_rollback-master.opt
rpl_begin_commit_rollback-slave.opt
rpl_begin_commit_rollback.test
rpl_binlog_corruption.test
rpl_binlog_errors-master.opt
rpl_binlog_errors.test
rpl_binlog_grant.test
rpl_binlog_index.test
rpl_bit.test
rpl_bit_npk.test
rpl_blackhole.test
rpl_bug26395.test
rpl_bug31076.test
rpl_bug33931.test
rpl_bug37426.test
rpl_bug38694-slave.opt
rpl_bug38694.test
rpl_bug41902-slave.opt
rpl_bug41902.test
rpl_cant_read_event_incident.test
rpl_change_master.test
rpl_charset.test
rpl_charset_sjis.test
rpl_checksum-master.opt
rpl_checksum.test
rpl_checksum_cache.test
rpl_circular_for_4_hosts.cnf
rpl_circular_for_4_hosts.test
rpl_colSize.test
rpl_commit_after_flush.test
rpl_concurrency_error-master.opt
rpl_concurrency_error.test
rpl_conditional_comments.test
rpl_connection.test
rpl_corruption-master.opt
rpl_corruption-slave.opt
rpl_corruption.test
rpl_create_database-master.opt
rpl_create_database-slave.opt
rpl_create_database.test
rpl_create_drop_db.test
rpl_create_drop_event.test
rpl_create_drop_function.test
rpl_create_drop_index.test
rpl_create_drop_procedure.test
rpl_create_drop_role.test
rpl_create_drop_trigger.test
rpl_create_drop_udf.test
rpl_create_drop_user.test
rpl_create_drop_view.test
rpl_create_if_not_exists.test
rpl_create_tmp_table_if_not_exists.test
rpl_critical_errors.test
rpl_cross_version-master.opt
rpl_cross_version.test
rpl_current_user.cnf
rpl_current_user.test
rpl_ddl-slave.opt
rpl_ddl.test
rpl_deadlock_innodb-slave.opt
rpl_deadlock_innodb.test
rpl_default.test
rpl_delete_no_where.test
rpl_do_grant.test
rpl_domain_id_filter.test
rpl_domain_id_filter_io_crash.test
rpl_domain_id_filter_master_crash.test
rpl_domain_id_filter_parallel.test
rpl_domain_id_filter_restart.test
rpl_drop.test
rpl_drop_db.test
rpl_drop_db_fail.test
rpl_drop_temp-slave.opt
rpl_drop_temp.test
rpl_drop_view.test
rpl_dual_pos_advance.test
rpl_EE_err.test
rpl_empty_master_host.test
rpl_err_ignoredtable-slave.opt
rpl_err_ignoredtable.test
rpl_events.test
rpl_extra_col_master_innodb.test
rpl_extra_col_master_myisam.test
rpl_extra_col_slave_innodb.test
rpl_extra_col_slave_myisam.test
rpl_failed_optimize.test
rpl_filter_dbs_dynamic.test
rpl_filter_tables_dynamic.test
rpl_filter_tables_not_exist-slave.opt
rpl_filter_tables_not_exist.test
rpl_filter_wild_tables_dynamic.test
rpl_flush_logs-master.opt
rpl_flush_logs.test
rpl_flushlog_loop-master.opt
rpl_flushlog_loop-slave.opt
rpl_flushlog_loop.test
rpl_foreign_key_innodb.test
rpl_free_items-slave.opt
rpl_free_items.test
rpl_function_defaults.test
rpl_geometry.test
rpl_get_lock.test
rpl_get_master_version_and_clock-slave.opt
rpl_get_master_version_and_clock.test
rpl_grant.test
rpl_gtid_basic.cnf
rpl_gtid_basic.test
rpl_gtid_crash-master.opt
rpl_gtid_crash-slave.opt
rpl_gtid_crash.test
rpl_gtid_crash_myisam-master.opt
rpl_gtid_crash_myisam.test
rpl_gtid_errorhandling.test
rpl_gtid_errorlog.test
rpl_gtid_ignored.test
rpl_gtid_master_promote.cnf
rpl_gtid_master_promote.test
rpl_gtid_mdev4473.cnf
rpl_gtid_mdev4473.test
rpl_gtid_mdev4474.cnf
rpl_gtid_mdev4474.test
rpl_gtid_mdev4484.test
rpl_gtid_mdev4485.cnf
rpl_gtid_mdev4485.test
rpl_gtid_mdev4820.test
rpl_gtid_mdev9033.cnf
rpl_gtid_mdev9033.test
rpl_gtid_misc.test
rpl_gtid_nobinlog.cnf
rpl_gtid_nobinlog.test
rpl_gtid_reconnect.test
rpl_gtid_sort.test
rpl_gtid_startpos.test
rpl_gtid_stop_start.cnf
rpl_gtid_stop_start.test
rpl_gtid_strict.test
rpl_gtid_until.test
rpl_heartbeat.test
rpl_heartbeat_2slaves.cnf
rpl_heartbeat_2slaves.test
rpl_heartbeat_basic.cnf
rpl_heartbeat_basic.test
rpl_heartbeat_debug.test
rpl_heartbeat_ssl.test
rpl_hrtime.test
rpl_hrtime_row.test
rpl_idempotency.test
rpl_ignore_grant-slave.opt
rpl_ignore_grant.test
rpl_ignore_revoke-slave.opt
rpl_ignore_revoke.test
rpl_ignore_table-slave.opt
rpl_ignore_table.test
rpl_ignore_table_update-slave.opt
rpl_ignore_table_update.test
rpl_incident.test
rpl_init_slave-slave.opt
rpl_init_slave.test
rpl_init_slave_errors.test
rpl_innodb-master.opt
rpl_innodb_bug28430-master.opt
rpl_innodb_bug28430-slave.opt
rpl_innodb_bug28430.test
rpl_innodb_bug30888.opt
rpl_innodb_bug30888.test
rpl_innodb_bug68220.test
rpl_innodb_mixed_ddl.test
rpl_innodb_mixed_dml.test
rpl_insert.test
rpl_insert_delayed.test
rpl_insert_id.test
rpl_insert_id_pk.test
rpl_insert_ignore.test
rpl_invoked_features-master.opt
rpl_invoked_features.test
rpl_ip_mix.cnf
rpl_ip_mix.test
rpl_ip_mix2.cnf
rpl_ip_mix2.test
rpl_ipv4_as_ipv6.cnf
rpl_ipv4_as_ipv6.test
rpl_ipv6.cnf
rpl_ipv6.test
rpl_killed_ddl-master.opt
rpl_killed_ddl.test
rpl_known_bugs_detection-master.opt
rpl_known_bugs_detection.test
rpl_LD_INFILE.test
rpl_loaddata.test
rpl_loaddata_charset.test
rpl_loaddata_fatal-slave.opt
rpl_loaddata_fatal.test
rpl_loaddata_m-master.opt
rpl_loaddata_m.test
rpl_loaddata_map-master.opt
rpl_loaddata_map-slave.opt
rpl_loaddata_map.test
rpl_loaddata_s-slave.opt
rpl_loaddata_s.test
rpl_loaddata_simple.test
rpl_loaddata_symlink-master.opt
rpl_loaddata_symlink-master.sh
rpl_loaddata_symlink-slave.opt
rpl_loaddata_symlink-slave.sh
rpl_loaddata_symlink.test
rpl_loaddatalocal.test
rpl_loadfile.test
rpl_locale.test
rpl_log_pos.test
rpl_lost_events_on_rotate.test
rpl_manual_change_index_file.test
rpl_many_optimize.test
rpl_mariadb_slave_capability.test
rpl_master_pos_wait.test
rpl_mdev359.test
rpl_mdev382.test
rpl_mdev6020.test
rpl_mdev6386-slave.opt
rpl_mdev6386.test
rpl_mdev8193.test
rpl_misc_functions-slave.sh
rpl_misc_functions.test
rpl_mix_found_rows.test
rpl_mixed_binlog_max_cache_size.test
rpl_mixed_bit_pk.test
rpl_mixed_ddl_dml.test
rpl_mixed_drop_create_temp_table.test
rpl_mixed_implicit_commit_binlog.test
rpl_mixed_mixing_engines.test
rpl_mixed_row_innodb-master.opt
rpl_multi_delete-slave.opt
rpl_multi_delete.test
rpl_multi_delete2-slave.opt
rpl_multi_delete2.test
rpl_multi_engine.test
rpl_multi_update.test
rpl_multi_update2-slave.opt
rpl_multi_update2.test
rpl_multi_update3.test
rpl_multi_update4-slave.opt
rpl_multi_update4.test
rpl_mysql_upgrade.test
rpl_name_const.test
rpl_non_direct_mixed_mixing_engines.test
rpl_non_direct_row_mixing_engines.test
rpl_non_direct_stm_mixing_engines.test
rpl_nondeterministic_functions.test
rpl_not_null_innodb.test
rpl_not_null_myisam.test
rpl_old_decimal.test
rpl_old_master.test
rpl_optimize.test
rpl_packet-master.opt
rpl_packet-slave.opt
rpl_packet.test
rpl_parallel.test
rpl_parallel2.test
rpl_parallel_charset.test
rpl_parallel_mdev6589.test
rpl_parallel_multilevel.cnf
rpl_parallel_multilevel.test
rpl_parallel_multilevel2.cnf
rpl_parallel_multilevel2.test
rpl_parallel_no_log_slave_updates-slave.opt
rpl_parallel_no_log_slave_updates.test
rpl_parallel_optimistic.test
rpl_parallel_optimistic_nobinlog.cnf
rpl_parallel_optimistic_nobinlog.test
rpl_parallel_partition.test
rpl_parallel_retry.test
rpl_parallel_show_binlog_events_purge_logs.test
rpl_parallel_temptable-master.opt
rpl_parallel_temptable.test
rpl_partition_archive.test
rpl_partition_innodb-master.opt
rpl_partition_innodb.test
rpl_partition_memory.test
rpl_partition_myisam.test
rpl_password_boundaries.test
rpl_performance_schema.test
rpl_plugin_load.test
rpl_ps.test
rpl_rbr_to_sbr.test
rpl_read_new_relay_log_info.test
rpl_read_old_relay_log_info.test
rpl_read_only.test
rpl_relay_space_innodb.test
rpl_relay_space_myisam.test
rpl_relayrotate-slave.opt
rpl_relayrotate.test
rpl_relayspace-slave.opt
rpl_relayspace.test
rpl_reopen_temp_table.test
rpl_replicate_do-slave.opt
rpl_replicate_do.test
rpl_replicate_ignore_db-slave.opt
rpl_replicate_ignore_db.test
rpl_report-slave.opt
rpl_report.test
rpl_report_port.test
rpl_rewrt_db-slave.opt
rpl_rewrt_db.test
rpl_rotate_logs.cnf
rpl_rotate_logs.test
rpl_rotate_purge_deadlock-master.opt
rpl_rotate_purge_deadlock.test
rpl_row_001.test
rpl_row_4_bytes-master.opt
rpl_row_4_bytes.test
rpl_row_annotate_do-slave.opt
rpl_row_annotate_do.test
rpl_row_annotate_dont-slave.opt
rpl_row_annotate_dont.test
rpl_row_basic_2myisam.test
rpl_row_basic_3innodb.test
rpl_row_basic_8partition.test
rpl_row_basic_11bugs-master.opt
rpl_row_basic_11bugs.test
rpl_row_binlog_max_cache_size.test
rpl_row_blob_innodb.test
rpl_row_blob_myisam.test
rpl_row_colSize.test
rpl_row_conflicts.test
rpl_row_corruption-slave.opt
rpl_row_corruption.test
rpl_row_create_select.test
rpl_row_create_table.test
rpl_row_delayed_ins.test
rpl_row_drop.test
rpl_row_drop_create_temp_table.test
rpl_row_err_daisychain-master.opt
rpl_row_err_daisychain-slave.opt
rpl_row_find_row.test
rpl_row_find_row_debug.test
rpl_row_flsh_tbls.test
rpl_row_func001.test
rpl_row_func002.test
rpl_row_func003.test
rpl_row_idempotency.test
rpl_row_img.cnf
rpl_row_img_blobs.cnf
rpl_row_img_blobs.test
rpl_row_img_eng_min.cnf
rpl_row_img_eng_min.test
rpl_row_img_eng_noblob.cnf
rpl_row_img_eng_noblob.test
rpl_row_implicit_commit_binlog.test
rpl_row_index_choice.test
rpl_row_inexist_tbl.test
rpl_row_loaddata_concurrent.test
rpl_row_log-master.opt
rpl_row_log-slave.opt
rpl_row_log.test
rpl_row_log_innodb-master.opt
rpl_row_log_innodb.test
rpl_row_max_relay_size.test
rpl_row_merge_engine.test
rpl_row_mixing_engines.test
rpl_row_mysqlbinlog-master.opt
rpl_row_mysqlbinlog.test
rpl_row_NOW.test
rpl_row_rec_comp_innodb.test
rpl_row_rec_comp_myisam.test
rpl_row_reset_slave.test
rpl_row_rollback_to_savepoint.test
rpl_row_show_relaylog_events.test
rpl_row_sp001.test
rpl_row_sp002_innodb.test
rpl_row_sp003.test
rpl_row_sp005.test
rpl_row_sp006_InnoDB.test
rpl_row_sp007_innodb.test
rpl_row_sp008.test
rpl_row_sp009.test
rpl_row_sp010.test
rpl_row_sp011.test
rpl_row_sp012.test
rpl_row_tabledefs_2myisam.test
rpl_row_tabledefs_3innodb.test
rpl_row_tbl_metadata.test
rpl_row_to_stmt-master.opt
rpl_row_to_stmt-slave.opt
rpl_row_to_stmt.test
rpl_row_trig001.test
rpl_row_trig002.test
rpl_row_trig003.test
rpl_row_trig004.test
rpl_row_triggers.test
rpl_row_trunc_temp.test
rpl_row_unsafe_funcs.test
rpl_row_until.test
rpl_row_USER.test
rpl_row_utf16.test
rpl_row_utf32.test
rpl_row_UUID.test
rpl_row_view01.test
rpl_row_wide_table.test
rpl_savepoint.test
rpl_semi_sync.test
rpl_semi_sync_after_sync.test
rpl_semi_sync_after_sync_row.test
rpl_semi_sync_event-master.opt
rpl_semi_sync_event.test
rpl_semi_sync_event_after_sync-master.opt
rpl_semi_sync_event_after_sync.test
rpl_semi_sync_uninstall_plugin.test
rpl_semi_sync_wait_point.opt
rpl_semi_sync_wait_point.test
rpl_server_id1.test
rpl_server_id2-slave.opt
rpl_server_id2.test
rpl_server_id_ignore-slave.opt
rpl_server_id_ignore.test
rpl_session_var.test
rpl_set_charset.test
rpl_set_null_innodb.test
rpl_set_null_myisam.test
rpl_set_statement.test
rpl_set_statement_default_master.test
rpl_show_slave_hosts.cnf
rpl_show_slave_hosts.test
rpl_show_slave_running.test
rpl_skip_error-slave.opt
rpl_skip_error.test
rpl_skip_incident-master.opt
rpl_skip_incident-slave.opt
rpl_skip_incident.test
rpl_skip_replication.test
rpl_slave_grp_exec.test
rpl_slave_load_in.test
rpl_slave_load_remove_tmpfile.test
rpl_slave_load_tmpdir_not_exist-slave.opt
rpl_slave_load_tmpdir_not_exist.test
rpl_slave_skip.test
rpl_slave_status.test
rpl_slow_query_log-slave.opt
rpl_slow_query_log.test
rpl_sp-master.opt
rpl_sp-slave.opt
rpl_sp.test
rpl_sp004.test
rpl_sp_effects-master.opt
rpl_sp_effects-slave.opt
rpl_sp_effects.test
rpl_spec_variables-slave.opt
rpl_spec_variables.test
rpl_special_charset.opt
rpl_special_charset.test
rpl_sporadic_master-master.opt
rpl_sporadic_master.test
rpl_ssl.test
rpl_ssl1.test
rpl_start_stop_slave-slave.opt
rpl_start_stop_slave.test
rpl_stm_000001.test
rpl_stm_auto_increment_bug33029.test
rpl_stm_binlog_direct-master.opt
rpl_stm_binlog_max_cache_size.test
rpl_stm_conflicts.test
rpl_stm_drop_create_temp_table.test
rpl_stm_EE_err2.test
rpl_stm_flsh_tbls.test
rpl_stm_found_rows.test
rpl_stm_implicit_commit_binlog.test
rpl_stm_innodb.test
rpl_stm_loaddata_concurrent.test
rpl_stm_loadfile.test
rpl_stm_log-slave.opt
rpl_stm_log.test
rpl_stm_maria.test
rpl_stm_max_relay_size.test
rpl_stm_mix_show_relaylog_events.test
rpl_stm_mixing_engines.test
rpl_stm_multi_query.test
rpl_stm_no_op.test
rpl_stm_relay_ign_space-slave.opt
rpl_stm_relay_ign_space.test
rpl_stm_reset_slave.test
rpl_stm_sql_mode.test
rpl_stm_start_stop_slave.test
rpl_stm_stop_middle_group.test
rpl_stm_until.test
rpl_stm_user_variables.test
rpl_stop_slave.test
rpl_switch_stm_row_mixed.test
rpl_sync-master.opt
rpl_sync-slave.opt
rpl_sync.test
rpl_table_options.test
rpl_temp_table.test
rpl_temp_table_mix_row.test
rpl_temporal_format_default_to_default.test
rpl_temporal_format_mariadb53_to_mariadb53.test
rpl_temporal_format_mariadb53_to_mysql56.test
rpl_temporal_format_mysql56_to_mariadb53.test
rpl_temporal_format_mysql56_to_mysql56.test
rpl_temporal_mysql56.test
rpl_temporal_mysql56_to_mariadb.test
rpl_temporal_mysql56_to_mariadb53.test
rpl_temporary.test
rpl_temporary_error2.test
rpl_temporary_errors-slave.opt
rpl_temporary_errors.test
rpl_test_framework.cnf
rpl_test_framework.test
rpl_timezone-master.opt
rpl_timezone-slave.opt
rpl_timezone.test
rpl_tmp_table_and_DDL.test
rpl_tmp_table_and_DDL_innodb.test
rpl_trigger.test
rpl_trunc_temp.test
rpl_truncate_2myisam.test
rpl_truncate_3innodb.test
rpl_typeconv-slave.opt
rpl_typeconv.test
rpl_typeconv_innodb.test
rpl_udf.test
rpl_unsafe_statements.test
rpl_upgrade_master_info.test
rpl_user.test
rpl_user_variables.test
rpl_variables.test
rpl_variables_stm.test
rpl_view.test
rpl_view_debug.test
rpl_view_multi.test
sec_behind_master-5114.test
semisync_future-7591.test
semisync_memleak_4066.test
show_status_stop_slave_race-7126.test
temporal_row-9560-master.opt
temporal_row-9560.combinations
temporal_row-9560.test