aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/batches_test.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-12-19 18:39:10 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-12-19 18:58:25 +0900
commit1118e2c28913be29d03b8a119cb086fe15dacc39 (patch)
treef4bdf980e275dd3366d9c1bf6af5244b458e422a /activerecord/test/cases/batches_test.rb
parent67fefbe0c2de5d55b4d30958ce70d659c1c4cf35 (diff)
downloadrails-1118e2c28913be29d03b8a119cb086fe15dacc39.tar.gz
rails-1118e2c28913be29d03b8a119cb086fe15dacc39.tar.bz2
rails-1118e2c28913be29d03b8a119cb086fe15dacc39.zip
Using subselect generated by the connection adapter for `update_all` with `offset`
Most RDBMS (except SQLite) requires subselect for UPDATE with OFFSET, but Arel doesn't support executable subselect generation for MySQL's UPDATE yet. We need to use the subselect generated by the connection adapter for now, it works well. Fixes #30148.
Diffstat (limited to 'activerecord/test/cases/batches_test.rb')
0 files changed, 0 insertions, 0 deletions