summaryrefslogtreecommitdiff
path: root/sql-common/client.c
diff options
context:
space:
mode:
authorkostja@bodhi.(none) <>2007-11-01 00:31:57 +0300
committerkostja@bodhi.(none) <>2007-11-01 00:31:57 +0300
commit26326ed0b7a630fd2990d560b009895fa1ea818f (patch)
treebcaa91f1539817a06d3c4e08a7e7caf42e152c40 /sql-common/client.c
parent21fffd89cf2c54b3862737240c3176219656e190 (diff)
downloadmariadb-git-26326ed0b7a630fd2990d560b009895fa1ea818f.tar.gz
A fix for Bug#32007 select udf_function() doesn't return an error if error
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.
Diffstat (limited to 'sql-common/client.c')
0 files changed, 0 insertions, 0 deletions