1. 26 May, 2011 3 commits
  2. 25 May, 2011 1 commit
  3. 23 May, 2011 1 commit
  4. 20 May, 2011 1 commit
    • Michael Widenius's avatar
      Ensure we don't read a MariaDB 5.3 errmsg.sys file or new errmsg.sys file with... · c9a0d733
      Michael Widenius authored
      Ensure we don't read a MariaDB 5.3 errmsg.sys file or new errmsg.sys file with holes for not used error messages
      
      sql/derror.cc:
        Ensure we don't read a MariaDB 5.3 errmsg.sys file with moved error messages or a new errmsg.sys file with holes for not used error messages
        If error message file didn't exist and we have not read one in the past, don't continue.
        Give better error message if the errmsg.sys header has changed.
      c9a0d733
  5. 19 May, 2011 2 commits
  6. 18 May, 2011 2 commits
    • unknown's avatar
      automerge · 4ea53bc2
      unknown authored
      4ea53bc2
    • unknown's avatar
      Fix mysqltest printing of include stack. · e55fb3bb
      unknown authored
      The printing of include stack in the error case in mysqltest omitted the
      bottom of the stack (the line number in original test case file), and instead
      printed the top of the stack twice. Fix to print each element on the stack
      once and only once.
      e55fb3bb
  7. 15 May, 2011 1 commit
    • Vladislav Vaintroub's avatar
      Small CMake fixes : · 19f0d6b2
      Vladislav Vaintroub authored
      - add version info for the client library, dynamic plugins and some utilities
      - do not recompile client library sources 3 times (for mysqlclient , mysqlclient_notls and libmysql)
        One time is sufficient, so get rid of mysqlclient_notls, and link  static client library  to  the shared.
      - remove incremental linking flag
      19f0d6b2
  8. 14 May, 2011 5 commits
  9. 13 May, 2011 3 commits
    • Vladislav Vaintroub's avatar
      Fix PBXT bugs found while testing with Application Verifier : · 218c7665
      Vladislav Vaintroub authored
      LPBUG#782269 : critical sections are initialized twice in   xt_xn_init_db() 
      LPBUG#782431: active lock in memory released by   xt_ind_exit()
      LPBUG#782433 : xt_heap_release() does not release spinlock  hp->h_lock initialized in xt_heap_new().
      LPBUG#782435: xt_exit_row_locks() tries to release unallocated locks
      218c7665
    • Vladislav Vaintroub's avatar
    • Michael Widenius's avatar
      Made test-unit run in parlallel. This was achived by having all aria tests... · 5933619c
      Michael Widenius authored
      Made test-unit run in parlallel. This was achived by having all aria tests that uses temporary files to create the temporary file in an unique tempdirectory.
      aria_chk now returns 1 if one got any warnings during check and 2 if one got errors.
      lp:728919 maria_chk should fail on all detected corruptions
      
      mysql-test/lib/My/SafeProcess.pm:
        Removed ^M lines from the file
      storage/maria/ma_check.c:
        Fixed indentation
      storage/maria/maria_chk.c:
        aria_chk now returns 1 if one got any warnings during check and 2 if one got errors.
      storage/maria/unittest/ma_control_file-t.c:
        Use unique sub directory for test results
      storage/maria/unittest/ma_maria_log_cleanup.c:
        Added help function create_tmpdir()
      storage/maria/unittest/ma_pagecache_consist.c:
        Use unique sub directory for test results
      storage/maria/unittest/ma_pagecache_rwconsist.c:
        Use unique sub directory for test results
      storage/maria/unittest/ma_pagecache_rwconsist2.c:
        Use unique sub directory for test results
      storage/maria/unittest/ma_pagecache_single.c:
        Use unique sub directory for test results
      storage/maria/unittest/ma_test_all-t:
        Use unique sub directory for test results
      storage/maria/unittest/ma_test_loghandler-t.c:
        Use unique sub directory for test results
      storage/maria/unittest/ma_test_loghandler_first_lsn-t.c:
        Use unique sub directory for test results
        remove delete of files that are already deleted by maria_log_remove()
      storage/maria/unittest/ma_test_loghandler_max_lsn-t.c:
        Use unique sub directory for test results
      storage/maria/unittest/ma_test_loghandler_multigroup-t.c:
        Use unique sub directory for test results
      storage/maria/unittest/ma_test_loghandler_multithread-t.c:
        Use unique sub directory for test results
      storage/maria/unittest/ma_test_loghandler_noflush-t.c:
        Use unique sub directory for test results
        remove delete of files that are already deleted by maria_log_remove()
      storage/maria/unittest/ma_test_loghandler_nologs-t.c:
        Use unique sub directory for test results
      storage/maria/unittest/ma_test_loghandler_pagecache-t.c:
        Use unique sub directory for test results
        remove delete of files that are already deleted by maria_log_remove()
      storage/maria/unittest/ma_test_loghandler_purge-t.c:
        Use unique sub directory for test results
      support-files/compiler_warnings.supp:
        Supress some warnings
      unittest/unit.pl:
        Run 4 unittests in parallel
      5933619c
  10. 12 May, 2011 5 commits
  11. 11 May, 2011 1 commit
    • unknown's avatar
      Bugfix: New table creation/renaming block added if old encoded table present. · 520927a7
      unknown authored
      mysql-test/r/create.result:
        test of renaming
      mysql-test/r/upgrade.result:
        Now such behaviour prohibited to avoid problems.
      mysql-test/t/create.test:
        test of renaming
      mysql-test/t/upgrade.test:
        Now such behaviour prohibited to avoid problems.
      sql/mysql_priv.h:
        Function to test table name presence added.
      sql/sql_rename.cc:
        Rename fixed.
      sql/sql_table.cc:
        Function to test table name presence added.
        Create fixed.
      520927a7
  12. 10 May, 2011 3 commits
  13. 09 May, 2011 4 commits
    • unknown's avatar
      Automatic merge Mariadb 5.1->5.2. · e1ceb804
      unknown authored
      e1ceb804
    • unknown's avatar
      Fix buildbot failure in rpl_stop_slave.test. · e2ff2885
      unknown authored
      Problem was setting DEBUG_SYNC twice in a row too fast in the test case; this
      could cause the second setting to override the first before the code had time
      to react to the first, causing the signal to get lost.
      
      Fixed by waiting for the code to receive the first signal before overwriting
      it in the test case.
      e2ff2885
    • Michael Widenius's avatar
      Make event stop code even more robust. · 8882d71f
      Michael Widenius authored
      (Test failed if we added my_sleep(200000) in event_queue::cond_wait() just before pthread_cond_wait();  Not likely scenario but better to get that fixed too)
      8882d71f
    • 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
  14. 08 May, 2011 2 commits
  15. 07 May, 2011 1 commit
  16. 06 May, 2011 1 commit
  17. 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
  18. 04 May, 2011 2 commits