1. 15 Nov, 2009 1 commit
    • He Zhenxing's avatar
      Postfix after merge · 558feaa2
      He Zhenxing authored
      After fix of bug46322, logging to table is turned off, each test
      that need this should turn on it in it's opt file.
      
      Add suppression to unsafe statement warnings for binlog_unsafe.test.
      
      mysql-test/suite/binlog/t/binlog_unsafe-master.opt:
        After fix of bug46322, logging to table is turned off, each test that need this should turn on it in it's opt file.
      mysql-test/suite/binlog/t/binlog_unsafe.test:
        suppress Unsafe statement warnings
      558feaa2
  2. 13 Nov, 2009 2 commits
    • Luis Soares's avatar
      BUG#44188: STOP SLAVE should flush info files and relay logs. · 9220e09f
      Luis Soares authored
            
      Replication info files are not being flushed and synced when the
      command 'STOP SLAVE' is issued. This means that one cannot just
      rely on existing values on those files when the slave has been
      stopped. Having consistent, uncorrupted and up-to-date info files
      when stopping the slave would be most useful, for instance, for
      snapshotting purposes (a procedure that is often used for
      restoring slaves).
            
      This patch addresses this by instrumenting the
      terminate_slave_threads function so that it also flushes and
      syncs the *info files as well as the relay log whenever it gets
      called, ie, on 'STOP SLAVE'.  Although this imposes a performance
      trade-off (specifically when stopping the slave), it should have
      no negative influence on overall replication performance (impact
      is only noticeable on 'STOP SLAVE').
      9220e09f
    • Alfranio Correia's avatar
      Post-fix for WL#2687 WL#5072 BUG#40278 BUG#47175 · 4677f4de
      Alfranio Correia authored
      Create a set of test cases to see if some DDL statements implicitly commit
      a transaction on the NDB and are written directly to the binary log without
      going through either the Statement- or Transactional-Cache.
      4677f4de
  3. 11 Nov, 2009 2 commits
    • Alfranio Correia's avatar
      Post-fix after mysql-5.1-rep+2 --> mysql-5.1-rep+3. · 518f7932
      Alfranio Correia authored
      mysql-test/extra/binlog_tests/binlog_failure_mixing_engines.test:
        Merged the test case into rpl_mixing_engines.test.
      mysql-test/extra/rpl_tests/rpl_mixing_engines.inc:
        Incorporated some tests from binlog_failure_mixing_engines.test and
        fixed after BUG#47323.
      mysql-test/extra/rpl_tests/rpl_mixing_engines.test:
        Incorporated some tests from binlog_failure_mixing_engines.test and
        fixed after BUG#47323.
      mysql-test/suite/binlog/r/binlog_mixed_failure_mixing_engines.result:
        Merged the test case into rpl_mixing_engines.test.
      mysql-test/suite/binlog/r/binlog_row_failure_mixing_engines.result:
        Merged the test case into rpl_mixing_engines.test.
      mysql-test/suite/binlog/t/binlog_mixed_failure_mixing_engines.test:
        Merged the test case into rpl_mixing_engines.test.
      mysql-test/suite/binlog/t/binlog_row_failure_mixing_engines.test:
        Merged the test case into rpl_mixing_engines.test.
      mysql-test/suite/rpl/r/rpl_mixed_mixing_engines.result:
        Incorporated some tests from binlog_failure_mixing_engines.test and
        changed after BUG#47323.
      mysql-test/suite/rpl/r/rpl_row_mixing_engines.result:
        Incorporated some tests from binlog_failure_mixing_engines.test and
        changed after BUG#47323.
      mysql-test/suite/rpl/r/rpl_stm_mixing_engines.result:
        Incorporated some tests from binlog_failure_mixing_engines.test and
        changed after BUG#47323.
      518f7932
    • Alfranio Correia's avatar
      Post-fix for merge mysql-5.1-rep+2 --> mysql-5.1-rep+3 · 6ed2c824
      Alfranio Correia authored
      mysql-test/extra/rpl_tests/rpl_implicit_commit_binlog.test:
        Re-enabled some parts of the test after BUG#46572
      mysql-test/suite/rpl/r/rpl_mixed_implicit_commit_binlog.result:
        Re-enabled some parts of the test after BUG#46572
      mysql-test/suite/rpl/r/rpl_mysql_upgrade.result:
        Suppressed warning messages due to unsafe statements.
      mysql-test/suite/rpl/r/rpl_row_implicit_commit_binlog.result:
        Re-enabled some parts of the test after BUG#46572
      mysql-test/suite/rpl/r/rpl_stm_implicit_commit_binlog.result:
        Re-enabled some parts of the test after BUG#46572
      mysql-test/suite/rpl/t/rpl_mixed_implicit_commit_binlog.test:
        Re-enabled some parts of the test after BUG#46572
      mysql-test/suite/rpl/t/rpl_mysql_upgrade.test:
        Suppressed warning messages due to unsafe statements.
      mysql-test/suite/rpl/t/rpl_row_implicit_commit_binlog.test:
        Re-enabled some parts of the test after BUG#46572
      mysql-test/suite/rpl/t/rpl_stm_implicit_commit_binlog.test:
        Re-enabled some parts of the test after BUG#46572
      6ed2c824
  4. 10 Nov, 2009 1 commit
  5. 06 Nov, 2009 1 commit
  6. 03 Nov, 2009 1 commit
    • Alfranio Correia's avatar
      WL#2687 WL#5072 BUG#40278 BUG#47175 · 19c380aa
      Alfranio Correia authored
      Non-transactional updates that take place inside a transaction present problems
      for logging because they are visible to other clients before the transaction
      is committed, and they are not rolled back even if the transaction is rolled
      back. It is not always possible to log correctly in statement format when both
      transactional and non-transactional tables are used in the same transaction.
      
      In the current patch, we ensure that such scenario is completely safe under the
      ROW and MIXED modes.
      19c380aa
  7. 29 Oct, 2009 2 commits
  8. 27 Oct, 2009 1 commit
  9. 23 Oct, 2009 5 commits
  10. 20 Oct, 2009 2 commits
    • Bjorn Munch's avatar
      merge 48149 · 0777ef56
      Bjorn Munch authored
      0777ef56
    • unknown's avatar
      Bug#13963 SHOW SLAVE HOSTS is unreliable · 36fd029e
      unknown authored
            
            Before the patch, slaves only appear in the output of SHOW SLAVE HOSTS 
            when report-host option is set. If an expected slave does not appear in  
            the list, nobody knows whether the slave does not connect or has started
            without the "report-host" option. The output also contains a strange  
            field "Rpl_recovery_rank" which has never been implemented and the manual 
            of MySQL5.4 declares that the field has been removed from MySQL5.4.
                                              
            This patch is done with these,
            According to the manual of MySQL5.4, "Rpl_recovery_rank" is removed.
            Slaves will register themselves to master no matter if report_host option is set
            or not. When slaves are registering themselves, their Server_ids, report_host
            and other information are together sent to master. Sever_ids are never null 
            and is unique in one replication group. Slaves always can be identified with  
            different Server_ids no matter if report_host exists.
      36fd029e
  11. 19 Oct, 2009 5 commits
    • Bjorn Munch's avatar
      Bug #48149 MTR should automatically skip SSL tests if SSL not supported · e6bc01d1
      Bjorn Munch authored
      Knowledge of no SSL support is not used
      Skip tests the same way e.g. innodb tests are
      Does not refer to have_ssl_communication.inc, 
           will add this when merging to 6.0-codebase
      e6bc01d1
    • Bjorn Munch's avatar
      merge 48130 and 48133 · 2f36bc16
      Bjorn Munch authored
      2f36bc16
    • Sven Sandberg's avatar
      BUG#39934: Slave stops for engine that only support row-based logging · 631139c1
      Sven Sandberg authored
      Post-push fix.
      Problem: In a previous patch for BUG#39934, rpl_idempotency.test
      was split in two tests. The mtr suppressions in the original test
      did not make it into the new test. This caused pushbuild warnings.
      Fix: copy the mtr suppressions from rpl_idempotency.test to
      rpl_row_idempotency.test
      
      
      mysql-test/suite/rpl/r/rpl_row_idempotency.result:
        updated result file
      mysql-test/suite/rpl/t/rpl_row_idempotency.test:
        copied the warnings from rpl_idempotency.test to
        rpl_row_idempotency.test
      631139c1
    • Sven Sandberg's avatar
      BUG#39934 - post-push fixes. · be75d8ad
      Sven Sandberg authored
      The rpl_ndb/combinations file was introduced as part of the fix.
      The file contained an error: ndb suites shall not run with
      binlog_format=mixed. Removed that combination.
      
      mysql-test/suite/rpl_ndb/combinations:
        removed binlog_format=statement combination since ndb does not
        support statement format.
      mysql-test/suite/rpl_ndb/t/rpl_ndb_mixed_tables.test:
        Added have_binlog_format_mixed_or_row.inc.
      be75d8ad
    • Sven Sandberg's avatar
      BUG#39934: Slave stops for engine that only support row-based logging · d7787383
      Sven Sandberg authored
      post-push fixes. the test case tried to use a udf that had not been loaded. removed the udf.
      
      
      mysql-test/suite/rpl_ndb/r/rpl_ndb_binlog_format_errors.result:
        updated result file
      mysql-test/suite/rpl_ndb/t/rpl_ndb_binlog_format_errors.test:
        myfunc_int() was supposed to be a udf. but the udf was not loaded.
        since the test already uses another plugin, and we don't support
        multiple plugin directories, i removed the udf function. it was not
        strictly needed.
      d7787383
  12. 18 Oct, 2009 3 commits
  13. 17 Oct, 2009 1 commit
  14. 16 Oct, 2009 10 commits
  15. 15 Oct, 2009 3 commits