[tarantool-patches] Re: [PATCH v1 20/21] sql: replace rc by is_aborted in struct Parse

n.pettik korablev at tarantool.org
Sat May 25 18:46:34 MSK 2019


Not struct Parse, but struct Vdbe.

> diff --git a/src/box/sql/vdbeapi.c b/src/box/sql/vdbeapi.c
> index 1842e26..0a4f45f 100644
> --- a/src/box/sql/vdbeapi.c
> +++ b/src/box/sql/vdbeapi.c
> 
> 
> diff --git a/src/box/sql/vdbeaux.c b/src/box/sql/vdbeaux.c
> index 28b423d..944a8a7 100644
> --- a/src/box/sql/vdbeaux.c
> +++ b/src/box/sql/vdbeaux.c
> 
> @@ -1703,7 +1701,6 @@ sqlVdbeRewind(Vdbe * p)
> 	}
> #endif
> 	p->pc = -1;
> -	p->rc = 0;

Why not setting here is_aborted = false; ?






More information about the Tarantool-patches mailing list