[Tarantool-patches] [PATCH 1/2] box/applier: fix typo

Sergey Ostanevich sergos at tarantool.org
Wed Jun 10 12:18:14 MSK 2020


Hi!

Thanks for the catch! 

LGTM
Sergos.


On 09 июн 15:53, Cyrill Gorcunov wrote:
> fixup 3210e1e6f867cfd1c1f65e05f28a32deae63c172
> 
> Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
> ---
>  src/box/applier.cc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/box/applier.cc b/src/box/applier.cc
> index 1dc977424..cf7215d43 100644
> --- a/src/box/applier.cc
> +++ b/src/box/applier.cc
> @@ -271,7 +271,7 @@ applier_on_confirm(struct trigger *trig, void *data)
>  static int
>  process_confirm(struct request *request)
>  {
> -	assert(request->header->type = IPROTO_CONFIRM);
> +	assert(request->header->type == IPROTO_CONFIRM);
>  	uint32_t replica_id;
>  	struct txn *txn = in_txn();
>  	int64_t *lsn = (int64_t *) region_alloc(&txn->region, sizeof(int64_t));
> -- 
> 2.26.2
> 


More information about the Tarantool-patches mailing list