• Igor Babaev's avatar
    Fixed LP bug #798621. · e7578ac6
    Igor Babaev authored
    The patch for bugs 717577 and 724942 has missed to make adjustments for the
    call item_equal->add_const(const_item, orig_field_item) in the function
    check_simple_equality that builds multiple equality for a field and a constant.
    As a result, when this field happens to be a view field and the corresponding
    Item_field object F is wrapped in an Item_direct_view_ref object R the object
    F is placed in the multiple equality instead of the object R.
    A substitution of an equal item for F potentially can cause very serious
    problems and in some cases can lead to crashes of the server.
    e7578ac6
view.result 128 KB