Fix a bug in qsort
In commit (35334ca1) qsort was fixed but unfortunately a small typo was introduced. Due to that typo the qsort made its job wrong. Fix the problem and add unit test for qsort. Unfortunately the test right from the issue runs extremely long, so it should go to long-tests. Closes #7605 NO_DOC=bugfix (cherry picked from commit e1d96170)
Showing
- changelogs/unreleased/gh-7605-fix-qsort.md 3 additions, 0 deletionschangelogs/unreleased/gh-7605-fix-qsort.md
- test/box-luatest/gh_7605_qsort_recovery_test.lua 101 additions, 0 deletionstest/box-luatest/gh_7605_qsort_recovery_test.lua
- test/box-luatest/suite.ini 1 addition, 0 deletionstest/box-luatest/suite.ini
- test/unit/CMakeLists.txt 3 additions, 0 deletionstest/unit/CMakeLists.txt
- test/unit/qsort_arg.cc 85 additions, 0 deletionstest/unit/qsort_arg.cc
- test/unit/qsort_arg.result 17 additions, 0 deletionstest/unit/qsort_arg.result
- third_party/qsort_arg_mt.c 1 addition, 1 deletionthird_party/qsort_arg_mt.c
Loading
Please register or sign in to comment