cvs: pear /MDB pear_wrapper.php
| From: | Lukas Smith | Date: | Fri, 17 May 2002 17:33:34 +0000 |
| Subject: | cvs: pear /MDB pear_wrapper.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-3905@lists.php.net to get a copy of this message | ||
lsmith Fri May 17 13:33:34 2002 EDT
Modified files:
/pear/MDB pear_wrapper.php
Log:
getRowCounter() should work now (untested)
Index: pear/MDB/pear_wrapper.php
diff -u pear/MDB/pear_wrapper.php:1.4 pear/MDB/pear_wrapper.php:1.5
--- pear/MDB/pear_wrapper.php:1.4 Fri May 17 10:09:04 2002
+++ pear/MDB/pear_wrapper.php Fri May 17 13:33:34 2002
@@ -1,7 +1,7 @@
<?php
/*
*
- * @(#) $Header: /usr/repository/pear/MDB/pear_wrapper.php,v 1.4 2002/05/17 14:09:04 lsmith Exp $
+ * @(#) $Header: /usr/repository/pear/MDB/pear_wrapper.php,v 1.5 2002/05/17 17:33:34 lsmith Exp $
*
*/
@@ -154,7 +154,7 @@
function getRowCounter()
{
- return $this->row_counter;
+ return $this->dbh->highest_fetched_row[$this->result];
}
}