[Tarantool-patches] [PATCH 1/1] xrow: introduce struct synchro_request

Cyrill Gorcunov gorcunov at gmail.com
Sat Aug 15 16:38:16 MSK 2020


On Sat, Aug 15, 2020 at 03:24:11PM +0200, Vladislav Shpilevoy wrote:
> 
> Ok, done:
> 
> ====================
> @@ -277,10 +277,11 @@ txn_limbo_write_synchro(struct txn_limbo *limbo, uint32_t type, int64_t lsn)
>  {
>  	assert(lsn > 0);
>  
> -	struct synchro_request req;
> -	req.type = type;
> -	req.replica_id = limbo->instance_id;
> -	req.lsn = lsn;
> +	struct synchro_request req = {
> +		.type		= type,
> +		.replica_id	= limbo->instance_id,
> +		.lsn		= lsn,
> +	};
>  

Ack. Thank you!


More information about the Tarantool-patches mailing list