--- m/r/gis-rt-precise.result 2013-07-22 17:03:39.000000000 +0400 +++ r/gis-rt-precise.result 2014-03-03 13:58:10.071341000 +0400 @@ -29,6 +29,7 @@ 8 LINESTRING(143 143,157 157) 9 LINESTRING(142 142,158 158) 10 LINESTRING(141 141,159 159) +11 LINESTRING(140 140,160 160) 2 LINESTRING(149 149,151 151) DROP TABLE t1; CREATE TABLE t1 ( @@ -50,11 +51,12 @@ EXPLAIN SELECT fid, AsText(g) FROM t1 WHERE ST_Within(g, GeomFromText('Polygon((40 40,60 40,60 60,40 40))')); id select_type table type possible_keys key key_len ref rows Extra -1 SIMPLE t1 range g g 34 NULL 4 Using where +1 SIMPLE t1 range g g 34 NULL 1 Using where SELECT fid, AsText(g) FROM t1 WHERE ST_Within(g, GeomFromText('Polygon((40 40,60 40,60 60,40 40))')); fid AsText(g) 46 LINESTRING(51 41,60 50) 56 LINESTRING(41 41,50 50) +45 LINESTRING(51 51,60 60) DROP TABLE t1; End of 5.5 tests.