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 » DB » Bug #5680

tableInfo() in mysqli.php

Details

Submitted2005-10-13 07:48 UTC
Fromfivebull at 163 dot com
Assignedlsmith
StatusClosed
PackageDB
PHP Version5.1.0
OSXP
Roadmaps(Not assigned)

Comments

[2005-10-13 07:48 UTC] fivebull at 163 dot com

Description:
------------
the element 'len' is always int(0)

according to var_dump display, $tmp->max_length seems always 0, but $tmp->length fit it.

var_dump(tmp) output:

object(stdClass)#19 (11) {
["name"]=>
string(13) "company_intro"
["orgname"]=>
string(13) "company_intro"
["table"]=>
string(7) "company"
["orgtable"]=>
string(7) "company"
["def"]=>
string(0) ""
["max_length"]=>
int(0)
["length"]=>
int(65535)
["charsetnr"]=>
int(33)
["flags"]=>
int(17)
["type"]=>
int(252)
["decimals"]=>
int(0)
}

[2005-10-13 07:56 UTC] fivebull at 163 dot com

Using MySQL 4.1.14-nt