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 » MDB2_Driver_mysql » Bug #9450

Misspelling in manager createTable function doc comments

Details

Submitted2006-11-25 07:07 UTC
Frompearbugs2006 at reddreamer dot com
Assignedquipo
StatusClosed
PackageMDB2_Driver_mysql
PHP Version5.1.2
OSUbuntu 6.0
Roadmaps(Not assigned)

Comments

[2006-11-25 07:07 UTC] pearbugs2006 at reddreamer dot com

Description:
------------
In the file

http://cvs.php.net/viewvc.cgi/pear/MDB2/MDB2/Driver/Manager/mysql.php?view=markup

in the comments documenting the createTable function it says:

* @param array $options An associative array of table options:
* array(
* 'comment' => 'Foo',
* 'character_set' => 'utf8',
* 'collate' => 'utf8_unicode_ci',
* 'collate' => 'utf8_unicode_ci',
* 'type' => 'innodb',
* );

The option value "character_set" should actually be "charset", as you can see in the if statement down in the function code. And the "collate" line there in the comment is duplicated.