box: raise ER_ITERATOR_POSITION on any kind of invalid position
Currently, if the position isn't compatible with the index, we raise an error like "Invalid key part count ...". From this error it's difficult to figure out whether it's for the given iterator position of for the search key. Let's always raise ER_ITERATOR_POSITION in this case. Later on we'll use stacked diag to add extra error info. Needed for #8403 Needed for #8404 NO_DOC=bug fix NO_CHANGELOG=unreleased
Showing
- src/box/box.cc 3 additions, 1 deletionsrc/box/box.cc
- src/box/index.cc 9 additions, 3 deletionssrc/box/index.cc
- test/box-luatest/pagination_netbox_test.lua 1 addition, 4 deletionstest/box-luatest/pagination_netbox_test.lua
- test/engine-luatest/pagination_test.lua 4 additions, 5 deletionstest/engine-luatest/pagination_test.lua
Loading