diff options
author | Alexey Botchkov <holyfoot@askmonty.org> | 2018-12-12 01:49:39 +0400 |
---|---|---|
committer | Alexey Botchkov <holyfoot@askmonty.org> | 2018-12-12 01:49:39 +0400 |
commit | b1527ef51ccf5c4d7a4a3847c542ef9a81a97240 (patch) | |
tree | 3d4ff816a77e34be669b21d4c44171d1b18f456d /strings | |
parent | dc6ad597656e8173dd73edb58a967152df70dc9e (diff) | |
download | mariadb-git-b1527ef51ccf5c4d7a4a3847c542ef9a81a97240.tar.gz |
MDEV-5313 Improving audit api.
Service added to handle json.
Diffstat (limited to 'strings')
-rw-r--r-- | strings/json_lib.c | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/strings/json_lib.c b/strings/json_lib.c index 7a6e0c5cbff..e3727368025 100644 --- a/strings/json_lib.c +++ b/strings/json_lib.c @@ -1846,3 +1846,35 @@ int json_path_compare(const json_path_t *a, const json_path_t *b, b->steps+1, b->last_step, vt); } + +enum json_types json_type(const char *js, const char *js_end, + const char **v, int *vlen) +{ + return JSV_NOTHING; +} + + +enum json_types json_get_array_item(const char *js, const char *js_end, + int n_item, + const char **v, int *vlen) +{ + return JSV_NOTHING; +} + + +enum json_types json_get_object_key(const char *js, const char *js_end, + const char *key, + const char **v, int *vlen) +{ + return JSV_NOTHING; +} + + +enum json_types json_get_object_nkey(const char *js,const char *js_end, int nkey, + const char **keyname, const char **keyname_end, + const char **v, int *vlen) +{ + return JSV_NOTHING; +} + + |