Commit d5991c13 authored by Georgi Kodinov's avatar Georgi Kodinov

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

output from HANDLER ... READ .. NEXT ...
parent d8eda3d2
...@@ -1544,8 +1544,8 @@ HANDLER t1 OPEN; ...@@ -1544,8 +1544,8 @@ HANDLER t1 OPEN;
HANDLER t1 READ a FIRST; HANDLER t1 READ a FIRST;
a a
INSERT INTO t1 VALUES (GeomFromText('Polygon((40 40,60 40,60 60,40 60,40 40))')); 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 READ a NEXT;
a
HANDLER t1 CLOSE; HANDLER t1 CLOSE;
DROP TABLE t1; DROP TABLE t1;
End of 5.0 tests. End of 5.0 tests.
...@@ -918,7 +918,10 @@ HANDLER t1 CLOSE; ...@@ -918,7 +918,10 @@ HANDLER t1 CLOSE;
HANDLER t1 OPEN; HANDLER t1 OPEN;
HANDLER t1 READ a FIRST; HANDLER t1 READ a FIRST;
INSERT INTO t1 VALUES (GeomFromText('Polygon((40 40,60 40,60 60,40 60,40 40))')); 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; HANDLER t1 READ a NEXT;
--enable_result_log
HANDLER t1 CLOSE; HANDLER t1 CLOSE;
DROP TABLE t1; DROP TABLE t1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment