Fix for bug #14320 (MBROverlaps does wrong test)
sql/spatial.h: MBR::inner_point fixed
This commit is contained in:
parent
5aeb69296a
commit
2541d76e09
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user