cvs: pear /MDB2/MDB2/Driver fbsql.php mssql.php mysql.php sqlite.php

From: Date: Fri, 10 Sep 2004 07:17:29 +0000
Subject: cvs: pear /MDB2/MDB2/Driver fbsql.php mssql.php mysql.php sqlite.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-23778@lists.php.net to get a copy of this message
lsmith Fri Sep 10 03:17:29 2004 EDT Modified files: /pear/MDB2/MDB2/Driver fbsql.php mssql.php mysql.php sqlite.php Log: minor tweaks to getAfterID() http://cvs.php.net/diff.php/pear/MDB2/MDB2/Driver/fbsql.php?r1=1.23&r2=1.24&ty=u Index: pear/MDB2/MDB2/Driver/fbsql.php diff -u pear/MDB2/MDB2/Driver/fbsql.php:1.23 pear/MDB2/MDB2/Driver/fbsql.php:1.24 --- pear/MDB2/MDB2/Driver/fbsql.php:1.23 Thu Sep 9 10:11:50 2004 +++ pear/MDB2/MDB2/Driver/fbsql.php Fri Sep 10 03:17:23 2004 @@ -43,7 +43,7 @@ // | Author: Lukas Smith <smith@backendmedia.com> | // +----------------------------------------------------------------------+ // -// $Id: fbsql.php,v 1.23 2004/09/09 14:11:50 lsmith Exp $ +// $Id: fbsql.php,v 1.24 2004/09/10 07:17:23 lsmith Exp $ // /** @@ -483,12 +483,12 @@ // {{{ getAfterID() /** - * @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) { $this->loadModule('native'); return $this->native->getInsertID(); http://cvs.php.net/diff.php/pear/MDB2/MDB2/Driver/mssql.php?r1=1.24&r2=1.25&ty=u Index: pear/MDB2/MDB2/Driver/mssql.php diff -u pear/MDB2/MDB2/Driver/mssql.php:1.24 pear/MDB2/MDB2/Driver/mssql.php:1.25 --- pear/MDB2/MDB2/Driver/mssql.php:1.24 Thu Sep 9 10:11:50 2004 +++ pear/MDB2/MDB2/Driver/mssql.php Fri Sep 10 03:17:24 2004 @@ -43,7 +43,7 @@ // | Author: Frank M. Kromann <frank@kromann.info> | // +----------------------------------------------------------------------+ // -// $Id: mssql.php,v 1.24 2004/09/09 14:11:50 lsmith Exp $ +// $Id: mssql.php,v 1.25 2004/09/10 07:17:24 lsmith Exp $ // /** @@ -504,15 +504,15 @@ /** * 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) { $this->loadModule('native'); - return $this->native->getInsertID(); + return $this->native->getInsertID($seq_name); } } http://cvs.php.net/diff.php/pear/MDB2/MDB2/Driver/mysql.php?r1=1.25&r2=1.26&ty=u Index: pear/MDB2/MDB2/Driver/mysql.php diff -u pear/MDB2/MDB2/Driver/mysql.php:1.25 pear/MDB2/MDB2/Driver/mysql.php:1.26 --- pear/MDB2/MDB2/Driver/mysql.php:1.25 Thu Sep 9 10:11:50 2004 +++ pear/MDB2/MDB2/Driver/mysql.php Fri Sep 10 03:17:25 2004 @@ -43,7 +43,7 @@ // | Author: Lukas Smith <smith@backendmedia.com> | // +----------------------------------------------------------------------+ // -// $Id: mysql.php,v 1.25 2004/09/09 14:11:50 lsmith Exp $ +// $Id: mysql.php,v 1.26 2004/09/10 07:17:25 lsmith Exp $ // /** @@ -702,12 +702,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) { $this->loadModule('native'); return $this->native->getInsertID(); http://cvs.php.net/diff.php/pear/MDB2/MDB2/Driver/sqlite.php?r1=1.26&r2=1.27&ty=u Index: pear/MDB2/MDB2/Driver/sqlite.php diff -u pear/MDB2/MDB2/Driver/sqlite.php:1.26 pear/MDB2/MDB2/Driver/sqlite.php:1.27 --- pear/MDB2/MDB2/Driver/sqlite.php:1.26 Thu Sep 9 10:11:51 2004 +++ pear/MDB2/MDB2/Driver/sqlite.php Fri Sep 10 03:17:25 2004 @@ -43,7 +43,7 @@ // | Author: Lukas Smith <smith@backendmedia.com> | // +----------------------------------------------------------------------+ // -// $Id: sqlite.php,v 1.26 2004/09/09 14:11:51 lsmith Exp $ +// $Id: sqlite.php,v 1.27 2004/09/10 07:17:25 lsmith Exp $ // /** @@ -643,12 +643,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) { $this->loadModule('native'); return $this->native->getInsertID();

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