summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2010-03-09 15:46:27 +0200
committerGeorgi Kodinov <joro@sun.com>2010-03-09 15:46:27 +0200
commitd0bb5465b893b23da8e986e3b9b997e71084b82d (patch)
tree2835b7d587feef5a97ce7491640e1d09197e1326
parent15ee9a5ac853535631992600f849d3a5d9cd7e2c (diff)
downloadmariadb-git-d0bb5465b893b23da8e986e3b9b997e71084b82d.tar.gz
Addendum to the test for bug 51357 : disable the (possibly binary)
output from HANDLER ... READ .. NEXT ...
-rw-r--r--mysql-test/r/gis-rtree.result2
-rw-r--r--mysql-test/t/gis-rtree.test3
2 files changed, 4 insertions, 1 deletions
diff --git a/mysql-test/r/gis-rtree.result b/mysql-test/r/gis-rtree.result
index 49ccb05c699..eb9c350f589 100644
--- a/mysql-test/r/gis-rtree.result
+++ b/mysql-test/r/gis-rtree.result
@@ -1544,8 +1544,8 @@ HANDLER t1 OPEN;
HANDLER t1 READ a FIRST;
a
INSERT INTO t1 VALUES (GeomFromText('Polygon((40 40,60 40,60 60,40 60,40 40))'));
+# should not crash
HANDLER t1 READ a NEXT;
-a
HANDLER t1 CLOSE;
DROP TABLE t1;
End of 5.0 tests.
diff --git a/mysql-test/t/gis-rtree.test b/mysql-test/t/gis-rtree.test
index 3b341501ab6..b006096528e 100644
--- a/mysql-test/t/gis-rtree.test
+++ b/mysql-test/t/gis-rtree.test
@@ -918,7 +918,10 @@ HANDLER t1 CLOSE;
HANDLER t1 OPEN;
HANDLER t1 READ a FIRST;
INSERT INTO t1 VALUES (GeomFromText('Polygon((40 40,60 40,60 60,40 60,40 40))'));
+--echo # should not crash
+--disable_result_log
HANDLER t1 READ a NEXT;
+--enable_result_log
HANDLER t1 CLOSE;
DROP TABLE t1;