• Sergey Petrunya's avatar
    MDEV-3798: EXPLAIN UPDATE/DELETE · a06170c8
    Sergey Petrunya authored
    - Fix a problem with EXPLAIN multi_table UPDATE: 
      = Do use multi_update object, because multi_update::prepare() does
        various setup, e.g. it disables index-only for the tables to be updated.
      = Protect multi_update::prepare() from being invoked multiple times. 
        If the query has subqueries, they may try to invoke it, for some reason.
    
    a06170c8
sql_update.cc 75.8 KB