sql: errors for UDFs returning too many values
This patch introduces handling the situation when UDF returns too many values. Previously Tarantool used to silently use the first value returned. Now an error is raised. Moreover a test coverage is improved also for the situation when no value is returned. Needed for #4387
Showing
- src/box/errcode.h 1 addition, 0 deletionssrc/box/errcode.h
- src/box/sql/func.c 11 additions, 9 deletionssrc/box/sql/func.c
- test/box/function1.c 19 additions, 0 deletionstest/box/function1.c
- test/box/function1.result 34 additions, 1 deletiontest/box/function1.result
- test/box/function1.test.lua 12 additions, 0 deletionstest/box/function1.test.lua
- test/box/misc.result 1 addition, 0 deletionstest/box/misc.result
Loading
Please register or sign in to comment