box: fix function definition wrong options error message
During creation of a function definition, an error condition for spaces is diagnosed for wrong options: change it to its own error code. While we are here, cover missing function definition error conditions. Closes #7972 NO_DOC=bugfix
Showing
- changelogs/unreleased/gh-7972-func-def-wrong-options-err-msg.md 4 additions, 0 deletions...logs/unreleased/gh-7972-func-def-wrong-options-err-msg.md
- src/box/alter.cc 1 addition, 1 deletionsrc/box/alter.cc
- src/box/errcode.h 1 addition, 0 deletionssrc/box/errcode.h
- test/box-luatest/gh_7972_func_def_err_conditions_test.lua 164 additions, 0 deletionstest/box-luatest/gh_7972_func_def_err_conditions_test.lua
- test/box/error.result 1 addition, 0 deletionstest/box/error.result
Loading
Please register or sign in to comment