mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Temporary commit of 10.0-merge
This commit is contained in:
@ -195,8 +195,8 @@ struct MBR
|
||||
if (d != mbr->dimension() || d <= 0 || contains(mbr) || within(mbr))
|
||||
return 0;
|
||||
|
||||
MBR intersection(max(xmin, mbr->xmin), max(ymin, mbr->ymin),
|
||||
min(xmax, mbr->xmax), min(ymax, mbr->ymax));
|
||||
MBR intersection(MY_MAX(xmin, mbr->xmin), MY_MAX(ymin, mbr->ymin),
|
||||
MY_MIN(xmax, mbr->xmax), MY_MIN(ymax, mbr->ymax));
|
||||
|
||||
return (d == intersection.dimension());
|
||||
}
|
||||
|
Reference in New Issue
Block a user