Project

General

Profile

Actions

Bug #21780

closed

Cannot parse SQL hints

Added by Xavier Perseguers over 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Should have
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2009-12-03
Due date:
% Done:

0%

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

Description

RealURL uses SQL hint in method encodeSpURL_encodeCache (line 664 of class.tx_realurl.php):

$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('/*! SQL_NO_CACHE */ content', ...

This cannot be parsed and gives a fatal error in FE:

PHP Catchable Fatal Error: Argument 1 passed to ux_t3lib_DB::_quoteFieldNames() must be an array, string given, called in /path/to/dbal/class.ux_t3lib_db.php on line 978 and defined in /path/to/dbal/class.ux_t3lib_db.php line 990

(issue imported from #M12897)


Files

12897_core.diff (1.52 KB) 12897_core.diff Administrator Admin, 2009-12-03 11:32
12897_dbal.diff (999 Bytes) 12897_dbal.diff Administrator Admin, 2009-12-03 11:32
Actions #1

Updated by Xavier Perseguers over 14 years ago

Committed to Core-trunk, rev. 6655
Committed to Core-4-3, rev. 6656
Committed to DBAL-trunk, rev. 27623
Committed to DBAL-4-3, rev. 27624

Actions

Also available in: Atom PDF