box: support exclude_null option in functional indexes
Currently, exclude_null option doesn't affect functional indexes at all. It seems that we just forgot to check if tuple should be inserted to the index - the patch simply adds missing check in replace and build_next methods of functional memtx_tree index. Closes #9732 NO_DOC=bugfix
Showing
- changelogs/unreleased/gh-9732-func-index-exclude-null.md 3 additions, 0 deletionschangelogs/unreleased/gh-9732-func-index-exclude-null.md
- src/box/memtx_tree.cc 10 additions, 0 deletionssrc/box/memtx_tree.cc
- test/box-luatest/gh_9732_func_index_exclude_null_test.lua 209 additions, 0 deletionstest/box-luatest/gh_9732_func_index_exclude_null_test.lua
Loading
Please register or sign in to comment