1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-33987 Server crashes at Item_func_as_wkt::val_str_ascii

Item_func_boundary::val_str() did not set null_value when
it could not construct a geomery object from the input.
This commit is contained in:
Alexander Barkov
2024-11-14 11:35:36 +04:00
parent 8a3c53f32b
commit 13a14c0d78
3 changed files with 15 additions and 1 deletions

View File

@@ -3456,4 +3456,12 @@ create table t2 as select group_concat(c, c order by 1,2), concat(c), c from t1;
show create table t2;
drop table t1, t2;
--echo #
--echo # MDEV-33987 Server crashes at Item_func_as_wkt::val_str_ascii
--echo #
SELECT ST_ASTEXT(BOUNDARY(INET6_ATON('255.255.255.255'))) AS c1;
--echo # End of 10.5 tests