• Igor Babaev's avatar
    Fixed bug mdev-11488. · 441fa005
    Igor Babaev authored
    The patch for bug mdev-10882 tried to fix it by providing an
    implementation of the virtual method build_clone for the class
    Item_cache. It's turned out that it is not easy provide a valid
    implementation for Item_cache::build_clone(). At the same time
    if the condition that can be pushed into a materialized view
    contains a cached item this item can be substituted for a basic
    constant of the same value. In such a way we can avoid building
    proper clones for Item_cache objects when constructing pushdown
    conditions.
    441fa005
item.h 189 KB