1. 09 Apr, 2013 12 commits
  2. 07 Apr, 2013 23 commits
  3. 02 Apr, 2013 1 commit
    • Sergey Petrunya's avatar
      Fix buildbot failure in show_explain.test: · 4849615d
      Sergey Petrunya authored
      mysqltest: At line 477: query 'show explain for $thr2' failed: 1933: Target is not running an EXPLAINable command
      
      After the fix for MDEV-4144, subquery with WHERE pk= (select ...) became a degenerate, constant 
      SELECT.  It is not executed in normal way anymore, so it is not possible to catch it in-execution.
      4849615d
  4. 31 Mar, 2013 1 commit
  5. 29 Mar, 2013 3 commits
    • unknown's avatar
      Fix for MDEV-4144 · 08d123b4
      unknown authored
        
      Analysis:
      The reason for the inefficent plan was that Item_subselect::is_expensive()
      didn't detect the special case when a subquery was optimized, but had no
      join plan because it either has no table, or its tables have been optimized
      away, or the optimizer detected that the result set is empty.
        
      Solution:
      Identify the special cases above in the Item_subselect::is_expensive(),
      and consider such degenerate subqueries inexpensive.
      08d123b4
    • Vladislav Vaintroub's avatar
      784c6827
    • Igor Babaev's avatar
      Merge 5.3->5.5. · e06c2076
      Igor Babaev authored
      e06c2076