Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH v2 0/2] Encapsulate MEM type changing and checking
@ 2021-02-13 15:38 Mergen Imeev via Tarantool-patches
  2021-02-13 15:38 ` [Tarantool-patches] [PATCH v2 1/2] sql: Initialize MEM in sqlVdbeAllocUnpackedRecord() Mergen Imeev via Tarantool-patches
  2021-02-13 15:38 ` [Tarantool-patches] [PATCH v2 2/2] sql: encapsulate setting type checking of MEM Mergen Imeev via Tarantool-patches
  0 siblings, 2 replies; 3+ messages in thread
From: Mergen Imeev via Tarantool-patches @ 2021-02-13 15:38 UTC (permalink / raw)
  To: s.ostanevich, tsafin; +Cc: tarantool-patches

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-02-13 15:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-13 15:38 [Tarantool-patches] [PATCH v2 0/2] Encapsulate MEM type changing and checking Mergen Imeev via Tarantool-patches
2021-02-13 15:38 ` [Tarantool-patches] [PATCH v2 1/2] sql: Initialize MEM in sqlVdbeAllocUnpackedRecord() Mergen Imeev via Tarantool-patches
2021-02-13 15:38 ` [Tarantool-patches] [PATCH v2 2/2] sql: encapsulate setting type checking of MEM Mergen Imeev via Tarantool-patches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox