cakephp/cakephp — pull request #888 by bfanger (2012-10-02 14:13:14+00:00)
Title: Remember the responses for Mysql->getCharsetName() per connection.

Dramatically decreases the number of "SELECT CHARACTER_SET_NAME FROM INFORMATION_SCHEMA.COLLATIONS WHERE COLLATION_NAME = 'utf8_general_ci'" queries.