Tarantool development patches archive
 help / color / mirror / Atom feed
From: Mergen Imeev via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: s.ostanevich@corp.mail.ru, tsafin@tarantool.org
Cc: tarantool-patches@dev.tarantool.org
Subject: [Tarantool-patches] [PATCH v2 0/2] Encapsulate MEM type changing and checking
Date: Sat, 13 Feb 2021 18:38:27 +0300	[thread overview]
Message-ID: <cover.1613230498.git.imeevma@gmail.com> (raw)

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


             reply	other threads:[~2021-02-13 15:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-13 15:38 Mergen Imeev via Tarantool-patches [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1613230498.git.imeevma@gmail.com \
    --to=tarantool-patches@dev.tarantool.org \
    --cc=imeevma@tarantool.org \
    --cc=s.ostanevich@corp.mail.ru \
    --cc=tsafin@tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH v2 0/2] Encapsulate MEM type changing and checking' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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