1. 05 Dec, 2008 1 commit
    • Mats Kindahl's avatar
      Bug #40116: · 4e9695ac
      Mats Kindahl authored
      Uncommited changes are replicated and stay on slave after
      rollback on master
      
      Making test slightly more generic and robust.
      4e9695ac
  2. 03 Dec, 2008 1 commit
    • Mats Kindahl's avatar
      Bug #40116: Uncommited changes are replicated and stay on slave · 82757fdf
      Mats Kindahl authored
      after rollback on master
      
      When starting a transaction with a statement containing changes
      to both transactional tables and non-transactional tables, the
      statement is considered as non-transactional and is therefore
      written directly to the binary log. This behaviour was present
      in 5.0, and has propagated to 5.1.
      
      If a trigger containing a change of a non-transactional table is
      added to a transactional table, any changes to the transactional
      table is "tainted" as non-transactional.
      
      This patch solves the problem by removing the existing "hack" that
      allows non-transactional statements appearing first in a transaction
      to be written directly to the binary log. Instead, anything inside
      a transaction is treaded as part of the transaction and not written
      to the binary log until the transaction is committed.
      82757fdf
  3. 03 Nov, 2008 3 commits
    • Mats Kindahl's avatar
      Merging with 5.1-5.1.29-rc · 5a897c8b
      Mats Kindahl authored
      5a897c8b
    • Mats Kindahl's avatar
      Bug #40360: Binlog related errors with binlog off · 32c9fe6b
      Mats Kindahl authored
      Adding missing drop of created table and tidying display.
      32c9fe6b
    • Mats Kindahl's avatar
      Bug #40360: Binlog related errors with binlog off · 005e7fc3
      Mats Kindahl authored
            
      When statement-based replication is used, and the
      transaction isolation level is READ-COMMITTED or stricter,
      InnoDB will print an error because statement-based
      replication might lead to inconsistency between master
      and slave databases. However, when the binary log is not
      engaged, this is not an issue and an error should
      not be printed.
      
      This patch makes thd_binlog_format() return BINLOG_FORMAT_
      UNSPEC when the binary log is not engaged for the given
      thread.
      005e7fc3
  4. 31 Oct, 2008 1 commit
  5. 29 Oct, 2008 2 commits
  6. 24 Oct, 2008 1 commit
  7. 23 Oct, 2008 3 commits
  8. 22 Oct, 2008 2 commits
  9. 21 Oct, 2008 6 commits
  10. 20 Oct, 2008 1 commit
    • Mats Kindahl's avatar
      Bug #40004 Replication failure with no PK + no indexes · 95833a74
      Mats Kindahl authored
      In certain situations, a scan of the table will return the error
      code HA_ERR_RECORD_DELETED, and this error code is not 
      correctly caught in the Rows_log_event::find_row() function, which
      causes an error to be returned for this case.
      
      This patch fixes the problem by adding code to either ignore the
      record and continuing with the next one, the the event of a table
      scan, or change the error code to HA_ERR_KEY_NOT_FOUND, in the event
      that a key lookup is attempted.
      95833a74
  11. 17 Oct, 2008 1 commit
  12. 13 Oct, 2008 1 commit
  13. 10 Oct, 2008 2 commits
  14. 09 Oct, 2008 4 commits
  15. 08 Oct, 2008 10 commits
  16. 07 Oct, 2008 1 commit