[tarantool-patches] Re: [PATCH 0/6] Introduce UNSIGNED type in SQL
Kirill Yukhin
kyukhin at tarantool.org
Wed Jul 24 16:01:13 MSK 2019
Hello,
On 07 Jun 18:37, Nikita Pettik wrote:
> Branch: https://github.com/tarantool/tarantool/tree/np/introduce-uint
> Issues:
> https://github.com/tarantool/tarantool/issues/3810
> https://github.com/tarantool/tarantool/issues/4015
>
> Current patch-set allows using UNSIGNED as a column type and operating
> on integer values in range up to [2^64 - 1]. This means that result of
> all basic routines such as arithmetic operations and built-in functions
> is extended to unsigned range.
> The basic idea under the hood is separating storing positive and
> negative integers into different memory cells. We've added new
> type of VDBE memory - MEM_UInt. Now all positive values are stored with
> featuring this flag; in turn, negative integers have MEM_Int type.
> It's quite similar to MP_* format types.
>
> For more details see content of patches.
>
> Nikita Pettik (6):
> sql: refactor sql_atoi64()
> sql: separate VDBE memory holding positive and negative ints
> sql: refactor arithmetic operations to support unsigned ints
> sql: make built-in functions operate on unsigned values
> sql: introduce extended range for INTEGER type
> sql: allow to specify UNSIGNED column type
I've checked the patchset into master.
--
Regards, Kirill Yukhin
More information about the Tarantool-patches
mailing list