Bug 5910 - Object names > 64 cause replication errors

Fixed mysql's inconsistent cast for maximum db_len 128.