1. 09 May, 2011 1 commit
    • Michael Widenius's avatar
      mysqltest: Write command to be executed to the log BEFORE executing the command. · 4cb68c0e
      Michael Widenius authored
      Fixed race condition in event that could cause hang when stopping event scheduler with SET GLOBAL event_scheduler=OFF 
      
      client/mysqltest.cc:
        Write command to be executed to the log BEFORE executing the command.
        This makes it easier to debug crashes as the log will contain the fatal command.
      mysql-test/r/mysqltest.result:
        Updated results (we now get more things logged)
      sql/event_queue.cc:
        Fixed race condition in event that could cause hang when stopping event scheduler with SET GLOBAL event_scheduler=OFF.
        The reason was that a kill signal could be sent between last check of thd->killed and before thd->enter_cond() in which case the signal
        would be missed and we would be stuck in Event_scheduler::stop() forever.
      4cb68c0e
  2. 08 May, 2011 2 commits
  3. 07 May, 2011 1 commit
  4. 06 May, 2011 1 commit
  5. 05 May, 2011 2 commits
    • Michael Widenius's avatar
      Speed up pbxt.range test a bit · 5cf6ccd2
      Michael Widenius authored
      5cf6ccd2
    • Michael Widenius's avatar
      Improved 'make test-unit' time slightly · d5caa001
      Michael Widenius authored
      
      storage/maria/unittest/ma_test_loghandler-t.c:
        Don't sync during test
      storage/maria/unittest/ma_test_loghandler_multigroup-t.c:
        Don't sync during test
      storage/maria/unittest/ma_test_loghandler_multithread-t.c:
        Don't sync during test
      unittest/mysys/bitmap-t.c:
        Don't test all bit combinations (not needed)
      unittest/mysys/thr_template.c:
        Remove sleep as old bug should be fixed nowadays
      unittest/mysys/waiting_threads-t.c:
        Only run test with --big
      unittest/mytap/tap.c:
        Print total time at end of test.
      unittest/unit.pl:
        Use TAP::Harness instead of Test::Harness (recommended according to manual)
        Add times to tests.
      d5caa001
  6. 04 May, 2011 15 commits
  7. 03 May, 2011 8 commits
  8. 02 May, 2011 4 commits
  9. 29 Apr, 2011 2 commits
  10. 28 Apr, 2011 1 commit
  11. 27 Apr, 2011 2 commits
    • Nirbhay Choubey's avatar
      BUG#12329909 - BUILDING MYSQL WITH DEBUG SUPPORT · a1f7ceb2
      Nirbhay Choubey authored
                     FAILS WITH LIBEDIT
      
      Fixed by checking the return value of the write()
      function calls and handling the open files and fd
      appropriately.
      
      
      cmd-line-utils/libedit/vi.c:
        BUG#12329909 - BUILDING MYSQL WITH DEBUG SUPPORT
                       FAILS WITH LIBEDIT
        
        Added a check on the return value of the write()
        function calls.
      a1f7ceb2
    • Sergey Glukhov's avatar
      Bug#11889186 60503: CRASH IN MAKE_DATE_TIME WITH DATE_FORMAT / STR_TO_DATE COMBINATION · a60c39a2
      Sergey Glukhov authored
      calc_daynr() function returns negative result
      if malformed date with zero year and month is used.
      Attempt to calculate week day on negative value
      leads to crash. The fix is return NULL for
      'W', 'a', 'w' specifiers if zero year and month is used.
      Additional fix for calc_daynr():
      --added assertion that result can not be negative
      --return 0 if zero year and month is used
      
      
      mysql-test/r/func_time.result:
        test case
      mysql-test/t/func_time.test:
        test case
      sql-common/my_time.c:
        --added assertion that result can not be negative
        --return 0 if zero year and month is used
      sql/item_timefunc.cc:
        eturn NULL for 'W', 'a', 'w' specifiers
        if zero year and month is used.
      a60c39a2
  12. 26 Apr, 2011 1 commit