• Sergei Petrunia's avatar
    MDEV-406: ANALYZE $stmt: fix order_by.test · 1dd5d31c
    Sergei Petrunia authored
    In JOIN_TAB::update_explain_data(), take into account that
    - the table that may have pre-sorted is the first non-const table
    - Tables that are eliminated by table elimination are marked
      as const tables, but are not present in the Explain data structures
    1dd5d31c
sql_select.cc 810 KB