• Sergey Petrunya's avatar
    Bug#49198 Wrong result for second call of of procedure with view in subselect. · 11c74662
    Sergey Petrunya authored
    Re-worked fix of Tor Didriksen:
     The problem was that fix_after_pullout() after semijoin conversion 
     wasn't propagated from the view to the underlying table. 
     On subesequent executions of the prepared statement, 
     we would mark the underlying table as 'dependent' and the predicate 
     anlysis would lead to a different (and illegal) execution plan.
    11c74662
subselect_sj.test 20.1 KB