Skip to content
Snippets Groups Projects
Commit dc8a9da2 authored by Ian SEBBAGH's avatar Ian SEBBAGH Committed by Christian Kuhn
Browse files

[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: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: default avatarSusanne Moog <typo3@susannemoog.de>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: default avatarFrank Naegler <frank.naegler@typo3.org>
Tested-by: default avatarSusanne Moog <typo3@susannemoog.de>
Tested-by: default avatarFrank Naegler <frank.naegler@typo3.org>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 01a04f12
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment