aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-02-27 01:02:53 +0900
committerRyuta Kamizono <kamipo@gmail.com>2019-02-27 01:04:20 +0900
commit350ad01b815979f492f5f359991c9be707d5e3b5 (patch)
treeba0ecc13313d7b97674c7ba8e3d819db361615b3 /activerecord/CHANGELOG.md
parent588f97d76fabdf46211150f991c58d48e9fbf0ac (diff)
parentfa2c61fc636f958c274692f2a0f3062859797790 (diff)
downloadrails-350ad01b815979f492f5f359991c9be707d5e3b5.tar.gz
rails-350ad01b815979f492f5f359991c9be707d5e3b5.tar.bz2
rails-350ad01b815979f492f5f359991c9be707d5e3b5.zip
Merge pull request #35361 from jvillarejo/fix_wrong_size_query_with_distinct_select
Fix different `count` calculation when using `size` with DISTINCT `select`
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 77cb167e7c..4323c57b9e 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,10 @@
+* Fix different `count` calculation when using `size` with manual `select` with DISTINCT.
+
+ Fixes #35214.
+
+ *Juani Villarejo*
+
+
## Rails 6.0.0.beta2 (February 25, 2019) ##
* Fix prepared statements caching to be enabled even when query caching is enabled.