aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2016-04-22 12:56:43 -0600
committerSean Griffin <sean@seantheprogrammer.com>2016-04-22 12:56:43 -0600
commit1ca6f7f7676c5933cc5c6bff5aeabf362aa1ba59 (patch)
tree9d5257b01dfe6f31f72d57de035f22f4f672f839 /activerecord/lib/active_record/connection_adapters
parent4a06cc9edd8ecc71392de457bc70b4bc79b162ed (diff)
downloadrails-1ca6f7f7676c5933cc5c6bff5aeabf362aa1ba59.tar.gz
rails-1ca6f7f7676c5933cc5c6bff5aeabf362aa1ba59.tar.bz2
rails-1ca6f7f7676c5933cc5c6bff5aeabf362aa1ba59.zip
Do not attempt to return connection with open transaction to pool (#24610)
When the query cache completes, if Active Record is still inside of a transaction, it is because the transaction is meant to be left open above this unit of work (such as transactional fixtures in tests). There were several tests around the behavior of "tests" that were invalid, as tests are not run through the executor. They have been changed to reflect the new behavior, which is closer to what actually occurs in Rails tests. Fixes #23989 Fixes #24491 Close #24500
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters')
0 files changed, 0 insertions, 0 deletions