diff options
-rw-r--r-- | lib/arel/update_manager.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/update_manager.rb b/lib/arel/update_manager.rb index c6a053aaa8..7b9b0fc295 100644 --- a/lib/arel/update_manager.rb +++ b/lib/arel/update_manager.rb @@ -47,7 +47,7 @@ module Arel def to_sql viz = Visitors::ToSql.new @engine - unless @engine.connection_pool.spec.config[:adapter] == 'mysql' + unless @engine.connection_pool.spec.config[:adapter] =~ /^mysql/ viz.extend(Visitors::UpdateSql) end viz.accept @head |