Actions
Bug #21780
closedCannot parse SQL hints
Status:
Closed
Priority:
Should have
Assignee:
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
Updated by Xavier Perseguers almost 15 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