Tarantool development patches archive
 help / color / mirror / Atom feed
From: Kirill Shcherbatov <kshcherbatov@tarantool.org>
To: tarantool-patches@freelists.org, korablev@tarantool.org
Cc: Kirill Shcherbatov <kshcherbatov@tarantool.org>
Subject: [tarantool-patches] [PATCH v2 0/3] sql: fixes for ck constraints involving a function
Date: Thu, 12 Sep 2019 11:06:40 +0300	[thread overview]
Message-ID: <cover.1568275504.git.kshcherbatov@tarantool.org> (raw)

This patchset fixes some problems with CK constraints using user-defined
function in some corner case.

Branch: http://github.com/tarantool/tarantool/tree/kshch/gh-4176-ck-func-recovery-failure
Issue: https://github.com/tarantool/tarantool/issues/4176

Kirill Shcherbatov (3):
  box: an ability to disable CK constraints
  sql: disallow ck using non-persistent function
  sql: use name instead of function pointer for UDF

 extra/exports            |   1 +
 src/box/ck_constraint.c  |  23 +++++-
 src/box/ck_constraint.h  |  19 +++++
 src/box/lua/schema.lua   |  13 ++++
 src/box/lua/space.cc     |   3 +
 src/box/memtx_engine.c   |  15 ++++
 src/box/sql/expr.c       |  17 +++--
 src/box/sql/resolve.c    |  10 +++
 src/box/sql/vdbe.c       |  17 +++--
 src/box/sql/vdbe.h       |   1 +
 test/sql/checks.result   | 155 +++++++++++++++++++++++++++++++++++++++
 test/sql/checks.test.lua |  61 +++++++++++++++
 12 files changed, 323 insertions(+), 12 deletions(-)

-- 
2.23.0

             reply	other threads:[~2019-09-12  8:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-12  8:06 Kirill Shcherbatov [this message]
2019-09-12  8:06 ` [tarantool-patches] [PATCH v2 1/3] box: an ability to disable CK constraints Kirill Shcherbatov
2019-09-12 14:00   ` [tarantool-patches] " Nikita Pettik
2019-09-12 14:15     ` Kirill Shcherbatov
2019-09-12  8:06 ` [tarantool-patches] [PATCH v2 2/3] sql: disallow ck using non-persistent function Kirill Shcherbatov
2019-09-12 11:54   ` [tarantool-patches] " Nikita Pettik
2019-09-12  8:06 ` [tarantool-patches] [PATCH v2 3/3] sql: use name instead of function pointer for UDF Kirill Shcherbatov
2019-09-12 12:13   ` [tarantool-patches] " Nikita Pettik

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.1568275504.git.kshcherbatov@tarantool.org \
    --to=kshcherbatov@tarantool.org \
    --cc=korablev@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --subject='Re: [tarantool-patches] [PATCH v2 0/3] sql: fixes for ck constraints involving a function' \
    /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