diff options
author | kg8m <takumi.kagiyama@gmail.com> | 2018-02-12 22:56:05 +0900 |
---|---|---|
committer | kg8m <takumi.kagiyama@gmail.com> | 2018-02-27 23:05:54 +0900 |
commit | 2d48268d81644b3b1a558fbdd81941d56dd3d239 (patch) | |
tree | e34f444f2a46ee79626f241e4722073b5220842c /activerecord/test/cases/adapters/postgresql/explain_test.rb | |
parent | f1878fa06efb2eaa2c521022fa79f95b6c49f865 (diff) | |
download | rails-2d48268d81644b3b1a558fbdd81941d56dd3d239.tar.gz rails-2d48268d81644b3b1a558fbdd81941d56dd3d239.tar.bz2 rails-2d48268d81644b3b1a558fbdd81941d56dd3d239.zip |
Fix `#columsn_for_distinct` of MySQL and PostgreSQL
Prevent `ActiveRecord::FinderMethods#limited_ids_for` from using correct primary
key values even if `ORDER BY` columns include other table's primary key.
Fixes #28364.
Diffstat (limited to 'activerecord/test/cases/adapters/postgresql/explain_test.rb')
0 files changed, 0 insertions, 0 deletions