diff options
author | kostja@bodhi.(none) <> | 2007-11-01 00:31:57 +0300 |
---|---|---|
committer | kostja@bodhi.(none) <> | 2007-11-01 00:31:57 +0300 |
commit | 26326ed0b7a630fd2990d560b009895fa1ea818f (patch) | |
tree | bcaa91f1539817a06d3c4e08a7e7caf42e152c40 /sql-common/client.c | |
parent | 21fffd89cf2c54b3862737240c3176219656e190 (diff) | |
download | mariadb-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