• Sergey Petrunya's avatar
    Bug#49198 Wrong result for second call of of procedure with view in subselect. · 0e7c8415
    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.
    0e7c8415
item.cc 211 KB