DB::tableInfo bug
| From: | Alexandre BOYER | Date: | Fri, 23 Aug 2002 12:14:26 +0000 |
| Subject: | DB::tableInfo bug | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-8622@lists.php.net to get a copy of this message | ||
There is a bug in DB::tableInfo with the mysql implementation in mysql.php,v
1.89.2.1 2002/04/09 19:04:14 :
method DB::tableInfo($result, $mode) with $result as a DB_Result (see
manual) and $mod as int/bool
But, in source code $result is considered as a mysql id, so as a
DB_Result->result
Solution: correct the bug or call like this :
$db->tableInfo($result->result, $mode);
Regards