Trying to alphabetically reorder the column types in the create table interface by setting $cfg['ColumnTypes'] in config.inc.php has the BINARY and VARBINARY options added a second time at the end of the list.
Cause is the test in PMA_DBI_postConnect() in libraries/database_interface.lib.php that checks if VARBINARY is the last element in the $cfg['ColumnTypes'] array.
Instead of checking if VARBINARY is the last element and adding BINARY and VARBINARY if it is not it is cleaner to test for the existence of either with in_array().
See attached patch to fix this.
Add BINARY and VARBINARY ColumnTypes individually using is_array() to test for their existence
Logged In: YES
user_id=210714
Originator: NO
Merged in subversion, thanks.