diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-12-19 18:39:10 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-12-19 18:58:25 +0900 |
commit | 1118e2c28913be29d03b8a119cb086fe15dacc39 (patch) | |
tree | f4bdf980e275dd3366d9c1bf6af5244b458e422a /activerecord/test/cases/database_statements_test.rb | |
parent | 67fefbe0c2de5d55b4d30958ce70d659c1c4cf35 (diff) | |
download | rails-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/database_statements_test.rb')
0 files changed, 0 insertions, 0 deletions