• Igor Babaev's avatar
    Fixed LP bug #878199. · e7a7e2a0
    Igor Babaev authored
    The function JOIN::drop_unused_derived_keys could erroneously set
    the value of REF::key to 0 for a joined materialized view/derived table
    in the case when no REF access to the table was used by the query
    execution plan. This could cause a crash of the server.
    e7a7e2a0
derived_view.test 27.9 KB