Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.0b4

Bug #20215 Incorrect key is used for collation in some methods
Submitted: 2014-03-06 04:33 UTC
From: solaris Assigned:
Status: Open Package: MDB2_Driver_mysql (version 1.5.0b4)
PHP Version: Irrelevant OS: Microsoft Windows [Version 6.1.7
Roadmaps: (Not assigned)    
Subscription  


 [2014-03-06 04:33 UTC] solaris (Tonya R)
Description: ------------ Many of MDB2's methods rely on $definition['collation'] whereas in Reverse_mysql::getTableFieldDefinition() incorrect $definition['collate'] returned. In particular, it brakes Manager_mysql::alterTable(): it just specifies a character set ignoring a column's collation (for column change cases). Changing character set without collation clears it from the column. There are also 2 other places where 'collate' in $options should be replaced with 'collation': - Manager_mysql::createTable() and - Manager_mysql::createSequence()

Comments