sql: allow LIMIT with different sorting order
This patch allows LIMIT to be used with a different sort order in ORDER BY. This is a temporary solution and should be changed after issue #3309 is fixed. NO_DOC=It is fix of existing feature Closes #6664
Showing
- changelogs/unreleased/gh-6664-limit-in-oder-by.md 4 additions, 0 deletionschangelogs/unreleased/gh-6664-limit-in-oder-by.md
- src/box/sql/expr.c 0 additions, 19 deletionssrc/box/sql/expr.c
- src/box/sql/parse.y 0 additions, 2 deletionssrc/box/sql/parse.y
- src/box/sql/select.c 28 additions, 3 deletionssrc/box/sql/select.c
- src/box/sql/sqlInt.h 0 additions, 18 deletionssrc/box/sql/sqlInt.h
- test/sql-luatest/gh_6664_allow_limit_in_order_by_test.lua 94 additions, 0 deletionstest/sql-luatest/gh_6664_allow_limit_in_order_by_test.lua
- test/sql-luatest/suite.ini 3 additions, 0 deletionstest/sql-luatest/suite.ini
- test/sql-tap/orderby8.test.lua 4 additions, 4 deletionstest/sql-tap/orderby8.test.lua
Loading
Please register or sign in to comment