[Tarantool-patches] [PATCH v2 0/3] Replace MEM-type flags by enum mem_type

imeevma at tarantool.org imeevma at tarantool.org
Tue Apr 27 19:55:20 MSK 2021


After this patche-set, the MEM type could be determined by the value in the
special field, and not by the "flags" field.

https://github.com/tarantool/tarantool/issues/4906
https://github.com/tarantool/tarantool/tree/imeevma/gh-4906-rework-mem-types

Changes in v2:
 - Added two new commits.

Mergen Imeev (3):
  sql: initialize MEM used in aggregate functions
  sql: make mem_is_bin() to check only for VARBINARY
  sql: replace MEM-type flags by enum mem_type

 src/box/sql/func.c    |  31 +-
 src/box/sql/mem.c     | 954 +++++++++++++++++++++++-------------------
 src/box/sql/mem.h     | 199 +++++----
 src/box/sql/sqlInt.h  |   7 +
 src/box/sql/vdbe.c    |  16 +-
 src/box/sql/vdbeapi.c |  20 +
 src/box/sql/vdbemem.c |   3 +-
 7 files changed, 673 insertions(+), 557 deletions(-)

-- 
2.25.1



More information about the Tarantool-patches mailing list