MDEV-5313 Improving audit plugin API.
Type conversion bug fixed.
This commit is contained in:
parent
5fb4e4ab39
commit
dd03cb3776
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user