Revert "Merge pull request #41046 from eileencodes/dont-check-if-qc-is-enabled"
Revert "Merge pull request #41046 from eileencodes/dont-check-if-qc-is-enabled"

This reverts commit c97f1f195fc299d9d2ae7954d2b842ec4822382c, reversing
changes made to ac7851eb58d3e821f0f378c1417bc157d7df3be8.

We haven't quite tracked down why yet, but this change caused our API to
not use the query cache. Our API is Sinatra mixed with Rails. We install
the Exectutor in our API so it was installed. However, (some?)
production requests were showing 0 query cache hits.

jhawthorn found that we likely need this check because if we don't the
pools returned will be a different set. He'll send a test later today.

rails/rails,betesh/rails,Erol/rails,kddeisz/rails,EmmaB/rails-1,lcreid/rails,BlakeWilliams/rails,Vasfed/rails,EmmaB/rails-1,betesh/rails,MSP-Greg/rails,betesh/rails,Vasfed/rails,yawboakye/rails,georgeclaghorn/rails,esparta/rails,MSP-Greg/rails,kddeisz/rails,Envek/rails,esparta/rails,rails/rails,MSP-Greg/rails,Erol/rails,joonyou/rails,rails/rails,yawboakye/rails,bogdanvlviv/rails,MSP-Greg/rails,Edouard-chin/rails,lcreid/rails,Stellenticket/rails,kmcphillips/rails,georgeclaghorn/rails,bogdanvlviv/rails,yahonda/rails,esparta/rails,esparta/rails,Edouard-chin/rails,betesh/rails,Edouard-chin/rails,Edouard-chin/rails,joonyou/rails,Vasfed/rails,bogdanvlviv/rails,kddeisz/rails,Envek/rails,yawboakye/rails,bogdanvlviv/rails,kmcphillips/rails,georgeclaghorn/rails,Envek/rails,kmcphillips/rails,lcreid/rails,Vasfed/rails,joonyou/rails,lcreid/rails,georgeclaghorn/rails,Erol/rails,BlakeWilliams/rails,kddeisz/rails,Envek/rails,Stellenticket/rails,yawboakye/rails,rails/rails,yahonda/rails,Stellenticket/rails,BlakeWilliams/rails,Erol/rails,yahonda/rails,BlakeWilliams/rails,Stellenticket/rails,joonyou/rails,EmmaB/rails-1,yahonda/rails,kmcphillips/rails