[tarantool-patches] Re: [PATCH 1/1] box: add a method to check if transaction is open

Alexander Turenko alexander.turenko at tarantool.org
Fri Sep 21 05:41:45 MSK 2018


This commit looks good to me, except one comment.

WBR, Alexander Turenko.

> +box.is_in_txn = function()
> +    return builtin.box_txn()
> +end
> +

Can be reduced to just `box.is_in_txn = builtin.box_txn`.




More information about the Tarantool-patches mailing list