• unknown's avatar
    Fixed failure with rpl_truncate_7ndb.test when using statement based replication. · b58e990c
    unknown authored
    is_injective -> table_flag() HA_HAS_OWN_BINLOGGING
    (Faster and easier to understand)
    Allow cluster_binlogging also in mixed replication mode.
    
    
    mysql-test/t/rpl_truncate_7ndb.test:
      Ensure that test is only run with mixed or row based replication
    sql/ha_ndbcluster.cc:
      Enforce row based replication if a cluster table is used
    sql/ha_ndbcluster.h:
      Remove is_injective() (Is now a table flag)
    sql/ha_ndbcluster_binlog.cc:
      Use cluster binlogging also in mixed binary logging
      (Using a cluster table will enforce row based replication in mixed mode, so this should be ok)
    sql/handler.cc:
      is_injective -> HA_HAS_OWN_BINLOGGING
    sql/handler.h:
      is_injective -> HA_HAS_OWN_BINLOGGING
    mysql-test/include/have_binlog_format_mixed_or_row.inc:
      New BitKeeper file ``mysql-test/include/have_binlog_format_mixed_or_row.inc''
    mysql-test/r/rpl_truncate_7ndb_2.result:
      New BitKeeper file ``mysql-test/r/rpl_truncate_7ndb_2.result''
    mysql-test/t/rpl_truncate_7ndb_2-master.opt:
      New BitKeeper file ``mysql-test/t/rpl_truncate_7ndb_2-master.opt''
    mysql-test/t/rpl_truncate_7ndb_2.test:
      New BitKeeper file ``mysql-test/t/rpl_truncate_7ndb_2.test''
    b58e990c
rpl_truncate_7ndb_2.result 3.15 KB