[MDEV-21959] GIS error message doesn't show the wrong value, just the type. Created: 2020-03-17  Updated: 2020-03-31  Resolved: 2020-03-17

Status: Closed
Project: MariaDB Server
Component/s: GIS
Affects Version/s: None
Fix Version/s: 10.2.32, 10.3.23, 10.4.13, 10.5.2

Type: Bug Priority: Major
Reporter: Alexey Botchkov Assignee: Alexey Botchkov
Resolution: Fixed Votes: 0
Labels: None


 Description   

create table t1(a polygon NOT NULL)engine=innodb;
insert into t1 values (ST_geomfromtext("point(0 1)"));
ERROR 1366 (22007): Incorrect POLYGON value: 'POINT' for column `test`.`t1`.`a` at row 1

So justh the type of the value is seen in the error message, not the full value.



 Comments   
Comment by Alexey Botchkov [ 2020-03-17 ]

fixing patch
https://github.com/MariaDB/server/commit/e64a3df4dc248a8f61f8e2c91fa37ee9bfa5202c

Generated at Thu Feb 08 09:11:08 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.