Tarantool development patches archive
 help / color / mirror / Atom feed
* [tarantool-patches] [PATCH v2 0/3] sql: fixes for ck constraints involving a function
@ 2019-09-12  8:06 Kirill Shcherbatov
  2019-09-12  8:06 ` [tarantool-patches] [PATCH v2 1/3] box: an ability to disable CK constraints Kirill Shcherbatov
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Kirill Shcherbatov @ 2019-09-12  8:06 UTC (permalink / raw)
  To: tarantool-patches, korablev; +Cc: Kirill Shcherbatov

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

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

end of thread, other threads:[~2019-09-12 14:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-12  8:06 [tarantool-patches] [PATCH v2 0/3] sql: fixes for ck constraints involving a function Kirill Shcherbatov
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

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