aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/batches
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2016-02-19 08:33:56 +0900
committerRyuta Kamizono <kamipo@gmail.com>2016-02-19 08:33:56 +0900
commit54accc0a6fbc345844879fa8792aa7827d2d3531 (patch)
tree967c18bb00b5d36e42041428a2cacfff102aee71 /activerecord/lib/active_record/relation/batches
parent042bfb8715ca301dc37e5e883951f6aa07fbc7ea (diff)
downloadrails-54accc0a6fbc345844879fa8792aa7827d2d3531.tar.gz
rails-54accc0a6fbc345844879fa8792aa7827d2d3531.tar.bz2
rails-54accc0a6fbc345844879fa8792aa7827d2d3531.zip
Remove `alias exec_without_stmt exec_query`
This alias was for compatibility with legacy mysql adapter. But the return value of both methods is already inconsistent. `exec_query` returns `ActiveRecord::Result` instance. But `exec_without_stmt` returns `[result_set, affected_rows]` https://github.com/rails/rails/blob/v4.2.5.1/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb#L335-L364 Legacy mysql adapter was already removed in Rails 5.0. I think we can remove this inconsistent alias.
Diffstat (limited to 'activerecord/lib/active_record/relation/batches')
0 files changed, 0 insertions, 0 deletions