Project

General

Profile

Actions

Bug #14825

closed

dbal does not parse DISTINCT correctly

Added by Christian Welzel over 19 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2005-06-17
Due date:
% Done:

0%

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

Description

when using a query with a DISTINCT in the fields-list
like that:

$fields = 'DISTINCT tx_chcforum_thread.uid as uid, tx_chcforum_post.hidden as posthidden';

dbal produces a query without any fields at all like this:
SELECT FROM table WHERE ...

(issue imported from #M1206)

Actions #1

Updated by Karsten Dambekalns almost 19 years ago

Using DISTINCT is now supported in parseFieldList() and compileFieldList().

Actions

Also available in: Atom PDF