Fix for bug #14320 (MBROverlaps does wrong test)

sql/spatial.h:
  MBR::inner_point fixed
This commit is contained in:
unknown 2005-12-10 18:20:00 +04:00
parent 5aeb69296a
commit 2541d76e09

View File

@ -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)