summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <hf@eagle.intranet.mysql.r18.ru>2006-01-21 17:54:30 +0400
committerunknown <hf@eagle.intranet.mysql.r18.ru>2006-01-21 17:54:30 +0400
commita8e1b4683455fc252a6acda96abe31651d9d1e34 (patch)
treeef8f0833cfaad34bfd8aacded86d7ad2c84b17b3
parent32fc6800893ccfa109fa9d69b7ed360c55e70a6d (diff)
parent2541d76e092ec17e884539015662e9242524f29b (diff)
downloadmariadb-git-a8e1b4683455fc252a6acda96abe31651d9d1e34.tar.gz
Merge hf@192.168.21.12:work/mysql-4.1.14320
into eagle.intranet.mysql.r18.ru:/home/hf/work/mysql-4.1.mrg
-rw-r--r--sql/spatial.h2
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)