cvs: pear /MDB2 MDB2.php
| From: | Lukas Smith | Date: | Fri, 10 Sep 2004 07:17:43 +0000 |
| Subject: | cvs: pear /MDB2 MDB2.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-23779@lists.php.net to get a copy of this message | ||
lsmith Fri Sep 10 03:17:43 2004 EDT
Modified files:
/pear/MDB2 MDB2.php
Log:
minor tweaks to getAfterID()
http://cvs.php.net/diff.php/pear/MDB2/MDB2.php?r1=1.41&r2=1.42&ty=u
Index: pear/MDB2/MDB2.php
diff -u pear/MDB2/MDB2.php:1.41 pear/MDB2/MDB2.php:1.42
--- pear/MDB2/MDB2.php:1.41 Thu Sep 9 15:11:56 2004
+++ pear/MDB2/MDB2.php Fri Sep 10 03:17:42 2004
@@ -43,7 +43,7 @@
// | Author: Lukas Smith <smith@backendmedia.com> |
// +----------------------------------------------------------------------+
//
-// $Id: MDB2.php,v 1.41 2004/09/09 19:11:56 lsmith Exp $
+// $Id: MDB2.php,v 1.42 2004/09/10 07:17:42 lsmith Exp $
//
/**
@@ -2068,7 +2068,8 @@
* returns the next free id of a sequence if the RDBMS
* does not support auto increment
*
- * @param string $seq_name name of the sequence
+ * @param string $seq_name name of the sequence (needs to match the name of
+ * the table into which a new row was inserted
* @param boolean $ondemand when true the seqence is
* automatic created, if it
* not exists
@@ -2110,11 +2111,12 @@
* returns the autoincrement ID if supported
*
* @param mixed id value as returned by getBeforeId()
- * @param string $table name of the table
+ * @param string $seq_name name of the sequence (needs to match the name of
+ * the table into which a new row was inserted
* @return mixed MDB2 Error Object or id
* @access public
*/
- function getAfterID($id, $table)
+ function getAfterID($id, $seq_name)
{
return $id;
}