cvs: pear /MDB2/MDB2/Driver fbsql.php ibase.php mssql.php mysql.php mysqli.php oci8.php pgsql.php querysim.php sqlite.php

From: Date: Thu, 08 Jun 2006 20:35:40 +0000
Subject: cvs: pear /MDB2/MDB2/Driver fbsql.php ibase.php mssql.php mysql.php mysqli.php oci8.php pgsql.php querysim.php sqlite.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-40572@lists.php.net to get a copy of this message
lsmith Thu Jun 8 20:35:40 2006 UTC Modified files: /pear/MDB2/MDB2/Driver fbsql.php ibase.php mssql.php mysql.php mysqli.php oci8.php pgsql.php querysim.php sqlite.php Log: - phpdoc fixes

http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/fbsql.php?r1=1.106&r2=1.107&diff_format=u Index: pear/MDB2/MDB2/Driver/fbsql.php diff -u pear/MDB2/MDB2/Driver/fbsql.php:1.106 pear/MDB2/MDB2/Driver/fbsql.php:1.107 --- pear/MDB2/MDB2/Driver/fbsql.php:1.106 Wed May 31 19:25:26 2006 +++ pear/MDB2/MDB2/Driver/fbsql.php Thu Jun 8 20:35:40 2006 @@ -43,7 +43,7 @@ // | Author: Lukas Smith <smith@pooteeweet.org> | // +----------------------------------------------------------------------+ // -// $Id: fbsql.php,v 1.106 2006/05/31 19:25:26 lsmith Exp $ +// $Id: fbsql.php,v 1.107 2006/06/08 20:35:40 lsmith Exp $ // /** @@ -588,16 +588,10 @@ /** * Retrieve the names of columns returned by the DBMS in a query result. * - * @return mixed an associative array variable - * that will hold the names of columns. The - * indexes of the array are the column names - * mapped to lower case and the values are the - * respective numbers of the columns starting - * from 0. Some DBMS may not return any - * columns when the result set does not - * contain any rows. - * - * a MDB2 error on failure + * @return mixed Array variable that holds the names of columns as keys + * or an MDB2 error on failure. + * Some DBMS may not return any columns when the result set + * does not contain any rows. * @access private */ function _getColumnNames() http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/ibase.php?r1=1.165&r2=1.166&diff_format=u Index: pear/MDB2/MDB2/Driver/ibase.php diff -u pear/MDB2/MDB2/Driver/ibase.php:1.165 pear/MDB2/MDB2/Driver/ibase.php:1.166 --- pear/MDB2/MDB2/Driver/ibase.php:1.165 Wed May 31 18:05:09 2006 +++ pear/MDB2/MDB2/Driver/ibase.php Thu Jun 8 20:35:40 2006 @@ -43,7 +43,7 @@ // | Author: Lorenzo Alberton <l.alberton@quipo.it> | // +----------------------------------------------------------------------+ // -// $Id: ibase.php,v 1.165 2006/05/31 18:05:09 lsmith Exp $ +// $Id: ibase.php,v 1.166 2006/06/08 20:35:40 lsmith Exp $ /** * MDB2 FireBird/InterBase driver @@ -961,12 +961,10 @@ /** * Retrieve the names of columns returned by the DBMS in a query result. * - * @return mixed associative array variable - * that holds the names of columns. The indexes of the array are - * the column names mapped to lower case and the values are the - * respective numbers of the columns starting from 0. Some DBMS may - * not return any columns when the result set does not contain any - * rows. + * @return mixed Array variable that holds the names of columns as keys + * or an MDB2 error on failure. + * Some DBMS may not return any columns when the result set + * does not contain any rows. * @access private */ function _getColumnNames() http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/mssql.php?r1=1.119&r2=1.120&diff_format=u Index: pear/MDB2/MDB2/Driver/mssql.php diff -u pear/MDB2/MDB2/Driver/mssql.php:1.119 pear/MDB2/MDB2/Driver/mssql.php:1.120 --- pear/MDB2/MDB2/Driver/mssql.php:1.119 Wed May 31 18:05:09 2006 +++ pear/MDB2/MDB2/Driver/mssql.php Thu Jun 8 20:35:40 2006 @@ -43,7 +43,7 @@ // | Author: Frank M. Kromann <frank@kromann.info> | // +----------------------------------------------------------------------+ // -// $Id: mssql.php,v 1.119 2006/05/31 18:05:09 lsmith Exp $ +// $Id: mssql.php,v 1.120 2006/06/08 20:35:40 lsmith Exp $ // // {{{ Class MDB2_Driver_mssql /** @@ -644,17 +644,10 @@ /** * Retrieve the names of columns returned by the DBMS in a query result. * - * @param resource $result result identifier - * @return mixed an associative array variable - * that will hold the names of columns. The - * indexes of the array are the column names - * mapped to lower case and the values are the - * respective numbers of the columns starting - * from 0. Some DBMS may not return any - * columns when the result set does not - * contain any rows. - * - * a MDB2 error on failure + * @return mixed Array variable that holds the names of columns as keys + * or an MDB2 error on failure. + * Some DBMS may not return any columns when the result set + * does not contain any rows. * @access private */ function _getColumnNames() http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/mysql.php?r1=1.126&r2=1.127&diff_format=u Index: pear/MDB2/MDB2/Driver/mysql.php diff -u pear/MDB2/MDB2/Driver/mysql.php:1.126 pear/MDB2/MDB2/Driver/mysql.php:1.127 --- pear/MDB2/MDB2/Driver/mysql.php:1.126 Thu Jun 8 17:46:27 2006 +++ pear/MDB2/MDB2/Driver/mysql.php Thu Jun 8 20:35:40 2006 @@ -43,7 +43,7 @@ // | Author: Lukas Smith <smith@pooteeweet.org> | // +----------------------------------------------------------------------+ // -// $Id: mysql.php,v 1.126 2006/06/08 17:46:27 lsmith Exp $ +// $Id: mysql.php,v 1.127 2006/06/08 20:35:40 lsmith Exp $ // /** @@ -1030,16 +1030,10 @@ /** * Retrieve the names of columns returned by the DBMS in a query result. * - * @return mixed an associative array variable - * that will hold the names of columns. The - * indexes of the array are the column names - * mapped to lower case and the values are the - * respective numbers of the columns starting - * from 0. Some DBMS may not return any - * columns when the result set does not - * contain any rows. - * - * a MDB2 error on failure + * @return mixed Array variable that holds the names of columns as keys + * or an MDB2 error on failure. + * Some DBMS may not return any columns when the result set + * does not contain any rows. * @access private */ function _getColumnNames() http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/mysqli.php?r1=1.105&r2=1.106&diff_format=u Index: pear/MDB2/MDB2/Driver/mysqli.php diff -u pear/MDB2/MDB2/Driver/mysqli.php:1.105 pear/MDB2/MDB2/Driver/mysqli.php:1.106 --- pear/MDB2/MDB2/Driver/mysqli.php:1.105 Thu Jun 8 17:46:27 2006 +++ pear/MDB2/MDB2/Driver/mysqli.php Thu Jun 8 20:35:40 2006 @@ -43,7 +43,7 @@ // | Author: Lukas Smith <smith@pooteeweet.org> | // +----------------------------------------------------------------------+ // -// $Id: mysqli.php,v 1.105 2006/06/08 17:46:27 lsmith Exp $ +// $Id: mysqli.php,v 1.106 2006/06/08 20:35:40 lsmith Exp $ // /** @@ -1050,16 +1050,10 @@ /** * Retrieve the names of columns returned by the DBMS in a query result. * - * @return mixed an associative array variable - * that will hold the names of columns. The - * indexes of the array are the column names - * mapped to lower case and the values are the - * respective numbers of the columns starting - * from 0. Some DBMS may not return any - * columns when the result set does not - * contain any rows. - * - * a MDB2 error on failure + * @return mixed Array variable that holds the names of columns as keys + * or an MDB2 error on failure. + * Some DBMS may not return any columns when the result set + * does not contain any rows. * @access private */ function _getColumnNames() http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/oci8.php?r1=1.151&r2=1.152&diff_format=u Index: pear/MDB2/MDB2/Driver/oci8.php diff -u pear/MDB2/MDB2/Driver/oci8.php:1.151 pear/MDB2/MDB2/Driver/oci8.php:1.152 --- pear/MDB2/MDB2/Driver/oci8.php:1.151 Thu Jun 8 17:51:36 2006 +++ pear/MDB2/MDB2/Driver/oci8.php Thu Jun 8 20:35:40 2006 @@ -43,7 +43,7 @@ // | Author: Lukas Smith <smith@pooteeweet.org> | // +----------------------------------------------------------------------+ -// $Id: oci8.php,v 1.151 2006/06/08 17:51:36 lsmith Exp $ +// $Id: oci8.php,v 1.152 2006/06/08 20:35:40 lsmith Exp $ /** * MDB2 OCI8 driver @@ -925,12 +925,10 @@ /** * Retrieve the names of columns returned by the DBMS in a query result. * - * @return mixed associative array variable - * that holds the names of columns. The indexes of the array are - * the column names mapped to lower case and the values are the - * respective numbers of the columns starting from 0. Some DBMS may - * not return any columns when the result set does not contain any - * rows. + * @return mixed Array variable that holds the names of columns as keys + * or an MDB2 error on failure. + * Some DBMS may not return any columns when the result set + * does not contain any rows. * @access private */ function _getColumnNames() @@ -1042,6 +1040,10 @@ && ($row = @OCIFetchInto($this->result, $buffer, OCI_RETURN_NULLS)) ) { ++$this->buffer_rownum; + // remove additional column at the end + if ($this->offset > 0) { + array_pop($buffer); + } $this->buffer[$this->buffer_rownum] = $buffer; } @@ -1088,10 +1090,6 @@ return $null; } $row = $this->buffer[$target_rownum]; - // remove additional column at the end - if ($this->offset > 0) { - array_pop($row); - } if ($fetchmode & MDB2_FETCHMODE_ASSOC) { $column_names = $this->getColumnNames(); foreach ($column_names as $name => $i) { http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/pgsql.php?r1=1.128&r2=1.129&diff_format=u Index: pear/MDB2/MDB2/Driver/pgsql.php diff -u pear/MDB2/MDB2/Driver/pgsql.php:1.128 pear/MDB2/MDB2/Driver/pgsql.php:1.129 --- pear/MDB2/MDB2/Driver/pgsql.php:1.128 Thu Jun 8 17:46:27 2006 +++ pear/MDB2/MDB2/Driver/pgsql.php Thu Jun 8 20:35:40 2006 @@ -43,7 +43,7 @@ // | Author: Paul Cooper <pgc@ucecom.com> | // +----------------------------------------------------------------------+ // -// $Id: pgsql.php,v 1.128 2006/06/08 17:46:27 lsmith Exp $ +// $Id: pgsql.php,v 1.129 2006/06/08 20:35:40 lsmith Exp $ /** * MDB2 PostGreSQL driver @@ -929,16 +929,10 @@ /** * Retrieve the names of columns returned by the DBMS in a query result. * - * @return mixed an associative array variable - * that will hold the names of columns. The - * indexes of the array are the column names - * mapped to lower case and the values are the - * respective numbers of the columns starting - * from 0. Some DBMS may not return any - * columns when the result set does not - * contain any rows. - * - * a MDB2 error on failure + * @return mixed Array variable that holds the names of columns as keys + * or an MDB2 error on failure. + * Some DBMS may not return any columns when the result set + * does not contain any rows. * @access private */ function _getColumnNames() http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/querysim.php?r1=1.66&r2=1.67&diff_format=u Index: pear/MDB2/MDB2/Driver/querysim.php diff -u pear/MDB2/MDB2/Driver/querysim.php:1.66 pear/MDB2/MDB2/Driver/querysim.php:1.67 --- pear/MDB2/MDB2/Driver/querysim.php:1.66 Wed May 31 18:05:09 2006 +++ pear/MDB2/MDB2/Driver/querysim.php Thu Jun 8 20:35:40 2006 @@ -61,7 +61,7 @@ // | please contact Alan Richmond. | // +----------------------------------------------------------------------+ // -// $Id: querysim.php,v 1.66 2006/05/31 18:05:09 lsmith Exp $ +// $Id: querysim.php,v 1.67 2006/06/08 20:35:40 lsmith Exp $ // /* @@ -669,16 +669,10 @@ /** * Retrieve the names of columns returned by the DBMS in a query result. * - * @return mixed an associative array variable - * that will hold the names of columns. The - * indexes of the array are the column names - * mapped to lower case and the values are the - * respective numbers of the columns starting - * from 0. Some DBMS may not return any - * columns when the result set does not - * contain any rows. - * - * a MDB2 error on failure + * @return mixed Array variable that holds the names of columns as keys + * or an MDB2 error on failure. + * Some DBMS may not return any columns when the result set + * does not contain any rows. * @access private */ function _getColumnNames() http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/sqlite.php?r1=1.117&r2=1.118&diff_format=u Index: pear/MDB2/MDB2/Driver/sqlite.php diff -u pear/MDB2/MDB2/Driver/sqlite.php:1.117 pear/MDB2/MDB2/Driver/sqlite.php:1.118 --- pear/MDB2/MDB2/Driver/sqlite.php:1.117 Wed May 31 18:05:09 2006 +++ pear/MDB2/MDB2/Driver/sqlite.php Thu Jun 8 20:35:40 2006 @@ -43,7 +43,7 @@ // | Author: Lukas Smith <smith@pooteeweet.org> | // +----------------------------------------------------------------------+ // -// $Id: sqlite.php,v 1.117 2006/05/31 18:05:09 lsmith Exp $ +// $Id: sqlite.php,v 1.118 2006/06/08 20:35:40 lsmith Exp $ // /** @@ -825,16 +825,10 @@ /** * Retrieve the names of columns returned by the DBMS in a query result. * - * @return mixed an associative array variable - * that will hold the names of columns. The - * indexes of the array are the column names - * mapped to lower case and the values are the - * respective numbers of the columns starting - * from 0. Some DBMS may not return any - * columns when the result set does not - * contain any rows. - * - * a MDB2 error on failure + * @return mixed Array variable that holds the names of columns as keys + * or an MDB2 error on failure. + * Some DBMS may not return any columns when the result set + * does not contain any rows. * @access private */ function _getColumnNames()
« previous php.pear.cvs (#40572) next »