mariadb/mysql-test/suite/binlog/r
unknown 454c003a5c Bug mysqlbinlog --database=X produces bad output for SAVEPOINTs
When mysqlbinlog was given the --database=X flag, it always printed
'ROLLBACK TO', but the corresponding 'SAVEPOINT' statement was not
printed. The replicated filter(replicated-do/ignore-db) and binlog
filter (binlog-do/ignore-db) has the same problem. They are solved
in this patch together.

After this patch, We always check whether the query is 'SAVEPOINT'
statement or not. Because this is a literal check, 'SAVEPOINT' and
'ROLLBACK TO' statements are also binlogged in uppercase with no
any comments.

The binlog before this patch can be handled correctly except one case
that any comments are in front of the keywords. for example:
 /* bla bla */ SAVEPOINT a;
 /* bla bla */ ROLLBACK TO a;
2010-03-28 19:57:33 +08:00
..
binlog_auto_increment_bug33029.result
binlog_base64_flag.result
binlog_database.result
binlog_delete_and_flush_index.result BUG#34582: FLUSH LOGS does not close and reopen the binlog index 2009-10-20 09:39:40 +01:00
binlog_grant.result
binlog_incident.result Bug#46010 main.ctype_gbk_binlog fails sporadically : Table 't2' already exists 2009-09-07 13:42:54 +08:00
binlog_index.result BUG#49638 binlog_index fails in mysql-trunk-merge 2009-12-16 19:52:56 +00:00
binlog_innodb.result
binlog_innodb_row.result Post-push fix for BUG#51251. 2010-03-09 23:41:21 +00:00
binlog_killed.result
binlog_killed_simulate.result BUG#49479: Slave stops with syntax error: LOAD DATA event without 2009-12-06 01:11:32 +00:00
binlog_mix_innodb_stat.result
binlog_mixed_failure_mixing_engines.result BUG#47678 Changes to n-tables that happen early in a trans. are only flushed upon commit 2009-10-06 01:54:00 +01:00
binlog_multi_engine.result
binlog_old_versions.result
binlog_row_binlog.result Bug#46640: output from mysqlbinlog command in 5.1 breaks replication 2009-10-14 09:39:05 +08:00
binlog_row_ctype_cp932.result
binlog_row_ctype_ucs.result
binlog_row_drop_tmp_tbl.result Manual Merge 2009-11-03 18:20:08 +08:00
binlog_row_failure_mixing_engines.result BUG#47678 Changes to n-tables that happen early in a trans. are only flushed upon commit 2009-10-06 01:54:00 +01:00
binlog_row_innodb_stat.result
binlog_row_insert_select.result
binlog_row_mix_innodb_myisam.result Bug mysqlbinlog --database=X produces bad output for SAVEPOINTs 2010-03-28 19:57:33 +08:00
binlog_row_mysqlbinlog_db_filter.result
binlog_row_mysqlbinlog_verbose.result Attempt to fix Windows testcase output issue 2009-10-14 21:25:11 +08:00
binlog_sql_mode.result
binlog_start_comment.result
binlog_statement_insert_delayed.result
binlog_stm_binlog.result Bug#46640: output from mysqlbinlog command in 5.1 breaks replication 2009-10-14 09:39:05 +08:00
binlog_stm_blackhole.result BUG#49479: Slave stops with syntax error: LOAD DATA event without 2009-12-06 01:11:32 +00:00
binlog_stm_ctype_cp932.result
binlog_stm_ctype_ucs.result
binlog_stm_do_db.result BUG#42829: binlogging enabled for all schemas regardless of 2009-09-24 15:52:52 +01:00
binlog_stm_drop_tmp_tbl.result Manual Merge 2009-11-03 18:20:08 +08:00
binlog_stm_innodb_stat.result
binlog_stm_insert_select.result
binlog_stm_mix_innodb_myisam.result Bug mysqlbinlog --database=X produces bad output for SAVEPOINTs 2010-03-28 19:57:33 +08:00
binlog_stm_ps.result
binlog_stm_row.result BUG#47995: Mark system functions as unsafe 2009-11-18 15:50:31 +01:00
binlog_stm_unsafe_warning.result Bug#46265: Can not disable warning about unsafe statements for binary logging 2009-07-31 10:00:35 -03:00
binlog_tmp_table.result BUG#51226: mysqlbinlog replay: ERROR 1146 when using temp tables 2010-03-03 12:16:18 +00:00
binlog_truncate_innodb.result
binlog_truncate_myisam.result
binlog_unsafe.result BUG#49222: Mark RAND() as unsafe 2010-01-13 10:00:03 +01:00
binlog_write_error.result Backport Bug#37148 to 5.1 2010-01-24 15:03:23 +08:00