cvs: pear /MDB2/MDB2/Driver ibase.php oci8.php

From: Date: Wed, 07 Apr 2004 21:15:11 +0000
Subject: cvs: pear /MDB2/MDB2/Driver ibase.php oci8.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-18001@lists.php.net to get a copy of this message
lsmith Wed Apr 7 17:15:11 2004 EDT Modified files: /pear/MDB2/MDB2/Driver ibase.php oci8.php Log: - fixed error in buffering emulation for limit queries http://cvs.php.net/diff.php/pear/MDB2/MDB2/Driver/ibase.php?r1=1.18&r2=1.19&ty=u Index: pear/MDB2/MDB2/Driver/ibase.php diff -u pear/MDB2/MDB2/Driver/ibase.php:1.18 pear/MDB2/MDB2/Driver/ibase.php:1.19 --- pear/MDB2/MDB2/Driver/ibase.php:1.18 Fri Mar 5 12:27:54 2004 +++ pear/MDB2/MDB2/Driver/ibase.php Wed Apr 7 17:15:10 2004 @@ -43,7 +43,7 @@ // | Author: Lorenzo Alberton <l.alberton@quipo.it> | // +----------------------------------------------------------------------+ // -// $Id: ibase.php,v 1.18 2004/03/05 17:27:54 quipo Exp $ +// $Id: ibase.php,v 1.19 2004/04/07 21:15:10 lsmith Exp $ /** * MDB2 FireBird/InterBase driver @@ -873,7 +873,7 @@ $buffer = true; while ((is_null($rownum) || $this->buffer_rownum < $rownum) - && (!isset($this->limits) || ($this->buffer_rownum + 1) < $this->limits['limit']) + && (!isset($this->limits) || $this->buffer_rownum < $this->limits['limit']) && ($buffer = @ibase_fetch_row($this->result)) ) { $this->buffer_rownum++; http://cvs.php.net/diff.php/pear/MDB2/MDB2/Driver/oci8.php?r1=1.7&r2=1.8&ty=u Index: pear/MDB2/MDB2/Driver/oci8.php diff -u pear/MDB2/MDB2/Driver/oci8.php:1.7 pear/MDB2/MDB2/Driver/oci8.php:1.8 --- pear/MDB2/MDB2/Driver/oci8.php:1.7 Wed Mar 10 09:41:19 2004 +++ pear/MDB2/MDB2/Driver/oci8.php Wed Apr 7 17:15:10 2004 @@ -43,7 +43,7 @@ // | Author: Lukas Smith <smith@backendmedia.com> | // +----------------------------------------------------------------------+ -// $Id: oci8.php,v 1.7 2004/03/10 14:41:19 lsmith Exp $ +// $Id: oci8.php,v 1.8 2004/04/07 21:15:10 lsmith Exp $ /** * MDB2 OCI8 driver @@ -930,7 +930,7 @@ $row = true; while ((is_null($rownum) || $this->buffer_rownum < $rownum) - && (!isset($this->limits) || ($this->buffer_rownum + 1) < $this->limits['limit']) + && (!isset($this->limits) || $this->buffer_rownum < $this->limits['limit']) && ($row = @OCIFetchInto($this->result, $buffer, OCI_RETURN_NULLS)) ) { $this->buffer_rownum++;

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