1. 09 Aug, 2008 4 commits
  2. 08 Aug, 2008 2 commits
  3. 07 Aug, 2008 1 commit
  4. 06 Aug, 2008 2 commits
  5. 04 Aug, 2008 5 commits
    • Magnus Svensson's avatar
      Merge · 9c5cd571
      Magnus Svensson authored
      9c5cd571
    • Magnus Svensson's avatar
    • Magnus Svensson's avatar
    • Magnus Svensson's avatar
    • Sven Sandberg's avatar
      merged 5.1 main to 5.1-rpl · ee5ae767
      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
      ee5ae767
  6. 01 Aug, 2008 3 commits
  7. 31 Jul, 2008 1 commit
    • He Zhenxing's avatar
      BUG#37051 Replication rules not evaluated correctly · 6cbdbc47
      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
      6cbdbc47
  8. 30 Jul, 2008 1 commit
  9. 28 Jul, 2008 1 commit
    • He Zhenxing's avatar
      Rmove RESET MASTER from have_log_bin.inc because it can cause some · 438ed253
      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
      438ed253
  10. 25 Jul, 2008 2 commits
  11. 24 Jul, 2008 7 commits
  12. 23 Jul, 2008 1 commit
    • Sven Sandberg's avatar
      BUG#37717: rpl.rpl_stm_until 'stmt' fails sporadically on pushbuild · b4c8a498
      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.
      b4c8a498
  13. 22 Jul, 2008 10 commits