PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Database » MDB2_Driver_mysql » Bug #8291

tableInfo is returning length in [type]

Details

Submitted2006-07-26 00:34 UTC
Fromabrin at brynmawr dot edu
Assignedlsmith
StatusClosed
PackageMDB2_Driver_mysql
PHP Version5.1.3
OSlinux
Roadmaps(Not assigned)

Comments

[2006-07-26 00:34 UTC] abrin at brynmawr dot edu

Description:
------------
When getting the TableInfo, the type value for each field is
displaying both the column type and length. According to the
documentation it should just return the column type. This is
occuring on both Mysql 4.1 and 5.0.

Thanks for fixing the primary key so quickly

Test script:
---------------
$var = $db->tableInfo($table);