aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/statement_cache_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty linesRyuta Kamizono2016-08-071-1/+0
|
* modernizes hash syntax in activerecordXavier Noria2016-08-061-2/+2
|
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-9/+9
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Prepared statements shouldn't share a cache with unprepared statementsSean Griffin2016-03-311-0/+12
| | | | | | | | | 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
* use an array for bind params to simplify substitutionAaron Patterson2014-04-121-10/+10
|
* decouple the factory method from the constructing modelAaron Patterson2014-04-101-5/+5
| | | | | | The factory method only requires the constructing model to get the connection object. Since the model is available when calling the factory method, we can just pass the appropriate connection in.
* remove intelligence from StatementCache#initializeAaron Patterson2014-04-101-5/+5
|
* stop caching the class on the statement cache objectAaron Patterson2014-04-101-8/+8
|
* change query strategy based on adapterAaron Patterson2014-01-161-1/+0
|
* use a params hash so we know what bind parameters are usedAaron Patterson2014-01-151-15/+16
|
* fix statement cache executionAaron Patterson2014-01-141-7/+6
|
* fix cache class interfaceAaron Patterson2014-01-141-17/+9
|
* Initial commit for select statements bindparam implementationNoemj2013-05-151-1/+44
|
* cleanup statement cache testVipul A M2013-04-111-4/+4
|
* Merge pull request #10152 from Noemj/statement_cacheRafael Mendonça França2013-04-101-5/+5
| | | | | | | Statement cache Conflicts: activerecord/CHANGELOG.md
* Added statement cacheNoemj2013-04-101-0/+64