[tarantool-patches] Re: [PATCH] sql: fix extra type calculation before bytecode generation

Kirill Yukhin kyukhin at tarantool.org
Fri Apr 5 18:35:54 MSK 2019


Hello,

On 05 Apr 03:06, Nikita Pettik wrote:
> In SQL type of constant literal (e.g. 1, 2.5, 'abc') is assigned right
> after parsing and saving into struct Expr. Occasionally, type is
> re-assigned before emitting opcodes to store literal into VDBE memory.
> What is more, for floating point number type is changed to "integer".
> This patch fixes this obvious misbehaviour.
> ---
> Branch: https://github.com/tarantool/tarantool/tree/np/fix-float-type-meta

I've checked the patch into master and 2.1 branch.

--
Regards, Kirill Yukhin




More information about the Tarantool-patches mailing list