cvs: pear /MDB/MDB oci8.php
| From: | Lukas Smith | Date: | Tue, 23 Sep 2003 14:21:36 +0000 |
| Subject: | cvs: pear /MDB/MDB oci8.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-13020@lists.php.net to get a copy of this message | ||
lsmith Tue Sep 23 10:21:36 2003 EDT
Modified files:
/pear/MDB/MDB oci8.php
Log:
- cosmetic fixes
Index: pear/MDB/MDB/oci8.php
diff -u pear/MDB/MDB/oci8.php:1.58 pear/MDB/MDB/oci8.php:1.59
--- pear/MDB/MDB/oci8.php:1.58 Tue Sep 23 09:42:57 2003
+++ pear/MDB/MDB/oci8.php Tue Sep 23 10:21:36 2003
@@ -42,7 +42,7 @@
// | Author: Lukas Smith <smith@backendmedia.com> |
// +----------------------------------------------------------------------+
-// $Id: oci8.php,v 1.58 2003/09/23 13:42:57 lsmith Exp $
+// $Id: oci8.php,v 1.59 2003/09/23 14:21:36 lsmith Exp $
require_once 'MDB/Common.php';
@@ -693,16 +693,12 @@
* 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 MDB error on failure
+ * @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.
* @access public
*/
function getColumnNames($result)
@@ -710,7 +706,7 @@
$result_value = intval($result);
if (!isset($this->results[$result_value])) {
return $this->raiseError(MDB_ERROR, null, null,
- 'getColumnNames: it was specified an inexisting result set');
+ 'getColumnNames: specified an nonexistant result set');
}
if (!isset($this->results[$result_value]['columns'])) {
$this->results[$result_value]['columns'] = array();