From 1fcecea7a372f451c51c22cc355cbf8cd09ace6b Mon Sep 17 00:00:00 2001 From: "holyfoot@deer.(none)" <> Date: Sat, 10 Dec 2005 18:20:00 +0400 Subject: [PATCH] Fix for bug #14320 (MBROverlaps does wrong test) --- sql/spatial.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)