• igor@olga.mysql.com's avatar
    Fixed bug #27545. · c04d3727
    igor@olga.mysql.com authored
    Both arguments of the function NAME_CONST must be constant expressions.
    This constraint is checked in the Item_name_const::fix_fields method. 
    Yet if the argument of the function was not a constant expression no
    error message was reported. As a result the client hanged waiting for a
    response.
    Now the function Item_name_const::fix_fields reports an error message
    when any of the additional context conditions imposed on the function
    NAME_CONST is not satisfied. 
    c04d3727
func_misc.result 6.25 KB