diff options
author | Rucha Deodhar <rucha.deodhar@mariadb.com> | 2022-01-27 01:03:52 +0530 |
---|---|---|
committer | Rucha Deodhar <rucha.deodhar@mariadb.com> | 2022-04-26 12:40:11 +0530 |
commit | 9b2d36660bbb4f93c6b9e0761c91d57d47f59196 (patch) | |
tree | 0bb7ae904e01aab210eea751310e5ff633ed5399 /mysql-test/suite/handler/myisam.result | |
parent | 25ccf8f6dcfa23ba07a46efe5e85787689571b17 (diff) | |
download | mariadb-git-9b2d36660bbb4f93c6b9e0761c91d57d47f59196.tar.gz |
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.
Diffstat (limited to 'mysql-test/suite/handler/myisam.result')
-rw-r--r-- | mysql-test/suite/handler/myisam.result | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/suite/handler/myisam.result b/mysql-test/suite/handler/myisam.result index 90e1767a1f3..c444027d062 100644 --- a/mysql-test/suite/handler/myisam.result +++ b/mysql-test/suite/handler/myisam.result @@ -1931,3 +1931,17 @@ test.t1 preload_keys status OK HANDLER t1 READ FIRST; ERROR 42S02: Unknown table 't1' in HANDLER End of 5.1 tests +# +# 10.2 Test +# +# MDEV-20207: Assertion `! is_set()' failed in +# Diagnostics_area::set_eof_status upon HANDLER READ +# +DROP TABLE IF EXISTS 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 |