1. 12 May, 2011 2 commits
  2. 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
  3. 09 May, 2011 1 commit
    • 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
  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 8 commits
  7. 03 May, 2011 6 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 3 commits
  13. 25 Apr, 2011 1 commit
  14. 23 Apr, 2011 1 commit
  15. 22 Apr, 2011 1 commit
    • Sergey Glukhov's avatar
      Bug#11756928 48916: SERVER INCORRECTLY PROCESSING HAVING CLAUSES WITH AN ORDER BY CLAUSE · a5e8d902
      Sergey Glukhov authored
      Before sorting HAVING condition is split into two parts,
      first part is a table related condition and the rest of is
      HAVING part. Extraction of HAVING part does not take into account
      the fact that some of conditions might be non-const but
      have 'used_tables' == 0 (independent subqueries)
      and because of that these conditions are cut off by
      make_cond_for_table() function.
      The fix is to use (table_map) 0 instead of used_tables in
      third argument for make_cond_for_table() function.
      It allows to extract elements which belong to sorted
      table and in addition elements which are independend
      subqueries.
      
      
      mysql-test/r/having.result:
        test case
      mysql-test/t/having.test:
        test case
      sql/sql_select.cc:
        The fix is to use (table_map) 0 instead of used_tables in
        third argument for make_cond_for_table() function.
        It allows to extract elements which belong to sorted
        table and in addition elements which are independend
        subqueries.
      a5e8d902
  16. 20 Apr, 2011 4 commits
    • Mattias Jonsson's avatar
      merge · b3d86f12
      Mattias Jonsson authored
      b3d86f12
    • Mattias Jonsson's avatar
      merge · 046b5745
      Mattias Jonsson authored
      046b5745
    • Mattias Jonsson's avatar
      Bug#11766249 bug#59316: PARTITIONING AND INDEX_MERGE MEMORY LEAK · bd92ea43
      Mattias Jonsson authored
      Update for previous patch according to reviewers comments.
      
      Updated the constructors for ha_partitions to use the common
      init_handler_variables functions
      
      Added use of defines for size and offset to get better readability for the code that reads
      and writes the .par file. Also refactored the get_from_handler_file function.
      bd92ea43
    • Jon Olav Hauglid's avatar
      BUG#12377872 ASSERTION FAILED: !_ENTERED WHEN GETHOSTBYADDR_R · f3b024ca
      Jon Olav Hauglid authored
                   FAILS ON SOLARIS
      
      This assertion was triggered if gethostbyaddr_r cannot do a
      reverse lookup on an ip address. The reason was a missing
      DBUG_RETURN macro. The problem affected only debug versions of
      the server.
      
      This patch fixes the problem by replacing return with DBUG_RETURN.
      No test case added.
      f3b024ca