1. 18 Oct, 2010 4 commits
    • Sergey Glukhov's avatar
      5.1-security->5.5-security merge · 3e876844
      Sergey Glukhov authored
      3e876844
    • Sergey Glukhov's avatar
      Bug#56814 Explain + subselect + fulltext crashes server · e6472e8f
      Sergey Glukhov authored
      create_sort_index() function overwrites original JOIN_TAB::type field.
      At re-execution of subquery overwritten JOIN_TAB::type(JT_ALL) is
      used instead of JT_FT. It misleads test_if_skip_sort_order() and
      the function tries to find suitable key for the order that should
      not be allowed for FULLTEXT(JT_FT) table.
      The fix is to restore JOIN_TAB strucures for subselect on re-execution
      for EXPLAIN.
      Additional fix:
      Update TABLE::maybe_null field which
      affects list_contains_unique_index() behaviour as it
      could have the value(maybe_null==TRUE) based on the
      assumption that this join is outer
      (see setup_table_map() func).
      e6472e8f
    • Sergey Glukhov's avatar
      5.1-security->5.5-security merge · c77992cd
      Sergey Glukhov authored
      c77992cd
    • Sergey Glukhov's avatar
      Bug#54484 explain + prepared statement: crash and Got error -1 from storage engine · 9a8f22fa
      Sergey Glukhov authored
      Subquery executes twice, at top level JOIN::optimize and ::execute stages.
      At first execution create_sort_index() function is called and
      FT_SELECT object is created and destroyed. HANDLER::ft_handler is cleaned up
      in the object destructor and at second execution FT_SELECT::get_next() method
      returns error.
      The fix is to reinit HANDLER::ft_handler field before re-execution of subquery.
      9a8f22fa
  2. 17 Oct, 2010 2 commits
  3. 15 Oct, 2010 4 commits
  4. 13 Oct, 2010 1 commit
  5. 12 Oct, 2010 3 commits
  6. 11 Oct, 2010 7 commits
  7. 07 Oct, 2010 2 commits
  8. 06 Oct, 2010 7 commits
  9. 05 Oct, 2010 10 commits