MDEV-5313 Improving audit plugin API.

Type conversion bug fixed.
This commit is contained in:
Alexey Botchkov
2019-01-17 19:49:56 +04:00
parent 5fb4e4ab39
commit dd03cb3776

View File

@ -1862,7 +1862,7 @@ static enum json_types smart_read_value(json_engine_t *je,
if (json_skip_level(je))
goto err_return;
*value_len= (char *) je->s.c_str - *value;
*value_len= (int) ((char *) je->s.c_str - *value);
}
return je->value_type;