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 #3460

function tableInfo() in DB.php

Details

Submitted2005-02-14 13:22 UTC
Fromgt at corissia dot com
Assigneddanielc
StatusBogus
PackageDB
PHP Version4.3.3
OSLinux
Roadmaps(Not assigned)

Comments

[2005-02-14 13:22 UTC] gt at corissia dot com

Description:
------------
I suppose there is a bug in the function tableInfo() in file DB.php ($Id: DB.php,v 1.59 2004/07/08 21:15:11 danielc Exp $).

The function returns: $this->dbh->tableInfo($this, $mode);

I think it should be: $this->dbh->tableInfo($this->result, $mode);

The function does not return the expected arrays without this change.

Giorgos Tsiledakis