Home » Database » MDB2_Driver_mysql » Bug #9450
Misspelling in manager createTable function doc comments
Details
| Submitted | 2006-11-25 07:07 UTC |
|---|---|
| From | pearbugs2006 at reddreamer dot com |
| Assigned | quipo |
| Status | Closed |
| Package | MDB2_Driver_mysql |
| PHP Version | 5.1.2 |
| OS | Ubuntu 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.