• kostja@bodhi.(none)'s avatar
    A fix for Bug#32007 select udf_function() doesn't return an error if error · 26326ed0
    kostja@bodhi.(none) authored
    during udf initialization. The bug is spotted while working on Bug 12713.
    
    If a user-defined function was used in a SELECT statement, and an
    error would occur during UDF initialization, this error would not terminate
    execution of the SELECT, but rather would be converted to a warning.
    
    The fix is to use a stack buffer to store the message from udf_init instead
    of private my_error() buffer.
    26326ed0
udf.result 12 KB