sql: forbid diff. sorting orders in ORDER BY + LIMIT
Without multi-directional iterators (to be introduced in #3309) ORDER BY + LIMIT with different specified ordered leads to wrong result. So for now (till #3309 is resolved) different sort orders are forbidden in ORDER BY + LIMIT. Close #4038 @TarantoolBot document Title: different sorting orders in ORDER BY are forbidden now The error will be raised if different sorting orders are encountered.
Showing
- src/box/sql/expr.c 19 additions, 0 deletionssrc/box/sql/expr.c
- src/box/sql/parse.y 2 additions, 0 deletionssrc/box/sql/parse.y
- src/box/sql/sqlInt.h 18 additions, 0 deletionssrc/box/sql/sqlInt.h
- test/sql-tap/orderby6.test.lua 49 additions, 33 deletionstest/sql-tap/orderby6.test.lua
- test/sql-tap/orderby8.test.lua 26 additions, 1 deletiontest/sql-tap/orderby8.test.lua
Loading
Please register or sign in to comment