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:
@ -312,3 +312,19 @@ Note 1050 Table 'v' already exists
|
||||
handler v read next;
|
||||
ERROR 42S02: Unknown table 'v' in HANDLER
|
||||
drop view v;
|
||||
#
|
||||
# 10.2 Test
|
||||
#
|
||||
# MDEV-20207: Assertion `! is_set()' failed in
|
||||
# Diagnostics_area::set_eof_status upon HANDLER READ
|
||||
#
|
||||
DROP TABLE IF EXISTS t1;
|
||||
Warnings:
|
||||
Note 1051 Unknown table 'test.t1'
|
||||
CREATE TABLE t1 (a POINT, KEY(a));
|
||||
HANDLER t1 OPEN h;
|
||||
HANDLER h READ a = (0);
|
||||
ERROR 22003: Cannot get geometry object from data you send to the GEOMETRY field
|
||||
HANDLER h CLOSE;
|
||||
DROP TABLE t1;
|
||||
# End of 10.2 Test
|
||||
|
Reference in New Issue
Block a user