summaryrefslogtreecommitdiff
path: root/include/mysql/plugin_audit.h.pp
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2019-01-18 03:18:02 +0400
committerAlexey Botchkov <holyfoot@askmonty.org>2019-01-18 03:18:02 +0400
commitcc18a5db9bce667c9b8722cdf6f51ee83b55a4b0 (patch)
treeeb6aafe6d4bc36cacf68bc3d9955669ddbb37f3b /include/mysql/plugin_audit.h.pp
parentdd03cb3776e6d25dc1dd2c3a83473a1b78ae99f9 (diff)
downloadmariadb-git-cc18a5db9bce667c9b8722cdf6f51ee83b55a4b0.tar.gz
MDEV-5313 Improving audit API.
json_locate_key() implemented. get rid of 'key_len' argument in functions.
Diffstat (limited to 'include/mysql/plugin_audit.h.pp')
-rw-r--r--include/mysql/plugin_audit.h.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mysql/plugin_audit.h.pp b/include/mysql/plugin_audit.h.pp
index 47f07ae03c8..c5ae678e82a 100644
--- a/include/mysql/plugin_audit.h.pp
+++ b/include/mysql/plugin_audit.h.pp
@@ -393,7 +393,7 @@ extern struct json_service_st {
int n_item,
const char **value, int *value_len);
enum json_types (*json_get_object_key)(const char *js, const char *js_end,
- const char *key, const char *key_end,
+ const char *key,
const char **value, int *value_len);
enum json_types (*json_get_object_nkey)(const char *js,const char *js_end,
int nkey,
@@ -410,7 +410,7 @@ enum json_types json_get_array_item(const char *js, const char *js_end,
int n_item,
const char **value, int *value_len);
enum json_types json_get_object_key(const char *js, const char *js_end,
- const char *key, const char *key_end,
+ const char *key,
const char **value, int *value_len);
enum json_types json_get_object_nkey(const char *js,const char *js_end, int nkey,
const char **keyname, const char **keyname_end,