diff options
author | holyfoot/hf@mysql.com/hfmain.(none) <> | 2007-10-04 12:01:28 +0500 |
---|---|---|
committer | holyfoot/hf@mysql.com/hfmain.(none) <> | 2007-10-04 12:01:28 +0500 |
commit | 16db036d82eba4bbfced502fe271ce863a354c60 (patch) | |
tree | c81c531f558a4c78b2b3c57231794a9e40937837 /myisam/mi_rnext.c | |
parent | 93d44a183d1cf6e45a6076600ba475977d506109 (diff) | |
download | mariadb-git-16db036d82eba4bbfced502fe271ce863a354c60.tar.gz |
Bug #31155 gis types in union'd select cause crash.
We use get_geometry_type() call to decide the exact type
of a geometry field to be created (POINT, POLYGON etc)
Though this function was only implemented for few items.
In the bug's case we need to call this function for the
Item_sum instance, where it was not implemented, what is
the reason of the crash.
Fixed by implementing virtual Item::get_geometry_type(),
so it can be called for any Item.
Diffstat (limited to 'myisam/mi_rnext.c')
0 files changed, 0 insertions, 0 deletions