mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Addendum to the test for bug 51357 : disable the (possibly binary)
output from HANDLER ... READ .. NEXT ...
This commit is contained in:
@@ -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;
|
|||||||
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;
|
||||||
|
Reference in New Issue
Block a user