1. 14 Aug, 2008 1 commit
    • He Zhenxing's avatar
      BUG#38290 valgrind warnings in binlog_base64_flag · 4b9db552
      He Zhenxing authored
      The problem was because the event allocated in mysql_client_binlog_statement
      was not freed when an error occured while applying the event.
      
      sql/sql_binlog.cc:
        Delete the event if apply it failed
      4b9db552
  2. 13 Aug, 2008 1 commit
  3. 12 Aug, 2008 1 commit
  4. 06 Aug, 2008 1 commit
  5. 29 Jul, 2008 2 commits
    • Sven Sandberg's avatar
      merge 5.1 main -> 5.1-rpl-testfixes · 8b9b4b28
      Sven Sandberg authored
      all changes automerged without conflicts
      8b9b4b28
    • Sven Sandberg's avatar
      BUG#38068: binlog_stm_binlog fails sporadically in pushbuild · 93336ff0
      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.
      93336ff0
  6. 25 Jul, 2008 1 commit
  7. 24 Jul, 2008 1 commit
  8. 23 Jul, 2008 2 commits
    • Sven Sandberg's avatar
      BUG#38068: binlog_stm_binlog fails sporadically in pushbuild · a73626ad
      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
      a73626ad
    • Sven Sandberg's avatar
      BUG#37493: rpl_trunc_temp.test nondeterministic · 704cafe6
      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.
      704cafe6
  9. 22 Jul, 2008 10 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 4 commits
  16. 18 Jul, 2008 5 commits
    • Andrei Elkin's avatar
      merge · ca806cfd
      Andrei Elkin authored
      ca806cfd
    • Sven Sandberg's avatar
      BUG#38077: rpl_incident At line 22: query 'SELECT * ...' Table 'test.t1' doesn't exist · cf3afac1
      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.
      cf3afac1
    • Georgi Kodinov's avatar
      merge of 38158 to 5.1-bugteam · e456e8e7
      Georgi Kodinov authored
      e456e8e7
    • Andrei Elkin's avatar
      Bug #36818 rpl_server_id1 fails expecting slave has stopped · 439aeaf0
      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.
      439aeaf0
    • Sven Sandberg's avatar
      BUG#38178: rpl_loaddata_map fails sporadically in pushbuild · ce1f3f94
      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'.
      ce1f3f94