[MDEV-15915] Add Feature_json status variable Created: 2018-04-18  Updated: 2018-04-26  Resolved: 2018-04-26

Status: Closed
Project: MariaDB Server
Component/s: JSON
Fix Version/s: 10.3.7

Type: Task Priority: Critical
Reporter: Sergei Golubchik Assignee: Alexey Botchkov
Resolution: Fixed Votes: 0
Labels: None


 Description   

Add Feature_json status variable that's incremented when a json functionality is used.

For example, in item_create.cc when a json function item is created.



 Comments   
Comment by Elena Stepanova [ 2018-04-18 ]

Feature_json sounds a bit ambiguous. We have EXPLAIN/ANALYZE FORMAT=JSON, JSON as a table type in Connect engine, maybe more that I don't remember now.

Comment by Alexey Botchkov [ 2018-04-22 ]

http://lists.askmonty.org/pipermail/commits/2018-April/012439.html

Comment by Sergei Golubchik [ 2018-04-24 ]

ok to push, thanks!

Comment by Alexey Botchkov [ 2018-04-26 ]

I can note also GEOJSON functions as a source of some ambiquity.
Though after all I decided to stick with Feature_json as a name. The self-explanatory name is too long and inconvenient. And i doubt many people would think about EXPLAIN JSON in connection with this variable. So it's better just to comment it properly.

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