[tarantool-patches] Re: [PATCH v1 10/12] sql: remove field errCode from struct sql

n.pettik korablev at tarantool.org
Wed May 15 16:32:27 MSK 2019



> On 5 May 2019, at 15:17, imeevma at tarantool.org wrote:
> 
> This field became unusued and should be removed.
> ---
> 
> diff --git a/src/box/sql/main.c b/src/box/sql/main.c
> index a3c6aa1..155cbcc 100644
> --- a/src/box/sql/main.c
> +++ b/src/box/sql/main.c
> @@ -568,22 +568,6 @@ sqlTempInMemory(const sql * db)
> }
> 
> /*
> - * Return the most recent error code generated by an sql routine. If NULL is
> - * passed to this function, we assume a malloc() failed during sql_open().
> - */
> -int
> -sql_errcode(sql * db)

Still see several mentions of this function in comments.





More information about the Tarantool-patches mailing list