mariadb/mysql-test/suite
Sujatha Sivakumar 0e763f4db5 Bug#11829838: ALTER TABLE NOT BINLOGGED WITH
--BINLOG-IGNORE-DB AND FULLY QUALIFIED TABLE
      
Problem:
=======
An ALTER TABLE statement is not written to binlog if server
started with "--binlog-ignore-db some database" and 'fully
qualified' table names are used in the ALTER TABLE statement
altering table different from current database context.
      
Analysis:
========
The above mentioned problem not only affects "ALTER TABLE"
statements but also to all kind of statements. Once the 
current default database becomes "NULL" none of the 
statements will be binlogged.
      
The current behaviour is such that if the user has specified
restrictions on which database needs to be replicated and the
default db is not specified, then do not replicate.
This means that "NULL" is considered to be equivalent to
everything (default db = null implied ignore don't log the
statement).
      
Fix:
===
"NULL" should not be considered as equivalent to everything.
Since the filtering criteria is not equal to "NULL" the
statement should be logged into binlog.

mysql-test/suite/rpl/r/rpl_loaddata_m.result:
  Earlier when defalut database was "NULL" DROP TABLE
  was not getting logged. Post this fix it will be logged
  and the DROP will fail at slave as the table creation
  was skipped by master as --binlog-ignore-db=test.
mysql-test/suite/rpl/t/rpl_loaddata_m.test:
  Earlier when defalut database was "NULL" DROP TABLE
  was not getting logged. Post this fix it will be logged
  and the DROP will fail at slave as the table creation
  was skipped by master as --binlog-ignore-db=test.
sql/rpl_filter.cc:
  Replaced DBUG_RETURN(0) with DBUG_RETURN(1).
2013-03-27 11:53:01 +05:30
..
binlog Bug#16084594 USER_VAR ITEM IN 'LOAD FILE QUERY' WAS NOT 2013-01-28 14:41:54 +05:30
engines BUG#12359942 - REPLICATION TEST FROM ENGINE SUITE RPL_ROW_UNTIL TIMES OUT 2012-11-30 12:12:33 +05:30
federated Bug #12876932 - INCORRECT SELECT RESULT ON FEDERATED TABLE 2012-07-26 15:09:22 +05:30
funcs_1 Bug#12671635 : Updating embedded tests. 2013-03-22 20:00:40 +05:30
funcs_2 Changed to Oracle bug numbers 2011-05-24 12:08:13 +05:30
im
innodb Bug #16220051 : INNODB_BUG12400341 FAILS ON VALGRIND WITH TOO MANY ACTIVE CONCURRENT TRANSACTION 2013-01-31 12:42:43 +09:00
innodb_plugin Bug #16220051 : INNODB_BUG12400341 FAILS ON VALGRIND WITH TOO MANY ACTIVE CONCURRENT TRANSACTION 2013-01-31 12:42:43 +09:00
jp Bug #45159 : some tests in suite "jp" fail in embedded server (use LOAD DATA) 2009-09-11 15:52:08 +03:00
large_tests
manual BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
ndb Fixed test ndb.ndb_partition_error2, didn't include have_ndb.inc 2011-07-28 13:01:51 +02:00
ndb_team Changed to Oracle bug numbers 2011-05-24 12:08:13 +05:30
parts Bug#11751825 - OPTIMIZE PARTITION RECREATES FULL TABLE INSTEAD JUST PARTITION 2012-11-08 14:19:27 +05:30
rpl Bug#11829838: ALTER TABLE NOT BINLOGGED WITH 2013-03-27 11:53:01 +05:30
rpl_ndb Changed to Oracle bug numbers 2011-05-24 12:08:13 +05:30
stress
sys_vars Bug#16247322- MTR NOT RUNNING SYS_VARS TEST 2013-02-07 17:23:37 +05:30