cvs: pear /DB/DB mysqli.php

From: Date: Thu, 02 Mar 2006 08:12:17 +0000
Subject: cvs: pear /DB/DB mysqli.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-38845@lists.php.net to get a copy of this message
lsmith Thu Mar 2 08:12:17 2006 UTC Modified files: /pear/DB/DB mysqli.php Log: - appearently it should always have been length and not max_length http://cvs.php.net/viewcvs.cgi/pear/DB/DB/mysqli.php?r1=1.70&r2=1.71&diff_format=u Index: pear/DB/DB/mysqli.php diff -u pear/DB/DB/mysqli.php:1.70 pear/DB/DB/mysqli.php:1.71 --- pear/DB/DB/mysqli.php:1.70 Wed Mar 1 22:57:52 2006 +++ pear/DB/DB/mysqli.php Thu Mar 2 08:12:17 2006 @@ -19,7 +19,7 @@ * @author Daniel Convissor <danielc@php.net> * @copyright 1997-2005 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version CVS: $Id: mysqli.php,v 1.70 2006/03/01 22:57:52 lsmith Exp $ + * @version CVS: $Id: mysqli.php,v 1.71 2006/03/02 08:12:17 lsmith Exp $ * @link http://pear.php.net/package/DB */ @@ -1015,9 +1015,8 @@ 'type' => isset($this->mysqli_types[$tmp->type]) ? $this->mysqli_types[$tmp->type] : 'unknown', - // work around for http://bugs.php.net/?id=36579 - 'len' => ($tmp->max_length && isset($tmp->length)) - ? $tmp->max_length : $tmp->length, + // http://bugs.php.net/?id=36579 + 'len' => $tmp->length, 'flags' => $flags, );

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