[Tarantool-patches] [PATCH v2 0/2] Encapsulate MEM type changing and checking

imeevma at tarantool.org imeevma at tarantool.org
Sat Feb 13 18:38:27 MSK 2021


This patch-set encapsulates type changing and checking for MEM. This is done to
make easier for us to introduce new rules for implicit and explicit type casting
and new types in SQL.

https://github.com/tarantool/tarantool/issues/4470
https://github.com/tarantool/tarantool/tree/imeevma/gh-4470-encapsule-type-setting

Changes in v2:
  - Squashed almost all patches.
  - Review fixes.

Mergen Imeev (2):
  sql: Initialize MEM in sqlVdbeAllocUnpackedRecord()
  sql: encapsulate setting type checking of MEM

 src/box/sql/func.c      |   2 +-
 src/box/sql/vdbe.c      | 529 ++++++++++++++++++----------------------
 src/box/sql/vdbeInt.h   | 204 ++++++++++++++++
 src/box/sql/vdbeapi.c   |  53 ++--
 src/box/sql/vdbeaux.c   | 273 ++++++++++-----------
 src/box/sql/vdbemem.c   | 116 +++++++++
 src/box/sql/vdbesort.c  |   9 +-
 src/box/sql/vdbetrace.c |  12 +-
 8 files changed, 715 insertions(+), 483 deletions(-)

-- 
2.25.1



More information about the Tarantool-patches mailing list