• unknown's avatar
    Surgical changes in sql_select and sql_union code in order to · 1b2a30a9
    unknown 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.
    
    1b2a30a9
sql_union.cc 7.01 KB