cvs: pear /MDB2/MDB2/Driver/Reverse mysqli.php

From: Date: Thu, 02 Mar 2006 08:10:27 +0000
Subject: cvs: pear /MDB2/MDB2/Driver/Reverse mysqli.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-38844@lists.php.net to get a copy of this message
lsmith Thu Mar 2 08:10:27 2006 UTC Modified files: /pear/MDB2/MDB2/Driver/Reverse mysqli.php Log: - appearently it should always have been length and not max_length http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/Reverse/mysqli.php?r1=1.32&r2=1.33&diff_format=u Index: pear/MDB2/MDB2/Driver/Reverse/mysqli.php diff -u pear/MDB2/MDB2/Driver/Reverse/mysqli.php:1.32 pear/MDB2/MDB2/Driver/Reverse/mysqli.php:1.33 --- pear/MDB2/MDB2/Driver/Reverse/mysqli.php:1.32 Wed Mar 1 22:57:04 2006 +++ pear/MDB2/MDB2/Driver/Reverse/mysqli.php Thu Mar 2 08:10:27 2006 @@ -42,7 +42,7 @@ // | Author: Lukas Smith <smith@pooteeweet.org> | // +----------------------------------------------------------------------+ // -// $Id: mysqli.php,v 1.32 2006/03/01 22:57:04 lsmith Exp $ +// $Id: mysqli.php,v 1.33 2006/03/02 08:10:27 lsmith Exp $ // require_once 'MDB2/Driver/Reverse/Common.php'; @@ -414,9 +414,8 @@ 'type' => isset($this->types[$tmp->type]) ? $this->types[$tmp->type] : 'unknown', - // work around for http://bugs.php.net/?id=36579 - 'length' => ($tmp->max_length && isset($tmp->length)) - ? $tmp->max_length : $tmp->length, + // http://bugs.php.net/?id=36579 + 'length' => $tmp->length, 'flags' => $flags, ); $mdb2type_info = $db->datatype->mapNativeDatatype($res[$i]);

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