• Alexey Botchkov's avatar
    MDEV-294 SELECT WHERE ST_CONTAINS doesn't return all the records where ST_CONTAINS() is 1. · 528e8cc6
    Alexey Botchkov authored
            Optimizator fails using index with ST_Within(g, constant_poly).
    
    per-file comments:
      mysql-test/r/gis-rt-precise.result
            test result fixed.
      mysql-test/r/gis-rtree.result
            test result fixed.
      mysql-test/suite/maria/r/maria-gis-rtree-dynamic.result
            test result fixed.
      mysql-test/suite/maria/r/maria-gis-rtree-trans.result
            test result fixed.
      mysql-test/suite/maria/r/maria-gis-rtree.result
            test result fixed.
      storage/maria/ma_rt_index.c
            Use MBR_INTERSECT mode when optimizing the select WITH ST_Within.
      storage/myisam/rt_index.c
            Use MBR_INTERSECT mode when optimizing the select WITH ST_Within.
    528e8cc6
rt_index.c 29.8 KB