• Igor Babaev's avatar
    Fixed LP bug #803851. · 99aff33d
    Igor Babaev authored
    The function generate_derived_keys_for_table should set the value of
    the number of keys for the derived table to 0 before it starts 
    generating key definitions for the table. It's important as the
    function can be called twice by the optimizer for a derived table
    if the query contains a subquery to which the IN-EXIST transformation
    is applicable.
    
    Fixed a valgrind complain.
    99aff33d
derived_view.result 30.5 KB