summaryrefslogtreecommitdiff
path: root/include/json_lib.h
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2017-02-06 06:47:48 +0400
committerAlexey Botchkov <holyfoot@askmonty.org>2017-02-06 06:47:48 +0400
commitabf7582112645ef8decc549eb662a07072b5cd32 (patch)
tree1082c1f2c8e32120cee647e0cd0374bd67c37b37 /include/json_lib.h
parente51b015fc354ec40c8430d4f4ea6346bc9a8e07b (diff)
downloadmariadb-git-abf7582112645ef8decc549eb662a07072b5cd32.tar.gz
MDEV-11557 port MySQL-5.7 JSON tests to MariaDB.
Fixes for issues found.
Diffstat (limited to 'include/json_lib.h')
-rw-r--r--include/json_lib.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/json_lib.h b/include/json_lib.h
index ddba571ac59..cdfcffad38a 100644
--- a/include/json_lib.h
+++ b/include/json_lib.h
@@ -409,7 +409,12 @@ int json_get_path_start(json_engine_t *je, CHARSET_INFO *i_cs,
int json_get_path_next(json_engine_t *je, json_path_t *p);
-int json_path_compare(const json_path_t *a, const json_path_t *b);
+int json_path_parts_compare(
+ const json_path_step_t *a, const json_path_step_t *a_end,
+ const json_path_step_t *b, const json_path_step_t *b_end,
+ enum json_value_types vt);
+int json_path_compare(const json_path_t *a, const json_path_t *b,
+ enum json_value_types vt);
#ifdef __cplusplus