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

From: Date: Thu, 15 Jun 2006 05:18:45 +0000
Subject: cvs: pear /MDB2/MDB2/Driver/Datatype mssql.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-40698@lists.php.net to get a copy of this message
nrf Thu Jun 15 05:18:45 2006 UTC Modified files: /pear/MDB2/MDB2/Driver/Datatype mssql.php Log: - remove a miscopied block http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/Datatype/mssql.php?r1=1.35&r2=1.36&diff_format=u Index: pear/MDB2/MDB2/Driver/Datatype/mssql.php diff -u pear/MDB2/MDB2/Driver/Datatype/mssql.php:1.35 pear/MDB2/MDB2/Driver/Datatype/mssql.php:1.36 --- pear/MDB2/MDB2/Driver/Datatype/mssql.php:1.35 Wed Jun 14 10:22:41 2006 +++ pear/MDB2/MDB2/Driver/Datatype/mssql.php Thu Jun 15 05:18:45 2006 @@ -44,7 +44,7 @@ // | Daniel Convissor <danielc@php.net> | // +----------------------------------------------------------------------+ // -// $Id: mssql.php,v 1.35 2006/06/14 10:22:41 lsmith Exp $ +// $Id: mssql.php,v 1.36 2006/06/15 05:18:45 nrf Exp $ // require_once 'MDB2/Driver/Datatype/Common.php'; @@ -201,10 +201,6 @@ { $db_type = preg_replace('/\d/','', strtolower($field['type']) ); $length = $field['length']; - // todo: is this not just copied from pgsql? - if ($length == '-1' && !empty($field['atttypmod'])) { - $length = $field['atttypmod'] - 4; - } if ((int)$length <= 0) { $length = null; }

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