diff options
author | Georgi Kodinov <joro@sun.com> | 2009-10-21 11:43:45 +0300 |
---|---|---|
committer | Georgi Kodinov <joro@sun.com> | 2009-10-21 11:43:45 +0300 |
commit | 19ffe2308542735bc37e070bbdf266281ea8156a (patch) | |
tree | 4736457765d2b9e443a04853d31af50aa2f2d633 /scripts | |
parent | b7ce2a01bc7cdf7984cbd12848f7f61c2f582a89 (diff) | |
download | mariadb-git-19ffe2308542735bc37e070bbdf266281ea8156a.tar.gz |
Bug #47780: crash when comparing GIS items from subquery
If the first argument to GeomFromWKB function is a geometry
field then the function just returns its value.
However in doing so it's not preserving first argument's
null_value flag and this causes unexpected null value to
be returned to the calling function.
Fixed by updating the null_value of the GeomFromWKB function
in such cases (and all other cases that return a NULL e.g.
because of not enough memory for the return buffer).
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions