[Tarantool-patches] [PATCH 1/2] session: store output format in struct session
Nikita Pettik
korablev at tarantool.org
Wed Apr 8 00:09:59 MSK 2020
On 06 Apr 17:33, Chris Sosnin wrote:
> diff --git a/src/box/session.h b/src/box/session.h
> index 6dfc7cba5..9ade6e7a5 100644
> --- a/src/box/session.h
> +++ b/src/box/session.h
> @@ -59,6 +59,12 @@ enum session_type {
> session_type_MAX,
> };
>
> +enum output_format {
> + OUTPUT_FORMAT_YAML = 0,
> + OUTPUT_FORMAT_LUA_LINE,
> + OUTPUT_FORMAT_LUA_BLOCK,
> +};
> +
>
It would be nice to see explanation concering difference between
LUA_LINE and LUA_BLOCK outputs.
LGTM (looks like pure refactoring).
More information about the Tarantool-patches
mailing list