• unknown's avatar
    Fix of LP bug#968720. · 1a489190
    unknown authored
    When a view/derived table is converted from merged to materialized the
    items from the used_item lists are substituted for items referring to
    the fields of the result of the materialization. The problem appeared
    with queries employing natural joins. Since the resolution of a natural
    join was performed only once the used_item list formed at the second
    execution of the query lacked the references to the fields that were
    used only in the equality predicates generated for the natural join.
    1a489190