mariadb/mysql-test/suite/binlog/t
Lixun Peng 007d3ed905 MDEV-12067 flashback does not correcly revert update/replace statements
Problem
-------
For one-statement contains multiple row events, Flashback didn't reverse the
sequence of row events inside one-statement.

Solution
--------
Using a new array 'events_in_stmt' to store the row events of one-statement,
when parsed the last one event, then print from the last one to the first one.

In the same time, fixed another bug, without -vv will not insert the table_map
into print_event_info->m_table_map, then change_to_flashback_event() will not
execute because of Table_map_log_event is empty.
2017-07-03 14:48:07 +08:00
..
binlog_base64_flag.test Merging TO_BASE64() and FROM_BASE64() from MySQL-5.6 2013-09-23 18:58:33 +04:00
binlog_bug23533.test automerge 5.1->5.5 2011-05-09 23:26:41 +04:00
binlog_bug36391-master.opt WL#5867, reorganize test cases of bugs suite 2011-04-14 00:18:08 +04:00
binlog_bug36391.test WL#5867, reorganize test cases of bugs suite 2011-04-14 00:18:08 +04:00
binlog_checkpoint.test MDEV-7402 'reset master' hangs, waits for signalled COND_xid_list 2015-01-19 14:32:28 +01:00
binlog_checksum.test Backport MySQL WL#2540 into MariaDB. 2011-05-03 14:01:11 +02:00
binlog_commit_wait.test MDEV-7802: group commit status variable addition 2015-04-29 11:29:25 +02:00
binlog_database.test post-merge fixes. 2011-07-02 22:12:12 +02:00
binlog_delete_and_flush_index-master.opt Added --log-basename to mysqld to allow one to set the prefix for all logs with one command 2011-03-23 17:59:41 +02:00
binlog_delete_and_flush_index.test BUG#34582: FLUSH LOGS does not close and reopen the binlog index 2009-10-20 09:39:40 +01:00
binlog_dmls_on_tmp_tables_readonly.test Merge branch '10.0' into 10.1 2016-08-25 12:40:09 +02:00
binlog_drop_if_exists.test MDEV-340 Save replication comments for DROP TABLE. 2012-07-31 16:21:53 +05:00
binlog_format_switch_in_tmp_table.test Bug #45855 row events in binlog after switch from binlog_fmt=mix to stmt with open tmp tbl 2010-01-26 17:41:15 +08:00
binlog_grant.test MDEV-6066: Merge new defaults from 5.6 and 5.7 (defaults changed, QC can be stopped with no-zero size) 2015-09-04 10:33:56 +02:00
binlog_implicit_commit.test
binlog_incident.test MDEV-9038 Binlog encryption tests 2016-12-05 20:19:01 +02:00
binlog_index-master.opt remove few obscure, unused, or misused mtr features 2012-02-06 18:42:18 +01:00
binlog_index.test MDEV-9038 Binlog encryption tests 2016-12-05 20:19:01 +02:00
binlog_innodb.test Merge trunk-bugfixing -> trunk-runtime 2010-06-17 17:31:51 +04:00
binlog_innodb_row.test Bug#12346411 SQL/LOG.CC:6509: ASSERTION `PREPARED_XIDS > 0' FAILED 2011-05-12 14:56:00 +02:00
binlog_ioerr.test MDEV-9038 Binlog encryption tests 2016-12-05 20:19:01 +02:00
binlog_killed.test 5.5.39 merge 2014-08-07 18:06:56 +02:00
binlog_killed_simulate-master.opt
binlog_killed_simulate.test cleanup: binlog.binlog_killed_simulate 2016-12-29 13:23:42 +01:00
binlog_max_binlog_stmt_cache_size.opt MDEV-4774 Strangeness with max_binlog_stmt_cache_size Settings 2017-01-20 21:33:36 +05:30
binlog_max_binlog_stmt_cache_size.test Mdev-4774- Fix tests cases 2017-01-31 10:12:22 +05:30
binlog_max_extension.test merge with 5.3 2011-10-19 21:45:18 +02:00
binlog_mdev342-master.opt MDEV-342: Do not mark old binlog file as cleanly closed during rotate until 2012-06-21 21:17:34 +02:00
binlog_mdev342.test MDEV-8859 rpl.rpl_mdev382 sporadically fails to finish due to disappeared expect file 2016-06-12 20:14:51 +03:00
binlog_mdev717.test skip debug_sync test in release builds 2016-05-05 12:35:12 +02:00
binlog_mixed_cache_stat.test BUG#56343 binlog_cache_use status is bigger than expected 2010-10-06 09:34:49 +01:00
binlog_mixed_load_data.test Bug #34283 mysqlbinlog leaves tmpfile after termination if binlog contains load data infile 2010-08-03 10:22:19 +08:00
binlog_mysqlbinlog-cp932-master.opt BUG#14659685 - main.mysqlbinlog_row_myisam and 2012-10-30 10:40:07 +05:30
binlog_mysqlbinlog-cp932.test MDEV-9038 Binlog encryption tests 2016-12-05 20:19:01 +02:00
binlog_mysqlbinlog2-master.opt mysql-5.1.67 merge 2013-01-09 23:51:51 +01:00
binlog_mysqlbinlog2.test MDEV-8429: Change binlog_checksum default to match MySQL 5.6.6+ 2016-05-20 09:46:03 +02:00
binlog_mysqlbinlog_base64.test BUG#14659685 - main.mysqlbinlog_row_myisam and 2012-10-30 10:40:07 +05:30
binlog_mysqlbinlog_row-master.opt mysql-5.1.67 merge 2013-01-09 23:51:51 +01:00
binlog_mysqlbinlog_row.test MDEV-8429: Change binlog_checksum default to match MySQL 5.6.6+ 2016-05-20 09:46:03 +02:00
binlog_mysqlbinlog_row_innodb-master.opt mysql-5.1.67 merge 2013-01-09 23:51:51 +01:00
binlog_mysqlbinlog_row_innodb.test BUG#14659685 - main.mysqlbinlog_row_myisam and 2012-10-30 10:40:07 +05:30
binlog_mysqlbinlog_row_myisam-master.opt mysql-5.1.67 merge 2013-01-09 23:51:51 +01:00
binlog_mysqlbinlog_row_myisam.test BUG#14659685 - main.mysqlbinlog_row_myisam and 2012-10-30 10:40:07 +05:30
binlog_mysqlbinlog_row_trans-master.opt mysql-5.1.67 merge 2013-01-09 23:51:51 +01:00
binlog_mysqlbinlog_row_trans.test MDEV-8429: Change binlog_checksum default to match MySQL 5.6.6+ 2016-05-20 09:46:03 +02:00
binlog_old_versions.test MDEV-34 delete storage/ndb and sql/*ndb* (and collateral changes) 2014-10-11 18:53:06 +02:00
binlog_query_filter_rules-master.opt BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
binlog_query_filter_rules.test BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
binlog_row_annotate-master.opt Merge Percona patch MWL#47 into mariadb 5.2-percona. 2011-01-10 14:53:09 +01:00
binlog_row_annotate.test MDEV-9038 Binlog encryption tests 2016-12-05 20:19:01 +02:00
binlog_row_binlog-master.opt MDEV-7635: Additional test fixes 2017-02-10 06:30:42 -05:00
binlog_row_binlog.test Fixed failing tests 2010-08-28 11:29:44 +03:00
binlog_row_cache_stat.test BUG#56343 binlog_cache_use status is bigger than expected 2010-10-06 09:34:49 +01:00
binlog_row_ctype_cp932.test
binlog_row_ctype_ucs.test
binlog_row_drop_tbl.test Backport of revno ## 2617.31.1, 2617.31.3, 2617.31.4, 2617.31.5, 2009-12-05 02:02:48 +03:00
binlog_row_drop_tmp_tbl.test
binlog_row_innodb_stat-master.opt
binlog_row_insert_select.test
binlog_row_mix_innodb_myisam-master.opt merge. 2010-11-25 18:17:28 +01:00
binlog_row_mix_innodb_myisam.test
binlog_row_mysqlbinlog_db_filter.test Tests: many if/while expresissons simplified after 57276 2010-11-17 11:16:13 +01:00
binlog_row_mysqlbinlog_options-master.opt Fix bad 5.1->5.2 merge: timezone must now be set explicitly for test cases that depend on it. 2010-02-01 20:05:19 +01:00
binlog_row_mysqlbinlog_options.test MDEV-8429: Change binlog_checksum default to match MySQL 5.6.6+ 2016-05-20 09:46:03 +02:00
binlog_row_mysqlbinlog_verbose.test MDEV-34 delete storage/ndb and sql/*ndb* (and collateral changes) 2014-10-11 18:53:06 +02:00
binlog_server_id.test BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
binlog_sf.test BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
binlog_spurious_ddl_errors-master.opt post-merge fixes. 2011-07-02 22:12:12 +02:00
binlog_spurious_ddl_errors.test mysql-5.5.31 merge 2013-05-07 13:05:09 +02:00
binlog_sql_mode.test Bug#12601974 - STORED PROCEDURE SQL_MODE=NO_BACKSLASH_ESCAPES IGNORED AND BREAKS REPLICATION 2012-02-29 12:23:15 +05:30
binlog_start_comment.test
binlog_statement_insert_delayed.test BUG#50670: Slave stops with error code 1644 2010-04-28 14:47:49 +02:00
binlog_stm_binlog-master.opt remove few obscure, unused, or misused mtr features 2012-02-06 18:42:18 +01:00
binlog_stm_binlog.test Fixed failing tests 2010-08-28 11:29:44 +03:00
binlog_stm_blackhole.test Bug #34283 mysqlbinlog leaves tmpfile after termination if binlog contains load data infile 2010-08-03 10:22:19 +08:00
binlog_stm_cache_stat.test BUG#56343 binlog_cache_use status is bigger than expected 2010-10-06 09:34:49 +01:00
binlog_stm_ctype_cp932.test
binlog_stm_ctype_ucs.test
binlog_stm_do_db-master.opt remove few obscure, unused, or misused mtr features 2012-02-06 18:42:18 +01:00
binlog_stm_do_db.test merging 5.1->rep+2->rep+3 2009-12-02 14:17:07 +02:00
binlog_stm_drop_tbl.test Backport of revno ## 2617.31.1, 2617.31.3, 2617.31.4, 2617.31.5, 2009-12-05 02:02:48 +03:00
binlog_stm_drop_tmp_tbl.test
binlog_stm_innodb_stat-master.opt
binlog_stm_insert_select.test
binlog_stm_mix_innodb_myisam-master.opt merge. 2010-11-25 18:17:28 +01:00
binlog_stm_mix_innodb_myisam.test BUG#47995: Mark system functions as unsafe 2009-11-18 15:50:31 +01:00
binlog_stm_ps.test MDEV-11360 Dynamic SQL: DEFAULT as a bind parameter 2016-11-27 18:21:18 +04:00
binlog_stm_row.test MDEV-6720 - enable connection log in mysqltest by default 2016-03-31 10:11:16 +04:00
binlog_stm_unsafe_warning-master.opt Added --log-basename to mysqld to allow one to set the prefix for all logs with one command 2011-03-23 17:59:41 +02:00
binlog_stm_unsafe_warning.test merge 2012-04-07 15:58:46 +02:00
binlog_stm_user_variables.test MDEV-7635: Update tests to adapt to the new default sql_mode 2017-02-10 06:30:42 -05:00
binlog_switch_inside_trans.test Bug #15868071 USING SET GLOBAL SQL_LOG_BIN SHOULD NOT BE ALLOWED 2014-09-24 09:44:48 +08:00
binlog_tmp_table.test BUG#50670: Slave stops with error code 1644 2010-04-28 14:47:49 +02:00
binlog_trigger.test MDEV-6112 multiple triggers per table 2016-10-05 01:11:07 +03:00
binlog_truncate_innodb-master.opt
binlog_truncate_innodb.test Bug#42643: InnoDB does not support replication of TRUNCATE TABLE 2010-05-25 17:01:38 -03:00
binlog_truncate_kill.test MDEV-6720 - enable connection log in mysqltest by default 2016-03-31 10:11:16 +04:00
binlog_truncate_myisam.test Bug#42643: InnoDB does not support replication of TRUNCATE TABLE 2010-05-25 17:01:38 -03:00
binlog_unsafe-master.opt post-merge fixes. 2011-07-02 22:12:12 +02:00
binlog_unsafe.test MDEV-34 delete storage/ndb and sql/*ndb* (and collateral changes) 2014-10-11 18:53:06 +02:00
binlog_variables_log_bin-master.opt MDEV-7110 : Add missing MySQL variable log_bin_basename and log_bin_index 2015-06-09 13:38:29 -04:00
binlog_variables_log_bin.test MDEV-7110 : Add missing MySQL variable log_bin_basename and log_bin_index 2015-06-09 13:38:29 -04:00
binlog_variables_log_bin_index-master.opt MDEV-7110 : Add missing MySQL variable log_bin_basename and log_bin_index 2015-06-09 13:38:29 -04:00
binlog_variables_log_bin_index.test MDEV-7110 : Add missing MySQL variable log_bin_basename and log_bin_index 2015-06-09 13:38:29 -04:00
binlog_variables_relay_log-master.opt MDEV-7110 : Add missing MySQL variable log_bin_basename and log_bin_index 2015-06-09 13:38:29 -04:00
binlog_variables_relay_log.test MDEV-7110 : Add missing MySQL variable log_bin_basename and log_bin_index 2015-06-09 13:38:29 -04:00
binlog_variables_relay_log_index-master.opt MDEV-7110 : Add missing MySQL variable log_bin_basename and log_bin_index 2015-06-09 13:38:29 -04:00
binlog_variables_relay_log_index.test MDEV-7110 : Add missing MySQL variable log_bin_basename and log_bin_index 2015-06-09 13:38:29 -04:00
binlog_write_error.test MDEV-9038 Binlog encryption tests 2016-12-05 20:19:01 +02:00
binlog_xa_recover-master.opt MDEV-232: Remove one fsync() from commit phase. 2012-09-13 14:31:29 +02:00
binlog_xa_recover.test MDEV-9038 Binlog encryption tests 2016-12-05 20:19:01 +02:00
flashback-master.opt [MDEV-10570] Add Flashback support 2017-01-20 15:33:28 +02:00
flashback.test MDEV-12067 flashback does not correcly revert update/replace statements 2017-07-03 14:48:07 +08:00
load_data_stm_view.test MDEV-3940 Server crash or assertion `item->type() == Item::STRING_ITEM' failure on LOAD DATA through a view with statement binary logging 2014-11-18 15:42:32 +01:00
mysqladmin.test MDEV-12612 mysqladmin --local flush... to use FLUSH LOCAL 2017-05-24 11:59:04 +02:00
temptable_uservar_disconnect-7938.test MDEV-7938 MariaDB Crashes Suddenly while writing binlogs 2015-04-27 15:42:12 +02:00