cvs: pear /MDB2/MDB2/Driver/Datatype pgsql.php

From: Date: Thu, 07 Apr 2005 22:58:54 +0000
Subject: cvs: pear /MDB2/MDB2/Driver/Datatype pgsql.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-31031@lists.php.net to get a copy of this message
quipo Thu Apr 7 18:58:54 2005 EDT Modified files: /pear/MDB2/MDB2/Driver/Datatype pgsql.php Log: - dropped useless $db reference - fixed typos in the comments http://cvs.php.net/diff.php/pear/MDB2/MDB2/Driver/Datatype/pgsql.php?r1=1.21&r2=1.22&ty=u Index: pear/MDB2/MDB2/Driver/Datatype/pgsql.php diff -u pear/MDB2/MDB2/Driver/Datatype/pgsql.php:1.21 pear/MDB2/MDB2/Driver/Datatype/pgsql.php:1.22 --- pear/MDB2/MDB2/Driver/Datatype/pgsql.php:1.21 Mon Apr 4 04:09:56 2005 +++ pear/MDB2/MDB2/Driver/Datatype/pgsql.php Thu Apr 7 18:58:53 2005 @@ -42,7 +42,7 @@ // | Author: Paul Cooper <pgc@ucecom.com> | // +----------------------------------------------------------------------+ // -// $Id: pgsql.php,v 1.21 2005/04/04 08:09:56 lsmith Exp $ +// $Id: pgsql.php,v 1.22 2005/04/07 22:58:53 quipo Exp $ require_once 'MDB2/Driver/Datatype/Common.php'; @@ -53,13 +53,12 @@ * @category Database * @author Paul Cooper <pgc@ucecom.com> */ - class MDB2_Driver_Datatype_pgsql extends MDB2_Driver_Datatype_Common { // {{{ convertResult() /** - * convert a value to a RDBMS indepdenant MDB2 type + * convert a value to a RDBMS independent MDB2 type * * @param mixed $value value to be converted * @param int $type constant that specifies which type to convert to @@ -92,7 +91,7 @@ // {{{ _getTextDeclaration() /** - * Obtain DBMS specific SQL code portion needed to declare an text type + * Obtain DBMS specific SQL code portion needed to declare a text type * field to be used in statements like CREATE TABLE. * * @param string $name name the field to be declared. @@ -129,7 +128,7 @@ // {{{ _getCLOBDeclaration() /** - * Obtain DBMS specific SQL code portion needed to declare an character + * Obtain DBMS specific SQL code portion needed to declare a character * large object type field to be used in statements like CREATE TABLE. * * @param string $name name the field to be declared. @@ -160,7 +159,7 @@ // {{{ _getBLOBDeclaration() /** - * Obtain DBMS specific SQL code portion needed to declare an binary large + * Obtain DBMS specific SQL code portion needed to declare a binary large * object type field to be used in statements like CREATE TABLE. * * @param string $name name the field to be declared. @@ -501,7 +500,6 @@ */ function _quoteBoolean($value) { - $db =& $GLOBALS['_MDB2_databases'][$this->db_index]; return ($value ? "'t'" : "'f'"); } @@ -556,7 +554,7 @@ $db =& $GLOBALS['_MDB2_databases'][$this->db_index]; if (!isset($db->lobs[$lob])) { return $db->raiseError(MDB2_ERROR_INVALID, null, null, - 'did not specified a valid lob'); + 'did not specify a valid lob'); } if (!isset($db->lobs[$lob]['handle'])) { if (!$db->in_transaction) { @@ -745,6 +743,7 @@ return array($type, $length); } + + // }}} } - ?> \ No newline at end of file

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