Project

General

Profile

Actions

Bug #25488

closed

compileWhereClause causes Extbase errors with DBAL due to wrong handling of FIND_IN_SET

Added by Patrick Schriner over 13 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Must have
Category:
-
Target version:
Start date:
2011-03-31
Due date:
% Done:

0%

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

Description

t3lib_sqlparser::compileWhereClause iterates over the where subparts. It is called from DBAL when running DBAL in native (mysql) mode.

It does however resets it's output string whenever the subpart is either FIND_IN_SET or IFNULL. This causes the queries built by extbase to fail.


Files

25488.diff (1.15 KB) 25488.diff a patch proposal Patrick Schriner, 2011-03-31 12:16

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #27134: wrong where clause compilation with multiple FIELD_IN_SET query partsRejected2011-05-30

Actions
Actions

Also available in: Atom PDF