[!!!][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>
Showing
- typo3/sysext/core/Documentation/Changelog/master/Breaking-77502-ExtbasePreparsingOfQueriesRemoved.rst 35 additions, 0 deletions...ster/Breaking-77502-ExtbasePreparsingOfQueriesRemoved.rst
- typo3/sysext/core/Documentation/Changelog/master/Deprecation-77502-ExtbasePreparsingOfQueriesRemoved.rst 30 additions, 0 deletions...r/Deprecation-77502-ExtbasePreparsingOfQueriesRemoved.rst
- typo3/sysext/extbase/Classes/Persistence/Generic/Qom/Comparison.php 6 additions, 0 deletions...xt/extbase/Classes/Persistence/Generic/Qom/Comparison.php
- typo3/sysext/extbase/Classes/Persistence/Generic/Qom/ComparisonInterface.php 0 additions, 11 deletions...e/Classes/Persistence/Generic/Qom/ComparisonInterface.php
- typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php 2 additions, 58 deletions...se/Classes/Persistence/Generic/Storage/Typo3DbBackend.php
- typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbQueryParser.php 26 additions, 133 deletions...lasses/Persistence/Generic/Storage/Typo3DbQueryParser.php
- typo3/sysext/extbase/Tests/Functional/Persistence/QueryParserTest.php 0 additions, 78 deletions.../extbase/Tests/Functional/Persistence/QueryParserTest.php
- typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Storage/Typo3DbBackendTest.php 4 additions, 35 deletions...s/Unit/Persistence/Generic/Storage/Typo3DbBackendTest.php
Please register or sign in to comment