cvs: pear /DB/DB pgsql.php
| From: | Stig Bakken | Date: | Thu, 09 Jan 2003 20:04:14 +0000 |
| Subject: | cvs: pear /DB/DB pgsql.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-8145@lists.php.net to get a copy of this message | ||
ssb Thu Jan 9 15:04:14 2003 EDT
Modified files:
/pear/DB/DB pgsql.php
Log:
* fix limit query
Index: pear/DB/DB/pgsql.php
diff -u pear/DB/DB/pgsql.php:1.12 pear/DB/DB/pgsql.php:1.13
--- pear/DB/DB/pgsql.php:1.12 Sat Jan 4 06:54:50 2003
+++ pear/DB/DB/pgsql.php Thu Jan 9 15:04:14 2003
@@ -17,7 +17,7 @@
// | Stig Bakken <ssb@fast.no> |
// +----------------------------------------------------------------------+
//
-// $Id: pgsql.php,v 1.12 2003/01/04 11:54:50 mj Exp $
+// $Id: pgsql.php,v 1.13 2003/01/09 20:04:14 ssb Exp $
//
// Database independent query interface definition for PHP's PostgreSQL
// extension.
@@ -560,7 +560,7 @@
function modifyLimitQuery($query, $from, $count)
{
- $query = $query . " LIMIT $count, $from";
+ $query = $query . " LIMIT $count OFFSET $from";
return $query;
}