• Alexey Botchkov's avatar
    MDEV-4521 MBRContains, MBRWithin no longer work with geometries of different type. · c2ee0218
    Alexey Botchkov authored
            get_mm_leaf function can store all sorts of spatial features in
            one type of field it receives from an Item_field.
            So we just allow that by setting the type of this field to GEOMETRY.
    
    per-file comments:
      mysql-test/r/gis-rtree.result
            result updated
      mysql-test/t/gis-rtree.test
            test case added.
      sql/opt_range.cc
            set geom_type=GEOMETRY if we got Field_geom.
    c2ee0218
gis-rtree.test 44.4 KB