• Igor Babaev's avatar
    Fixed LP bug #874006. · 3f9e14f9
    Igor Babaev authored
    This bug manifested itself with queries containing non-correlated
    IN subqueries over materialized views/derived tables.  
    The bug happened because the code of the function generate_derived_keys did
    not take into account that the function could be called twice when the
    optimizer was deciding whether in-exist transformation should be applied.
    3f9e14f9
derived_view.test 26.7 KB