summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-10-21 11:43:45 +0300
committerGeorgi Kodinov <joro@sun.com>2009-10-21 11:43:45 +0300
commitdd02c4a12b1c210d65dbf940e0d5b59aa65b6326 (patch)
tree4736457765d2b9e443a04853d31af50aa2f2d633 /scripts
parent24885e815f3309229334884d2d2b9d065ede3807 (diff)
downloadmariadb-git-dd02c4a12b1c210d65dbf940e0d5b59aa65b6326.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