[!!!][TASK] Extbase: Remove preparsing of queries 70/49470/9
authorBenni Mack <benni@typo3.org>
Fri, 12 Aug 2016 16:06:46 +0000 (18:06 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 16 Aug 2016 11:07:31 +0000 (13:07 +0200)
commite33966d1198bd95ca06df9a1668978e37c6459ee
treec04f627d250248bdb74ef93acd04629fd7c92e8c
parentb1902e24750fec25196e9b6e01b03187a0ff7c45
[!!!][TASK] Extbase: Remove preparsing of queries

The whole concept of having placeholders is a pseudo-prepared
statement idea, which RDBMS do inside their query cache. The logic
inside PHP is therefore removed.

The following public methods have been removed:
* Typo3DbBackend->quoteTextValueCallback()
* Typo3DbQueryParser->preparseQuery()
* Typo3DbQueryParser->normalizeParameterIdentifier()
* Typo3DbQueryParser->addDynamicQueryParts()
* ComparisonInterface->setParameterIdentifier
* ComparisonInterface->getParameterIdentifier

The following methods have been marked as deprecated:
* Comparison->setParameterIdentifier()
* Comparison->getParameterIdentifier()

This patch is one of the prerequisites to introduce the Doctrine DBAL
QueryBuilder instead of building raw SQL statements.

Resolves: #77502
Releases: master
Change-Id: Ia5be0148874c15337ab5ce60094e9eae72fe3d9e
Reviewed-on: https://review.typo3.org/49470
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Documentation/Changelog/master/Breaking-77502-ExtbasePreparsingOfQueriesRemoved.rst [new file with mode: 0644]
typo3/sysext/core/Documentation/Changelog/master/Deprecation-77502-ExtbasePreparsingOfQueriesRemoved.rst [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/Comparison.php
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/ComparisonInterface.php
typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php
typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbQueryParser.php
typo3/sysext/extbase/Tests/Functional/Persistence/QueryParserTest.php
typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Storage/Typo3DbBackendTest.php