diff options
author | Alexey Botchkov <holyfoot@mysql.com> | 2011-01-12 17:02:41 +0400 |
---|---|---|
committer | Alexey Botchkov <holyfoot@mysql.com> | 2011-01-12 17:02:41 +0400 |
commit | 33c78e328f4d8238b7b53c246e28bb44a97ee3c0 (patch) | |
tree | 17d980b58a1a1957b0b01acc39d03c44deb33034 /sql/sql_show.h | |
parent | 599457ae2c99944dc9c3a0de6a6792a437abfe7e (diff) | |
download | mariadb-git-33c78e328f4d8238b7b53c246e28bb44a97ee3c0.tar.gz |
Bug #57321 crashes and valgrind errors from spatial types
Item_func_spatial_collection::fix_length_and_dec didn't call parent's method, so
the maybe_null was set to '0' after it. But in this case the result was
just NULL, that caused wrong behaviour.
per-file comments:
mysql-test/r/gis.result
Bug #57321 crashes and valgrind errors from spatial types
test result updated.
mysql-test/t/gis.test
Bug #57321 crashes and valgrind errors from spatial types
test case added.
sql/item_geofunc.h
Bug #57321 crashes and valgrind errors from spatial types
Item_func_geometry::fix_length_and_dec() called in
Item_func_spatial_collection::fix_length_and_dec().
Diffstat (limited to 'sql/sql_show.h')
0 files changed, 0 insertions, 0 deletions