Home » Database » MDB » Bug #1914
Mysql getTableFieldDefinition
Details
| Submitted | 2004-07-20 01:04 UTC |
|---|---|
| From | matt at kudosonline dot com dot au |
| Assigned | lsmith |
| Status | Closed |
| Package | MDB |
| PHP Version | 4.3.7 |
| Roadmaps | (Not assigned) |
Comments
[2004-07-20 01:04 UTC] matt at kudosonline dot com dot au
Description:
------------
mysql_Manager::getTableFieldDefinition() fails
if the MDB fetchmode is set to MDB_FETCHMODE_ASSOC.
Reproduce code:
---------------
Current Line 573: while (is_array($row = $db->fetchInto($result))) {
Tightened Line 573: while (is_array($row = $db->fetchInto($result, MDB_FETCHMODE_ORDERED))) {
Expected result:
----------------
Expect the definition for the field requested in a
specific table.
Actual result:
--------------
The function quietly fails because it does not think
the field exists in the table being queried.
[2004-07-20 18:10 UTC] smith at backendmedia dot com
This bug has been fixed in CVS.
In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pear.php.net.
In case this was a pear.php.net website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PEAR better.