• Igor Babaev's avatar
    Fixed LP bug #793436. · db0c3406
    Igor Babaev authored
    When looking for the execution plan of a derived table to be materialized
    JOIN::optimize finds  out that all joined tables of the derived table
    contain not more than one row then the derived table should be maretialized
    at the optimization stage.
    Added a test case for the bug.
    Adjusted results in other test cases.
    db0c3406
derived.test 14.7 KB