Skip to content
Snippets Groups Projects
Commit e33966d1 authored by Benni Mack's avatar Benni Mack Committed by Christian Kuhn
Browse files

[!!!][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: default avatarBamboo TYPO3com <info@typo3.com>
Reviewed-by: default avatarOliver Hader <oliver.hader@typo3.org>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent b1902e24
Showing with 103 additions and 315 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment