[MDEV-12793] SRID set incorrectly for GEOMETRY_FROM_JSON function Created: 2017-05-13  Updated: 2017-05-13

Status: Open
Project: MariaDB Server
Component/s: GIS
Affects Version/s: 10.2
Fix Version/s: 10.2

Type: Bug Priority: Minor
Reporter: Alexey Botchkov Assignee: Alexey Botchkov
Resolution: Unresolved Votes: 0
Labels: None


 Description   

We check the -is_null befor the -val_int call in Item_func_geometry_from_json::val_str.
Should be fixed as it's wrong for the notconstant SRID.


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