cvs: pear /DB/DB mysql.php

From: Date: Fri, 24 Dec 2004 20:44:10 +0000
Subject: cvs: pear /DB/DB mysql.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-27812@lists.php.net to get a copy of this message
danielc Fri Dec 24 15:44:10 2004 EDT Modified files: /pear/DB/DB mysql.php Log: * Remove $num_rows property, not really needed because can find out number of rows from mysqli API. http://cvs.php.net/diff.php/pear/DB/DB/mysql.php?r1=1.77&r2=1.78&ty=u Index: pear/DB/DB/mysql.php diff -u pear/DB/DB/mysql.php:1.77 pear/DB/DB/mysql.php:1.78 --- pear/DB/DB/mysql.php:1.77 Fri Dec 17 11:52:43 2004 +++ pear/DB/DB/mysql.php Fri Dec 24 15:44:10 2004 @@ -18,7 +18,7 @@ * @author Daniel Convissor <danielc@php.net> * @copyright 1997-2004 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License - * @version CVS: $Id: mysql.php,v 1.77 2004/12/17 16:52:43 danielc Exp $ + * @version CVS: $Id: mysql.php,v 1.78 2004/12/24 20:44:10 danielc Exp $ * @link http://pear.php.net/package/DB */ @@ -48,7 +48,6 @@ var $phptype, $dbsyntax; var $prepare_tokens = array(); var $prepare_types = array(); - var $num_rows = array(); var $transaction_opcount = 0; var $autocommit = true; var $fetchmode = DB_FETCHMODE_ORDERED; /* Default fetch mode */ @@ -231,11 +230,6 @@ return $this->mysqlRaiseError(); } if (is_resource($result)) { - $numrows = $this->numrows($result); - if (is_object($numrows)) { - return $numrows; - } - $this->num_rows[(int)$result] = $numrows; return $result; } return DB_OK; @@ -336,7 +330,6 @@ */ function freeResult($result) { - unset($this->num_rows[(int)$result]); return @mysql_free_result($result); }

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