Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH v1 0/2] sql: VARBINARY result for user-defined functions
@ 2021-05-28 11:41 Mergen Imeev via Tarantool-patches
  2021-05-28 11:41 ` [Tarantool-patches] [PATCH v1 1/2] sql: VARBINARY result for C functions Mergen Imeev via Tarantool-patches
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Mergen Imeev via Tarantool-patches @ 2021-05-28 11:41 UTC (permalink / raw)
  To: v.shpilevoy; +Cc: tarantool-patches

This patch allows VARBINARY to be returned for user-defined functions. Also,
since there is currently no support for UUID and DECIMAL in SQL, so they are
also treated as VARBINARY.

Mergen Imeev (2):
  sql: VARBINARY result for C functions
  sql: VARBINARY result for LUA functions

 .../fix-error-on-return-bin-from-funcs.md     |  3 +
 src/box/sql/mem.c                             | 44 ++++++++++
 test/sql-tap/CMakeLists.txt                   |  1 +
 test/sql-tap/gh-6024-funcs-return-bin.c       | 46 ++++++++++
 .../sql-tap/gh-6024-funcs-return-bin.test.lua | 85 +++++++++++++++++++
 5 files changed, 179 insertions(+)
 create mode 100644 changelogs/unreleased/fix-error-on-return-bin-from-funcs.md
 create mode 100644 test/sql-tap/gh-6024-funcs-return-bin.c
 create mode 100755 test/sql-tap/gh-6024-funcs-return-bin.test.lua

-- 
2.25.1


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

end of thread, other threads:[~2021-06-01 21:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-28 11:41 [Tarantool-patches] [PATCH v1 0/2] sql: VARBINARY result for user-defined functions Mergen Imeev via Tarantool-patches
2021-05-28 11:41 ` [Tarantool-patches] [PATCH v1 1/2] sql: VARBINARY result for C functions Mergen Imeev via Tarantool-patches
2021-05-28 21:05   ` Vladislav Shpilevoy via Tarantool-patches
2021-05-31 10:18     ` Mergen Imeev via Tarantool-patches
2021-05-28 11:41 ` [Tarantool-patches] [PATCH v1 2/2] sql: VARBINARY result for LUA functions Mergen Imeev via Tarantool-patches
2021-06-01 21:44 ` [Tarantool-patches] [PATCH v1 0/2] sql: VARBINARY result for user-defined functions Vladislav Shpilevoy 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