mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-20207: Assertion ! is_set() failed in Diagnostics_area::set_eof_status
upon HANDLER READ Analysis: The error state is not stored while checking condition and key name. Fix: Return true while checking condition and key name if error is reported because geometry object can't be created from the data in the index value for HANDLER READ.
This commit is contained in:
@ -354,3 +354,23 @@ execute stmt;
|
||||
--error ER_UNKNOWN_TABLE
|
||||
handler v read next;
|
||||
drop view v;
|
||||
|
||||
--echo #
|
||||
--echo # 10.2 Test
|
||||
--echo #
|
||||
--echo # MDEV-20207: Assertion `! is_set()' failed in
|
||||
--echo # Diagnostics_area::set_eof_status upon HANDLER READ
|
||||
--echo #
|
||||
|
||||
DROP TABLE IF EXISTS t1;
|
||||
|
||||
CREATE TABLE t1 (a POINT, KEY(a));
|
||||
HANDLER t1 OPEN h;
|
||||
|
||||
--error ER_CANT_CREATE_GEOMETRY_OBJECT
|
||||
HANDLER h READ a = (0);
|
||||
|
||||
HANDLER h CLOSE;
|
||||
DROP TABLE t1;
|
||||
|
||||
--echo # End of 10.2 Test
|
||||
|
Reference in New Issue
Block a user