• gkodinov/kgeorge@magare.gmz's avatar
    Bug #26418: Slave out of sync after · bef15b27
    gkodinov/kgeorge@magare.gmz authored
     CREATE/DROP TEMPORARY TABLE + ROLLBACK on master
    
    The transaction ability of the storage engines of
    the tables on the replication master and the replication
    slave must generally be the same.
    When the storage engine type of the slave is 
    non-transactional then transactions on the master that 
    mix update of transactional and non-transactional tables
    should be avoided because they will cause inconsistency of
    the data between the master's transactional table and the
    slave's non-transactional table.
    
    The effect described by this bug is actually expected.
    A detailed test case is added (to be merged later to
    the updated rpl_ddl.test), as there was no coverage 
    by the existing tests. 
    Some code cleanup is also added by this change.
    bef15b27
sql_delete.cc 29.3 KB