• Alfranio Correia's avatar
    BUG#53452 Inconsistent behavior of binlog_direct_non_transactional_updates with · c6d4915f
    Alfranio Correia authored
    temp table
                
    This patch introduces two key changes in the replication's behavior.
                
    Firstly, it reverts part of BUG#51894 which puts any update to temporary tables
    into the trx-cache. Now, updates to temporary tables are handled according to
    the type of their engines as a regular table.
                
    Secondly, an unsafe mixed statement, (i.e. a statement that access transactional
    table as well non-transactional or temporary table, and writes to any of them),
    are written into the trx-cache in order to minimize errors in the execution when
    the statement logging format is in use.
                
    Such changes has a direct impact on which statements are classified as unsafe
    statements and thus part of BUG#53259 is reverted.
    c6d4915f
binlog_row_mix_innodb_myisam.result 30.9 KB