summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/innodb_gis/t/bug16266012.test
blob: 6d72e4733c00ea7b9af19b72b03c10cf5a881f36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#********************************************************
# Bug 16266012 - GEOMETRY : SERVER CRASHES IN
# COLLECTION_INIT_FROM_OPRESULT
#********************************************************

--source include/have_geometry.inc
--source include/not_embedded.inc
--source include/have_debug.inc
# --error ER_BOOST_GEOMETRY_OVERLAY_INVALID_INPUT_EXCEPTION
SELECT ST_WITHIN( LINESTRINGFROMTEXT('  LINESTRING( 5 9 , 3 4 , 4 1 , 4
4 , 4 9 ) ') , ST_SYMDIFFERENCE( ST_UNION( ST_ENVELOPE( POLYGONFROMTEXT('
POLYGON( ( 3 2 , 0 6 , 2 3 , 8 0 , 4 6 , 7 2 , 3 2 ) ) ') ) ,
MULTIPOLYGONFROMTEXT('
MULTIPOLYGON( ( ( 0 0 , 7 1 , 6 8 , 0 0 ) ) , ( ( 9 9 , 4 0 , 4 7 , 9 9) ) )
') ) , ST_SYMDIFFERENCE( POLYGONFROMTEXT('  POLYGON( ( 9 9 , 6 5 , 2 3 , 9 9
) ) ') , MULTIPOLYGONFROMTEXT('  MULTIPOLYGON( ( ( 2 2 , 5 2 , 5 2 , 2 6 , 2
2 ) ) , ( ( 7 7 , 3 7 , 2 9 , 7 1 , 7 7 ) ) ) ') ) ) );