puppetlabs/puppet-dashboard — pull request #120 by kfjohnson (2012-09-11 22:17:11+00:00)
Title: (#16333) Override function in AR MySQL connector to set sql_mode

Currently if there is a problematic sql_mode set globally it will end up
breaking things. This patch overrides the configure_connection function
of the MySQL connector to explicitly set the sql_mode to traditional for
the session so that if something that breaks the queries used by the
console (like ANSI_QUOTES) is set globally, it won't affect it.