1-- source include/have_geometry.inc
2
3--disable_warnings
4drop table if exists t1;
5--enable_warnings
6
7#
8# correct behavoiur for function from reduced subselect
9#
10create table t1(City VARCHAR(30),Location geometry);
11insert into t1 values("Paris",GeomFromText('POINT(2.33 48.87)'));
12select City from t1 where (select
13intersects(GeomFromText(AsText(Location)),GeomFromText('Polygon((2 50, 2.5
1450, 2.5 47, 2 47, 2 50))'))=0);
15drop table t1;
16
17# End of 4.1 tests
18