Commit 335fcd91 authored by Alexey Botchkov's avatar Alexey Botchkov

Bug#52208 gis fails on some platforms (Solaris, HP-UX, Linux)

        IA64 and some other arcitectures use different float rounding mode and
        i find no decent way to make it consistent.
        So the test changed to be insensitive to this.

per-file messages:
  mysql-test/t/gis.test
Bug#52208      gis fails on some platforms (Solaris, HP-UX, Linux)
        --replace_result added
parent ab2d29ec
...@@ -358,7 +358,7 @@ t1 where object_id=85998; ...@@ -358,7 +358,7 @@ t1 where object_id=85998;
# Expected result is 36.3310176346905, but IA64 returns 36.3310176346904 # Expected result is 36.3310176346905, but IA64 returns 36.3310176346904
# due to fused multiply-add instructions. # due to fused multiply-add instructions.
--replace_result 36.3310176346904 36.3310176346905 --replace_result 36.3310176346904 36.3310176346905 -114.87787186923326 -114.87787186923313 36.33101763469053 36.33101763469059 36.33101763469043 36.33101763469059
select object_id, geometrytype(geo), ISSIMPLE(GEO), ASTEXT(centroid(geo)) from select object_id, geometrytype(geo), ISSIMPLE(GEO), ASTEXT(centroid(geo)) from
t1 where object_id=85984; t1 where object_id=85984;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment