1. 07 Aug, 2008 1 commit
  2. 06 Aug, 2008 2 commits
  3. 04 Aug, 2008 1 commit
    • Sven Sandberg's avatar
      merged 5.1 main to 5.1-rpl · 4cf30d44
      Sven Sandberg authored
      manually resolved conflicts:
      Text conflict in client/mysqltest.c
      Contents conflict in mysql-test/include/have_bug25714.inc
      Text conflict in mysql-test/include/have_ndbapi_examples.inc
      Text conflict in mysql-test/mysql-test-run.pl
      Text conflict in mysql-test/suite/parts/inc/partition_check_drop.inc
      Text conflict in mysql-test/suite/parts/inc/partition_layout.inc
      Text conflict in mysql-test/suite/parts/inc/partition_layout_check1.inc
      Text conflict in mysql-test/suite/parts/inc/partition_layout_check2.inc
      Text conflict in mysql-test/suite/parts/r/partition_alter1_1_2_myisam.result
      Text conflict in mysql-test/suite/parts/r/partition_alter1_1_myisam.result
      Text conflict in mysql-test/suite/parts/r/partition_alter1_2_myisam.result
      Text conflict in mysql-test/suite/parts/r/partition_alter2_myisam.result
      Text conflict in mysql-test/suite/parts/r/partition_alter3_innodb.result
      Text conflict in mysql-test/suite/parts/r/partition_alter3_myisam.result
      Text conflict in mysql-test/suite/parts/r/partition_basic_innodb.result
      Text conflict in mysql-test/suite/parts/r/partition_basic_myisam.result
      Text conflict in mysql-test/suite/parts/r/partition_basic_symlink_myisam.result
      Text conflict in mysql-test/suite/parts/r/partition_engine_myisam.result
      Text conflict in mysql-test/suite/parts/r/partition_syntax_myisam.result
      Text conflict in mysql-test/suite/rpl_ndb/t/disabled.def
      Text conflict in mysql-test/t/disabled.def
      4cf30d44
  4. 31 Jul, 2008 1 commit
    • He Zhenxing's avatar
      BUG#37051 Replication rules not evaluated correctly · a018e98c
      He Zhenxing authored
      The problem of this bug is that we need to get the list of tables
      to be updated for a multi-table update statement, which requires to
      open all the tables referenced by the statement and resolve all
      the fields involved in update in order to figure out the list of
      tables for update. However if there are replicate filter rules,
      some tables might not exist on slave and result in a failure
      before we could examine the filter rules.
      
      I think the whole problem can not be solved on slave alone,
      the master must record and send the information of tables
      involved for update to slave, so that the slave do not need to
      open all the tables referenced by the multi-table update statement to
      figure out which tables are involved for update.
      
      So a status variable is added to Query_log event to store the
      value of table map for update on master. And on slave, it will
      try to get the value of this variable and use it to examine
      filter rules without opening any tables on slave, if this values
      is not available, the old approach is used and thus the bug will
      still occur for when replicating from old masters.
      
      
      sql/sql_class.h:
        add member table_map_for_update to THD
      sql/sql_parse.cc:
        check filter rules by using table_map_for_update value
      sql/sql_update.cc:
        save the value of table_map_for_update
      a018e98c
  5. 28 Jul, 2008 1 commit
    • He Zhenxing's avatar
      Rmove RESET MASTER from have_log_bin.inc because it can cause some · e948f38e
      He Zhenxing authored
      test to stall for slave_net_timeout and cause some test case fail
      
      mysql-test/include/have_log_bin.inc:
        remove reset master, which can cause some test to stall for slave_net_timeout and cause some test case fail
      mysql-test/r/mysqlbinlog_base64.result:
        update result
      mysql-test/t/mysqlbinlog_base64.test:
        Add reset master to make sure binlog is clean when the test case start
      e948f38e
  6. 25 Jul, 2008 2 commits
  7. 24 Jul, 2008 7 commits
  8. 23 Jul, 2008 1 commit
    • Sven Sandberg's avatar
      BUG#37717: rpl.rpl_stm_until 'stmt' fails sporadically on pushbuild · ef47cbd4
      Sven Sandberg authored
      Problem: After START SLAVE, the Slave_IO_Status column of
      SHOW SLAVE STATUS goes from No to Yes asynchronously. That
      caused sporadic failures on pushbuild in rpl_stm_until since
      the test contains SHOW SLAVE STATUS right after START SLAVE.
      Fix: Wait until Slave_IO_Status becomes Yes after each
      START SLAVE.
      
      mysql-test/include/wait_for_slave_io_to_start.inc:
        Macro that waits until the Slave_IO_Running field of
        SHOW SLAVE STATUS becomes Yes.
      mysql-test/suite/rpl/r/rpl_stm_until.result:
        updated result file
      mysql-test/suite/rpl/t/rpl_stm_until.test:
         - Added wait_for_slave_io_to_start after each start slave.
         - Removed unused initialization of test variable $VERSION
         - Added comments.
      ef47cbd4
  9. 22 Jul, 2008 11 commits
  10. 21 Jul, 2008 4 commits
  11. 24 Jul, 2008 1 commit
  12. 21 Jul, 2008 3 commits
  13. 24 Jul, 2008 1 commit
  14. 21 Jul, 2008 2 commits
  15. 19 Jul, 2008 2 commits