[FEATURE] Execute native prepared queries 31/28231/10
authorXavier Perseguers <xavier@typo3.org>
Mon, 10 Mar 2014 15:41:14 +0000 (16:41 +0100)
committerJigal van Hemert <jigal.van.hemert@typo3.org>
Tue, 18 Mar 2014 10:39:10 +0000 (11:39 +0100)
commit5487900c5ad094cd8dc733f5e8cdc627673e94ff
tree56e9506bb9c04a333f6673c7ee06e71642050967
parentc3b1beded07f94f46ab94fe8ef84687186b28c34
[FEATURE] Execute native prepared queries

As TYPO3 is now using mysqli, prepared queries are natively supported
and should be used.

DBAL, however, does not yet actually use native prepared queries but
falls back to standard queries by replacing placeholders and executing
the underlying SQL query.

Change-Id: If50da6e6d27af89e01c0439bcb9d39a85615a75d
Resolves: #27372
Releases: 6.2
Reviewed-on: https://review.typo3.org/28231
Reviewed-by: Andreas Fernandez
Tested-by: Andreas Fernandez
Tested-by: Wouter Wolters
Reviewed-by: Markus Klein
Reviewed-by: Stefan Neufeind
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
typo3/sysext/core/Classes/Database/DatabaseConnection.php
typo3/sysext/core/Classes/Database/PreparedStatement.php
typo3/sysext/core/Tests/Unit/Database/PreparedStatementTest.php
typo3/sysext/dbal/Classes/Database/AdodbPreparedStatement.php [new file with mode: 0644]
typo3/sysext/dbal/Classes/Database/DatabaseConnection.php
typo3/sysext/dbal/Tests/Unit/Database/DatabaseConnectionTest.php