summaryrefslogtreecommitdiff
path: root/mysql-test/main/gis-precise.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/gis-precise.test')
-rw-r--r--mysql-test/main/gis-precise.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/main/gis-precise.test b/mysql-test/main/gis-precise.test
index 0bb445924b8..24f4ac9113e 100644
--- a/mysql-test/main/gis-precise.test
+++ b/mysql-test/main/gis-precise.test
@@ -382,6 +382,12 @@ SELECT ST_RELATE(
'F*FFFF**F'
) as relate_res;
+# MDEV-18920 Prepared statements with st_convexhull hang and eat 100% cpu.
+prepare s from 'do st_convexhull(st_aswkb(multipoint(point(-11702,15179),point(-5031,27960),point(-30557,11158),point(-27804,30314))))';
+execute s;
+execute s;
+deallocate prepare s;
+
# MDEV- 16050 cte + geometry functions lead to crash.
with cte1 as( select (st_symdifference(point(1,1),point(1,1))) as a1 ), cte2 as(select 1 as a2) select 1 from cte1 where cte1.a1 < '1';