• Knut Anders Hatlen's avatar
    Bug#21682356: STOP INJECTING DATA ITEMS IN AN ERROR MESSAGE · 95825fa2
    Knut Anders Hatlen authored
                  GENERATED BY THE EXP() FUNCTION
    
    When generating the error message for numeric overflow, pass a flag to
    Item::print() that prevents it from expanding constant expressions and
    parameters to the values they evaluate to.
    
    For consistency, also pass the flag to Item::print() when
    Item_func_spatial_collection::fix_length_and_dec() generates an error
    message. It doesn't make any difference at the moment, since constant
    expressions haven't been evaluated yet when this function is called.
    95825fa2
sql_select.cc 581 KB