Addendum to the test for bug 51357 : disable the (possibly binary)

output from HANDLER ... READ .. NEXT ...
This commit is contained in:
Georgi Kodinov 2010-03-09 15:46:27 +02:00
parent 15ee9a5ac8
commit d0bb5465b8
2 changed files with 4 additions and 1 deletions

View file

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

View file

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