summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2010-03-09 19:00:15 +0200
committerGeorgi Kodinov <joro@sun.com>2010-03-09 19:00:15 +0200
commitfd35fc4ea228f38af35d065214fd002b0c09cb71 (patch)
tree8e5667858abb8317dc558e02d3e2e7aa05f5fd74
parentd0bb5465b893b23da8e986e3b9b997e71084b82d (diff)
downloadmariadb-git-fd35fc4ea228f38af35d065214fd002b0c09cb71.tar.gz
Disable the second part of the test for bug #51357 until bug #51877 is fixed.
-rw-r--r--mysql-test/r/gis-rtree.result7
-rw-r--r--mysql-test/t/gis-rtree.test18
2 files changed, 10 insertions, 15 deletions
diff --git a/mysql-test/r/gis-rtree.result b/mysql-test/r/gis-rtree.result
index eb9c350f589..58c603673df 100644
--- a/mysql-test/r/gis-rtree.result
+++ b/mysql-test/r/gis-rtree.result
@@ -1540,12 +1540,5 @@ a
HANDLER t1 READ a LAST;
a
HANDLER t1 CLOSE;
-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;
-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 b006096528e..ffe569cd0f2 100644
--- a/mysql-test/t/gis-rtree.test
+++ b/mysql-test/t/gis-rtree.test
@@ -914,15 +914,17 @@ HANDLER t1 READ a PREV;
HANDLER t1 READ a LAST;
HANDLER t1 CLOSE;
+#TODO: re-enable this test please when bug #51877 is solved
# second crash fixed when the tree has changed since the last search.
-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;
+#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;
+#TODO: end of the 51877 dependent section
DROP TABLE t1;