#At file:///Users/kgeorge/mysql/work/fix-5.1-bugteam/ based on revid:joro@stripped
3380 Georgi Kodinov 2010-03-09
Disable the second part of the test for bug #51357 until bug #51877 is fixed.
modified:
mysql-test/r/gis-rtree.result
mysql-test/t/gis-rtree.test
=== modified file 'mysql-test/r/gis-rtree.result'
--- a/mysql-test/r/gis-rtree.result 2010-03-09 13:46:27 +0000
+++ b/mysql-test/r/gis-rtree.result 2010-03-09 17:00:15 +0000
@@ -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.
=== modified file 'mysql-test/t/gis-rtree.test'
--- a/mysql-test/t/gis-rtree.test 2010-03-09 13:46:27 +0000
+++ b/mysql-test/t/gis-rtree.test 2010-03-09 17:00:15 +0000
@@ -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;
Attachment: [text/bzr-bundle] bzr/joro@sun.com-20100309170015-3ajklvjyjsby9a18.bundle
Thread |
---|
• bzr commit into mysql-5.1-bugteam branch (joro:3380) Bug#51357 Bug#51877 | Georgi Kodinov | 9 Mar |