box: fix inheriting format options for old-style parts
If index parts are specified using old syntax like: parts = {1, 'number', 2, 'string'}, then (except if parts count is 1) index options set in space format are not taken into account. Solution is to continue after parsing 1.6.0 style parts so to use code that check format options. Closes #7614 NO_DOC=bugfix
Showing
- changelogs/unreleased/gh-7614-fix-nullable-from-format.md 4 additions, 0 deletionschangelogs/unreleased/gh-7614-fix-nullable-from-format.md
- src/box/lua/schema.lua 2 additions, 2 deletionssrc/box/lua/schema.lua
- test/box-luatest/gh_7614_fix_nullable_from_format_test.lua 30 additions, 0 deletionstest/box-luatest/gh_7614_fix_nullable_from_format_test.lua
Loading
Please register or sign in to comment