Commit 2541d76e authored by unknown's avatar unknown
Browse files

Fix for bug #14320 (MBROverlaps does wrong test)


sql/spatial.h:
  MBR::inner_point fixed
parent 5aeb6929
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -142,7 +142,7 @@ struct MBR
  bool inner_point(double x, double y) const
  {
    /* The following should be safe, even if we compare doubles */
    return (xmin<x) && (xmax>x) && (ymin<y) && (ymax>x);
    return (xmin<x) && (xmax>x) && (ymin<y) && (ymax>y);
  }

  int overlaps(const MBR *mbr)