From 2541d76e092ec17e884539015662e9242524f29b Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 10 Dec 2005 18:20:00 +0400 Subject: Fix for bug #14320 (MBROverlaps does wrong test) sql/spatial.h: MBR::inner_point fixed --- sql/spatial.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/spatial.h') diff --git a/sql/spatial.h b/sql/spatial.h index ec5e80e00fd..206958b3eaf 100644 --- a/sql/spatial.h +++ b/sql/spatial.h @@ -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 (xminx) && (yminx); + return (xminx) && (yminy); } int overlaps(const MBR *mbr) -- cgit v1.2.1