box: fix complex foreign keys with nullable fields
If a foreign key consists of multiple fields with `is_nullable=true` attribute, it's OK to insert a tuple with all-null key, however a combination of null and non-null fields is not allowed. Closes #7046 NO_DOC=bugfix
Showing
- changelogs/unreleased/gh-7046-fix-nullable-complex-fkeys.md 3 additions, 0 deletionschangelogs/unreleased/gh-7046-fix-nullable-complex-fkeys.md
- src/box/tuple_constraint_fkey.c 30 additions, 13 deletionssrc/box/tuple_constraint_fkey.c
- test/engine-luatest/gh_7046_complex_fkey_nullable_test.lua 150 additions, 0 deletionstest/engine-luatest/gh_7046_complex_fkey_nullable_test.lua
Loading
Please register or sign in to comment