Skip to content
  • Luis Soares's avatar
    507051d9
    BUG#21349028: BACKPORT PATCH FOR BUG#16621582 TO MYSQL-5.6 · 507051d9
    Luis Soares authored
    Backporting BUG#16621582 to mysql-5.6.
    
    Cset description from BUG#16621582:
    
    A flag that stated that transactional tables were
    involved in the statements was not being set. The
    binlogging routing would then assume that it had
    to write to the statement cache instead of the
    transactional cache. This would split the transaction
    in two and the savepoints would be logged without
    a GTID.
    
    This patch fixes the issue by setting the flag even
    if no rows had been changed by the statement.
    
    Added test case.
    507051d9
    BUG#21349028: BACKPORT PATCH FOR BUG#16621582 TO MYSQL-5.6
    Luis Soares authored
    Backporting BUG#16621582 to mysql-5.6.
    
    Cset description from BUG#16621582:
    
    A flag that stated that transactional tables were
    involved in the statements was not being set. The
    binlogging routing would then assume that it had
    to write to the statement cache instead of the
    transactional cache. This would split the transaction
    in two and the savepoints would be logged without
    a GTID.
    
    This patch fixes the issue by setting the flag even
    if no rows had been changed by the statement.
    
    Added test case.
Loading