[FOLLOWUP][BUGFIX] Introduce exception for using offset without limit
In Typo3DbBackend::createQueryCommandParametersFromStatementParts, if an offset is defined, but no limit is, an LogicException is thrown. SQL does not provide possibility to set offset without limit. To retrieve all rows from a certain offset up to the end of the result set, you can use some large number for the limit. See: http://dev.mysql.com/doc/refman/5.7/en/select.html Fix failing fonctionnal tests. Resolves: #65789 Releases: master Change-Id: I066725383422829ec89a1b2621e1fdbead3cf115 Reviewed-on: https://review.typo3.org/48475 Reviewed-by:Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Susanne Moog <typo3@susannemoog.de> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Frank Naegler <frank.naegler@typo3.org> Tested-by:
Susanne Moog <typo3@susannemoog.de> Tested-by:
Frank Naegler <frank.naegler@typo3.org> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
Please register or sign in to comment