summaryrefslogtreecommitdiff
path: root/mysql-test/t/gis-precise.test
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2014-07-22 15:28:15 +0500
committerAlexey Botchkov <holyfoot@askmonty.org>2014-07-22 15:28:15 +0500
commit15a529e12839579360bd81dd1997502259dd2cbd (patch)
tree6d9e2d4ee95e7919f248642dc1efd2e90ef4cd5c /mysql-test/t/gis-precise.test
parent2b614667336165df9cf1fb649f1ac0c9c2d74884 (diff)
downloadmariadb-git-15a529e12839579360bd81dd1997502259dd2cbd.tar.gz
gis-precise.test fixed to work on Power8.
Diffstat (limited to 'mysql-test/t/gis-precise.test')
-rw-r--r--mysql-test/t/gis-precise.test5
1 files changed, 2 insertions, 3 deletions
diff --git a/mysql-test/t/gis-precise.test b/mysql-test/t/gis-precise.test
index fc2db6a85a5..c6cf42e86e4 100644
--- a/mysql-test/t/gis-precise.test
+++ b/mysql-test/t/gis-precise.test
@@ -164,11 +164,10 @@ SELECT ASTEXT(ST_INTERSECTION(
#bug 804324 Assertion 0 in Gcalc_scan_iterator::pop_suitable_intersection
---replace_result 61538461538462 61538461538461
-SELECT ASTEXT(ST_UNION(
+SELECT ROUND(ST_LENGTH(ST_UNION(
MULTILINESTRINGFROMTEXT('MULTILINESTRING((6 2,4 0,3 5,3 6,4 3,6 4,3 9,0 7,3 7,8 4,2 9,5 0),
(8 2,1 3,9 0,4 4))'),
- MULTILINESTRINGFROMTEXT('MULTILINESTRING((2 5,6 7,9 7,5 2,1 6,3 6))')));
+ MULTILINESTRINGFROMTEXT('MULTILINESTRING((2 5,6 7,9 7,5 2,1 6,3 6))'))), 7);
SELECT ST_NUMGEOMETRIES((ST_UNION(ST_UNION(
MULTILINESTRINGFROMTEXT('MULTILINESTRING((2 0,4 2,0 2,1 5,0 3,7 0,8 5,5 8),