feat: reserve function id range
Current commit is a part of the SQL procedures track for Picodata. It introduces several features: - the reserved id range in the _func space, that can be only consumed implicitly; - an additional "id" option for function creation with Lua (to set the function identifier implicitly); - helper function to generate function ids either in reserved or default ranges NO_DOC=internal NO_CHANGELOG=internal
parent
d7ef73b3
No related branches found
No related tags found
Showing
- extra/exports 1 addition, 0 deletionsextra/exports
- src/box/box.cc 52 additions, 11 deletionssrc/box/box.cc
- src/box/box.h 4 additions, 0 deletionssrc/box/box.h
- src/box/errcode.h 1 addition, 1 deletionsrc/box/errcode.h
- src/box/func_cache.c 11 additions, 0 deletionssrc/box/func_cache.c
- src/box/func_cache.h 7 additions, 0 deletionssrc/box/func_cache.h
- src/box/lua/misc.cc 15 additions, 0 deletionssrc/box/lua/misc.cc
- src/box/lua/schema.lua 14 additions, 7 deletionssrc/box/lua/schema.lua
- src/box/schema_def.h 8 additions, 1 deletionsrc/box/schema_def.h
- test/box/access.result 2 additions, 2 deletionstest/box/access.result
- test/box/access_misc.result 1 addition, 1 deletiontest/box/access_misc.result
- test/box/error.result 1 addition, 0 deletionstest/box/error.result
- test/box/function1.result 3 additions, 3 deletionstest/box/function1.result
- test/sql-luatest/func_id_test.lua 73 additions, 0 deletionstest/sql-luatest/func_id_test.lua
- test/wal_off/func_max.result 4 additions, 4 deletionstest/wal_off/func_max.result
Loading
Please register or sign in to comment