sql: VARBINARY result for LUA functions
This patch allows VARBINARY to be returned for user-defined LUA functions. However, there are currently no values that can be interpreted as VARBINARY by the serializer, so the only way to get a VARBINARY result for user-defined LUA functions is to return a UUID or DECIMAL. Both types are not supported by SQL and are treated as VARBINARY. Closes #6024
Showing
- changelogs/unreleased/fix-error-on-return-bin-from-funcs.md 3 additions, 0 deletionschangelogs/unreleased/fix-error-on-return-bin-from-funcs.md
- src/box/sql/mem.c 33 additions, 0 deletionssrc/box/sql/mem.c
- test/sql-tap/gh-6024-funcs-return-bin.test.lua 35 additions, 1 deletiontest/sql-tap/gh-6024-funcs-return-bin.test.lua
Loading
Please register or sign in to comment