1. 27 Jan, 2009 1 commit
    • Luis Soares's avatar
      BUG#42370: rpl_trigger.test: Test case timeout after 900 seconds · 69caf1b6
      Luis Soares authored
      The test fails with timeout when applying diff on two tables.
      
      In this test case, there can be a situation when the slave is not yet synced
      with the master, thence the changes may not be on the slave at diff time.
      
      This patch addresses this issue by synchronizing master and slave before the
      diff takes place.
      69caf1b6
  2. 26 Jan, 2009 1 commit
  3. 23 Jan, 2009 1 commit
    • Luis Soares's avatar
      merge: 5.1 -> 5.1-rpl · 14d4576b
      Luis Soares authored
      conflicts:
        Text conflict in client/mysqltest.cc
        Text conflict in mysql-test/include/wait_until_connected_again.inc
        Text conflict in mysql-test/lib/mtr_report.pm
        Text conflict in mysql-test/mysql-test-run.pl
        Text conflict in mysql-test/r/events_bugs.result
        Text conflict in mysql-test/r/log_state.result
        Text conflict in mysql-test/r/myisam_data_pointer_size_func.result
        Text conflict in mysql-test/r/mysqlcheck.result
        Text conflict in mysql-test/r/query_cache.result
        Text conflict in mysql-test/r/status.result
        Text conflict in mysql-test/suite/binlog/r/binlog_index.result
        Text conflict in mysql-test/suite/binlog/r/binlog_innodb.result
        Text conflict in mysql-test/suite/rpl/r/rpl_packet.result
        Text conflict in mysql-test/suite/rpl/t/rpl_packet.test
        Text conflict in mysql-test/t/disabled.def
        Text conflict in mysql-test/t/events_bugs.test
        Text conflict in mysql-test/t/log_state.test
        Text conflict in mysql-test/t/myisam_data_pointer_size_func.test
        Text conflict in mysql-test/t/mysqlcheck.test
        Text conflict in mysql-test/t/query_cache.test
        Text conflict in mysql-test/t/rpl_init_slave_func.test
        Text conflict in mysql-test/t/status.test
      14d4576b
  4. 22 Jan, 2009 1 commit
    • Luis Soares's avatar
      BUG#40143 federated.federated_server fails sporadically in pushbuild · 9453c4f0
      Luis Soares authored
      The original goal of the test, as reported on BUG #25721, is to check whether 
      a deadlock happens or not when concurrently CREATING/ALTERING/DROPPING the 
      same server. For that a procedure (p1) is created that runs the exact same 
      CREATE/ALTER/DROP statements for 10K iterations and two different connections 
      (threads - t1 and t2) call p1 concurrently. At the end of the 10K iterations, 
      the test checks if there was errors while running the loop (SELECT e >0).
            
      The problem is that In some cases it may happen that one thread, t1, gets 
      scheduled to execute with just enough time to complete the iteration and 
      never bumps into the other thread t2. Meaning that t1 will never run into an 
      SQL exception. On the other hand, the other thread, t2, may run into t1 and 
      never issue any/part of its own statements because it will throw an SQLEXCEPTION. 
      This is probably the case for failures where only one value differs.
            
      Furthermore, there is a third scenario: both threads are scheduled to run 
      interleaved for each iteration (or even one thread completes all iterations 
      before the other starts). In this case, both will succeed without any error. 
      This is probably the case for the failure that reports two different values.
            
      This patch addresses the failure in pushbuild by removing the error counting 
      and the printout (SELECT > 0) at the end of the test. A timeout should occur 
      if the error that the test is checking surfaces.
      9453c4f0
  5. 21 Jan, 2009 9 commits
  6. 15 Jan, 2009 10 commits
  7. 14 Jan, 2009 7 commits
  8. 13 Jan, 2009 8 commits
    • Chad MILLER's avatar
      Merge fix for bug 38364. · 05fb260b
      Chad MILLER authored
      05fb260b
    • Matthias Leich's avatar
      Merge into actual tree · 33d2ae15
      Matthias Leich authored
      33d2ae15
    • Davi Arnaut's avatar
      Auto-merge from upstream 5.1-bugteam · 49888167
      Davi Arnaut authored
      49888167
    • Matthias Leich's avatar
      Merge of fix for bug · 50ad9d1f
      Matthias Leich authored
         41776 type_date.test may fail if run around midnight.
      into GCA tree.
      50ad9d1f
    • Joerg Bruehe's avatar
      Tool fix, needed for "compile-dist" to succeed on Solaris: · b7250688
      Joerg Bruehe authored
      The default "awk" there cannot handle some of the scripts
      which are used by BDB for configuration.
      
      The fix:
      1) Introduce a variable "AWK" in some of the BDB shell scripts,
      2) search "gawk" and give it precedence over "awk"
         when assigning a value to the "AWK" variable,
         fail if neither is found,
      3) use that variable when calling an "awk" program with one
         of the critical scripts.
      
      The perfect solution would be to use the "awk" program found
      by "configure", but we cannot follow that approach because
      BDB's configuration is handled as a special case before the
      overall "configure" is run. Because of this,
      1) the "configure" result isn't yet available,
      2) "configure" will not handle these BDB files.
      Searching "gawk" is a (not-so-nice) way out.
      
      Note that all this need not be perfectly portable,
      it is needed only when we create a source distribution tarball
      from a develkopment tree.
      b7250688
    • Matthias Leich's avatar
      Merge of fix for bug · f557d377
      Matthias Leich authored
         41111 events_bugs fails sporadically on pushbuild
      into GCA tree
      f557d377
    • Matthias Leich's avatar
      Merge of fix for bug · e0fdeaa2
      Matthias Leich authored
      41932 funcs_1: is_collation_character_set_applicability path too long for tar
      into GCA tree
      e0fdeaa2
    • Matthias Leich's avatar
      Fix for Bug#40377 sporadic pushbuild failure in log_state: result mismatch · d657438e
      Matthias Leich authored
      + add workaround for bug 38124
      + messages into the protocol when sessions are switched
      + replace error numbers by error names
      + reset of system variables to initial values per subtest
      + remove a file created by this test
      + minor improvements in structure and formatting
      d657438e
  9. 12 Jan, 2009 2 commits