• Sinisa@sinisa.nasamreza.org's avatar
    Surgical changes in sql_select and sql_union code in order to · b42ec166
    Sinisa@sinisa.nasamreza.org authored
    accomodate EXPLAIN properly for all possible variant of UNION's
    derived tables etc ...
    
    This also fixes all reported (and unreported) bugs when EXPLAIN is
    run on UNION's.
    
    select_describe() now has a very dirty hack to avoid some problems
    with transactional tables on table unlocking.
    
    Code speedup is possible. For the moment all that was important was
    that all tests are passed.
    b42ec166
sql_select.cc 199 KB