fix LIMIT ALL in postgres layer

git-svn-id: file:///svn/phpbb/trunk@9413 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2009-03-30 10:44:52 +00:00
parent 4cbf6bc703
commit e3d98fe77b

View file

@ -170,7 +170,7 @@ class phpbb_dbal_postgres extends phpbb_dbal
// if $total is set to 0 we do not want to limit the number of rows
if ($total == 0)
{
$total = -1;
$total = 'ALL';
}
$query .= "\n LIMIT $total OFFSET $offset";