mariadb/mysql-test/suite/rpl
unknown 26946f3176 Bug#30998 Drop View breaks replication if view does not exist
When executing drop view statement on the master, the statement is not written into bin-log if any error occurs, this could cause master slave inconsistence if any view has been dropped. 

If some error occured and no view has been dropped, don't bin-log the statement, if at least one view has been dropped the query is bin-logged possible with an error.


sql/sql_view.cc:
  If at least one view has been dropped the query is bin-logged possible with an error.
mysql-test/suite/rpl/r/rpl_drop_view.result:
  Add test result for bug#30998
mysql-test/suite/rpl/t/rpl_drop_view.test:
  Add test case for bug#30998
2007-12-03 16:54:44 +08:00
..
data BUG#28618 (Skipping into the middle of a group with SQL_SLAVE_SKIP_COUNTER 2007-10-19 14:18:41 +02:00
include Merge dl145h.mysql.com:/data0/mkindahl/mysql-5.1 2007-11-14 11:07:30 +01:00
r Bug#30998 Drop View breaks replication if view does not exist 2007-12-03 16:54:44 +08:00
t Bug#30998 Drop View breaks replication if view does not exist 2007-12-03 16:54:44 +08:00
combinations WL#3949 Test should set binlog format dnamically 2007-11-23 13:29:31 +01:00
README copy from test-extra-5.1 to main tree 2007-02-06 13:35:54 +01:00

How to run.
===========

./mysql-test-run.pl --suite=rpl --mysqld=--binlog-format=mixed