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