aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2009-03-30 10:44:52 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2009-03-30 10:44:52 +0000
commite3d98fe77b1f2c60ceefa0ddf9091d08815d1f89 (patch)
tree28e9d1ec2d09c57fc44edc09036ea7b546c6bb3d /phpBB/includes
parent4cbf6bc703bdadf716197b68a89b3438247ff022 (diff)
downloadforums-e3d98fe77b1f2c60ceefa0ddf9091d08815d1f89.tar
forums-e3d98fe77b1f2c60ceefa0ddf9091d08815d1f89.tar.gz
forums-e3d98fe77b1f2c60ceefa0ddf9091d08815d1f89.tar.bz2
forums-e3d98fe77b1f2c60ceefa0ddf9091d08815d1f89.tar.xz
forums-e3d98fe77b1f2c60ceefa0ddf9091d08815d1f89.zip
fix LIMIT ALL in postgres layer
git-svn-id: file:///svn/phpbb/trunk@9413 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/db/postgres.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/db/postgres.php b/phpBB/includes/db/postgres.php
index 5074ce55f4..d74a8167e9 100644
--- a/phpBB/includes/db/postgres.php
+++ b/phpBB/includes/db/postgres.php
@@ -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";