• unknown's avatar
    Bug#6391 (binlog-do-db rules ignored) · 220acb32
    unknown authored
      CREATE DATABASE statement used the current database instead of the
      database created when checking conditions for replication.
      CREATE/DROP/ALTER DATABASE statements are now replicated based on
      the manipulated database.
    
    
    mysql-test/t/rpl_until.test:
      Longer sleep to allow slave to stop.
    mysql-test/t/rpl_charset.test:
      Position change in binary file.
    mysql-test/r/drop_temp_table.result:
      Position change in binlog.
    mysql-test/r/rpl_loaddata_rule_m.result:
      Position change in binlog.
    mysql-test/r/rpl_charset.result:
      Position change in binlog.
    sql/log_event.h:
      Added new flag and parameter to suppress generation of
      USE statements.
    sql/log_event.cc:
      Added parameter and code to suppress generation of
      USE statements.
    sql/sql_db.cc:
      Suppress generation of USE before CREATE/ALTER/DROP DATABASE
      statements.
    sql/log.cc:
      Query_log_event have new extra parameter.
    sql/sql_table.cc:
      Query_log_event have new extra parameter.
    sql/sql_base.cc:
      Query_log_event have new extra parameter.
    sql/sql_update.cc:
      Query_log_event have new extra parameter.
    sql/sql_insert.cc:
      Query_log_event have new extra parameter.
    sql/sql_rename.cc:
      Query_log_event have new extra parameter.
    sql/sql_delete.cc:
      Query_log_event have new extra parameter.
    sql/sql_acl.cc:
      Query_log_event have new extra parameter.
    sql/handler.cc:
      Query_log_event have new extra parameter.
    sql/item_func.cc:
      Query_log_event have new extra parameter.
    sql/sql_parse.cc:
      Query_log_event have new extra parameter.
    220acb32
drop_temp_table.result 791 Bytes