Project

General

Profile

Actions

Bug #82664

closed

Workspaces: MSSQL cannot GROUP BY aliased column

Added by Susanne Moog over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Workspaces
Target version:
-
Start date:
2017-10-04
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #82811: Extend WorkspaceServiceTests for fetchPagesWithVersionsInTableClosedSusanne Moog2017-10-19

Actions
Actions #1

Updated by Gerrit Code Review over 6 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54281

Actions #2

Updated by Oliver Hader over 6 years ago

Sidenote: On MSSQL SELECT is processed after GROUP BY - that's the reason alias names cannot be used here.

Actions #3

Updated by Susanne Moog over 6 years ago

To be complete ;)

DBMS evaluate statements in the following order:
FROM
WHERE
GROUP BY
HAVING
SELECT
ORDER BY

DBMS with additional logic may be able to resolve aliases set in SELECT in other parts already, but to be safe we should write statements as though there is no additional logic.

Actions #4

Updated by Gerrit Code Review over 6 years ago

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54308

Actions #5

Updated by Anonymous over 6 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Oliver Hader over 6 years ago

  • Related to Task #82811: Extend WorkspaceServiceTests for fetchPagesWithVersionsInTable added
Actions #7

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF