1. 02 Apr, 2008 1 commit
  2. 29 Mar, 2008 1 commit
  3. 28 Mar, 2008 2 commits
    • aelkin/andrei@mysql1000.(none)'s avatar
      wl#4091 · 5ef66b37
      aelkin/andrei@mysql1000.(none) authored
      improving a test that shows a failure.
      
      the wait condition was for data in tables but the 
      log positions are updates after the data are unlocked.
      So there was a time window
      [after_table_unlock_for_select, log_pos_updated] where the
      orig cond was true but log position might be changed.
      the correct one is to expect the last pos of the
      slave's insert in the output of show_slave_status on the
      master.
      5ef66b37
    • aelkin/andrei@mysql1000.(none)'s avatar
      BUG#33029 · 103f9d68
      aelkin/andrei@mysql1000.(none) authored
      refining a test for embedded env.
      103f9d68
  4. 27 Mar, 2008 1 commit
  5. 26 Mar, 2008 1 commit
  6. 25 Mar, 2008 3 commits
  7. 14 Mar, 2008 3 commits
    • mkindahl@dl145h.mysql.com's avatar
      Merge mkindahl@bk-internal.mysql.com:/home/bk/mysql-5.1-new-rpl · f48aa05f
      mkindahl@dl145h.mysql.com authored
      into  dl145h.mysql.com:/data0/mkindahl/mysql-5.1-rpl
      f48aa05f
    • mkindahl@dl145h.mysql.com's avatar
      Post-merge fixes. · c5fefc68
      mkindahl@dl145h.mysql.com authored
      c5fefc68
    • hezx@mail.hezx.com's avatar
      BUG#33029 5.0 to 5.1 replication fails on dup key when inserting · a3d02647
      hezx@mail.hezx.com authored
      using a trig in SP
      
      For all 5.0 and up to 5.1.12 exclusive, when a stored routine or
      trigger caused an INSERT into an AUTO_INCREMENT column, the
      generated AUTO_INCREMENT value should not be written into the
      binary log, which means if a statement does not generate
      AUTO_INCREMENT value itself, there will be no Intvar event (SET
      INSERT_ID) associated with it even if one of the stored routine
      or trigger caused generation of such a value. And meanwhile, when
      executing a stored routine or trigger, it would ignore the
      INSERT_ID value even if there is a INSERT_ID value available set
      by a SET INSERT_ID statement.
      
      Starting from MySQL 5.1.12, the generated AUTO_INCREMENT value is
      written into the binary log, and the value will be used if
      available when executing the stored routine or trigger.
      
      Prior fix of this bug in MySQL 5.0 and prior MySQL 5.1.12
      (referenced as the buggy versions in the text below), when a
      statement that generates AUTO_INCREMENT value by the top
      statement was executed in the body of a SP, all statements in the
      SP after this statement would be treated as if they had generated
      AUTO_INCREMENT by the top statement.  When a statement that did
      not generate AUTO_INCREMENT value by the top statement but by a
      function/trigger called by it, an erroneous Intvar event would be
      associated with the statement, this erroneous INSERT_ID value
      wouldn't cause problem when replicating between masters and
      slaves of 5.0.x or prior 5.1.12, because the erroneous INSERT_ID
      value was not used when executing functions/triggers. But when
      replicating from buggy versions to 5.1.12 or newer, which will
      use the INSERT_ID value in functions/triggers, the erroneous
      value will be used, which would cause duplicate entry error and
      cause the slave to stop.
      
      The patch for 5.1 fixed it to ignore the SET INSERT_ID value when
      executing functions/triggers if it is replicating from a master
      of buggy versions, another patch for 5.0 fixed it not to generate
      the erroneous Intvar event.
      a3d02647
  8. 12 Mar, 2008 1 commit
  9. 11 Mar, 2008 1 commit
    • sven@riska.(none)'s avatar
      Removed pushbuild errors. · 38b406ce
      sven@riska.(none) authored
      Problem: rpl_variables_stm.test used a character set and a collation which
      are not included on all platforms.
      Fix: replace the character set and collation by ones that are included on
      all platforms. (rpl_variables_stm does not rely on which character set is
      used, the only important aspect is the fact that it changes.)
      38b406ce
  10. 10 Mar, 2008 2 commits
  11. 07 Mar, 2008 3 commits
    • aelkin/andrei@mysql1000.(none)'s avatar
      Bug #26622 MASTER_POS_WAIT does not work as documented · 8a4c6521
      aelkin/andrei@mysql1000.(none) authored
      Affected tests fixing. After the fix for st_relay_log_info::wait_for_pos() that
      handles widely used select('master-bin.xxxx',pos) invoked by mysqltest
      there appeared to be four tests that either tried synchronizing when
      the slave was stopped or used incorrect synchronization method like
      to call `sync_with_master' from the current connection being to the
      master itself.
      
      Fixed with correcting the current connection or/and using the correct
      synchronization macro when possible.
      8a4c6521
    • sven@riska.(none)'s avatar
      BUG#31168: @@hostname does not replicate · 81b1d712
      sven@riska.(none) authored
      Problem: in mixed and statement mode, a query that refers to a
      system variable will use the slave's value when replayed on
      slave. So if the value of a system variable is inserted into a
      table, the slave will differ from the master.
      Fix: mark statements that refer to a system variable as "unsafe",
      meaning they will be replicated by row in mixed mode and produce a warning
      in statement mode. There are some exceptions: some variables are actually
      replicated. Those should *not* be marked as unsafe.
      BUG#34732: mysqlbinlog does not print default values for auto_increment variables
      Problem: mysqlbinlog does not print default values for some variables,
      including auto_increment_increment and others. So if a client executing
      the output of mysqlbinlog has different default values, replication will
      be wrong.
      Fix: Always print default values for all variables that are replicated.
      I need to fix the two bugs at the same time, because the test cases would
      fail if I only fixed one of them.
      81b1d712
    • aelkin/andrei@mysql1000.(none)'s avatar
      Bug #28780 report_host is not available through SELECT @@report_host · 9c2ef837
      aelkin/andrei@mysql1000.(none) authored
      merging and post-make-test changes.
      9c2ef837
  12. 06 Mar, 2008 5 commits
  13. 05 Mar, 2008 6 commits
  14. 04 Mar, 2008 4 commits
  15. 03 Mar, 2008 3 commits
  16. 02 Mar, 2008 2 commits
  17. 29 Feb, 2008 1 commit