box: fix thread_id check in box.stat.net.thread[]
The valid range for thread_id is [0, iproto_threads_count - 1]. Closes #7196 NO_DOC=bugfix
Showing
- changelogs/unreleased/gh-7196-fix-box-stat-net-thread.md 4 additions, 0 deletionschangelogs/unreleased/gh-7196-fix-box-stat-net-thread.md
- src/box/lua/stat.c 1 addition, 1 deletionsrc/box/lua/stat.c
- test/box/gh-6293-implement-new-net-stat.result 9 additions, 0 deletionstest/box/gh-6293-implement-new-net-stat.result
- test/box/gh-6293-implement-new-net-stat.test.lua 4 additions, 0 deletionstest/box/gh-6293-implement-new-net-stat.test.lua
Please register or sign in to comment