Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.7 bug 81399 test replace number round+gis precision differences #72

Closed
wants to merge 17 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
9f60474
Add replace_numberic_round to mysqltest
grooverdan May 10, 2016
e493b8d
Whitespace correction for mysqltest.cc
grooverdan May 10, 2016
6061e6b
test: use replace_numberic_round for gis test
grooverdan May 10, 2016
80ffd3f
test: use replace_numberic_round for gis-precise test
grooverdan May 10, 2016
17deb32
test: use replace_numberic_round for innodb_gis.precise test
grooverdan May 10, 2016
c1956de
test: use replace_numberic_round for gis.spatial_utility_function_dis…
grooverdan May 10, 2016
1285113
test: use replace_numberic_round for gis.spatial_analysis_functions_b…
grooverdan May 10, 2016
7c8e253
test: use replace_numberic_round for gis.gis_bugs_crashes test
grooverdan May 10, 2016
6e16e5a
test: use replace_numberic_round for gis.geometry_class_attri_prop
grooverdan May 10, 2016
cb3d2c4
test: use replace_numberic_round for gis.spatial_operators_symdifference
grooverdan May 10, 2016
53a29f7
test: use replace_numberic_round for gis.spatial_operators_union
grooverdan May 10, 2016
02013da
test: use replace_numberic_round for gis.spatial_op_testingfunc_mix
grooverdan May 10, 2016
527e2ee
correct gis.gis_bugs_crashes test result with more rounding
grooverdan May 10, 2016
484c7af
trim trailing 0 mysql-test/suite/gis/r/gis_bugs_crashes.result
grooverdan May 11, 2016
d6d32b6
round gis.spatial_analysis_functions_buffer test to 1/10s vs 1/100s f…
grooverdan May 11, 2016
2a80c3a
test: gis.gis_bug_crashes - more rounding + x86 results
grooverdan May 11, 2016
463b52b
test: x86 resutls for gis.spatial_{analysis_functions_buffer,op_testi…
grooverdan May 11, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
533 changes: 331 additions & 202 deletions client/mysqltest.cc

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions mysql-test/r/gis-precise.result
Expand Up @@ -121,10 +121,10 @@ ST_DISTANCE(ST_GeomFromText('linestring(0 0, 3 6, 6 3, 0 0)'), ST_GeomFromText('
0.8944271909999159
select ST_astext(ST_Intersection(ST_GeomFromText('POLYGON((0 0, 50 45, 40 50, 0 0))'), ST_GeomFromText('POLYGON((50 5, 55 10, 0 45, 50 5))')));
ST_astext(ST_Intersection(ST_GeomFromText('POLYGON((0 0, 50 45, 40 50, 0 0))'), ST_GeomFromText('POLYGON((50 5, 55 10, 0 45, 50 5))')))
POLYGON((21.951219512195124 27.4390243902439,26.470588235294116 23.823529411764707,29.28994082840237 26.36094674556213,23.855421686746986 29.819277108433734,21.951219512195124 27.4390243902439))
POLYGON((21.9512195122 27.4390243902,26.4705882353 23.8235294118,29.2899408284 26.3609467456,23.8554216867 29.8192771084,21.9512195122 27.4390243902))
select ST_astext(ST_Intersection(ST_GeomFromText('LINESTRING(0 0, 50 45, 40 50, 0 0)'), ST_GeomFromText('LINESTRING(50 5, 55 10, 0 45, 50 5)')));
ST_astext(ST_Intersection(ST_GeomFromText('LINESTRING(0 0, 50 45, 40 50, 0 0)'), ST_GeomFromText('LINESTRING(50 5, 55 10, 0 45, 50 5)')))
MULTIPOINT((21.951219512195124 27.4390243902439),(23.855421686746986 29.819277108433734),(26.470588235294116 23.823529411764707),(29.28994082840237 26.36094674556213))
MULTIPOINT((21.9512195122 27.4390243902),(23.8554216867 29.8192771084),(26.4705882353 23.8235294118),(29.2899408284 26.3609467456))
select ST_astext(ST_Intersection(ST_GeomFromText('LINESTRING(0 0, 50 45, 40 50)'), ST_GeomFromText('LINESTRING(50 5, 55 10, 0 45)')));
ST_astext(ST_Intersection(ST_GeomFromText('LINESTRING(0 0, 50 45, 40 50)'), ST_GeomFromText('LINESTRING(50 5, 55 10, 0 45)')))
POINT(29.28994082840237 26.36094674556213)
Expand All @@ -151,7 +151,7 @@ ST_astext(ST_UNION(ST_GeomFromText('POLYGON((0 0, 50 45, 40 50, 0 0))'), ST_Geom
GEOMETRYCOLLECTION(POLYGON((0 0,50 45,40 50,0 0)),MULTILINESTRING((-10 -10,0 0),(46.666666666666664 46.666666666666664,200 200,199 201,45.333333333333336 47.333333333333336),(8 10,-11 -9)))
select ST_astext(ST_buffer(ST_geometryfromtext('point(1 1)'), 1));
ST_astext(ST_buffer(ST_geometryfromtext('point(1 1)'), 1))
POLYGON((2 1,1.98078 1.19509,1.92387 1.38268,1.83146 1.55557,1.70710 1.70710,1.55557 1.83146,1.38268 1.92387,1.19509 1.98078,1.00000 2,0.80490 1.98078,0.61731 1.92387,0.44442 1.83146,0.29289 1.70710,0.16853 1.55557,0.07612 1.38268,0.01921 1.19509,0 1.00000,0.01921 0.80490,0.07612 0.61731,0.16853 0.44442,0.29289 0.29289,0.44442 0.16853,0.61731 0.07612,0.80490 0.01921,1 0,1.19509 0.01921,1.38268 0.07612,1.55557 0.16853,1.70710 0.29289,1.83146 0.44442,1.92387 0.61731,1.98078 0.80490,2 1))
POLYGON((2 1,1.98079 1.19509,1.92388 1.38268,1.83147 1.55557,1.70711 1.70711,1.55557 1.83147,1.38268 1.92388,1.19509 1.98079,1 2,0.80491 1.98079,0.61732 1.92388,0.44443 1.83147,0.29289 1.70711,0.16853 1.55557,0.07612 1.38268,0.01921 1.19509,0 1,0.01921 0.80491,0.07612 0.61732,0.16853 0.44443,0.29289 0.29289,0.44443 0.16853,0.61732 0.07612,0.80491 0.01921,1 0,1.19509 0.01921,1.38268 0.07612,1.55557 0.16853,1.70711 0.29289,1.83147 0.44443,1.92388 0.61732,1.98079 0.80491,2 1))
create table t1(geom geometrycollection);
insert into t1 values (ST_GeomFromText('POLYGON((0 0, 10 10, 0 8, 0 0))'));
ERROR 22003: Cannot get geometry object from data you send to the GEOMETRY field
Expand Down Expand Up @@ -1098,7 +1098,7 @@ Warning 1287 'GEOMFROMTEXT' is deprecated and will be removed in a future releas
Warning 1287 'GEOMFROMTEXT' is deprecated and will be removed in a future release. Please use ST_GEOMFROMTEXT instead
select st_distance_sphere(geomfromtext('point(-120 45)'), geomfromtext('point(30.24 68.37)'));
st_distance_sphere(geomfromtext('point(-120 45)'), geomfromtext('point(30.24 68.37)'))
7168298.19690
7168298.1969
Warnings:
Warning 1287 'GEOMFROMTEXT' is deprecated and will be removed in a future release. Please use ST_GEOMFROMTEXT instead
Warning 1287 'GEOMFROMTEXT' is deprecated and will be removed in a future release. Please use ST_GEOMFROMTEXT instead
Expand Down Expand Up @@ -1849,7 +1849,7 @@ SELECT
ST_ASTEXT(ST_BUFFER(ST_GEOMFROMTEXT('GEOMETRYCOLLECTION(MULTILINESTRING((12 -12,-15 19),(2 -9,-4 -8,18 3,-9 -8),(13 11,-15 9,-16 6,-17 5)),
LINESTRING(14 -16,-3 18,-13 -7,-10 1))'), 6561)) as result;
result
POLYGON((-549 6535,-849 6526,-1156 6456,-1273 6444,-1303 6438,-1347 6425,-1518 6401,-1773 6314,-2102 6238,-2405 6103,-2534 6063,-2579 6039,-2705 5996,-2933 5866,-3276 5712,-3536 5526,-3667 5456,-3712 5419,-3793 5373,-3986 5206,-4324 4966,-4533 4744,-4661 4639,-4701 4590,-4743 4554,-4795 4487,-4804 4480,-4888 4370,-4897 4358,-5206 4030,-5359 3786,-5476 3644,-5508 3583,-5519 3569,-5557 3495,-5585 3458,-5662 3303,-5889 2940,-5984 2690,-6081 2509,-6126 2358,-6153 2304,-6156 2296,-6207 2103,-6346 1738,-6387 1495,-6453 1278,-6467 1133,-6486 1062,-6502 812,-6560 470,-6553 245,-6577 -1,-6565 -129,-6570 -211,-6531 -515,-6522 -815,-6477 -1013,-6450 -1281,-6418 -1386,-6406 -1478,-6353 -1636,-6353 -1637,-6351 -1642,-6291 -1821,-6234 -2068,-6160 -2235,-6101 -2427,-6085 -2483,-6084 -2485,-6075 -2512,-6033 -2591,-6000 -2689,-5918 -2832,-5913 -2845,-5871 -2916,-5854 -2950,-5826 -2994,-5792 -3053,-5708 -3242,-5619 -3366,-5485 -3621,-5474 -3635,-5468 -3645,-5423 -3700,-5367 -3798,-5262 -3920,-5246 -3945,-5185 -4012,-5169 -4038,-5058 -4155,-5057 -4156,-4962 -4290,-4935 -4321,-4860 -4392,-4675 -4620,-4606 -4677,-4531 -4764,-4410 -4858,-4377 -4893,-4316 -4938,-4284 -4972,-4124 -5086,-3999 -5203,-3890 -5272,-3685 -5441,-3607 -5484,-3523 -5549,-3395 -5614,-3340 -5654,-3285 -5680,-3235 -5715,-3050 -5798,-2909 -5886,-2761 -5942,-2555 -6054,-2469 -6081,-2383 -6124,-2256 -6160,-2175 -6198,-2130 -6209,-2060 -6240,-1858 -6286,-1707 -6343,-1521 -6375,-1326 -6435,-1237 -6444,-1153 -6468,-1035 -6477,-925 -6504,-894 -6505,-806 -6525,-594 -6531,-439 -6557,-218 -6550,-47 -6568,42 -6560,120 -6566,224 -6554,359 -6560,375 -6557,479 -6560,691 -6524,846 -6519,1091 -6463,1233 -6450,1319 -6424,1388 -6416,1463 -6392,1582 -6372,1630 -6364,1634 -6363,1746 -6344,1949 -6266,2099 -6231,2356 -6116,2466 -6084,2493 -6073,2488 -6060,2498 -6057,2530 -6047,2532 -6046,2604 -6023,2646 -5999,2948 -5884,3132 -5768,3273 -5705,3582 -5485,3593 -5478,3663 -5440,3689 -5419,3720 -5402,3738 -5386,4036 -5199,4194 -5049,4321 -4959,4571 -4693,4657 -4623,4700 -4570,4854 -4424,4885 -4396,4887 -4392,4970 -4314,5095 -4138,5203 -4023,5383 -3736,5472 -3628,5513 -3550,5636 -3385,5652 -3352,5713 -3265,5800 -3070,5886 -2933,5996 -2645,6077 -2493,6100 -2414,6180 -2248,6198 -2180,6238 -2090,6284 -1886,6343 -1731,6389 -1460,6449 -1262,6456 -1185,6497 -1029,6503 -922,6523 -836,6529 -631,6557 -463,6550 -223,6573 17,6566 91,6575 228,6556 371,6558 449,6524 645,6519 822,6474 1020,6446 1297,6425 1366,6411 1477,6353 1650,6342 1716,6272 1897,6231 2075,6162 2229,6071 2528,6039 2589,6011 2672,5903 2863,5882 2918,5865 2952,5770 3103,5705 3249,5625 3360,5464 3661,5422 3713,5390 3768,5254 3928,5199 4015,5032 4194,4959 4297,4932 4328,4860 4395,4647 4655,4597 4695,4571 4726,4434 4835,4344 4932,4116 5097,3996 5210,3879 5283,3652 5470,3598 5498,3584 5509,3461 5573,3329 5669,3072 5789,2906 5893,2737 5957,2517 6075,2358 6123,2193 6200,1918 6269,1704 6350,1481 6388,1286 6447,1159 6459,976 6505,696 6520,436 6564,165 6556,6 6571,-84 6562,-275 6573,-549 6535))
POLYGON((-549 6536,-849 6527,-1156 6456,-1274 6445,-1304 6439,-1348 6425,-1518 6402,-1773 6315,-2103 6239,-2405 6103,-2534 6064,-2580 6040,-2705 5997,-2933 5866,-3276 5712,-3537 5527,-3668 5456,-3713 5420,-3793 5373,-3987 5206,-4324 4967,-4534 4744,-4661 4639,-4702 4590,-4743 4554,-4796 4488,-4804 4480,-4888 4370,-4898 4359,-5207 4031,-5359 3787,-5476 3644,-5508 3584,-5520 3569,-5558 3495,-5586 3459,-5662 3304,-5889 2941,-5985 2690,-6081 2509,-6127 2359,-6153 2305,-6156 2297,-6208 2103,-6347 1739,-6388 1495,-6453 1278,-6467 1133,-6486 1063,-6503 812,-6560 470,-6554 246,-6578 -2,-6565 -129,-6571 -212,-6532 -515,-6523 -815,-6477 -1013,-6451 -1282,-6419 -1386,-6407 -1478,-6354 -1636,-6354 -1637,-6352 -1643,-6292 -1822,-6235 -2069,-6160 -2235,-6102 -2428,-6085 -2483,-6084 -2485,-6076 -2512,-6034 -2591,-6001 -2689,-5919 -2833,-5914 -2846,-5871 -2916,-5854 -2950,-5827 -2994,-5793 -3053,-5708 -3242,-5620 -3366,-5485 -3621,-5474 -3635,-5468 -3646,-5423 -3701,-5367 -3799,-5262 -3920,-5247 -3946,-5186 -4012,-5169 -4039,-5058 -4156,-5058 -4156,-4963 -4290,-4936 -4321,-4860 -4392,-4675 -4620,-4607 -4677,-4531 -4764,-4410 -4859,-4378 -4894,-4317 -4939,-4285 -4973,-4124 -5086,-4000 -5204,-3890 -5272,-3686 -5442,-3608 -5484,-3524 -5550,-3396 -5614,-3341 -5655,-3285 -5680,-3235 -5716,-3050 -5799,-2910 -5886,-2762 -5943,-2555 -6055,-2470 -6081,-2383 -6125,-2257 -6160,-2175 -6198,-2131 -6209,-2061 -6240,-1858 -6286,-1708 -6344,-1521 -6375,-1326 -6435,-1237 -6445,-1153 -6468,-1035 -6477,-926 -6504,-895 -6505,-807 -6525,-595 -6531,-439 -6557,-219 -6551,-47 -6569,42 -6561,120 -6567,224 -6554,359 -6560,376 -6558,479 -6560,691 -6524,846 -6520,1092 -6463,1233 -6450,1320 -6425,1389 -6416,1463 -6392,1582 -6372,1630 -6365,1635 -6363,1747 -6344,1950 -6266,2100 -6232,2356 -6117,2466 -6084,2493 -6073,2488 -6061,2499 -6057,2530 -6048,2533 -6046,2604 -6023,2647 -6000,2948 -5884,3133 -5768,3273 -5705,3583 -5485,3593 -5478,3664 -5440,3689 -5420,3720 -5402,3739 -5387,4037 -5199,4195 -5050,4321 -4960,4572 -4694,4657 -4623,4701 -4570,4854 -4425,4885 -4397,4888 -4393,4971 -4315,5095 -4138,5204 -4024,5384 -3736,5472 -3628,5514 -3551,5637 -3385,5652 -3353,5714 -3265,5801 -3070,5886 -2934,5996 -2645,6077 -2493,6101 -2415,6181 -2249,6198 -2181,6238 -2091,6285 -1886,6344 -1732,6389 -1461,6449 -1262,6457 -1185,6497 -1029,6504 -923,6523 -837,6529 -632,6557 -463,6550 -224,6574 18,6567 92,6575 228,6556 371,6558 449,6525 646,6520 822,6474 1021,6447 1298,6426 1366,6411 1478,6353 1650,6342 1717,6273 1898,6232 2076,6163 2230,6072 2528,6039 2589,6011 2672,5903 2863,5882 2918,5865 2952,5770 3104,5705 3249,5626 3360,5464 3662,5422 3713,5391 3769,5254 3929,5200 4015,5033 4194,4960 4297,4933 4328,4861 4396,4647 4655,4598 4696,4572 4726,4435 4835,4344 4932,4117 5098,3997 5211,3880 5284,3652 5470,3599 5499,3585 5510,3461 5574,3330 5670,3072 5790,2907 5893,2737 5958,2517 6075,2359 6123,2193 6200,1918 6269,1705 6351,1482 6388,1286 6447,1160 6460,977 6505,696 6521,436 6564,165 6556,6 6572,-85 6563,-276 6573,-549 6536))
#
# Bug#20517621 ASSERTION `GEOMETRY::IS_VALID_GEOTYPE(GT)' FAILED
#
Expand Down
4 changes: 2 additions & 2 deletions mysql-test/r/gis.result
Expand Up @@ -2280,10 +2280,10 @@ CREATE TABLE t1 (g GEOMETRY);
INSERT INTO t1 (g) VALUES (ST_GeomFromText("MULTIPOLYGON(((0 7,-3 -14,9 -11,0 7)))"));
SELECT ST_AsText(ST_Buffer(g, 2)), ST_AsText(ST_Buffer(g, 2)) FROM t1;
ST_AsText(ST_Buffer(g, 2)) ST_AsText(ST_Buffer(g, 2))
POLYGON((1.7888 7.8944,1.5815 8.2242,1.3142 8.5075,0.9970 8.7337,0.6420 8.8941,0.2627 8.9826,-0.1265 8.9959,-0.5110 8.9335,-0.8762 8.7978,-1.2081 8.5938,-1.4941 8.3294,-1.7235 8.0146,-1.8875 7.6612,-1.9798 7.2828,-4.9798 -13.7171,-4.9970 -14.1076,-4.9380 -14.4941,-4.8048 -14.8616,-4.6027 -15.1962,-4.3394 -15.4851,-4.0249 -15.7173,-3.6713 -15.8839,-3.2920 -15.9785,-2.9016 -15.9975,-2.5149 -15.9402,9.4850 -12.9402,9.8226 -12.8229,10.1340 -12.6474,10.4091 -12.4192,10.6392 -12.1457,10.8170 -11.8357,10.9367 -11.4989,10.9946 -11.1462,10.9888 -10.7888,10.9194 -10.4382,10.7888 -10.1055,1.7888 7.8944)) POLYGON((1.7888 7.8944,1.5815 8.2242,1.3142 8.5075,0.9970 8.7337,0.6420 8.8941,0.2627 8.9826,-0.1265 8.9959,-0.5110 8.9335,-0.8762 8.7978,-1.2081 8.5938,-1.4941 8.3294,-1.7235 8.0146,-1.8875 7.6612,-1.9798 7.2828,-4.9798 -13.7171,-4.9970 -14.1076,-4.9380 -14.4941,-4.8048 -14.8616,-4.6027 -15.1962,-4.3394 -15.4851,-4.0249 -15.7173,-3.6713 -15.8839,-3.2920 -15.9785,-2.9016 -15.9975,-2.5149 -15.9402,9.4850 -12.9402,9.8226 -12.8229,10.1340 -12.6474,10.4091 -12.4192,10.6392 -12.1457,10.8170 -11.8357,10.9367 -11.4989,10.9946 -11.1462,10.9888 -10.7888,10.9194 -10.4382,10.7888 -10.1055,1.7888 7.8944))
POLYGON((1.7889 7.8944,1.5815 8.2242,1.3142 8.5076,0.9971 8.7337,0.6421 8.8941,0.2627 8.9827,-0.1266 8.996,-0.5111 8.9336,-0.8762 8.7978,-1.2081 8.5939,-1.4942 8.3295,-1.7235 8.0146,-1.8875 7.6613,-1.9799 7.2828,-4.9799 -13.7172,-4.9971 -14.1077,-4.938 -14.4941,-4.8049 -14.8616,-4.6028 -15.1963,-4.3395 -15.4852,-4.025 -15.7174,-3.6714 -15.884,-3.2921 -15.9786,-2.9016 -15.9976,-2.5149 -15.9403,9.4851 -12.9403,9.8227 -12.823,10.134 -12.6474,10.4091 -12.4193,10.6393 -12.1458,10.817 -11.8357,10.9368 -11.499,10.9946 -11.1463,10.9888 -10.7889,10.9195 -10.4383,10.7889 -10.1056,1.7889 7.8944)) POLYGON((1.7889 7.8944,1.5815 8.2242,1.3142 8.5076,0.9971 8.7337,0.6421 8.8941,0.2627 8.9827,-0.1266 8.996,-0.5111 8.9336,-0.8762 8.7978,-1.2081 8.5939,-1.4942 8.3295,-1.7235 8.0146,-1.8875 7.6613,-1.9799 7.2828,-4.9799 -13.7172,-4.9971 -14.1077,-4.938 -14.4941,-4.8049 -14.8616,-4.6028 -15.1963,-4.3395 -15.4852,-4.025 -15.7174,-3.6714 -15.884,-3.2921 -15.9786,-2.9016 -15.9976,-2.5149 -15.9403,9.4851 -12.9403,9.8227 -12.823,10.134 -12.6474,10.4091 -12.4193,10.6393 -12.1458,10.817 -11.8357,10.9368 -11.499,10.9946 -11.1463,10.9888 -10.7889,10.9195 -10.4383,10.7889 -10.1056,1.7889 7.8944))
SELECT ST_AsText(ST_Buffer(g, 2)), ST_AsText(ST_Difference(g, g)) FROM t1;
ST_AsText(ST_Buffer(g, 2)) ST_AsText(ST_Difference(g, g))
POLYGON((1.7888 7.8944,1.5815 8.2242,1.3142 8.5075,0.9970 8.7337,0.6420 8.8941,0.2627 8.9826,-0.1265 8.9959,-0.5110 8.9335,-0.8762 8.7978,-1.2081 8.5938,-1.4941 8.3294,-1.7235 8.0146,-1.8875 7.6612,-1.9798 7.2828,-4.9798 -13.7171,-4.9970 -14.1076,-4.9380 -14.4941,-4.8048 -14.8616,-4.6027 -15.1962,-4.3394 -15.4851,-4.0249 -15.7173,-3.6713 -15.8839,-3.2920 -15.9785,-2.9016 -15.9975,-2.5149 -15.9402,9.4850 -12.9402,9.8226 -12.8229,10.1340 -12.6474,10.4091 -12.4192,10.6392 -12.1457,10.8170 -11.8357,10.9367 -11.4989,10.9946 -11.1462,10.9888 -10.7888,10.9194 -10.4382,10.7888 -10.1055,1.7888 7.8944)) GEOMETRYCOLLECTION()
POLYGON((1.7889 7.8944,1.5815 8.2242,1.3142 8.5076,0.9971 8.7337,0.6421 8.8941,0.2627 8.9827,-0.1266 8.996,-0.5111 8.9336,-0.8762 8.7978,-1.2081 8.5939,-1.4942 8.3295,-1.7235 8.0146,-1.8875 7.6613,-1.9799 7.2828,-4.9799 -13.7172,-4.9971 -14.1077,-4.938 -14.4941,-4.8049 -14.8616,-4.6028 -15.1963,-4.3395 -15.4852,-4.025 -15.7174,-3.6714 -15.884,-3.2921 -15.9786,-2.9016 -15.9976,-2.5149 -15.9403,9.4851 -12.9403,9.8227 -12.823,10.134 -12.6474,10.4091 -12.4193,10.6393 -12.1458,10.817 -11.8357,10.9368 -11.499,10.9946 -11.1463,10.9888 -10.7889,10.9195 -10.4383,10.7889 -10.1056,1.7889 7.8944)) GEOMETRYCOLLECTION()
DROP TABLE t1;
CREATE TABLE t1(id INT PRIMARY KEY AUTO_INCREMENT, g GEOMETRY NOT NULL,
SPATIAL INDEX(g));
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/suite/gis/r/geometry_class_attri_prop.result
Expand Up @@ -4448,7 +4448,7 @@ STD(ST_SRID(g))
0
SELECT STD(ST_DIMENSION(g)) FROM gis_geometry;
STD(ST_DIMENSION(g))
0.8235059090550115
0.8235059091
SELECT STD(ST_ISSIMPLE(g)) FROM gis_geometry;
STD(ST_ISSIMPLE(g))
0.3062463845869244
Expand Down