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

From: Date: Tue, 20 Jun 2006 08:30:30 +0000
Subject: cvs: pear /MDB2/MDB2/Driver/Datatype Common.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-40836@lists.php.net to get a copy of this message
lsmith Tue Jun 20 08:30:30 2006 UTC Modified files: /pear/MDB2/MDB2/Driver/Datatype Common.php Log: - fixed parameters in raiseError call http://cvs.php.net/viewvc.cgi/pear/MDB2/MDB2/Driver/Datatype/Common.php?r1=1.85&r2=1.86&diff_format=u Index: pear/MDB2/MDB2/Driver/Datatype/Common.php diff -u pear/MDB2/MDB2/Driver/Datatype/Common.php:1.85 pear/MDB2/MDB2/Driver/Datatype/Common.php:1.86 --- pear/MDB2/MDB2/Driver/Datatype/Common.php:1.85 Sat Jun 17 22:30:05 2006 +++ pear/MDB2/MDB2/Driver/Datatype/Common.php Tue Jun 20 08:30:30 2006 @@ -42,7 +42,7 @@ // | Author: Lukas Smith <smith@pooteeweet.org> | // +----------------------------------------------------------------------+ // -// $Id: Common.php,v 1.85 2006/06/17 22:30:05 lsmith Exp $ +// $Id: Common.php,v 1.86 2006/06/20 08:30:30 lsmith Exp $ require_once 'MDB2/LOB.php'; @@ -1030,7 +1030,8 @@ } if (!method_exists($this, "_quote{$type}")) { - return $db->raiseError('type not defined: '.$type); + return $db->raiseError(MDB2_ERROR_UNSUPPORTED, null, null, + 'type not defined: '.$type); } $value = $this->{"_quote{$type}"}($value, $quote, $escape_wildcards);

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