summaryrefslogtreecommitdiff
path: root/include/json_lib.h
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2016-12-11 01:12:33 +0400
committerAlexey Botchkov <holyfoot@askmonty.org>2016-12-11 01:12:33 +0400
commit9320d8ae30c18420bef659618175836221d363ea (patch)
treedc2b4fba02c479b5671327c4f27557442444dbc8 /include/json_lib.h
parentc868acdf656213cdc081c4c965a1bcf3d22558bb (diff)
downloadmariadb-git-9320d8ae30c18420bef659618175836221d363ea.tar.gz
MDEV-11453 JSON_CONTAINS returns incorrect values.
The weird logic of json_contains was implemented.
Diffstat (limited to 'include/json_lib.h')
-rw-r--r--include/json_lib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/json_lib.h b/include/json_lib.h
index b2ea39cd728..abef3e60db6 100644
--- a/include/json_lib.h
+++ b/include/json_lib.h
@@ -311,6 +311,7 @@ int json_skip_level(json_engine_t *j);
*/
#define json_value_scalar(je) ((je)->value_type > JSON_VALUE_ARRAY)
+
/*
Look for the JSON PATH in the json string.
Function can be called several times with same JSON/PATH to