Commit dd03cb37 authored by Alexey Botchkov's avatar Alexey Botchkov

MDEV-5313 Improving audit plugin API.

Type conversion bug fixed.
parent 5fb4e4ab
...@@ -1862,7 +1862,7 @@ static enum json_types smart_read_value(json_engine_t *je, ...@@ -1862,7 +1862,7 @@ static enum json_types smart_read_value(json_engine_t *je,
if (json_skip_level(je)) if (json_skip_level(je))
goto err_return; goto err_return;
*value_len= (char *) je->s.c_str - *value; *value_len= (int) ((char *) je->s.c_str - *value);
} }
return je->value_type; return je->value_type;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment