[BUGFIX] Fix usage of preparedStatement object in $query->statement 26/28726/9
authorMarc Bastian Heinrichs <typo3@mbh-software.de>
Mon, 24 Mar 2014 21:12:57 +0000 (22:12 +0100)
committerMarkus Klein <klein.t3@mfc-linz.at>
Mon, 24 Mar 2014 21:51:45 +0000 (22:51 +0100)
commit9b3f07e4bdda6969becf17c46c75e3fd79f2a72e
treeb611615411e07c600685f977df73c566a299fd4a
parentfac12e2a02c8669fd2146b21764cd5778274d343
[BUGFIX] Fix usage of preparedStatement object in $query->statement

This is a follow-up fix for the integration of preparedStatements in
Extbase. Due to a wrong comparison, an own preparedStatement object
used in $query->statement() would never be executed.

Resolves: #57254
Releases: 6.2
Change-Id: I3176339be309530b50ff89410affa386d7f6f8e8
Reviewed-on: https://review.typo3.org/28726
Reviewed-by: Felix Oertel
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/QueryObjectModelFactory.php
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/Statement.php
typo3/sysext/extbase/Classes/Persistence/Generic/Query.php
typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php