Disable the second part of the test for bug #51357 until bug #51877 is fixed.

This commit is contained in:
Georgi Kodinov 2010-03-09 19:00:15 +02:00
parent d0bb5465b8
commit fd35fc4ea2
2 changed files with 10 additions and 15 deletions

View File

@ -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.

View File

@ -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;