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_DataObject » Bug #8628

tableInfo with MDB2

Details

Submitted2006-09-04 09:02 UTC
Fromsei at dmc dot de
Assignedalan_k
StatusClosed
PackageDB_DataObject
PHP Version4.4.3
OSLinux
Roadmaps(Not assigned)

Comments

[2006-09-04 09:02 UTC] sei at dmc dot de

Description:
------------
There is a problem in the Generator.php

In the function "fillTableSchema" there is a call to "tableInfo". With MDB2 this is a function of the Module "Reverse".

In the function "_createTableList" the Modules are correctly loaded for MDB2 but only the "Manager"-Module is correctly used with "$__DB->manager->listTables()"

With PHP5 the direct call is possible due to the __call function of MDB2 but with PHP4 this won´t work.

Could you please fix the call of "tableInfo" and don´t forget the Fieldmapping of "length" -> "len"

[2006-09-24 10:15 UTC] armen at opensourceclub dot ir

Hi,

yes there is a patch written by lsmit, I just changed it a little.It works for me.
lsmit, thanks for patch :)

http://rafb.net/paste/results/Y4hO5679.html