cvs: pear /DB/DB sybase.php
| From: | Daniel Convissor | Date: | Fri, 24 Dec 2004 20:40:42 +0000 |
| Subject: | cvs: pear /DB/DB sybase.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-27811@lists.php.net to get a copy of this message | ||
danielc Fri Dec 24 15:40:42 2004 EDT
Modified files:
/pear/DB/DB sybase.php
Log:
* Remove $num_rows property, not really needed
because can find out number of rows from
Sybase API.
# need to test when get back to main computer.
http://cvs.php.net/diff.php/pear/DB/DB/sybase.php?r1=1.55&r2=1.56&ty=u
Index: pear/DB/DB/sybase.php
diff -u pear/DB/DB/sybase.php:1.55 pear/DB/DB/sybase.php:1.56
--- pear/DB/DB/sybase.php:1.55 Fri Dec 17 11:52:43 2004
+++ pear/DB/DB/sybase.php Fri Dec 24 15:40:42 2004
@@ -19,7 +19,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: sybase.php,v 1.55 2004/12/17 16:52:43 danielc Exp $
+ * @version CVS: $Id: sybase.php,v 1.56 2004/12/24 20:40:42 danielc Exp $
* @link http://pear.php.net/package/DB
*/
@@ -275,11 +275,6 @@
return $this->sybaseRaiseError();
}
if (is_resource($result)) {
- $numrows = $this->numRows($result);
- if (is_object($numrows)) {
- return $numrows;
- }
- $this->num_rows[(int)$result] = $numrows;
return $result;
}
// Determine which queries that should return data, and which
@@ -382,7 +377,6 @@
*/
function freeResult($result)
{
- unset($this->num_rows[(int)$result]);
return @sybase_free_result($result);
}