Navigation Menu

Skip to content

Commit

Permalink
test: add ORDER BY to make resultset stable
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 23, 2012
1 parent a18712d commit 77846f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test/sql/suite/mroonga/storage/geometry/r/contains.result
Expand Up @@ -161,7 +161,8 @@ id name location_text
35 nishimi-ya POINT(139.77462805555555 35.671825)
36 hiiragi POINT(139.71151694444444 35.64770111111111)
select id, name, AsText(location) as location_text from shops
where MBRContains(GeomFromText('LineString(139.7727 35.6684, 139.7038 35.7121)'), location);
where MBRContains(GeomFromText('LineString(139.7727 35.6684, 139.7038 35.7121)'), location)
order by id;
id name location_text
14 tetsuji POINT(139.76857 35.680911944444446)
19 daruma POINT(139.7705988888889 35.68146111111111)
Expand Down
3 changes: 2 additions & 1 deletion test/sql/suite/mroonga/storage/geometry/t/contains.test
Expand Up @@ -138,7 +138,8 @@ insert into shops (name, location)
GeomFromText('POINT(139.711517 35.647701)'));
select id, name, AsText(location) as location_text from shops;
select id, name, AsText(location) as location_text from shops
where MBRContains(GeomFromText('LineString(139.7727 35.6684, 139.7038 35.7121)'), location);
where MBRContains(GeomFromText('LineString(139.7727 35.6684, 139.7038 35.7121)'), location)
order by id;
drop table shops;

--source include/have_mroonga_deinit.inc

0 comments on commit 77846f6

Please sign in to comment.