engine: fix assert for multikey indexes
Since 4273ec52 (box: introduce JSON Indexes) we can create multikey index using array which might be the first tuple field. It technically breaks assertion which implies that first tuple field can't have offset in the tuple field map. Now the assert us updated correspondingly. According test case is added. Closes #5132
Showing
- src/box/tuple_format.c 2 additions, 2 deletionssrc/box/tuple_format.c
- test/engine/gh-5132-multikey-index-assert.result 22 additions, 0 deletionstest/engine/gh-5132-multikey-index-assert.result
- test/engine/gh-5132-multikey-index-assert.test.lua 9 additions, 0 deletionstest/engine/gh-5132-multikey-index-assert.test.lua
Loading
Please register or sign in to comment