box: strengthen field type check
Don't accept an empty string or leading part of "str" or "num" as a valid field type. Closes #5940 NO_DOC=Partial field types weren't documented Co-authored-by:Alexander Turenko <alexander.turenko@tarantool.org> (cherry picked from commit 2dbaf9c2)
Showing
- changelogs/unreleased/gh-5940-strengthen-field-type-check.md 4 additions, 0 deletionschangelogs/unreleased/gh-5940-strengthen-field-type-check.md
- src/box/field_def.c 2 additions, 2 deletionssrc/box/field_def.c
- test/box-luatest/gh_5940_partial_field_type_test.lua 26 additions, 0 deletionstest/box-luatest/gh_5940_partial_field_type_test.lua
Loading
Please register or sign in to comment