rails/rails — pull request #10553 by dasch (2013-05-10 14:24:40+00:00)
Title: Don't try to EXPLAIN select_db calls

I'm using the mysql2 adapter and my app switches back and forth between a few databases in order to do sharding. I've been getting these errors: `ActiveRecord::StatementInvalid: Mysql2::Error: Table '.select_db' doesn't exist: EXPLAIN select_db `.

This pull requests fixes the problem caused by an overly fuzzy matching of the SQL commands that can be explained.