1. 25 Jan, 2012 2 commits
  2. 24 Jan, 2012 4 commits
  3. 23 Jan, 2012 4 commits
    • Nuno Carvalho's avatar
      BUG#12364404 - UNDETERMINISTIC WAIT LOOP IN WAIT_FOR_NDB_TO_BINLOG.INC · 323bfed3
      Nuno Carvalho authored
      The wait_for_ndb_to_binlog.inc include file used by the blow rpl_tests
      common for rpl and rpl_ndb suite is simply doing a "sleep 5", this is
      not deterministic and wastes lot of test time uneccessarily. The test
      should be rewritten to check if the condition it wait for has been
      reached or not.
      
      For NDB engine all events will be added by NDB injector so tests only 
      can continue after injector is ready, this test waits for proper
      injector thread state.
      323bfed3
    • Manish Kumar's avatar
      BUG#11752315 - 43460: STOP SLAVE UNABLE TO COMPLETE WHEN SLAVE THREAD IS TRYING TO RECONNECT TO · 58a3147c
      Manish Kumar authored
      Problem : The basic problem is the way the thread sleeps in mysql-5.5 and also in mysql-5.1
                when we execute a stop slave on windows platform.
                On windows platform if the stop slave is executed after the master dies, we have 
                this long wait before the stop slave return a value. This is because there is a 
                sleep of the thread. The sleep is uninterruptable in the two above version,
                which was fixed by Davi patch for the BUG#11765860 for mysql-trunk. Backporting 
                his patch for mysql-5.5 fixes the problem. 
      
      Solution : A new pair of mutex and condition variable is introduced to synchronize thread 
                 sleep and finalization. A new mutex is required because the slave threads are 
                 terminated while holding the slave thread locks (run_lock), which can not be 
                 relinquished during termination as this would affect the lock order.
      58a3147c
    • Alexander Barkov's avatar
      Merging Bug#11752408 from mysql-5.1 · d29e871b
      Alexander Barkov authored
      d29e871b
    • Alexander Barkov's avatar
      Bug#11752408 - 43593: DUMP/BACKUP/RESTORE/UPGRADE TOOLS FAILS BECAUSE OF UTF8_GENERAL_CI · e56caa38
      Alexander Barkov authored
      Introducing new collations:
      utf8_general_mysql500_ci and ucs2_general_mysql500_ci,
      to reproduce behaviour of utf8_general_ci and ucs2_general_ci
      from mysql-5.1.23 (and earlier).
      
      The collations are added to simplify upgrade from mysql-5.1.23 and earlier.
      
      Note: The patch does not make new server start over old data automatically.
      Some manual upgrade procedures are assumed.
      
      Paul: please get in touch with me to discuss upgrade procedures
      when documenting this bug.
      
      modified:
        include/m_ctype.h
        mysql-test/r/ctype_utf8.result
        mysql-test/t/ctype_utf8.test
        mysys/charset-def.c
        strings/ctype-ucs2.c
        strings/ctype-utf8.c
      e56caa38
  4. 20 Jan, 2012 4 commits
    • Inaam Rana's avatar
      Bug#13612811 VALGRIND ERROR IN OS_AIO_INIT · 78bb7cc6
      Inaam Rana authored
      Fix valgrind warning introduced by fix for bug 11765450.
      78bb7cc6
    • Mattias Jonsson's avatar
      Bug#13500478 63623: TEST CASE PARTITION_BINLOG_STMT · 72e48049
      Mattias Jonsson authored
      CREATES A FILE IN AN IMPROPER LOCATION.
      
      Fixed by using $MYSQLTEST_VARDIR, as proposed by
      Davi Arnaut.
      
      Thank you Davi!
      72e48049
    • Georgi Kodinov's avatar
      Addendum to the fix for bug #11754014 · 93d123d7
      Georgi Kodinov authored
      - Fixed the checks to properly check for plugin_dir containing a trailing slash or backslash.
      - Fixed a under-configuration in udf_skip_grants that was preventing the test 
        from running even when there was a udf plugin.
      93d123d7
    • Dmitry Shulga's avatar
      Patch for bug#13070308 - VALGRIND failure in XA test. · 716dca03
      Dmitry Shulga authored
      The issue is that xa.test failed sporadically on some platforms.
      The reason for the test failure is a race condition in xa.test.
      The race condition occures between connection that executes statement
      INSERT INTO t2 SELECT FROM t1 and other connection that tries to run
      statements DELETE FROM t1 and COMMIT. If COMMIT statement had been executed
      before the statement INSERT INTO t2 SELECT FROM t1 was locked by lock
      on table t1 (as a result of query from table t1) then the INSERT statement
      is executed successfully and a following test for deadlock would failed.
      
      This patch fixes this race condition by moving COMMIT statement after commit
      of distributed transaction from concurrent session.
      716dca03
  5. 19 Jan, 2012 2 commits
  6. 17 Jan, 2012 4 commits
  7. 16 Jan, 2012 10 commits
  8. 12 Jan, 2012 4 commits
  9. 11 Jan, 2012 4 commits
  10. 10 Jan, 2012 2 commits