[Tarantool-patches] [PATCH v4 25/53] sql: introduce mem_set_unsigned()

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Tue Mar 30 02:04:30 MSK 2021


Thanks for the patch!

> diff --git a/src/box/sql/mem.c b/src/box/sql/mem.c
> index 13a587aba..f7a1a9b8a 100644
> --- a/src/box/sql/mem.c
> +++ b/src/box/sql/mem.c
> @@ -1765,7 +1774,7 @@ mem_convert_to_unsigned(struct Mem *mem)
>  	double d = mem->u.r;
>  	if (d < 0.0 || d >= (double)UINT64_MAX)
>  		return -1;
> -	mem_set_u64(mem, (uint64_t) d);
> +	mem_set_unsigned(mem, (uint64_t) d);

Whitespace after unary operator.


More information about the Tarantool-patches mailing list