• MySQL Build Team's avatar
    Backport into build-201102032246-5.1.52sp1 · 6497b7aa
    MySQL Build Team authored
    > ------------------------------------------------------------
    > revno: 3545
    > revision-id: holyfoot@mysql.com-20110112130241-50lwmhq562otxw31
    > parent: dmitry.lenev@oracle.com-20110112130830-csanweanbny2ua3n
    > committer: Alexey Botchkov <holyfoot@mysql.com>
    > branch nick: 51mrg
    > timestamp: Wed 2011-01-12 17:02:41 +0400
    > message:
    >   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().
    6497b7aa
gis.result 44.7 KB