diff options
Diffstat (limited to 'lib/arel/update_manager.rb')
-rw-r--r-- | lib/arel/update_manager.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/arel/update_manager.rb b/lib/arel/update_manager.rb index 0cb5554954..b74e0f2a27 100644 --- a/lib/arel/update_manager.rb +++ b/lib/arel/update_manager.rb @@ -46,11 +46,7 @@ module Arel end def to_sql - viz = @visitor_klass.new @engine - unless @engine.connection_pool.spec.config[:adapter] =~ /^mysql/ - viz.extend(Visitors::UpdateSql) - end - viz.accept @head + visitor.accept @head end end end |