Browse files

Use postgresql SQL LIMIT syntax

  • Loading branch information...
1 parent 85b5a7d commit 867af44de3b3ffd43ec1601f2b9d92dade9bac50 @fsweetser committed Jan 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/CMU/Netdb/validity.pm
View
2 lib/CMU/Netdb/validity.pm
@@ -364,7 +364,7 @@ sub verify_limit {
my $RunP = verify_integer_err_default($run);
$StP = 0 if (getError($StP) != 1);
$RunP = 0 if (getError($RunP) != 1);
- return " LIMIT $StP, $RunP ";
+ return " LIMIT $RunP OFFSET $StP ";
}
# Returns a valid ORDER BY statement

0 comments on commit 867af44

Please sign in to comment.