diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2016-03-31 13:33:42 -0600 |
---|---|---|
committer | Sean Griffin <sean@seantheprogrammer.com> | 2016-03-31 13:41:36 -0600 |
commit | 3af40b71f34c70a274e261cd6e6468c613de648e (patch) | |
tree | 32fb92f750ed000c58d25c2691b6ea9614bff741 /actionview/test/abstract_unit.rb | |
parent | 7b82e1c77b48cb351da4e0ed6ea0bac806d4925c (diff) | |
download | rails-3af40b71f34c70a274e261cd6e6468c613de648e.tar.gz rails-3af40b71f34c70a274e261cd6e6468c613de648e.tar.bz2 rails-3af40b71f34c70a274e261cd6e6468c613de648e.zip |
Prepared statements shouldn't share a cache with unprepared statements
When prepared statements are enabled, the statement cache caches the SQL
directly, including the bind parameters. If a similar query is run later
with prepared statements disabled, we need to use a separate cache
instead of trying to share the same one.
Fixes #24351
Diffstat (limited to 'actionview/test/abstract_unit.rb')
0 files changed, 0 insertions, 0 deletions