[BUGFIX] Typo3DbQueryParser: Use IN with array-operand2 14/34514/6
authorStefan Neufeind <typo3.neufeind@speedpartner.de>
Sun, 23 Nov 2014 21:19:08 +0000 (22:19 +0100)
committerFrank Nägler <typo3@naegler.net>
Fri, 26 Dec 2014 10:35:35 +0000 (11:35 +0100)
commite235c9ad8b32267ece98d843a43daeab430db235
treeb8ba560699efffda04342845d20a4ebaa500a719
parenteeced84f4154491b475a2e10c6d0633e325705c2
[BUGFIX] Typo3DbQueryParser: Use IN with array-operand2

When passing an array for a "contains"-comparison
Typo3DbQueryParser generates SQL like
[...] WHERE uid_local='1','3' [...]
which simply needs an "IN" statement for the operand2.

Change-Id: Id3a6e73dcbd55d46a5279037b156f604dafa9888
Resolves: #63275
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/34514
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbQueryParser.php
typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Storage/Typo3DbQueryParserTest.php