cvs: pear /MDB2/MDB2/Driver mysql.php mysqli.php pgsql.php

From: Date: Thu, 08 Jun 2006 17:46:27 +0000
Subject: cvs: pear /MDB2/MDB2/Driver mysql.php mysqli.php pgsql.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-40568@lists.php.net to get a copy of this message
lsmith Thu Jun 8 17:46:27 2006 UTC Modified files: /pear/MDB2/MDB2/Driver mysql.php mysqli.php pgsql.php Log: - pass limit and offset to the result object constructor in _execute() for read statements http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/mysql.php?r1=1.125&r2=1.126&diff_format=u Index: pear/MDB2/MDB2/Driver/mysql.php diff -u pear/MDB2/MDB2/Driver/mysql.php:1.125 pear/MDB2/MDB2/Driver/mysql.php:1.126 --- pear/MDB2/MDB2/Driver/mysql.php:1.125 Wed May 31 18:05:09 2006 +++ pear/MDB2/MDB2/Driver/mysql.php Thu Jun 8 17:46:27 2006 @@ -43,7 +43,7 @@ // | Author: Lukas Smith <smith@pooteeweet.org> | // +----------------------------------------------------------------------+ // -// $Id: mysql.php,v 1.125 2006/05/31 18:05:09 lsmith Exp $ +// $Id: mysql.php,v 1.126 2006/06/08 17:46:27 lsmith Exp $ // /** @@ -1279,7 +1279,7 @@ } $result =& $this->db->_wrapResult($result, $this->result_types, - $result_class, $result_wrap_class); + $result_class, $result_wrap_class, $this->limit, $this->offset); return $result; } http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/mysqli.php?r1=1.104&r2=1.105&diff_format=u Index: pear/MDB2/MDB2/Driver/mysqli.php diff -u pear/MDB2/MDB2/Driver/mysqli.php:1.104 pear/MDB2/MDB2/Driver/mysqli.php:1.105 --- pear/MDB2/MDB2/Driver/mysqli.php:1.104 Wed May 31 18:05:09 2006 +++ pear/MDB2/MDB2/Driver/mysqli.php Thu Jun 8 17:46:27 2006 @@ -43,7 +43,7 @@ // | Author: Lukas Smith <smith@pooteeweet.org> | // +----------------------------------------------------------------------+ // -// $Id: mysqli.php,v 1.104 2006/05/31 18:05:09 lsmith Exp $ +// $Id: mysqli.php,v 1.105 2006/06/08 17:46:27 lsmith Exp $ // /** @@ -1410,7 +1410,7 @@ } $result =& $this->db->_wrapResult($result, $this->result_types, - $result_class, $result_wrap_class); + $result_class, $result_wrap_class, $this->limit, $this->offset); } else { if (!@mysqli_stmt_execute($this->statement)) { $err =& $this->db->raiseError(null, null, null, @@ -1428,7 +1428,7 @@ } $result =& $this->db->_wrapResult($this->statement, $this->result_types, - $result_class, $result_wrap_class); + $result_class, $result_wrap_class, $this->limit, $this->offset); } return $result; http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/pgsql.php?r1=1.127&r2=1.128&diff_format=u Index: pear/MDB2/MDB2/Driver/pgsql.php diff -u pear/MDB2/MDB2/Driver/pgsql.php:1.127 pear/MDB2/MDB2/Driver/pgsql.php:1.128 --- pear/MDB2/MDB2/Driver/pgsql.php:1.127 Wed May 31 18:05:09 2006 +++ pear/MDB2/MDB2/Driver/pgsql.php Thu Jun 8 17:46:27 2006 @@ -43,7 +43,7 @@ // | Author: Paul Cooper <pgc@ucecom.com> | // +----------------------------------------------------------------------+ // -// $Id: pgsql.php,v 1.127 2006/05/31 18:05:09 lsmith Exp $ +// $Id: pgsql.php,v 1.128 2006/06/08 17:46:27 lsmith Exp $ /** * MDB2 PostGreSQL driver @@ -1196,7 +1196,7 @@ } $result =& $this->db->_wrapResult($result, $this->result_types, - $result_class, $result_wrap_class); + $result_class, $result_wrap_class, $this->limit, $this->offset); return $result; }

« previous php.pear.cvs (#40568) next »