This repository has been archived by the owner on Jun 20, 2022. It is now read-only.
forked from rails/rails
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Merge pull request rails#6197 from blakesmith/connection_adap…
…ters_without_explain_support" This reverts commit 29d564a. This Rails upstream commit, added after 3.2.12 and included in 3.2.13, mistakenly opens a database connection to check for auto explain support. This causes issues if you use threads as each will make a database connection for any queries, even cached ones. It turns out that the upstream Rails 4-0-stable branch has this issue fixed as they removed the auto explain feature entirely: rails#9400 That pull references this issue, rails#9385, where a database connection was required during assets precompiling following the commit we are reverting.
- Loading branch information
Showing
3 changed files
with
6 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters