1. 13 Aug, 2008 1 commit
  2. 12 Aug, 2008 1 commit
  3. 06 Aug, 2008 1 commit
  4. 29 Jul, 2008 2 commits
    • Sven Sandberg's avatar
      merge 5.1 main -> 5.1-rpl-testfixes · 5101f124
      Sven Sandberg authored
      all changes automerged without conflicts
      5101f124
    • Sven Sandberg's avatar
      BUG#38068: binlog_stm_binlog fails sporadically in pushbuild · c6bf7ead
      Sven Sandberg authored
      Post-push fix: updated some result files that were affected
      by the previous fix to this bug.
      
      
      mysql-test/suite/binlog/r/binlog_killed_simulate.result:
        Updated result file.
      mysql-test/suite/binlog/r/binlog_row_binlog.result:
        Updated result file.
      mysql-test/suite/binlog/r/binlog_row_mix_innodb_myisam.result:
        Updated result file.
      mysql-test/suite/binlog/r/binlog_statement_insert_delayed.result:
        Updated result file.
      mysql-test/suite/binlog/r/binlog_stm_mix_innodb_myisam.result:
        Updated result file.
      mysql-test/suite/rpl/r/rpl_stm_log.result:
        Updated result file.
      c6bf7ead
  5. 25 Jul, 2008 1 commit
  6. 24 Jul, 2008 1 commit
  7. 23 Jul, 2008 2 commits
    • Sven Sandberg's avatar
      BUG#38068: binlog_stm_binlog fails sporadically in pushbuild · 159505f8
      Sven Sandberg authored
      Problem: binlog_stm_binlog runs INSERT DELAYED queries, and
      then prints the contents of the binlog. Before checking the
      contents of the binlog, the test waits until the rows have
      appeared in the table. However, this is not enough, since
      INSERT DELAYED does not write rows to the binlog at the same
      time as it writes them to the table. So there is a race.
      Fix: Add a FLUSH TABLES before SHOW BINLOG EVENTS. That
      waits until the insert_delayed thread is done.
      
      
      mysql-test/extra/binlog_tests/binlog_insert_delayed.test:
        - Added FLUSH TABLES, so that SHOW BINLOG EVENTS becomes
        deterministic.
        - Added comments.
        - Removed unnecessary 'set @@session.auto_increment_increment'
        statements.
        - Removed unnecessary check that the number of rows inserted
        to the table is 11.
      mysql-test/suite/binlog/r/binlog_stm_binlog.result:
        updated result file
      159505f8
    • Sven Sandberg's avatar
      BUG#37493: rpl_trunc_temp.test nondeterministic · 7978905c
      Sven Sandberg authored
      Problem: the test waits for a 'DROP TEMPORARY TABLE' event to
      appear in the master's binlog, then checks on the slave whether
      the number of temporary tables has decreased. The slave does
      not sync, causing a race.
      Fix: check for the 'DROP TEMPORARY TABLE' event on slave
      instead of on master.
      
      
      mysql-test/suite/rpl/t/rpl_trunc_temp.test:
        - Fixed BUG#37493 by waiting for the event on the slave
        instead of on the master.
        - Added comments.
      7978905c
  8. 22 Jul, 2008 10 commits
  9. 21 Jul, 2008 4 commits
  10. 24 Jul, 2008 1 commit
  11. 21 Jul, 2008 3 commits
  12. 24 Jul, 2008 1 commit
  13. 21 Jul, 2008 2 commits
  14. 19 Jul, 2008 4 commits
  15. 18 Jul, 2008 6 commits
    • Andrei Elkin's avatar
      merge · 5ec6659e
      Andrei Elkin authored
      5ec6659e
    • Sven Sandberg's avatar
      BUG#38077: rpl_incident At line 22: query 'SELECT * ...' Table 'test.t1' doesn't exist · b51c2eb3
      Sven Sandberg authored
      This is not a fix to the bug. It only adds debug info, so
      that we can analyze the bug better next time it happens.
      Please revert the patch after the bug is fixed.
      
      
      mysql-test/suite/rpl/t/rpl_incident.test:
        Added debug info. This will only be printed if the
        test fails.
      b51c2eb3
    • Georgi Kodinov's avatar
      merge of 38158 to 5.1-bugteam · 5f5a3cf1
      Georgi Kodinov authored
      5f5a3cf1
    • Andrei Elkin's avatar
      Bug #36818 rpl_server_id1 fails expecting slave has stopped · 7d1bc0a4
      Andrei Elkin authored
            
      the reason for the failure is that io thread passes through a sequence of state
      changes before it eventually got stuck at the expect running state as NO.
      It's unreasonble to wait for the running status while the whole idea of the test is
      to get to the IO thread error.
      
      Fixed with changing the waiting condition.
      
      mysql-test/suite/rpl/r/rpl_server_id1.result:
        results changed
      mysql-test/suite/rpl/t/disabled.def:
        re-enabling rpl_server_id1
      mysql-test/suite/rpl/t/rpl_server_id1.test:
        deploying the exact waiting condition i.e to wait for the slave io error.
      7d1bc0a4
    • Sven Sandberg's avatar
      BUG#38178: rpl_loaddata_map fails sporadically in pushbuild · 620c4878
      Sven Sandberg authored
      Problem: master binlog has 'create table t1'. Master binlog
      was removed before slave could replicate it. In test's cleanup
      code, master did 'drop table t1', which caused slave sql
      thread to stop with an error since slave sql thread did not
      know about t1.
      Fix: t1 is just an auxiliary construction, only needed on
      master. Hence, we turn off binlogging before t1 is created,
      drop t1 as soon as we don't need it anymore, and then turn
      on binlogging again.
      
      
      mysql-test/include/show_binlog_events.inc:
        Filter out directories and block_len from
        LOAD DATA INFILE events.
      mysql-test/suite/rpl/r/rpl_loaddata_map.result:
        updated result file
      mysql-test/suite/rpl/t/rpl_loaddata_map.test:
        Turn off binlogging while t1 is used, drop t1 as soon
        as we don't need it anymore, and turn on binlogging again.
        Also added some comments and replaced 'show binlog events'
        by 'source include/show_binlog_events.inc'.
      620c4878
    • Georgi Kodinov's avatar
      Bug 38158: mysql client regression, can't read dump files · 88d66418
      Georgi Kodinov authored
      - Revert the fix for bug 33812
      - fixed a win32 warning
      
      client/mysql.cc:
        revert the fix for bug 33812
      mysql-test/r/mysql.result:
        revert the fix for bug 33812
      mysql-test/t/mysql_delimiter.sql:
        revert the fix for bug 33812
      mysys/default.c:
        fixed a win32 warning
      88d66418