~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to mysql-test/r/subselect_gis.result

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
ImportĀ upstreamĀ versionĀ 5.1.45

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
drop table if exists t1;
 
2
create table t1(City VARCHAR(30),Location geometry);
 
3
insert into t1 values("Paris",GeomFromText('POINT(2.33 48.87)'));
 
4
select City from t1 where (select
 
5
intersects(GeomFromText(AsText(Location)),GeomFromText('Polygon((2 50, 2.5
 
6
50, 2.5 47, 2 47, 2 50))'))=0);
 
7
City
 
8
drop table t1;