Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix column sorting with limit subquery #19146

Open
wants to merge 1 commit into
base: QA_5_2
Choose a base branch
from

Conversation

MoonE
Copy link
Contributor

@MoonE MoonE commented May 3, 2024

Description

Fixes #16817

Copy link

codecov bot commented May 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 49.98%. Comparing base (1a781a0) to head (b0014b1).
Report is 2 commits behind head on QA_5_2.

Current head b0014b1 differs from pull request most recent head 901ea26

Please upload reports for the commit 901ea26 to get more accurate results.

Additional details and impacted files
@@             Coverage Diff              @@
##             QA_5_2   #19146      +/-   ##
============================================
+ Coverage     48.64%   49.98%   +1.34%     
+ Complexity    17015    16675     -340     
============================================
  Files           607      607              
  Lines         72326    69296    -3030     
============================================
- Hits          35183    34638     -545     
+ Misses        37143    34658    -2485     
Flag Coverage Δ
dbase-extension ?
recode-extension ?
unit-7.2-ubuntu-latest ?
unit-7.3-ubuntu-latest 48.57% <100.00%> (-1.32%) ⬇️
unit-7.4-ubuntu-latest 48.57% <100.00%> (-0.01%) ⬇️
unit-8.0-ubuntu-latest 49.90% <100.00%> (?)
unit-8.1-ubuntu-latest 48.62% <100.00%> (+0.01%) ⬆️
unit-8.2-ubuntu-latest 49.87% <100.00%> (+<0.01%) ⬆️
unit-8.3-ubuntu-latest 49.37% <100.00%> (+0.78%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MoonE MoonE marked this pull request as ready for review May 9, 2024 20:38
The used regex found the subquery limit and added the order
clause before that. Better to use Query::replaceClause here.

Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant