PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

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);