• Sergey Petrunya's avatar
    [SHOW] EXPLAIN UPDATE/DELETE, code re-structuring · 52cfa54c
    Sergey Petrunya authored
    Single table UPDATE/DELETE
    - Correctly print type=SIMPLE vs type=PRIMARY
    - Handle UPDATE/DELETE of mergeable VIEWs: we get the 
      VIEW's select as the first subquery. 
      (MySQL 5.6 doesn't print it because it finds that the
       subquery is not attached to any select)
    52cfa54c
opt_qpf.cc 13 KB