• Sergey Petrunya's avatar
    [SHOW] EXPLAIN UPDATE/DELETE, code re-structuring · d634638c
    Sergey Petrunya authored
    - If a subquery is correlated wrt a const table, it will change from
      being a "DEPENDENT SUBQUERY" into "SUBQUERY", at the end of its parent's 
      JOIN::optimize() call.  Handle this, update the subquery's QPF.
    - Make show_explain.test to work
       = "Query plan already deleted" does not happen anymore.
       = Handle special case of queries that don't have top-level selects, like 
         SET x = (SELECT ...)
    
    d634638c
opt_qpf.h 9.16 KB