1. 15 May, 2009 8 commits
    • Georgi Kodinov's avatar
      backported a change from 5.1 · 3d94a6ba
      Georgi Kodinov authored
      3d94a6ba
    • Georgi Kodinov's avatar
      merged · 61eecfff
      Georgi Kodinov authored
      61eecfff
    • Georgi Kodinov's avatar
      fixed a win32 compile error · 182bc306
      Georgi Kodinov authored
      182bc306
    • Philip Stoev's avatar
      Bug #32651 grant_cache.test fails · 847fc72f
      Philip Stoev authored
        It turns out that this test case no longer fails with the discrepancy
        in numbers that was the original cause for disabling this test (and showed
        potential genuine issues with the query cache). Therefore
        this test is being enabled after some minor adjustment of error codes and
        messages.
      847fc72f
    • Georgi Kodinov's avatar
      merged 5.0-main -> 5.0-bugteam · 803ce846
      Georgi Kodinov authored
      803ce846
    • Alexey Kopytov's avatar
      Automerge. · 9a0e01d7
      Alexey Kopytov authored
      9a0e01d7
    • Alexey Kopytov's avatar
      Bug #44792: valgrind warning when casting from time to time · 12f18228
      Alexey Kopytov authored
       
      Field_time::get_time() did not initialize some members of 
      MYSQL_TIME which led to valgrind warnings when those members 
      were accessed in Protocol_simple::store_time(). 
       
      It is unlikely that this bug could result in wrong data 
      being returned, since Field_time::get_time() initializes the 
      'day' member of MYSQL_TIME to 0, so the value of 'day' 
      in Protocol_simple::store_time() would be 0 regardless 
      of the values for 'year' and 'month'.
      12f18228
    • Sergey Glukhov's avatar
      Bug#43612 crash with explain extended, union, order by · f024bde4
      Sergey Glukhov authored
      In UNION if we use last SELECT without braces and this
      SELECT have ORDER BY clause, such clause belongs to
      global UNION. It is parsed like last SELECT
      part and used further as 'unit->global_parameters->order_list' value.
      During DESCRIBE EXTENDED we call select_lex->print_order() for
      last SELECT where order fields refer to tmp table 
      which already freed. It leads to crash.
      The fix is clean up global_parameters->order_list
      instead of fake_select_lex->order_list.
      f024bde4
  2. 14 May, 2009 2 commits
    • Philip Stoev's avatar
      Bugs #44871 and #43894: · 1ae3d2ac
      Philip Stoev authored
        UNIX sockets need to be on a path shorter than 70 characters on some older platofrms.
        MTRv1 tries to fix this by moving the socket to the $TMPDIR, however this causes
        issues with certain tests on Windows.
      
        Fixed by not applying any hacks on Windows - Windows does not need them.
      1ae3d2ac
    • Philip Stoev's avatar
      Bugs #44871 and #43894: · d5fd4d42
      Philip Stoev authored
      UNIX sockets need to be on a path shorter than 70 characters on some older platofrms.
      MTRv1 tries to fix this by moving the socket to the $TMPDIR, however this causes
      issues with certain tests on Windows.
      
      Fixed by not applying any hacks on Windows - Windows does not need them.
      d5fd4d42
  3. 13 May, 2009 1 commit
  4. 12 May, 2009 3 commits
  5. 11 May, 2009 2 commits
  6. 10 May, 2009 1 commit
    • Ramil Kalimullin's avatar
      Fix for bug#42009: SELECT into variable gives different results to direct SELECT · 0781a302
      Ramil Kalimullin authored
      Problem: storing "SELECT ... INTO @var ..." results in variables we used val_xxx()
      methods which returned results of the current row. 
      So, in some cases (e.g. SELECT DISTINCT, GROUP BY or HAVING) we got data
      from the first row of a new group (where we evaluate a clause) instead of
      data from the last row of the previous group.
      
      Fix: use val_xxx_result() counterparts to get proper results.
      0781a302
  7. 08 May, 2009 4 commits
  8. 07 May, 2009 6 commits
  9. 06 May, 2009 3 commits
  10. 05 May, 2009 3 commits
  11. 01 May, 2009 3 commits
  12. 30 Apr, 2009 4 commits
    • Gleb Shchepa's avatar
      Bug #37362: Crash in do_field_eq · 480fac61
      Gleb Shchepa authored
      EXPLAIN EXTENDED of nested query containing a error:
      
         1054 Unknown column '...' in 'field list'
      
      may cause a server crash.
      
      
      Parse error like described above forces a call to
      JOIN::destroy() on malformed subquery.
      That JOIN::destroy function closes and frees temporary
      tables. However, temporary fields of these tables
      may be listed in st_select_lex::group_list of outer
      query, and that st_select_lex may not cleanup them
      properly. So, after the JOIN::destroy call that
      st_select_lex::group_list may have Item_field
      objects with dangling pointers to freed temporary
      table Field objects. That caused a crash.
      480fac61
    • Andrei Elkin's avatar
      merging from 5.0-bt rep to a local branch · 2ecc941b
      Andrei Elkin authored
      2ecc941b
    • Georgi Kodinov's avatar
      merged 5.0-main to 5.0-bugteam · 4ad430f8
      Georgi Kodinov authored
      4ad430f8
    • Andrei Elkin's avatar
      merging from 5.0-bt rep to a local branch · 6b39bb5e
      Andrei Elkin authored
      6b39bb5e