Project

General

Profile

Bug #80781 ยป 0001-BUGFIX-fix-doctrine-statement-fetchAll-method-call.patch

Martin Born, 2017-04-10 11:58

View differences:

typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php
} catch (DBALException $e) {
throw new SqlErrorException($e->getPrevious()->getMessage(), 1481281404);
}
$rows = $result->fetchAll();
$rows = $realStatement->fetchAll();
} elseif ($realStatement instanceof \TYPO3\CMS\Core\Database\PreparedStatement) {
GeneralUtility::deprecationLog('Extbase support for Prepared Statements has been deprecated in TYPO3 v8, and will be removed in TYPO3 v9. Use native Doctrine DBAL Statements or QueryBuilder objects.');
$realStatement->execute($parameters);
    (1-1/1)