• unknown's avatar
    LP BUG#813418 fix. · 8820f80a
    unknown authored
    The problem was that optimization code did not take into account later feature when instad of NOT before BETWEEN it has negated flag into the Item_func_between inherited from Item_func_neg_opt. So optimizer tried process NOT BETWEEN as BETWEEN.
    
    The patch just switches off the optimisation for NOT BETWEEN as it was before when NOT function was really used.
    8820f80a
func_group.result 54.2 KB