diff options
author | holyfoot@deer.(none) <> | 2005-12-10 18:20:00 +0400 |
---|---|---|
committer | holyfoot@deer.(none) <> | 2005-12-10 18:20:00 +0400 |
commit | 1fcecea7a372f451c51c22cc355cbf8cd09ace6b (patch) | |
tree | 3eff49bb1276c7d1581320fe06b23103f5d4fbb2 /sql/spatial.h | |
parent | dd7d2d0a115b2b0888a48bced42b2bd3eafcb957 (diff) | |
download | mariadb-git-1fcecea7a372f451c51c22cc355cbf8cd09ace6b.tar.gz |
Fix for bug #14320 (MBROverlaps does wrong test)
Diffstat (limited to 'sql/spatial.h')
-rw-r--r-- | sql/spatial.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 (xmin<x) && (xmax>x) && (ymin<y) && (ymax>x); + return (xmin<x) && (xmax>x) && (ymin<y) && (ymax>y); } int overlaps(const MBR *mbr) |