[tarantool-patches] Re: [PATCH v9 2/7] sql: fix error code for SQL errors in execute.c

Kirill Yukhin kyukhin at tarantool.org
Fri Mar 29 15:01:39 MSK 2019


Hello,

On 22 Mar 13:50, imeevma at tarantool.org wrote:
> Currently, functions sql_execute() and sql_prepare_and_execute()
> set the ER_SQL_EXECUTE code for all errors that occur during the
> execution of a SQL command. This is considered incorrect because
> some of these errors may have their own error code.
> 
> In addition, all errors that do not have an error code are VDBE
> errors due to issue #3965, so it makes sense to set the error
> code ER_VDBE_EXECUTE for all errors without an error code.
> 
> Part of #3505
I've checked your patch into master.

--
Reagrds, Kirill Yukhin




More information about the Tarantool-patches mailing list